When playing an ogg file.

Posted by Wuggly on Mon 04 Jul 2016 09:41 PM — 4 posts, 19,088 views.

USA #0
Hello,
Using proteaAudio to play .ogg files..
http://viremo.eludi.net/proteaAudio/proteaaudiolua.html

Is there a way to get it to play, without stopping MUSHclient while it's playing? Cause once it starts playing, you cannot do anything in the client until after it's done.

Or does anyone know of one that can play mp3s?
Australia Forum Administrator #1
See:

Template:function=PlaySound
PlaySound

The documentation for the PlaySound script function is available online. It is also in the MUSHclient help file.



You should be able to play one or more sounds in the background using that. Only .wav files are supported. You can use ffmpeg or Audacity to do file conversions.
USA #2
I was hoping for mp3, but couldn't seem to find anything and found the .ogg one and figured it was as close to compressed as I could get.

Didn't want to use .wav files since they are big. An 11MB mp3 turned to 6.7MB(at 192k) when converted to .ogg.

Just wish it could play in the background, rather than halting everything else while it plays.
Australia Forum Administrator #3
Maybe another program controlled by luacom? I think someone did that in the past.