Needs no words…
Needs no words…
I’ve posted an initial release of a WAV Trigger Arduino library on GitHub, along with a sample sketch for the YUN that demonstrates use of the library and a very basic browser based interface.
The picture below shows how I can start, stop and control the volume of a track over wifi from my phone. The YUN is only plugged in for power, and the WAV Trigger is powered from the YUN, using the on-board amp to drive the speaker. The UI is just an html page so it’ll work with any device/browser. The only reason I don’t have multi-track control is my limited knowledge of html/CSS coding and lack of time.
Both the library and the sample sketch currently have lots of limitations, but I thought it would be helpful to get something out there sooner than later. I’ll keep the GitHub repositories updated as I go.
If any of you html-savvy folks want to speed things along, the most helpful thing would be to look at “index.html”, located in the www folder of the YUN sketch. This is the file that creates the YUN’s browser UI. If someone can come up with a more functional version, providing the ability to control multiple tracks, I’d love to improve this example.
This update adds serial commands for controlling individual track volumes as well and for enabling/disabling the on-board audio amplifier. The serial remote control app has also been updated to demonstrate these capabilities – see the screenshot below.
Also, the WAV Trigger firmware update utility has been updated to v1.01, the main difference being speed. The firmware update process went from taking about a minute and a half to around 15 seconds!
All these updates can be found on the WAV Trigger Downloads page.