24 November 2013, 16:06 | #1 |
Registered User
Join Date: Jun 2013
Location: Australia
Posts: 685
|
Amiga Sound Quality
Hi Guys,
For instances where an emu can handle the audio, why does an emulated Amiga sound like a real Amiga? Do you disagree that it does? Why can't something be applied to modern audio to do whatever is good about it to modern audio, or audio samples? |
24 November 2013, 17:01 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Amiga 8 bit audio data have to go through pc audio hardware (soundcard, onboard). So the quality is similar to original. Amiga 16 bit audio data (AHI, ...?) should be as similar good as the pc audio hardware can provide.
There might be possibilities to change original 8bit audio data using pc audio filter on the fly but the quality won`t increase much. You know interpolation is interpolation (guessing). Toni can tell you more. |
24 November 2013, 18:10 | #3 |
Registered User
Join Date: Jun 2013
Location: Australia
Posts: 685
|
I was wondering if it is at all compressed?
ie. Do (older OCS) Amigas do the frequency range a modern hifi can reproduce 20-20,000 Hz or near? |
24 November 2013, 18:13 | #4 |
Registered User
Join Date: Jan 2012
Location: USA
Posts: 372
|
The key to understanding Amiga audio is to realize that Paula is really a synthesizer chip and not just a sample player. Arbitrary waveforms can be output at arbitrary rates.
Standard PC audio is usually a PCM stream which is output at a fixed rate. |
24 November 2013, 19:28 | #5 | ||
Registered User
Join Date: Jun 2012
Location: UK
Age: 44
Posts: 748
|
Quote:
Quote:
Amiga 1200 and 4000 doesn't have a lowpass cutoff at 26khz I believe, so with AHI you can have 14bit Hi-Fi quality sound very close to today's modern soundcards. No idea what the low frequency response, SnR and distortion levels are like though. Probably not as good as a decent soundcard. I spent ages wondering why my A600 sounded so dull compared to my 1200. I even had the capacitors replaced. Then I found out about the cutoff. Doh! Edit: Also see this link https://bel.fi/alankila/modguide/interpolate.txt and this one: http://www.amiga.org/forums/showthread.php?t=61133 As for emulators I don't think WinUAE or any of the PC MOD players sounds exactly a real Amiga. I believe the Amiga's DAC works a little differently to a modern DAC and that maybe why (something to do with being non-linear). Someone with deeper knowledge of Paula will have the answer. Last edited by john1979; 24 November 2013 at 20:32. |
||
25 November 2013, 04:53 | #6 |
Registered User
Join Date: Jun 2013
Location: Australia
Posts: 685
|
5kHz is still only the higher end of mid-range. I wonder why they added a hardware filter.
Maybe the small amount of analogue circuitry to provide the line out isn't too good with it, or maybe they assumed smaller speakers in TVs and monitors, and didn't want to send them the higher frequencies that would only serve to distort those speakers. I find it interesting that depending on where the low end cuts off, the entire frequency range could fall within the range of a vintage tube amplifier. Might have to try that. |
25 November 2013, 19:31 | #7 |
Registered User
Join Date: Jun 2012
Location: UK
Age: 44
Posts: 748
|
I think you're right. The rather basic DAC in the Amiga doesn't do any oversampling, which would reduce aliasing artifacts. So they just bunged the hard filter in there instead. Then on top of that a toggleable filter to reduce high frequencies even further, useful for certain sounds which alias strongly (like the engine revving in stunt car racer)
Thankfully the A1200/4000 doesn't have this restriction and they sound much brighter, and I find the aliasing a welcome part of the Amiga's characteristic sound. |
26 November 2013, 02:56 | #8 |
Registered User
Join Date: Jun 2013
Location: Australia
Posts: 685
|
Maybe there's something in the older Amigas running slower, and the source not coping
well at the high end, I'm a bit out of bounds there without much knowledge of Paula. If the hardware filter is just a resistor capacitor network, that could be found out by removing it and using a modern hifi. Don't know how it translates to UAE if it's still a Paula emulation trying to do the same thing, at the same slow clock speed. I do have a 1962 stereophonic valve amp that has been modernised with digital optical input. Typically, the audio valves in the amp compress the audio somewhat, and the audio output transformers typically aren't even capable of delivering the very high or very low end by today's standards. So you can have come pristine audio from a class A amp on the cheap, but have to be selective about the source music, because it can still be noticed if it sharply cuts some high frequencies... which varies track to track, and it's now a "shelf unit" with midrange drivers only, but some analogue processing to push the spectrum into those driver's range. |
26 November 2013, 07:54 | #9 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,522
|
|
26 November 2013, 07:58 | #10 | |
Registered User
Join Date: Jan 2012
Location: USA
Posts: 372
|
Quote:
The fixed low pass filter's cutoff isn't very steep at all so plenty of energy above 5KHz is still passed. I think even at a frequency of 18KHz about 20% of the signal still gets through. The attenuation with increasing frequency is very gradual. |
|
29 November 2013, 16:04 | #11 |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,743
|
Each Amiga have mandatory integrator filter to remove PWM modulation from AUDxVOL functionality (this functionality can be switch off but integrator made on first OPAMP remain).
So ANY Amiga anyway cuts everything before 56KHz (first order so mild slope). |
30 November 2013, 04:19 | #12 | |
Registered User
Join Date: Jun 2012
Location: UK
Age: 44
Posts: 748
|
Quote:
Any noise above 21khz would have been inaudible. Most of us would struggle to hear anything above 20khz, even when in our teens. |
|
30 November 2013, 10:22 | #13 |
Precious & fragile things
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,946
|
Indeed you are right but consider the record versus CD argument, from what I understand of records they can reproduce sounds from DC - 100 KHz and although we cannot hear those higher frequencies they still interfere with the audible frequencies which we can hear ( harmonic addition / subtraction ). The idea of waves on a pond from two separate pebbles. I can also confirm that Kraftwerk on vinyl sounds better than Kraftwerk on CD. I've even done a side by side comparison of first pressing vinyl versus remastered CD.
|
30 November 2013, 10:27 | #14 |
Precious & fragile things
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,946
|
The grittiness of the Amiga's 8 bit audio is something highly desired by today's standards and there's many programs that will allow aliasing and alike. This rather odd find on Youtube highlights where this is desirable. Think Aphex Twin / Squarepusher / Mu-ziq
[ Show youtube player ] |
30 November 2013, 15:07 | #15 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
I keep reading this, but is it really true? Isn't it just the samples that are used? When I play CD quality WAVs in 44khz 14bit on my A1200 (with calibration, without AHI), it sounds almost as good as on the peecee, and there certainly isn't any audible grittiness.
|
30 November 2013, 18:55 | #16 | |
Registered User
Join Date: Jan 2012
Location: USA
Posts: 372
|
Quote:
This idea that the Amiga merely plays samples has to die! The Amiga outputs arbitrary waveforms at arbitrary rates, somewhat filtered. Sometimes those waveforms come from samples of recorded sound and sometimes they are completely synthetic. A two byte synthetic waveform of -128, 127, for example, will produce a somewhat filtered square wave. If a period value of 7159 is used, that square wave when output will have a fundamental frequency of 250 Hz. But it will also include many odd harmonics, too, like 750 Hz, and 1250 Hz and so on, well past 5KHz as the output jumps from -128 to 127 and from 127 back to -128. The "grittiness" of the Amiga's sound comes from all these additional harmonics that are produced as the output jumps from one value to another. The more slowly the waveform is output, the more additional harmonics appear in the output EVEN IF THEY WEREN'T PRESENT IN THE ORIGINAL SAMPLE. |
|
30 November 2013, 19:09 | #17 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
They always come from samples, because samples are all the Paula chip can play. It's not a synthesizer. Sure, you have arbitrary sample rates, and you can modulate the volume of one channel with another, but it's still sample based.
|
30 November 2013, 22:41 | #18 |
Registered User
Join Date: Jun 2012
Location: UK
Age: 44
Posts: 748
|
The Amiga's synthesis abilities are extremely limited. Paula is nothing like a synth. For the most part it's a dumb sample player. Of course there is software synthesis but that is not the same.
There is some ability of limited FM synthesis. But I'm not aware of it ever getting much use. If any? @Loedown Yes, I had forgotten about harmonics. Thanks |
30 November 2013, 23:25 | #19 | |
Precious & fragile things
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,946
|
Quote:
14 bits range is 16384 ( 0 - 16383 ) audio levels. At 5 volts this is steps of ~ 0.00030 For a better comparison save two jpeg images from the same original file only do one at high grade and one at low grade and you will see the difference, audio is no different to pictures in this respect. Nyquist's fundamental law is that to sample a frequency you need to double the speed of the frequency of the sound you are trying to sample and that's why CD does 44.1 KHz ( 22.05 KHz max frequency to sample ) which is of course enough for our hearable audio spectrum but refer back to my comment about LP Vs CD where LP and the system you are using, can go as high as 100 KHz. Also regarding Amiga samples, it depends on the output frequency that the sound is being played at and the speed that the original sample was recorded at, if both are almost divisible by one another you will have very little aliasing at all but if they are tremendously different then you will hear much aliasing. String sounds are the best for hearing of horrible aliasing because the original sounds usually use phasing between two oscillators to achieve a richer sound ( slight pitch phasing ). |
|
30 November 2013, 23:41 | #20 | |
Precious & fragile things
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,946
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shadow of the Beast 2 longplay (Amiga).. much better quality | laffer | Retrogaming General Discussion | 8 | 06 February 2008 21:09 |
High quality scans of Amiga CD (32) game covers | viddi | request.Other | 0 | 21 November 2006 13:24 |
Better quality graphics?? | SHU | support.WinUAE | 12 | 09 May 2005 19:34 |
low quality sound | icewizard2k5 | support.Hardware | 10 | 14 March 2005 13:05 |
winuae sound quality test released | Toni Wilen | support.WinUAE | 30 | 29 April 2002 08:23 |
|
|