If you want to resample, that probably means that you want to loose samples. Converting from the signal domain to the control domain will result in lost of precision, because you can't get 44100 values per seconds (assuming 44.1kHz is your sample rate), that would be really inefficient. It's hard to answer really because it's unclear what you want to achieve though ;-)
sorry, my English teachers were not strict with me:)
Your reply was needed to give me an idea how to proceed in testing two different EEG analysis approaches, one that uses the 'classic-vocoder example' and another one with the [ffb~] object. I think I have to sit down and study DSP from the basic.
thanks again, and all the best, Krisztian
It is only analysis of EEG, where I'd like to use the energy of certain bandwiths. With 120hz sampling rate the changes in the signal are not too gradual, but I guess for analysis it should be OK. As there is no intention to sonify, to make the signal audible, I assume we do not need interpolation.
"first cycle at 120Hz could input 42.3 and so the 400 samps(at 48k) will all be 42.3, then the next cycle..."
A float, I can imagine as being an array of numbers. The signal must be a bit more complex, although [number~] outputs a float like value. In the above line, what does it actually mean, when you say "first cycle inputs 42.3..." ?
I reckon it creates a sine wave of 42.3hz and this freq stays for an other 400 samples (at 48k). Is this close to the truth?
Thank you, this helps a lot.
all the best
If I use [cycle~ 440], it outputs a float from -1.0 to 1.0, 440 times in a second ! I assume, as the software is digital, the sine wave or ANY SIGNAL is digital too, and therefore it is "an array of samples storing floats". The main difference between the float and a signal is that signal has a higher sample rate.
I think your technical English is pretty helpful :)
"The more you know, the less you understand." Tao Le Ching
Though it makes more sense now, and I understand what I was initially after... there is much to learn yet.
The wiki and alike pages were useful, however I seem to be motivated by one to one teachings :)
Appreciate your time and help, all the best, Krisztian