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

Thread: Audio Library examples issue

  1. #1
    Senior Member
    Join Date
    Dec 2013
    Posts
    131

    Audio Library examples issue

    I cannot get Arduino to show the Teensy audio library examples. I am aware that you need to select the correct board. I have re-created the issue on a second machine. These are the steps I've taken:

    Downloaded Arduino 1.6.7, and latest Teensyduino for MaxOSX.
    Moved Arduino to applications folder, ran once, and closed.
    Ran Teensyduino installer.
    Opened Arduino, chose Teensy 3.1/3.2 board
    Under File > Examples > Examples from custom libraries, there is no Audio option. All other libraries are there.


    I've checked and all the files are installed correctly, just the menu not displaying it. Have I missed something?

    Thanks, Matt

  2. #2
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,222
    Quote Originally Posted by mattomatto View Post
    I cannot get Arduino to show the Teensy audio library examples. I am aware that you need to select the correct board. I have re-created the issue on a second machine. These are the steps I've taken:

    Downloaded Arduino 1.6.7, and latest Teensyduino for MaxOSX.
    Moved Arduino to applications folder, ran once, and closed.
    Ran Teensyduino installer.
    Opened Arduino, chose Teensy 3.1/3.2 board
    Under File > Examples > Examples from custom libraries, there is no Audio option. All other libraries are there.


    I've checked and all the files are installed correctly, just the menu not displaying it. Have I missed something?

    Thanks, Matt
    I may be wrong, but AFAIK, the audio library is not part of Teensyduino. You have to download it separately and move to library folder.

  3. #3
    Senior Member
    Join Date
    Dec 2013
    Posts
    131
    Quote Originally Posted by WMXZ View Post
    I may be wrong, but AFAIK, the audio library is not part of Teensyduino. You have to download it separately and move to library folder.
    It was definitely installed with Teensyduino, I can use it, it just doesn't show up in examples.

  4. #4
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,442
    Did you look in the right place? Here is how it looks in Arduino 1.6.5 on a Mac :
    Click image for larger version. 

Name:	Capture d’écran 2016-02-20 à 15.37.12.png 
Views:	67 
Size:	376.5 KB 
ID:	6425

  5. #5
    Senior Member
    Join Date
    Dec 2013
    Posts
    131
    Quote Originally Posted by Theremingenieur View Post
    Did you look in the right place? Here is how it looks in Arduino 1.6.5 on a Mac :
    Click image for larger version. 

Name:	Capture d’écran 2016-02-20 à 15.37.12.png 
Views:	67 
Size:	376.5 KB 
ID:	6425
    Yeah, here's what I see: Click image for larger version. 

Name:	Screen Shot 2016-02-20 at 14.47.11.png 
Views:	97 
Size:	332.4 KB 
ID:	6426

  6. #6
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,673
    What do you see under "Examples from Libraries" (Note: not CUSTOM) ?

  7. #7
    Senior Member
    Join Date
    Dec 2013
    Posts
    131
    Quote Originally Posted by Frank B View Post
    What do you see under "Examples from Libraries" (Note: not CUSTOM) ?
    There is an audio menu in there for the Arduino Due Audio library. You can see in my screen grab above^^

  8. #8
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,673
    Quote Originally Posted by mattomatto View Post
    There is an audio menu in there for the Arduino Due Audio library. You can see in my screen grab above^^
    No i can't. But ok, i don't know how should it look like on MAC. All i see that there is an "Audio" menu in your screenshot and no mention of Arduino Due (or i don't see it....)

  9. #9
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,174
    Perhaps you have a library named "Audio" in your Documents/Arduino/libraries folder?

    Anything you put there overrides everything within Arduino/Teensyduino. That's a powerful feature which lets you customize and override any library with a copy of your choosing, but it's easy to put something in that location and later not realize it's preventing you from using the normal stuff.

    Also, check Arduino > Preferences. Make sure your sketchbook folder is still Documents/Arduino... and hasn't been changed to some other location, *especially* not the location like /Applications/Arduino.app!
    Last edited by PaulStoffregen; 02-20-2016 at 03:31 PM.

  10. #10
    Senior Member
    Join Date
    Dec 2013
    Posts
    131
    Quote Originally Posted by PaulStoffregen View Post
    Perhaps you have a library named "Audio" in your Documents/Arduino/libraries folder?

    Anything you put there overrides everything within Arduino/Teensyduino. That's a powerful feature which lets you customize and override any library with a copy of your choosing, but it's easy to put something in that location and later not realize it's preventing you from using the normal stuff.
    I do indeed! Thank you Paul, I didn't know about that feature!

Posting Permissions

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