Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Lua ➜ lua audio

lua audio

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Oriol   (31 posts)  Bio
Date Sat 18 Jul 2009 08:09 PM (UTC)
Message
Hello:
Just wanted to let all of you know that me and tspivey have coded a dll library in pb for playing audio in mush and a mushclient plugin that goes with it.
It plays wav/mp3/ogg/etc, it can loop, has a volume control and and pan features.
I'll try to explain how to use it here.
Sound("loop=file.wav) will start looping.
Sound("stop=file.wav) will start looping.
Sound("stop=all") will stop all loops.
Sound("volume=0-100) controls volume
Sound("pan=-100-100 stereo field panning
I coded a volume control using f11 and f12 keys separately, let me know if you're interested.
The original plugin and windows dll can be downloaded from
http://trashcan.scrapping.cc/tmp/
There's no documentation on it yet, I tried to explain its functions above. If you find any bugs post them here.

Thanks to Dentin from http://dentinmud.org/alter for providing the pan equations.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,121 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.