0

Waveshield volume.
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Waveshield volume.

by UnUnUnium on Sun Apr 19, 2009 9:39 am

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....
UnUnUnium
 
Posts: 22
Joined: Wed Apr 01, 2009 12:12 pm

Re: Waveshield volume.

by adafruit on Sun Apr 19, 2009 3:41 pm

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

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

Re: Waveshield volume.

by UnUnUnium on Sun Apr 19, 2009 7:06 pm

Oh! Perfect, I will play around with that and report back. Thank you!
UnUnUnium
 
Posts: 22
Joined: Wed Apr 01, 2009 12:12 pm

Please be positive and constructive with your questions and comments.