[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Lua
. . -> [Subject]  lua audio

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

lua audio

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Oriol   (31 posts)  [Biography] bio
Date Sat 18 Jul 2009 08:09 PM (UTC)  quote  ]
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.
[Go to top] 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.


1,309 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]