Hi Pd-people!
I'd like some advice on how to set up tabwrite to write values for each index of an array while moving forward through them at a set pace of time. I feel like i'm making it more complicated than it needs to be, and so i'd love some input.
The concept of time feels very straightforward when recording audio data to an array, say by using adc~, in which the time to move through it is defined by a samplerate. But since I want to work with control values as actual numerical values I can't quite figure it out.
What I'd like to use it for is to write amplitude values of summed group of FFT blocks that are read from another array, and write these to each index during the duration of the playing file. Right now I've only managed to constantly update the same index, that being index 0, so how do i move it forward in time from there? The arraysize is set to match the actual numbers of seconds in the given track.
I hope I've made my question clear, my head is kinda spinning around this patch by now. I'd love to explain it further if needed be.
These concepts is a continuation of a patch i discussed here, and got some great input; https://forum.pdpatchrepo.info/topic/11084/analyze-audio-file-from-table-detect-bpm-and-or-amplitude-within-a-spectrum
Thanks for discussing!