[Gambas-user] Playing .wav files

Charlie Ogier charlie at cogier.com
Tue May 28 17:12:41 CEST 2019


  If you use *gb.sdl2.audio* I have had no problems playing .wav files. 
Have a look at my program on the Gambas Farm '*Piano*' that uses .wav 
files for each note. All you need is: -

Music.load(User.Home &/ "my.wav")
Music.Play



On 28/05/2019 15:18, Cedron Dawg wrote:
> I don't know how I missed those.  Thanks.  Hopefully they will do what I want.
>
> The Italian Wiki had some really nice examples.  A definite resource.
>
>
> ----- Original Message -----
> From: "Fabien Bodard" <gambas.fr at gmail.com>
> To: "user" <user at lists.gambas-basic.org>
> Sent: Tuesday, May 28, 2019 6:02:41 AM
> Subject: Re: [Gambas-user] Playing .wav files
>
> The Italian Wiki is amazing !!!
>
>
>
> Le mar. 28 mai 2019 à 11:46, Gianluigi < [ mailto:bagonergi at gmail.com | bagonergi at gmail.com ] > a écrit :
>
>
>
> In the Italian wiki you can read something about it:
> [ https://www.gambas-it.org/wiki/index.php?title=Guide_della_comunit%C3%A0#Gestione_dei_dati_audio_e_dei_file_audio | https://www.gambas-it.org/wiki/index.php?title=Guide_della_comunit%C3%A0#Gestione_dei_dati_audio_e_dei_file_audio ]
>
> Regards
> Gianluigi
>
> Il giorno mar 28 mag 2019 alle ore 09:22 Fabien Bodard < [ mailto:gambas.fr at gmail.com | gambas.fr at gmail.com ] > ha scritto:
>
> BQ_BEGIN
>
> Gambas also have lis for openal and gstreamer
>
> Le mar. 28 mai 2019 03:10, Cedron Dawg < [ mailto:cedron at exede.net | cedron at exede.net ] > a écrit :
>
> BQ_BEGIN
> I tried the Music class from gb.sdl2.audio without success.
>
> Said sumptin' 'bout "not support MOD .... not support MP3"
>
> Okay. So is there another way?
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190528/cf35b03a/attachment.html>


More information about the User mailing list