Lua Player v0.20 Mod 3 with MP3 and OGG support

Lua playercools has updated his Lua Player v0.20 Mod 2 to LuaPlayer v0.20 Mod 3 for LuaPlayer v0.20.

The big news about Lua Player v0.20 Mod 3 is its MP3 and OGG support. Meanwhile, the overclocking functions were removed because it could be potentially dangerous if the function is not used correctly.

The OGG and the Mp3.EndOfStream() functions are a little bit buggy but cools tested it with 2.71 TIFF and he says it does work. It may also work with 2.71 SE-A, but cools is not sure about that.

“I dont want to see hundreds of mp3 players released because of this. If yours has something the others dont, then consider releasing it, otherwise DON’T. This should be used primarily for background music in Lua games,” says cools. Please read the readme files for this app before installing it.

Read the details of the new functions of Lua Player v0.20 Mod 3 after the jump.

Download: [Lua Player v0.20 Mod 3 with MP3 and Ogg support]
Discuss: [Forum Release Thread]

Lua playercools has updated his Lua Player v0.20 Mod 2 to LuaPlayer v0.20 Mod 3 for LuaPlayer v0.20.

The big news about Lua Player v0.20 Mod 3 is its MP3 and Ogg support. Meanwhile, the overclocking functions were removed because it could be potentially dangerous if the function is not used correctly.

The Ogg and the Mp3.EndOfStream() functions are a little bit buggy but cools tested it with 2.71 TIFF and he says it does work. It may also work with 2.71 SE-A, but cools is not sure about that.

“I dont want to see hundreds of mp3 players released because of this. If yours has something the others dont, then consider releasing it, otherwise DON’T. This should be used primarily for background music in Lua games,” says cools.

Lua Player v0.20 Mod 3 new functions:

MP3
Most Mp3 functions are self explanatory.
Mp3.init(channel) –Select an audio channel for Mp3 playback (like 0, 1, 2, etc.)
Mp3.load()
Mp3.stop()
Mp3.pause()
Mp3.play()
Mp3.getTime() –returns how long the mp3 has been playing in a string

Mp3.EndOfStream() –returns “true” or “false” (with quotes). You can use it like this:
if Mp3.EndOfStream() == “true” then songend() end
–Note Mp3.EndOfStream() may get Lowser to act funny, another way to do this
is to compare the file time (from ID3) and Mp3.getTime() it should produce the
same results.

Ogg
Most Ogg functions are self explanatory.
Ogg.init(channel) –Select an audio channel for Ogg playback (like 0, 1, 2, etc.)
Ogg.load()
Ogg.stop() –If you set the Ogg to stop at the end of stream, dont use this when exiting

Ex 1:
if Ogg.EndOfStream() == “true” then
Ogg.stop()
end

Ex 2:
if Controls.read():start() then
Ogg.stop()
end
^Use ONE or the other DONT use both!^

Ogg.pause()
Ogg.play()

Ogg.EndOfStream() –returns “true” or “false” (with quotes). You can use it like this:
if Ogg.EndOfStream() == “false” then whatever end
This function at times will act weird… Experiment with is a little

Ogg.getSec()
Ogg.getMin()
Ogg.getHour()

Please read the readme files for this app before installing it.

Download: [Lua Player v0.20 Mod 3 with MP3 and Ogg support]
Discuss: [Forum Release Thread]

Add a Comment

Your email address will not be published. Required fields are marked *