Waveshield volume.

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
unununium
 
Posts: 24
Joined: Wed Apr 01, 2009 12:12 pm

Waveshield volume.

Post by unununium »

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....

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Waveshield volume.

Post by adafruit »

i think its in the latest upload, the range is 0 to 8 or so

User avatar
unununium
 
Posts: 24
Joined: Wed Apr 01, 2009 12:12 pm

Re: Waveshield volume.

Post by unununium »

Oh! Perfect, I will play around with that and report back. Thank you!

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”