02 February 2019, 00:43 | #141 | |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,912
|
Quote:
Once again - from my perspective volume control act as non linear DAC and if this logarithmic characteristic is not addressed correctly then you have severe distortion. Key is to map uniformly quantized PCM to quasi-logarithmic characteristic of this "DAC" . |
|
05 February 2019, 10:16 | #142 |
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,841
|
The AY DAC is a 'single-ended' programmable current generator. When this current is passed through a resistor connected to 0V, it produces a voltage proportional to the current. With standard load resistance the output voltage varies from 0V (amplitude 0) to 1V (amplitude 15), with 0.5V achieved at amplitude 13.
The datasheet is a little misleading because in one place it shows a linear ramp, while the actual output is logarithmic. Some versions of the AY datasheet also have an oscilloscope trace which shows the actual output waveform. Here you can see the 0V level (horizontal line at bottom) and voltage steps as the amplitude is ramped down and up. The finest steps are at the bottom, which equates to the negative peaks of an 'AC' sound waveform. Tones are square waves whose voltage oscillates between 0V and the voltage set by the amplitude. Envelope shaping can be used to produce a tone with decaying volume, the logarithmic output reduction matching the decay characteristics of a typical physical instrument. However since the output is referenced to 0V, the 'mid-point' voltage of the waveform also reduces logarithmically, producing a lower frequency which is audible at fast envelope rates. When I first tried out an AY-3-8912 in the early 1980's, I was quite disappointed by the audible steps and 'interference' from the envelope shaping. However at that time I was just trying to generate the cleanest possible notes, not realizing that the AY's 'flaws' could be used to make much richer and more interesting sounds! |
07 February 2019, 09:20 | #143 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,588
|
Almost completely off topic (different sound chip) but if you've got an STe and never tried this sound demo before you should
http://www.pouet.net/prod.php?which=52336 |
07 February 2019, 11:01 | #144 |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
|
What's so impressive about an STe playing modules? People have been doing that for decades.
|
08 February 2019, 23:56 | #145 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,588
|
You must never have played modules on a real STe using the players commonly available? If you had, and you then used this demo you would know what is so great about it. Or there's something wrong with your ears :-)
|
10 February 2019, 13:32 | #146 | |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,912
|
Quote:
Don't get me wrong, I agree - this can be spectacular for Atari STE and Falcon users but from Amiga perspective this still not Paula due radical difference in both architectures (i assume Falcon DSP could be capable to perform proper signal processing to deal with above problems). I have strong impression that good coders on Atari ST added trough pure software many unique Amiga HW features (of course at a cost of CPU utilization) and at some point Atari ST coders pushed limitations beyond Amiga. Why this not happen on Amiga? This is obvious example of Atari ST coders skills http://www.leonik.net/dml/sec_pcs.py and http://www.leonik.net/dml/sec_crypto.py |
|
10 February 2019, 18:22 | #147 | |
Registered User
Join Date: Jun 2008
Location: Boston USA
Posts: 466
|
Quote:
|
|
11 February 2019, 11:45 | #148 | |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,912
|
Quote:
Last years bringing more and more machine learning - image decomposition, human visual system - those things happen of course not on ordinary Amiga (as even with fastest CPU it will be slow). For example from my personal naive research is quite obvious that using https://people.eecs.berkeley.edu/~dc...loads/scolorq/ as pre-processor to perform CLUT selection and classical error distribution (even Floyd Steinberg) produce very decent results usually way better than any other "objective" color requantization algorithm. Same for HAM - with proper CLUT and wise error distribution (edge detection based) probably most of HAM limitations (ramp) can be removed. Using YCoCg instead YCbCr may improve speed of video decoding. All those techniques exist and can be beneficial for limited HW. Similar for audio - strong ATH noiseshaping may deliver near 16 bit perceived quality on Paula without "14 bit" trick. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Yamaha CRW4416SX - wanting to sell | B14ck W01f | New to Emulation or Amiga scene | 1 | 04 December 2016 10:58 |
Yamaha SCSI (external Drive) | ReD | MarketPlace | 0 | 05 November 2011 13:25 |
Amiga soundchip (Paula) | Grimbog | Amiga scene | 7 | 28 September 2008 18:04 |
Yamaha CRW4416SX | DDNI | support.Hardware | 20 | 20 June 2006 20:28 |
EBAY Amiga / Atari ST / Atari 2600 stuff | Eggsplosion | MarketPlace | 0 | 09 October 2004 21:01 |
|
|