[Gambas-user] Sound

Dag JNJ gambas at cd-bahia.com
Wed Sep 8 18:47:35 CEST 2021


Am 08.09.21 um 15:36 schrieb Gianluigi Gradaschi:
> Il 08/09/21 13:19, Dag Jarle Nerland Johansen - Gambas ha scritto:
>> Hi, new problem.
>> I wanted to play a sound after ending a process. I thought easy task.
>> First I don't find the gb.sdl.sound 
>> <http://gambaswiki.org/wiki/comp/gb.sdl.sound> component, simply not 
>> present.
>> I then tried with the gb.sdl2.audio. It fails on 
>> MovieBox1.Load("warning.wav"). Unknown symbol Load.
>> It has nothing to do with the wav-files I think, I also tried to 
>> address Application.Path &"/warning.wav".
>> And the component seems far to heavy for a simple sound. Sometimes I 
>> long back to the times when Beep was a command.
>> Thankful for any advice.
>> Regards,
>> Dag JNJ
>
>
> You could take a look here:
> https://www.gambas-it.org/wiki/index.php?title=La_gestione_dei_file_audio_mediante_il_componente_gb.sdl2.audio 
>
>
>
> and more generally:
> https://www.gambas-it.org/wiki/index.php?title=Guide_della_comunit%C3%A0#Gestione_dei_dati_audio_e_dei_file_audio 
>
>
> Regards
> Gianluigi
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
Thank you very much, that works perfect. Simple solution, like that.

Regards, Dag JNJ



More information about the User mailing list