English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 27 April 2014, 02:39   #1
source
Zone Friend
 
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 734
resampling mp3s?

Is there amy programs for the amiga that would take a 320 encoded mp3 and convert down to 128?
Thanks
source is offline  
Old 27 April 2014, 09:47   #2
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
There's a port of LAME, but I hate to think how long it would take to do the job. Why would you want to convert a good quality MP3 to a poor quality one anyway?
Hewitson is offline  
Old 27 April 2014, 12:34   #3
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,775
At first try to run this: http://wiki.hydrogenaudio.org/index.php?title=MP3packer perhaps 320kps files are not 320kbps...

And same as Hewitson - i see no point to transcode mp3 files on Amiga where PC will be faster 10 - 100 times.
pandy71 is offline  
Old 27 April 2014, 20:36   #4
source
Zone Friend
 
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 734
I just want to convert some of my high quality mp3s so that it will play on my MAS player for the amiga.
source is offline  
Old 27 April 2014, 23:53   #5
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,768
This may seem obvious, but:

If you have the music available in FLAC/WAV or on CD use that instead. Recoding lossy formats is always a bad idea, because the losses are added up together. Always encode from non-lossy sources.

Last edited by Thorham; 27 April 2014 at 23:59.
Thorham is offline  
Old 28 April 2014, 07:54   #6
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,775
Quote:
Originally Posted by source View Post
I just want to convert some of my high quality mp3s so that it will play on my MAS player for the amiga.
Go for PC and lame then..., if MAS deal with VBR go for it - this is way better than CBR, filter everything above 16kHz - MP3 has "flaw" by design and usually this part of spectrum not exist - but if something exist this is not even close to music thus for lower bitrate mp3 it is better to remove any signal from this part (not loos data bits).
pandy71 is offline  
Old 29 April 2014, 10:39   #7
source
Zone Friend
 
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 734
Thanks for the input. I am using the 320 versions on my A2000 with a delfina. Over clocking the Delifna allows for it to play without stuttering. I don't know how to overclock the MAS player if can at all.
source is offline  
Old 29 April 2014, 11:20   #8
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,775
Quote:
Originally Posted by source View Post
Thanks for the input. I am using the 320 versions on my A2000 with a delfina. Over clocking the Delifna allows for it to play without stuttering. I don't know how to overclock the MAS player if can at all.
Delfina is equipped with general DSP processor and clock speed directly affect processing speed - MAS3507 is dedicated DSP only for MP3 and it should play all bitrates up to 320kbps without any problem.

I would say that 320kbps is a bit overkill for usually mp3 files and also that usually mp3 with such high bitrate will be outperformed by mp2 (mp2 offer higher audio quality than mp3 usually from 224 - 256kbps).

Perhaps stuttering problem is not related to speed but insufficient bitstream parsing speed by CPU (not sure about MAS3507 but AFAIR it doesn't support elementary audio stream and need additional CPU processing - as opposite to for example STA013 where you can play mp3 files directly even from serial port - if serial port is fast enough - should be in Amiga case).
pandy71 is offline  
Old 29 April 2014, 14:46   #9
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,351
The MASPlayer uses its own crystal at 14-ish MHz, but I don't think overclocking it will do any good - the DAC also uses this signal for its timing. The limiting factor in our case however is the throughput from the parallel port - effectively the parallel port is emulating an I2C bus with software doing all the bus control signals. Therefore, a faster CPU in your Amiga will help, but also better coding. I'm not a particularly good coder, and the routine I wrote using C is able to decode 160 or usually 192kbps without stutter, but above that causes issues. That's on an '030/50.

The MAS Player application is written in assembler however and I seem to remember that coping perfectly well with much higher bitrates.
Daedalus is offline  
Old 29 April 2014, 15:58   #10
john1979
Registered User
 
john1979's Avatar
 
Join Date: Jun 2012
Location: UK
Age: 44
Posts: 748
Quote:
Originally Posted by pandy71 View Post
usually mp3 with such high bitrate will be outperformed by mp2 (mp2 offer higher audio quality than mp3 usually from 224 - 256kbps).
That's not true. MP3 will be transparent to the source material (sound the same as) for nearly all people at those bit rates. MP2 offers nothing above MP3 at any bit rate..
john1979 is offline  
Old 29 April 2014, 21:57   #11
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,775
Quote:
Originally Posted by john1979 View Post
That's not true. MP3 will be transparent to the source material (sound the same as) for nearly all people at those bit rates. MP2 offers nothing above MP3 at any bit rate..
Common misconception - MP3 is lossy compression and it is always in objective term non-transparent - it can be subjectively transparent but for various people level of transparency can be different.
Side to this MP2 is free from smearing and pre-echo where MP3 by design can't be free from this. Most audiophile friendly lossy codec (Musepack - http://en.wikipedia.org/wiki/Musepack) is based on MP2 not on MP3.

Very fast for you:
http://en.wikipedia.org/wiki/MP2_%28...2_format_works

MP3 provide higher spectra resolution at a cost of temporal resolution, MP2 is particulary good for rapid transient sounds where usually MP3 produce noticable (sometimes even for high bitrates) distortions - complex audio scene is usually reproduced worse by MP3 http://www.hydrogenaudio.org/forums/...howtopic=74100

This is quite difficult to describe but perhaps you are not sensitive for this (personally i hate such warbling audio tone) - i observe that lot of people especially younger don't hear MP3 artifacts but this can be explained by fact that they have no experience with life instruments and/or non compressed audio and brain (perception) is adopted to mask this problem.

So MP3 with 128kbps will sound probably better than MP2 but MP2 with 320 - 384kbps will be way better than MP3.

btw check huge band above 16kHz in MP3 - it almost not exist unless energy in this part of spectrum is high enough to be encoded - MP3 intentionally save bits on this part of spectrum where MP2 is way more transparent...
pandy71 is offline  
Old 29 April 2014, 23:13   #12
john1979
Registered User
 
john1979's Avatar
 
Join Date: Jun 2012
Location: UK
Age: 44
Posts: 748
Quote:
Originally Posted by pandy71 View Post
Common misconception - MP3 is lossy compression
Of course I did not confuse lossless with lossy. Why did you think I did?

Quote:
and it is always in objective term non-transparent
Means nothing. Either you can tell an encoding from the original through a double blind test (it's not transparent) or you can't (it's transparent to you). ABX testing takes away subjectivity and makes the test objective. Of course it does not matter what other people can hear, only you

Quote:
Side to this MP2 is free from smearing and pre-echo where MP3 by design can't be free from this.
MP2 performs better on sharp transients it has to be said. However why I'd want to choose a codec that needs high bit rates to remain indistinguishable to the source is another question.

When we are talking about bitrates 256k+ I would still expect LAME MP3 to have less problem samples than MP2 anyway. LAME is highly tuned and has an excellent psycho-accoustic model.

Quote:
So MP3 with 128kbps will sound probably better than MP2 but MP2 with 320 - 384kbps will be way better than MP3.
At high bitrates it most likely both would be transparent to the source. There would be no "better" codec.

As for Frank Klemm's baby, Musepack. It is surely a nice codec. I prefer aotuv vorbis myself. To me it is transparent at Q5 (~160kpbs) even on the worst problem samples.

Quote:
btw check huge band above 16kHz in MP3 - it almost not exist unless energy in this part of spectrum is high enough to be encoded - MP3 intentionally save bits on this part of spectrum where MP2 is way more transparent...
A common mistake, spectral graphs mean nothing when it comes to audio encoding transparency. Only your ears and ABX mean anything. Surely if you paste links to Hydrogenaudio you should know that already?
john1979 is offline  
Old 30 April 2014, 12:41   #13
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,775
Quote:
Originally Posted by john1979 View Post
Of course I did not confuse lossless with lossy. Why did you think I did?
Im not confused - i trying to say that with lossy compression we can't talk about universal - objective transparency - each person has own threshold of transparency.

Quote:
Originally Posted by john1979 View Post
Means nothing. Either you can tell an encoding from the original through a double blind test (it's not transparent) or you can't (it's transparent to you). ABX testing takes away subjectivity and makes the test objective. Of course it does not matter what other people can hear, only you
Transparent for you doesn't mean transparent for someone else.

Quote:
Originally Posted by john1979 View Post
MP2 performs better on sharp transients it has to be said. However why I'd want to choose a codec that needs high bit rates to remain indistinguishable to the source is another question.
Simpler compression model or you don't need to squeeze every possible bit to reduce required bandwidth - every lossy compression is compromise...

Quote:
Originally Posted by john1979 View Post
When we are talking about bitrates 256k+ I would still expect LAME MP3 to have less problem samples than MP2 anyway. LAME is highly tuned and has an excellent psycho-accoustic model.
Isn't similar PSA is implemented in twolame encoder? Once again MDCT concept have own pross (better squize data) and cons (mentioned earlier).

Quote:
Originally Posted by john1979 View Post
At high bitrates it most likely both would be transparent to the source. There would be no "better" codec.
I would say if you going for 320kbps then why you want to squeeze any possible bit?

Quote:
Originally Posted by john1979 View Post
As for Frank Klemm's baby, Musepack. It is surely a nice codec. I prefer aotuv vorbis myself. To me it is transparent at Q5 (~160kpbs) even on the worst problem samples.
Fair, for me vorbis sounds OK even at lower datarates especially when compared to MP3 (as MP2 is not suitable for low bitrates).

Quote:
Originally Posted by john1979 View Post
A common mistake, spectral graphs mean nothing when it comes to audio encoding transparency. Only your ears and ABX mean anything. Surely if you paste links to Hydrogenaudio you should know that already?
Yes and know but this is additional discussion - this was only point that for people able to hear over 16kHz, MP3 can be insufficient due design limitations - personally i am old enough to not hear above 17 - 18kHz thus no problem.
pandy71 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed for turning amiga tunes into mp3s trydowave support.Other 17 22 September 2011 19:16
GameBase Amiga v1.4 released - Now with >>2<< MP3s! eLowar News 11 28 May 2007 18:31
Flashback MP3s - Resampled, now 21 tracks - incld 2 bonus ChrisNZ Amiga scene 0 06 July 2006 18:41
Some mp3s not playing in Amplifier Smiley support.Apps 4 12 June 2006 09:47
Playing MP3s on WinUAE using AHI andreas support.WinUAE 5 07 March 2002 15:27

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:56.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09983 seconds with 15 queries