I though I would put these in two separate threads, for archival purposes. I am trying to continuously alter the volume of triggered wav's - I found the example on the Waveshield project page, but just wanted to clarify a few things, as I am a little confused about how it works.
Firstly, I am wondering what numbers wave.volume needs to see - between what two numbers would I need to modulate? In other words, what = zero volume and what = max volume?
Secondly, I am confused as to what this means, and how to do it: "By changing the #define DVOLUME 1 in wave.cpp and recompiling you can do rudimentary software volume control as in this sketch"
Sorry if there is something I am missing somewhere, but I searched and found nothing....
Waveshield volume.
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Waveshield volume.
i think its in the latest upload, the range is 0 to 8 or so
- unununium
- Posts: 24
- Joined: Wed Apr 01, 2009 12:12 pm
Re: Waveshield volume.
Oh! Perfect, I will play around with that and report back. Thank you!
Please be positive and constructive with your questions and comments.