Playing MP3
by Bryce Bangerter · in Torque Game Builder · 06/20/2006 (6:32 pm) · 3 replies
Is there a way to play mp3 files in Torque script without the use of a mod?
I tried
but nothing comes out. If I use the same with a .wav file instead of a .mp3 file I get sound.
I tried
new AudioDescription (LoopingDescription)
{
volume = 1.0;
isLooping = true;
is3D = false;
type = $GuiAudioType;
};
new AudioProfile (BackgroundMusic)
{
filename = "Octarium/data/audio/background.mp3";
description = "LoopingDescription";
preload = true;
};
alxPlay (BackgroundMusic);but nothing comes out. If I use the same with a .wav file instead of a .mp3 file I get sound.
#2
10/06/2006 (3:01 am)
JetAudio Basic (downloaded from www.download.com) can convert MP3 files to OGG. The result is smaller than the original MP3. However if it is used to convert MIDI file, the result is much bigger than the original MID
Torque Owner Harold "LabRat" Brown
MP3 playback requires a license and it's not a cheap one.