Page 1 of 1 [ 8 posts ] 

Anemone
Veteran
Veteran

User avatar

Joined: 17 Mar 2008
Gender: Female
Posts: 1,060
Location: Edmonton

15 Jul 2013, 2:02 pm

Does anyone here know how to take a sound output in Terminal (created using SBaGen) and convert it to an mp3? I think I need help getting started. I have SBaGen on a Mac, so of course I also have all the Mac essentials. I don't know if I can just go with that or whether I need something else.



zer0netgain
Veteran
Veteran

User avatar

Joined: 2 Mar 2009
Age: 57
Gender: Male
Posts: 6,615

15 Jul 2013, 2:51 pm

If you are asking the equivalent of converting a WAV format file (standard MS sound file) to an MP3, you either use a program that lets you save it as an MP3 or you can Google for online sites that will convert to a MP3 format for you.



Anemone
Veteran
Veteran

User avatar

Joined: 17 Mar 2008
Gender: Female
Posts: 1,060
Location: Edmonton

15 Jul 2013, 3:15 pm

Unfortunately, I'm going to need something more beginner than that.

The program SBaGen allows me to output a file using -O but heck if I can figure out how to turn that into a file on my desktop or anywhere. It just spits code into the terminal.



VIDEODROME
Veteran
Veteran

User avatar

Joined: 20 Nov 2008
Age: 49
Gender: Male
Posts: 2,691

15 Jul 2013, 3:40 pm

I recently used a program in Linux called LAME to convert Wav to MP3. Not sure if that will work in a Mac.



LookTwice
Velociraptor
Velociraptor

User avatar

Joined: 30 Oct 2011
Age: 113
Gender: Male
Posts: 441
Location: Lost, somewhere

15 Jul 2013, 4:35 pm

You can use

-Wo out.wav

as command line arguments (I assume that's how you use the program) to write a .wav file (which will end up in the current directory if you don't specify one)
Then convert to mp3 with the LAME encoder or any other tool that does this.


_________________
What goes on inside is just too fast and huge and all interconnected for words to do more than barely sketch the outlines of at most one tiny little part of it at any given instant. - D.F.W.


Anemone
Veteran
Veteran

User avatar

Joined: 17 Mar 2008
Gender: Female
Posts: 1,060
Location: Edmonton

15 Jul 2013, 5:19 pm

Quote:
You can use

-Wo out.wav


That worked! And I can play it in iTunes as is. Very nice. (Although I still need to figure out how to get a version of just the ogg file as a control condition. But I'm thrilled I've done this much already.)

Thank you.

Autistic genius (or expertise, anyways) comes through again.



LookTwice
Velociraptor
Velociraptor

User avatar

Joined: 30 Oct 2011
Age: 113
Gender: Male
Posts: 441
Location: Lost, somewhere

15 Jul 2013, 5:43 pm

FYI, I just took a look at http://uazu.net/sbagen/sbagen.txt

Not sure there is a way to directly create an .ogg, I think you'll have to convert the .wav if you want that format. There's a section "Creating loopable OGGs" in that file I linked, but this is for converting existing .ogg files so they can be mixed in.

Converter for Mac (which I haven't tested or verified, but seems legitimate):
http://www.mediahuman.com/audio-converter/


_________________
What goes on inside is just too fast and huge and all interconnected for words to do more than barely sketch the outlines of at most one tiny little part of it at any given instant. - D.F.W.


Anemone
Veteran
Veteran

User avatar

Joined: 17 Mar 2008
Gender: Female
Posts: 1,060
Location: Edmonton

15 Jul 2013, 5:48 pm

There are online programs that let me convert the ogg file to an mp3 file. That was easy, once I looked. Now I'm working on getting the 1 minute mp3 file into 30 minutes. This is kind of fun.