Game Development Community

Ogg and Torque?

by Jacob Rilett · in Torque Game Engine · 02/22/2008 (3:22 pm) · 7 replies

First of all, I'm posting in Public because my friend cannot access Private for unknown reasons.

Okay, so I tried to use a .mp3 converted into a .ogg. I figured it would work because the engine included working .ogg files. Okay, I go to play my .ogg file using alxplay(MenuMusic); [Yes the AudioProfile MenuMusic is set up correctly] Nothing happens, not even an error, there were also no errors when it exec'd. So, I try converting to .wav instead. It made an undesired 30MB, but I went along with it, and still not working, yes I changed the AudioProfile file to .wav. I try a file that was originally a .wav, and it works fine. I converted this file that was a .wav to a .ogg, still works fine. Is there some kind of problem using .ogg files that were originally .mp3, or is there a length or filesize limit?

About the author

Recent Threads


#1
02/22/2008 (3:53 pm)
For alxplay(), be sure the ogg is stereo and 44.1KHz.
#2
02/22/2008 (4:01 pm)
I checked and yes it is in stereo and 44.1KHz.
Funny part is, the second one that did work was mono and 22KHz.
#3
02/29/2008 (6:57 pm)
Anyone going to help me with this?
#4
02/29/2008 (7:09 pm)
I haven't had any problems getting ogg files to play wether they were converted wavs or mp3s.
I have no idea what would cause your problem.
Have you tried to play the ogg thru a regular sound player to verify it actually works?
#5
02/29/2008 (7:40 pm)
Yes, it does work, I just don't know why they wont play in Torque when I convert from .mp3 to .ogg.
#6
02/29/2008 (7:54 pm)
@Jacob,

What program are you using to convert the files(s) with? Just out of curiousity because I'm in the same boat with Mike R., I really haven't had any trouble converting either wavs or mp3s to oggs (that work in Torque).

BTW, I use Audacity for the conversion since it's simple, quick and free.

.
#7
03/01/2008 (9:33 pm)
I've used many different programs. One of them being Switch. I'll try Audacity, and see if it works.