Forums » General

I have no snare in my headphones...

Apr 04, 2015 Ta'Ir link
Hey, its me again.

I know I've logged days worth of research in to this(2). I've been hearing you could play your own music. But I'm a droid. Idk for sure but I don't think the alias idea is helping me. I dug a little deeper with the help of a friend. But he's on PC. That's like a Chinese and Japanese person talking. Almost..but not quite. So I used what I thought applied to droids....

Hmm...what I think I know...

"filename.ext"

Ogg format

/play music

And that's as far as my understanding goes.

I like listening to VO music. But there's nothing like hearing some good old Atlanta ganster rap to set the mood. Any help would be greatly appreciated.
Apr 04, 2015 Pizzasgood link
The command is playmusic, not play. So for example:

/playmusic /home/me/Media/JukeBox/SimCity/s2k/SC2Ktheme.ogg

Of course, the path to your music file will depend on where you have it saved on your device. On Android, I think it would be something like this:

/playmusic /sdcard/Music/ShitRap.ogg

(Also, I recommend ditching that gangsta junk and swapping in some Jurassic 5, or better yet, Optimus Rhyme.)
Apr 04, 2015 Ta'Ir link
Hmm makes sense. I'll try that out. Thanks..the idea not that Jurassic 5 nonesense :)
Apr 04, 2015 Ta'Ir link
Hmm..still nothing. Does my phone have to have an ogg player installed? Would that make a diff?
Apr 05, 2015 Pizzasgood link
Nope. The game's built-in music is all .ogg, so if the game's music plays, you're fine.

Did the filename or path have spaces in it? If so, you probably have to wrap the path in quotation marks:

/playmusic "/sdcard/Music/Star Craft/terran1.ogg"

Also, you'll need to make sure the file has a samplerate of 44100 Hz. If it doesn't, VO might play it at the wrong speed.

I just tested all of that on my phone, so I can confirm that the command does work in Android.
Apr 05, 2015 Ta'Ir link
Ok. I'll start trying it. I appreciate the help.
Apr 05, 2015 Ta'Ir link
What kind of convertor did you use? I'm also not sure but there are different types of "ogg" files, right? I'll hear the speaker pop like it want to try to play it. Then nothing.
Apr 05, 2015 Phaserlight link
This may be helpful, it may not, but I'm using Android 4.4.2 (Kit Kat) and I can play standard music files just fine in the background using the music app that came with the phone. I do this before opening VO, then go to "advanced options" and turn off VO's built in music. If I'm quick enough, I can even reset my playlist by selecting the "home" button and then jumping back into VO without losing my session. I'm not sure about older versions of Android.
Apr 05, 2015 Pizzasgood link
That would probably be a lot more convenient; even with plugins VO's music support is pretty limited.

I normally make oggs with the linux utility oggenc. For VO though, I have a script I use that uses sox to convert whatever I throw at it into an appropriately encoded ogg. I'm not at home today though and don't have it with me.
Apr 05, 2015 Niki link
Apr 06, 2015 Pizzasgood link
Okay, I'm home now. These are the specific commands I use:

sox "some_file.mp3" -r 44.1k "some_file.wav"
oggenc "some_file.wav"