@LiveForIt
Quote:
sure it’s possible to upscale to 16bit, digital enhancement techniques has existed for long time in the audio / video industry, wave form corrections, when audio CDDA they introduced a technique, where shattered the audio data, so its minimum impact if surface was a bit damaged, and they added digital correction techniques to fill in the missing data.
Yes I read about that. Didn't know about the EFM. I wonder how much "pure" data is 16 bit? With the modulation and what not. Especially since not all CD rips are equal. The data can change.
Quote:
I came across serval other techniques to correct for clipping and other distortions too.
At that point the damage is done. Bit advanced for a Paula emulator. In fact given it controls mixing using AHI no distortion should occur on the output.
Quote:
the problem missing bits is none perfect wave form, your kind have wobble effect, you need to correct for. I guess you need break down signal into frequencies, and reconstruct etch frequency.
I suppose 2 bits isn't much to lose or recreate from existing bits.
If you want to deconstruct the signal then you need to get into FFTs, breaking it down into frequency components, then resynthesise it to reconstruct it back.
Given Paula is synthesised to begin with that might not be so far fetched.
Quote:
I think that’s why of scope of this project but go ahead and do your resources and try it out, I’m not going to stop you.
Lol. To be honest I can't even tell the difference anymore. Maybe I need to hear the real thing but to me a real Amiga playing a module sounds like just my X1000 playing a module with digital mixing.
Quote:
By the way, stairstep frequency I guess is 2 x the sample frequency, it can be possible to pass it into a digital lowpass filter, to remove some of the white noise.
Depends on the DAC. Paula synthesizes it so it's not a pure basic DAC. It can take a staircase and the result will be smooth. It also has the analogue filters.
The max output frequency will be half of the sample rate as per the Nyquist theorem. I used to think it was because Paula had the sound in sample pairs so needed two samples for one difference. Meaning it could only output half the frequency at any time. But it wasn't related to the hardware implementation at all.
The same happened when I read about the magic 4489 MFM floppy sync number. I recall first reading about it an an Amiga document. It may have been a technical guide included with X-Copy. Now it said something about the smart people coming up with 4489. Because it was an Amiga document I thought the smart people were the Amiga designers. Nope, as it turns out it didn't relate to the Amjga at all, and the smart people thought of it before the Amiga came along. It was only to do with how the floppy is encoded.
Quote:
Well, your maybe correct about 14bit, I don’t know how works, I only think I know. I have not looked at any playback routines for 14bit.
They are simple in principle. Split each 16 bit channel into upper and lower 8 bits. IIRC it plays the upper 8 bit sample on one channel pair at volume 64, scales the lower 8 bits into a 6 bit sample, and plays that on the other channel pair at volume 1. This has the effect of outputting 14 bit resolution. It somewhat simulates what would happen if it was volume modulated. Since a 6 bit sample matches volume resolution. Technically, it could just play the lower 8 bits in full at also volume 1, but apparently it's noisy as that's above what the volume does. I don't know if the 14 bit is a digital 14 bit or the 14 bit is some kind of analogue equivalent.
I've looked into using AM to do it in hardware. But there are some limitations. I forgot what they are. Needing to use CPU to write values is too much. I also theorised that 15 bit was possible a number of years ago when I did the math on it.
There is also 9 bit as used by Symphonie. This is a real possibility and unlike 14 bit can provide a real dynamic range of 9 bits digital without simulation tricks. And at full volume.
What I'm interested in is if anyone has scanned it with an oscillator? Fan boys going on about the Amiga doing 14 bit is all
well and good amongst themselves but I want to see some real results. Could be a good activity for my club.
Could be hard to quantify as an Amiga 16 bit sound card playing a 14 bit sample, to compare with as a baseline, won't be exactly what Paula would output with it's different DAC synthesis.
Quote:
But when I say half assed, and you look at the “Martin Blom» original readme / mail, he sead it was a proof of concept, and he has serval ideas he did not implement. (self-modifying code, chip ram mirror)
Oh I understand. Yes, well, the idea wasn't suitable for the real thing anyway. So, this PUH thing uses the MMU to intercept Paula writes, diverts it to the AHI driver, which then directly writes it to Paula. Am I missing something?
The other advanced ideas don't make too much sense because it has Paula hardware. So, there really is no practical point apart from a proof of concept, unless someone is wanting to divert it to a 16 bit sound card.
On OS4 the idea makes sense. On the AmigaOne anyway. Since it has no Paula hardware. But it wasn't done as cleanly. It doesn't program the MMU. It overrides the DSI vector so it's kinda hacky. But, they didn't help in providing any other way, and when I enquired they refused to provide support for any program that wanted to add a hook to catch custom access cleanly. I'm still interested in if the MMU interface can do it in a cleaner fashion.
Quote:
And it becomes even clearer when you compare it to the UAE Paula emulation, that does do all nice things AM/FM modulation, and filtering.
Yes, it does a lot more, but it's also a fully integrated solution. So I think it's easier for it do do all that. Something like PUH has to intercept live calls to audio registers and deal with it in an instant.
Quote:
Yes, that can be the problem, or they apply some filtering and other things to the audio, or it’s something with timing is not perfect, its hard to pinpoint, my impression is It sound somewhat muddy.
I suppose it's fully customised that way. It doesn't need to rely on AHI using the correct mixing mode or any options that avoid distortion. It can just generate the full sample stream. I can understand really. It needs to resample to one output frequency but also scale by channel volume. Paula volume is also said to be PWM based so a pedantic mixer can also take that into account. But apart from that, if output is 16 bit minimum, then volume can be used to upscale the samples to 14 bit then add to 16 bit. 6 bit volume x 8 bit sample = 14 bits. Mixed is 15 bits then upscale to 16, or upscale 14 bit to 15 bit then add. Fully mixed 16 bit result.