Search site Dead Hackers Society
Other BBSes »

Silly Venture 2019

Sommarhack 2019
Demoscene   º   Coding   º   CT60   º   Buy/sell   º   Misc/crap   º   Alive magazine   º   SNDH/Tracking

Atari coding BBS
Re: Convertion to mp2
Posted by: evil Oct,28.2016-19:19 

A much easier method

1. Take the uncompressed song, resample to 32780 Hz (not 32880!)
2. Encode to mp2 with toolame:

toolame -s 32000 -m j -b 192 foo.wav bar.mp2

-m j = joined stereo, use -m m if it's a mono file
-b 192 = bitrate, the DSP limit is around there

But I would recommend using 49170 Hz instead, there's no logic reason to run at 32780 Hz as the DSP will be able to decode at the higher speed. Then it's even easier with toolame as it defaults to 44100.

1. Resample to 49170 Hz
2. Run toolame

toolame -m j -b 192 foo.wav bar.mp2

The mp2 files will play at 32000 or 44100 Hz on a normal player, while the Falcon "demo player" will run faster at either 32780 or 49170 Hz.

Of course, for smaller file -> less bitrate, but also less audio quality. Find a sweetspot.

I personally much regret using too low bitrate for some demos to save size or make it compatible to 4 MB ST-RAM. We could at least have offered a high quality version..

Anders Eriksson

[All messages in this thread]

Topic Posted by  Date 
Convertion to mp2 sqward Oct,27.2016-13:29
  Re: Convertion to mp2 Oct,28.2016-13:19
    Re: Convertion to mp2 wiecz0r Oct,28.2016-13:27
  Re: Convertion to mp2 evil Oct,28.2016-19:19
    Re: Convertion to mp2 wiecz0r Oct,28.2016-19:54
      Re: Convertion to mp2 wiecz0r Oct,28.2016-20:17
        Re: Convertion to mp2 evil Oct,28.2016-23:45
          Re: Convertion to mp2 sqward Oct,29.2016-12:30
    Re: Convertion to mp2 sqward Oct,28.2016-23:42
    Re: Convertion to mp2 sqward Nov,12.2016-18:21
      Re: Convertion to mp2 mikro Nov,14.2016-00:32
        Re: Convertion to mp2 sqward Nov,14.2016-16:23

Message board and comments are now read-only

Due to abuse of the message boards we have put the entire site in read-only mode. That means you can't post new threads or reply to old messages and you can't add comments in VideoDB and PicDB.

Some messages have been erased from reading, but are stored in case they need to surface again.

After 17 years and 45000 messages we're shutting down due to one person.

© 1994-2019 Dead Hackers Society Contact: Anders Eriksson