Delay object in the library

Status
Not open for further replies.

urbanspaceman

Well-known member
Hi, I'm away from my teensy now but have a question

The Delay object has 8 output, if i understand each output will be set to a different delay time.

First question, if i get a bpm from my computer (via usb), can i sync this delay to my time signature? (1/4, 1/8, 1/16...)?
Second questions, this 8 signal are all simultaneously available? If yes, can i put a 'switch' in the middle to turn off the sound?

Thanks
 
First question, if i get a bpm from my computer (via usb), can i sync this delay to my time signature? (1/4, 1/8, 1/16...)?

Sure, you can configure all 8 taps to be any delay you like, of course within the amount of memory from AudioMemory() you allocated.

For downtempo beats, you might end up pushing the limits of the amount of memory in a Teensy 3.2. Using Teensy 3.5 or 3.6 would be the way to get more delay.

Second questions, this 8 signal are all simultaneously available?

Yes, assuming you called the delay() function 8 times to turn them all on.

If yes, can i put a 'switch' in the middle to turn off the sound?

Each of the 8 output can be turned off with the disable() function.

http://www.pjrc.com/teensy/gui/?info=AudioEffectDelay

You can also make switches from mixers, by configuring input channel gain with 0 for off and 1.0 for on. This use of mixers is covered in the tutorial and video.
 
Last edited:
Status
Not open for further replies.
Back
Top