Hi,

I try to do my first gambas program, and I am stuck with the sound.

All I have for now is 2 labels, 2 value boxes and 1 toggle button.

When I press the toggle button, it launch a message box with the 2
values in the value boxes and some text. 1 is a frequency, the other is
the amplitude. I want to use these values to make some sounds.

When looking for sound functions, I found Play in sdl.sound. Is it
possible with it, or with another function, to use something like:

Play frequency volume

Another way would be to create an audio file on the fly...

Dominique

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to