Search site Dead Hackers Society
Other BBSes »
 
 

Outline 2017
 

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





[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


Reply to this message
Name:
Topic:
Human verification (enter the text of the ASCII-art below):

       _       _ _             _   
 _____|_|___ _| | |_ ___ _____| |_ 
|     | |   | . | . | . |     | . |
|_|_|_|_|_|_|___|___|___|_|_|_|___|
Message:




© 1994-2016 Dead Hackers Society Contact: Anders Eriksson