Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 12 of 12

Thread: ..Audio Delay.. HELP ME PLEASE !

  1. #1
    Junior Member
    Join Date
    Feb 2016
    Posts
    19

    ..Audio Delay.. HELP ME PLEASE !

    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

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,927
    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.

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,927
    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?

  4. #4
    Junior Member
    Join Date
    Feb 2016
    Posts
    19
    ı watched all of the video. ( File > Examples > Audio > Tutorial.) ı couldnt find totarial . there is a problem . Click image for larger version. 

Name:	12804700_10153959478972241_6268791829509794351_n.jpg 
Views:	41 
Size:	35.1 KB 
ID:	6488

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,927
    No, click the link in message #2. There's a video on that page. Watch it.

  6. #6
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,927
    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/Au...r/workshop.pdf

  7. #7
    Junior Member
    Join Date
    Feb 2016
    Posts
    19
    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 ?

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,927
    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.

  9. #9
    Junior Member
    Join Date
    Feb 2016
    Posts
    19
    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. Click image for larger version. 

Name:	12804700_10153959478972241_6268791829509794351_n.jpg 
Views:	34 
Size:	35.1 KB 
ID:	6490
    Click image for larger version. 

Name:	kkkkk.PNG 
Views:	38 
Size:	107.7 KB 
ID:	6489

  10. #10
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,927
    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.

  11. #11
    Junior Member
    Join Date
    Feb 2016
    Posts
    19
    Click image for larger version. 

Name:	vvvvv.jpg 
Views:	32 
Size:	45.6 KB 
ID:	6491 it is selected .

  12. #12
    Junior Member
    Join Date
    Feb 2016
    Posts
    19
    oh problem was solved. now ı have the program codes. thank you for helping

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •