Dead Hackers Society
Other BBSes »
 
 

Sommarhack 2020
Notice!
Sommarhack 2020 is cancelled in it's normal format. We're moving it online and will stream competitions as well as other Atari programmes during July 4 evening.
Click the logo for more info!
Demoscene  Coding  CT60  Buy/sell

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
ae@dhs.nu








[All messages in this thread]    [Start new 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


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2020 Dead Hackers Society Contact: Anders Eriksson