mp3 player
Moderator: OpenTTD Developers
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
dunno if this has been said already, i am soooo lazy right now, i just wanna downlaod the latest ottd an get playing.
but winamp 5.03 (infact even old versions)
are built in with "global hotkeys" available.
hence when playing ottd just press
ctrl+alt+home (to pause/play)
ctrl+alt+page down (for next song)
the list of shortcuts goes on, it is very very easy to do, and i often watch movies on my tv without my main monitor or any interfaces every being open.
i am also a member of the winamp forums LOL, so i may be biased
Alltaken
but winamp 5.03 (infact even old versions)
are built in with "global hotkeys" available.
hence when playing ottd just press
ctrl+alt+home (to pause/play)
ctrl+alt+page down (for next song)
the list of shortcuts goes on, it is very very easy to do, and i often watch movies on my tv without my main monitor or any interfaces every being open.
i am also a member of the winamp forums LOL, so i may be biased

Alltaken
Argh, MP3 playback does not take only "a little CPU" - if you've not got MMX or haven't optomised for MMX at compile time, it takes anywhere between 90 to 120Mhz. The same goes for PowerPC machines without Altivec, SPARC machines without whatever-the-hell-their-SIMD-is-called.
When you consider the development machine for the BeOS/PPC port of OTTD is a 180Mhz system with no cache and no Altivec, MP3 would make the game unusable
And Ogg Vorbis is worse, uses far more power. And doesn't like big endian systems IIRC.
When you consider the development machine for the BeOS/PPC port of OTTD is a 180Mhz system with no cache and no Altivec, MP3 would make the game unusable
And Ogg Vorbis is worse, uses far more power. And doesn't like big endian systems IIRC.
What's your point? In-game sounds are typically about 10kB each. Is that too much? Try compressing that with an mp3 encoder, and realise that the extra processing time of decoding them is not worth tiny gains in filesize or stupid loss in quality you get..lucaspiller wrote:There isn't really much point in using .wav sounds as they eat up space a bit too much.
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
I meant if more in-game music was added.ChrisCF wrote:What's your point? In-game sounds are typically about 10kB each. Is that too much? Try compressing that with an mp3 encoder, and realise that the extra processing time of decoding them is not worth tiny gains in filesize or stupid loss in quality you get..
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
???MYOB wrote:And Ogg Vorbis is worse, uses far more power. And doesn't like big endian systems IIRC.
ogg works fine for me, at least decoding and playing
and to the question
It can be said in one word: copyrightwhat's wrong with the current ingame music
about file size for sound. If we make a lot of small files, there is no point in compressing them, because blocksize on the HD would kill that saved space
hrrrm.. change that to "Doesn't like Big Endian when using a Metrowerks-made C compiler" then...Bjarni wrote:???MYOB wrote:And Ogg Vorbis is worse, uses far more power. And doesn't like big endian systems IIRC.
ogg works fine for me, at least decoding and playing
And the addition of the mp3 headers would make the files bigger, and with really short sequences, we'd be getting no further in reducing space than the sample.catabout file size for sound. If we make a lot of small files, there is no point in compressing them, because blocksize on the HD would kill that saved space
He might be refering to the fact that the current in game sound file format is properitaryNoMercy wrote:If you can copy the graphics you can also copy the music, because you would own TTD.Bjarni wrote:It can be said in one word: copyrightwhat's wrong with the current ingame music![]()
So, in theory are the graphics, but the graphics are just PCX internally
The Music format is MIDI, the Sound format is not, did you think we'd managed to put a *full* softsynth *and* a complete set of patches (MIDI patches, used for marking what signals make what noise) in 900KB of code?NoMercy wrote:The TTD sound format is just midi. I don't see what's properitary about that.
Anyway, I think using an external mp3 player is best. Why bother to write an internal mp3 player, when external players will be better anyway. It's better to spend the time on other features.
This explains the reason why theres sound and music drivers as different things, and why OS's without native MIDI kits (MorphOS, MacOS, Linux) either have no music or a hackjob to get music
Who is online
Users browsing this forum: No registered users and 11 guests