Want to create a library addition to the audio library

Status
Not open for further replies.

Brett Werner

New member
I want to extend the audio library, with one of my own effects.

I am running my Tennsy on a windows XP computer with the latest Arduino and the Teensy plug in.

I saw a write up on how to name my library, and some pointers and concerns about how the library works.

So, I have a good idea for an effect, and also another good idea for an analysis... but I am a little uncertain how to
start contributing.. or even change some of the under lying libraries on my install.b

I was wondering if I had to do more to change the library, such as get a build tool chain from somewhere,
or download something from git... or can I just edit any source and just use the standard compile in the
Arduino IDE?
 
The Audio lib is on GitHub here: https://github.com/PaulStoffregen/Audio
And you can find your local copy in your arduino directory in \hardware\teensy\avr\libraries\Audio

Take a look at the existing effects and analyzers to get started. You won't need special software, a text editor is enough, you can use the regular Arduino+Teensyduino IDE to test your code.
 
Maybe this info can help?

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

Just edit the files in hardware/teensy/avr/libraries/Audio. Arduino will automatically detect when you've changed them when you Verify or Upload. Make backup copies, just in case something happens to your Arduino install.

Best to try to keep your edits entirely within a .cpp and .h file, so you know which parts you've changed. When you're ready to contribute, either dive into git & github, or just post the files here. A pull request on github is the best way, of course... but git can have quite a learning curve. Don't let the tools bog you own and keep you from playing with the code.
 
Status
Not open for further replies.
Back
Top