[Gambas-user] Creating Sound

tobias tobiasboe1 at ...20...
Mon Jul 11 00:35:12 CEST 2011

On 10.07.2011 23:26, Kevin Fishburne wrote:
> On 07/10/2011 05:10 PM, tobias wrote:
>> hi,
>> (it's not a gambas specific question this time but i think at least
>> related and maybe i benefit from your experiences)
>> i know how to play sound files using gb.sdl.sound but is there a way to
>> create sound based on, let's say, sin() values?
> That would be cool. I remember making sound effects that way using GW
> Basic ages ago. Maybe there's something in /dev/ that can be opened as a
> stream and read/written to directly?

i tried /dev/dsp some time ago but i couldn't figure out the format... 
(just saw that there is a suitable result with google). but now, on my 
fresh kubuntu, i can't even find any of the suggested sound device files...
i think it would be interesting to write some code based on this idea 
but does someone know of some other approches?


More information about the User mailing list