PDA

View Full Version : ..Audio Delay.. HELP ME PLEASE !



gorkem
02-29-2016, 12:57 PM
I have a question about audio delay in teensy. ı want to delay audio signal. ıhave 3 buttons. All buttons will supplies a delay (50 ms , 70 ms , 200 ms) how can ı do this ? Can you help me please ? Can you share the codes of program :(

PaulStoffregen
02-29-2016, 01:01 PM
First, please watch the 48 minute tutorial video.

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

Pay close attention to the section about delays, and about how you use the design tool to find detailed info (for example, about the delay object....)

If that doesn't make the answer obvious, at least you'll have a much better idea of how things work, so you can ask more specific questions.

PaulStoffregen
02-29-2016, 01:06 PM
Also pay close attention to the parts about Mixers, especially later with the filters and oscillators where mixers are demonstrated as a way to route signals. Also make sure you watch the stuff about how the Bounce library reads buttons.

Hopefully you'll see how you could put these pieces together to (pretty easily) accomplish your goal?

gorkem
02-29-2016, 01:06 PM
ı watched all of the video. ( File > Examples > Audio > Tutorial.) ı couldnt find totarial . there is a problem . 6488

PaulStoffregen
02-29-2016, 01:07 PM
No, click the link in message #2. There's a video on that page. Watch it.

PaulStoffregen
02-29-2016, 01:09 PM
Or if you have the actual hardware, you could try to actually *do* the tutorial.

Here's the PDF for the full workshop manual:

https://github.com/PaulStoffregen/AudioWorkshop2015/raw/master/workshop.pdf

gorkem
02-29-2016, 01:11 PM
oh ı understandd. ı watched all video. there are alot of eamples in video. but ı couldnt supply codes of examples (part 2.5 - simple delay. ) can you have program codes of simple delay ?

PaulStoffregen
02-29-2016, 01:14 PM
Also, you must select Teensy 3.1/3.2 in the Tools > Boards menu.

The File > Examples menu shows only the examples for whatever board you have selected. The Teensy Audio Library only appears in the menu when you have a Teensy board selected.

gorkem
02-29-2016, 01:16 PM
I Configured Arduino for Teensy 3.2. In Arduino select Tools > Boards > Teensy 3.2/3.1 BUT couldnt find this files. there is a mistake. 6490
6489

PaulStoffregen
02-29-2016, 01:18 PM
Can you show a screenshot of your Tools > Boards menu?

Edit: Or, perhaps you have another library in your Documents/Arduino/libraries folder? Anything you install there will override all the libraries inside Arduino. If you have a non-Teensy lib named "Audio" in that location, it will interfere.

gorkem
02-29-2016, 01:25 PM
6491 it is selected .

gorkem
02-29-2016, 01:28 PM
oh problem was solved. now ı have the program codes. thank you for helping :)