PDA

View Full Version : Audio Library max sine generators



thanos_el
07-06-2016, 10:24 AM
Hello,
Im trying to create a synth with teensy and audio library.
I've build a sketch with 128 sinewave generators, but teensy is only playing about 70 of them.

Is there any limitation in the library about the number of sinewave generators that can be used?


Thank you

PaulStoffregen
07-06-2016, 10:49 AM
The normal limits of memory and cpu usage apply. Use the memory and processor max usage functions to monitor how much you're using.

http://www.pjrc.com/teensy/td_libs_AudioConnection.html

http://www.pjrc.com/teensy/td_libs_AudioProcessorUsage.html