11 October 2016, 11:59 | #21 | |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,745
|
Quote:
I will be glad to read description (technical) but i think you are not electronics engineer when you said that 8 bit DAC may have over 14 bit accuracy (it can be done but then it must be 8 bit DAC made internally with over 14 bit accuracy which is usually not the case for technology in mid of 80's previous century). Check popular DAC in those time (70's design i believe used in Paula prototyping stage) DAC08 - depends on version (grade) linearity was between +-0.1 to +-0.39%, +-0.1 means approx 0.2% linearity i.e. around 9 bit linearity - this is for best case scenario, now imagine 4 DAC like this in cheap non analogue process (as we know CBM/CSG was specialized in digital IC not analogue one) - well i would say it is highly doubtful that CBM/CSG will do expensive laser trimming for every 4 Paula DAC and in real life scenario Paula DAC linearity is more close to+-.39% or even more non-linearity and it is not possible to stack two 8 bit nonlinear DAC and expect higher linearity (unless nonlinearities in both DAC will compensate but this imply differential topology and lot of hassle at the output stage) Gain from so called 14 bit is that every added bit reduce quantization noise by 6.0206dB and 10 - 12 dB is easily perceivable (for most of people 11 - 12 bit will sound unperceivable same as 16 bit, add to this power supply noise where in Amiga overall power plane analogue design is far from CD standard). Last edited by pandy71; 11 October 2016 at 13:01. |
|
11 October 2016, 13:01 | #22 |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,745
|
please delete
|
11 October 2016, 13:11 | #23 |
Registered User
Join Date: Oct 2013
Location: England
Posts: 419
|
You think 11-12 bit audio sounds the same as 16-bit audio to the average user? I'd say this very much depends on the users' hifi system (or lo-fi system if one can't tell the difference between 12-bit audio and 16-bit). I tested 14-bit audio 20 years ago on the Amiga and it was 14-bit then, and it still is now! Listen to song fade outs or quiet sections or classical music (being as classical music is the most dynamic music available) and you'll plainly hear the extra resolution which is leaps and bounds beyond 8-bit....sounds a lot like 14-bit to me. Of course, I'd expect a proper calibration to have taken place first which takes about 30 or more minutes to do properly. It really is quite exciting to hear the better quality audio from good ol' 1985 Paula ;-)
|
11 October 2016, 13:24 | #24 |
Registered User
Join Date: Oct 2013
Location: England
Posts: 419
|
In real life there's less than 16-bits in 16-bit audio unless the signal is a constant full peak sinewave, so for 14-bit it's going to be less still, but it doesn't change the fact that the resolution capability still 16-bit respectively and 14-bit respectively.
|
11 October 2016, 14:26 | #25 | ||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,745
|
Quote:
Quote:
Slightly modifying Paula (introducing for example sample interleaving will first reduce amount of DAC's - from 4 to 2, secondly it will allow for increased sample rates by using two folded/time interleaved channels - this with proper dithering+noiseshaping even on 8 bit Paula will push quality close to 14 - 16 bit system without any or almost any CPU load - in theory 4 times oversampled, 8 bit PCM DAC is capable to beat DSD so high end, high resolution modern audio format). I strongly disagree - you should check Gerzon-Craven theorem - modern audio system with 16 bit DAC may easily have more than 120 - 130dB dynamics with noiseshaping matching human ATH (personally tested signals with level -140dBFS in 16 bit PCM but in theory you can easily put lower levels - limit is only Gerzon-Craven theorem). Last edited by pandy71; 11 October 2016 at 14:32. |
||
11 October 2016, 16:04 | #26 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
I maintain that you can get slightly more than 14 bit with Paula (with real Paula ; not in emulators which are really limited to 14 bit).
Remember that we use two 8-bit DAC for playing single 16-bit sample. If we could shift the volume 8 positions we would get full 16 bit. But we can only shift 6 bits (volume 64 vs volume 1). So in theory this is 14 bit, but the output is nonlinear so we have more combinations than just 16384 ; by reordering them cleverly we get over 14bit accuracy. A good 14-bit routine plays 16-bit samples, not 14-bit samples. Sure i'm not electronics engineer but i've seen the code and you have not. |
11 October 2016, 19:25 | #27 |
Registered User
Join Date: Oct 2013
Location: England
Posts: 419
|
16-bit 44.1 kHz - 24-bit 192 KHz is crap, semi-modern D/A converters do a good job of covering this up...a very good job. It's trickery though.
1-bit DAC, are you talking about sdm? Paula doesn't perform any tricks to give a perceived enhanced output, so in this respect it will not sound as good as a CD player even, but the extra bit depth of 14-bit over 8 is very welcome indeed. Cd's were going to be 8-bit originally, heaven forbid... |
11 October 2016, 19:32 | #28 |
Registered User
Join Date: Oct 2013
Location: England
Posts: 419
|
Sub-nyquist? I think we're all talking about 44.1 KHz here, which Paula will happily run at in 30KHz screen modes.
|
12 October 2016, 09:56 | #29 | |||||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,745
|
Quote:
have only 8 bit accuracy at best. Quote:
Quote:
16 bit sample must fit in 14 bits, this produce unavoidable quantization error (2 bits), such error must be processed somehow - worst case scenario is truncation but this lead in unavoidable way to harmonics distortions which are highly correlated with signal so they can be easily perceived - to avoid this type distortion you need to de-correlate quantization distortions and usually it is done by adding TPDF dither (at least 2LSB) to signal before re-quantization, noiseshaping can be used instead or together with dither to improve perceived SNR and perceived system dynamics. Quote:
Quote:
Everything is more complex and trust me - 8 bit may be better than 16 if proper signal processing is applied to it. Well... Paula may run with increased sample rates but nominal system specification can be considered as sub-Nyquist DAC - to run Paula with increased sample rate you need to increase horizontal frequency rate, not sure if someone tried to do this in software on OCS/ICS (in theory this is possible in similar fashion as fake 60Hz modes only more difficult), so practically increased horizontal frequency require ECS/AGA or you need to start using audio DAC in non-DMA mode (so involve or CPU or/and Copper). Last edited by pandy71; 12 October 2016 at 10:08. |
|||||
12 October 2016, 11:34 | #30 | |||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
Two 8-bit samples give 65536 combinations. Not all of them are useful but we can get 14bit and more. Quote:
The input is a 16-bit sample. The output is two 8-bit samples, both fetched from a table. You can call that nonlinear pre-correction if you want. I can't really tell the theory behind this, only that it works fine. Quote:
Have you heard an Amiga playing 14bit ? |
|||
12 October 2016, 12:18 | #31 |
Registered User
Join Date: Oct 2013
Location: England
Posts: 419
|
@pandy71
Here's the 14-bit 'Cybersound' software enclosed in the Play16 archive. With Cybersound you can calibrate your particular Amiga, and with Play16 you can utilise that calibration via a tooltype (paula14c IIRC) and play some cd quality wavs or aiff's - read docs! The Cybersound docs explain exactly how it works, I think. http://aminet.net/package/mus/play/Play16 |
12 October 2016, 13:35 | #32 | ||||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,745
|
Quote:
Quote:
By calibration you accepting fact that you have less than 14 bits useful. Quote:
Have you heard 6 bit DAC or 3 bit playing? Once again there is no 14 bit audio in Amiga as after calibration you will have less than 14 bits usable, yes, i've heard Amiga in so called 14 bit mode and i have impression that this mode is somewhere between 10 and 12 bits maximum (for 12 assumption is properly made calibration with spectrum analyzer and improved power supply section for Paula). Quote:
Last edited by pandy71; 12 October 2016 at 13:41. |
||||
12 October 2016, 14:03 | #33 | ||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
What is a 8 bit DAC for you ? Isn't it the same as 8 1-bit DAC stacked together, each one giving 1/2 of the previous one's output level ? Listen to Atari ST sampled sound - it is 3 4-bit logarithmic DAC, all together giving close to 8 bit accuracy. Here it's more or less the same trick. Quote:
Quote:
For the quantization noise, don't forget that the final output isn't exactly the same as the input signal. Irrelevant. What are you trying to do ? Quote:
Well, obviously you're standing at your theoretical level and you haven't tried. My guess is that if you were listening at some true 16 bit sound, then the same with a properly configured 14-bit Amiga config, you wouldn't be able to tell the difference. (Pretty much like some folk - you know who you are my friend - who pretended downsample by average was very poor, and yet has been proven unable to tell who's who with a blind testing.) |
||||
12 October 2016, 15:13 | #34 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Unfortunately, the Play16/Cybersound docs don`t explain in detail how it works. "Only" the usual: "1/2 channel with full volume mixed with 1/2 channel with min volume". All 4 audio channels used.
|
12 October 2016, 16:40 | #35 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
I didn't pretend anything. I made a claim based on a test I had run before, and I probably screwed it up. The result of the test was quite perceptible. I just redid the test, but this time with a simple 2:1 average, and sure enough, it doesn't sound like crap. People make mistakes you know
|
12 October 2016, 17:09 | #36 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
|
|
12 October 2016, 18:05 | #37 | |||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,745
|
Quote:
I know how SID and AY tricks works but how this is linked with Paula? Problem is that you didn't explain anything - side to this you are ignoring fact that calibration assume less bits than in theory available (did you perform re-quantization on 8/6 sample part? - asked you about algorithm used in calibration) Quote:
How output is different on final output when compared to input signal (assumption is 16 bit samples at input) - please briefly describe steps from input to output. Understand how to achieve real 14 bit DAC accuracy on Paula. Quote:
My theoretical level is that on Paula with calibration you may have between 10 and 12 bit DAC accuracy - you can fit even 64 bit data but at the end it will not more than 12 bits. I can tell you when you connecting Amiga to amplifier input without any signal as power plane is so noisy in Amiga... And there is substantial difference between real audio system capable to deliver real 16 bit performance and Amiga. |
|||
12 October 2016, 18:39 | #38 |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
|
Erm... if the volume control scaling is not linear (not using same size steps as the DAC), does that not make it possible to get better than 14 bit result? (Or worse for that matter.)
I.e. smallest sample value (well, isn't it the difference between two values really?) at full volume is louder than the biggest sample value at minimum volume? ISTR that I did some tuning for a 14-bit playback thing that involved turning up the stereo something scary. Last edited by NorthWay; 12 October 2016 at 18:40. Reason: step size |
12 October 2016, 18:45 | #39 | |
Registered User
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 1,153
|
Quote:
This means we can input 65536 unique codes into the combined DAC, rather than the 16384 that a true 14-bit DAC could accept. It's highly likely that non-linearities in the DACs mean that the vast majority of those 65536 codes give a unique output level, and with careful calibration (that the current calibration software may well not be doing sufficiently well) it may be possible to achieve higher than 14-bit resolution, but only in very specific (and not very useful!) parts of the range. |
|
12 October 2016, 19:01 | #40 | |||||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,745
|
Quote:
Quote:
Quote:
Quote:
Quote:
Calibration is very important but in fact it will further reduce number of available sample values... this is quite. Last edited by pandy71; 12 October 2016 at 19:41. |
|||||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
15 bit 44 khz audio idea. | Thorham | Coders. General | 33 | 15 September 2021 06:22 |
Questions about 14 bit audio playback | xxxxx | Coders. Asm / Hardware | 16 | 22 December 2014 19:30 |
High Quality reproduction of Audio on 8 bit. | pandy71 | Amiga scene | 0 | 01 July 2013 15:08 |
Using two voices for 56K sample/second audio output rate -- OCS -- No CPU or Copper | mc6809e | Coders. Asm / Hardware | 2 | 28 January 2012 00:29 |
Simple 14 bit audio question... | Thorham | Coders. General | 7 | 06 June 2010 10:55 |
|
|