Re: The Synthizer Thread

You're a programmer.  You can also do ogg->mp3 conversions in about 5 lines of bash or about 20 lines of Python,assuming you have ffmpeg.  I don't have the "here's how you strip a file extension and replace it" bash magic memorized anymore, but you just have to arrange for ffmpeg -i myfile.og myfile.mp3 to run over all your files.  It's really not that big a deal, so much so that if this sounds hard you're probably not ready to write games.  As  a starting point I think the following bash works as long as you don't mind ending up with .ogg.mp3, but I'm typing it offhand:

for i in $(find .); do
ffmpeg -i $i $i.ogg
done

There is a small modification of that that will get the filenames right, but you can also automate this in 30 minutes or less with Python using the glob and subprocess modules, and I don't feel like digging through the bash manual to find it for you.

Ogg isn't going to happen anytime soon because reasons.  See issue #37.  The long and the short of it is stb_vorbis is so unmaintained that I don't trust it, and if we want dr_vorbis (or is it dr_ogg, I forget) I'll probably have to sponsor him as in with real money, or something.  Eventually there will probably be optional dependencies requiring binary attribution, literally just to cover this case, but I need a much better reason than "converting my files is hard" or "but listening tests that don't matter once you're playing more than one sound at a time or outside the lab on consumer-grade audio gear show ogg is better".



-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : chrisnorman7 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : bhanuponguru via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Meatbag via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : masonasons via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : masonasons via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Capunzo via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Capunzo via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Capunzo via Audiogames-reflector

Reply via email to