20 February 2021, 12:20 | #261 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
Here are the outputs from my A1200 in PAL.
Everything in one file but in the right order. 6 tracks. Please listen and say who you think are most clear or sound the best. https://files.fm/u/v2u22h9wm It is little doubt that the first track sound most noisy. Nr. 2 is the most clean. That is piano-half Last edited by nikosidis; 20 February 2021 at 12:38. |
20 February 2021, 12:28 | #262 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
I know, I'm testing in PAL only.
Quote:
Let's hope not. How would you even do that without somehow measuring the output? |
|
20 February 2021, 12:38 | #263 | |
Registered User
Join Date: Feb 2021
Location: Becej / Serbia
Posts: 120
|
Quote:
Now that nikosidis has uploaded the output from his Amiga, do you get the same noise or more when you play it? If it's the same noise, then it's not a sync issue. |
|
20 February 2021, 12:43 | #264 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
It's the same.
Could you perhaps use a different test song? I find the piano music too loud. I've uploaded a short 4 mb WAV to the Zone. It's called piano.wav and is also piano music (FF10-2 intro from FLAC). It makes the noise easier to hear. |
20 February 2021, 12:47 | #265 | |
Registered User
Join Date: Feb 2021
Location: Becej / Serbia
Posts: 120
|
Quote:
http://s000.tinyupload.com/index.php...75100994351510 I don't hear any noise on this, so I wonder how does this sound at your place. Also it is possible we are not using the same piano base because I used compressor on the sample I had to make it louder, so it added some noise to the source. edit: Where is the song you prefer for testing? I will convert that one so that we use the same source for comparison. edit2: If the noise the same then it is great! I was afraid you're hearing something that doesn't show up here. So I don't have to bother with syncing after all. If I hear it you hear it too. Best news today. |
|
20 February 2021, 12:55 | #266 | ||
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
Sure, however, are you using standard productivity with VGAOnly? I'm not (no VGAOnly, and tweaked monitor file), so this may affect things.
Quote:
Quote:
|
||
20 February 2021, 12:58 | #267 | |
Registered User
Join Date: Feb 2021
Location: Becej / Serbia
Posts: 120
|
Quote:
The productivity version expects multiscanroductivity screen mode (58 Hz refresh 29.29 Khz horizontal, otherwise you'll get some weird artifacts.) Maybe nikosidis can record his output if you can't play it back that way. |
|
20 February 2021, 13:04 | #268 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
This is the recording from productivity.
https://files.fm/u/peehc47f8 Is not that to noisy compared to the old version? |
20 February 2021, 13:05 | #269 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
To get access see here: https://eab.abime.net/showthread.php?t=26201
Yes, but are you also using the VGAOnly program and an unmodified monitor file? Also, are you using the Workbench 3.0 or 3.1 versions? I can test all this, but I need to know what you're using exactly. |
20 February 2021, 13:06 | #270 | |
Registered User
Join Date: Feb 2021
Location: Becej / Serbia
Posts: 120
|
Quote:
|
|
20 February 2021, 13:24 | #271 | |
Registered User
Join Date: Feb 2021
Location: Becej / Serbia
Posts: 120
|
Quote:
|
|
20 February 2021, 14:46 | #272 |
Registered User
Join Date: Feb 2021
Location: Becej / Serbia
Posts: 120
|
http://s000.tinyupload.com/index.php...61459445079120
Pal version of Thorham's piano song. It is quite a bit noisy but it is what it is. |
20 February 2021, 15:11 | #273 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
|
20 February 2021, 15:35 | #274 |
Registered User
Join Date: Feb 2021
Location: Becej / Serbia
Posts: 120
|
If I knew, I'd probably fix it.
Apparently something is wrong with my assumptions. This is what I am working under: 1) audio channels start at cycle 0/4/8/12 from turning on the DMA 2) if you sync the channels into any other order, they will snap to the closest when they run out of the buffer (when they would trigger the interrupt if it is on) * 3) the volume counter has a period of 64 cycles that gets reset when both samples are played in a sample pair (at audxper 124, that means volume is reset at 248) 4) the volume isn't actually volume instead it plays short bursts at full volume when the counter is less than the specified volume 5) the DAC gives linear voltage depending on the byte value of the current sample One or more of these assumptions appears to be wrong, I just don't know which one. The snap seems to be working like this: step 1: sync channel 3 to start at 74 instead of 12 at audxper 124 step 2: the buffer plays, and when it reaches the end, channel 3 snaps to position 12 again, but is now 1 full sample behind channel 0 |
20 February 2021, 15:46 | #275 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
From what I can hear the PAL versions is not bad compared to the old versions. It is the productivity version that is far from what it was.
|
20 February 2021, 16:04 | #276 |
Registered User
Join Date: Feb 2021
Location: Becej / Serbia
Posts: 120
|
WinUAE disagrees with my take on the audio delay. If WinUAE is correct and I am wrong, then that explains the noise.
However the output from WinUAE doesn't make any sense to me. I sent #$7f80 looped to channels 0 and 1 and #$807f looped to channels 2 and 3. I was expecting a larger delay between 0 and 3, but the output from WinUAE didn't do this. In fact the phase shift seems to be based on the audxper value and seems to be audxper / 4 for every single frequency. Also I would expect this to happen: 127 + 127 = 254 127 - 128 = -1 -128 - 128 = -256 -128 + 128 = -1 Instead the only values I am getting at negative ones. Anyone actually knows what is going on here? Hmm.. I changed to 80807f7f / 7f7f8080 and now I am getting the results I was expecting. Getting really confusing here. |
20 February 2021, 16:13 | #277 | |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
Quote:
|
|
20 February 2021, 17:22 | #278 | |
Registered User
Join Date: Feb 2021
Location: Becej / Serbia
Posts: 120
|
Quote:
audxper: 128 expected 0-3: 3060 measured 0-3: 1580.08976738675 expected 1-2: 1020 measured 1-2: 564.11304187565 measured cycles 0-3: 6.2 measured cycles 1-2: 2.2 audxper: 256 expected 0-3: 1530 measured 0-3: 854.035477209028 expected 1-2: 510 measured 1-2: 346.057057333923 measured cycles 0-3: 6.7 measured cycles 1-2: 2.7 audxper: 512 expected 0-3: 768 measured 0-3: 491.021935422117 expected 1-2: 255 measured 1-2: 237.02317975879 measured cycles 0-3: 7.7 measured cycles 1-3: 3.7 audxper: 1024 expected 0-3: 384 measured 0-3: 309.51157156823 expected 1-2: 127.5 measured 1-2: 182.508343069696 measured cycles 0-3: 9.7 measured cycles 1-2: 5.7 So, if the real machine works anything like WinUAE, that would explain the noise I am getting. However I still have no idea where those delays are coming from and why aren't they at fixed cycles. Anyone knows what is going on there? edit: From these measurements, it would seem that the phase delay in cycles is: channels 0-3: 5.7 + audxper / 256 channels 1-2: 1.7 + audxper / 256 At least in WinUAE. I have absolutely no explanation why this would be true though. Last edited by orangespider; 20 February 2021 at 17:28. |
|
20 February 2021, 17:52 | #279 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
|
I can check (not necessarily soon enough!) if channels are in sync with a scope if you create test executable that continuously plays repeating sine wave (or some other repeating waveform)
If no one else is interested in doing it. UAE (or any other emulator/whatever) probably is not a good test case because audio is not emulated in 3.58MHz space with volume counter. |
20 February 2021, 18:32 | #280 | |
Registered User
Join Date: Feb 2021
Location: Becej / Serbia
Posts: 120
|
Quote:
In a perfect scenario we should measure audxper at 128/256/512 and 1024 to see if the phase shift changes at all depending on audxper (it does in WinUAE). I have a repeating pattern beep that is perfect for this. If you're up for it, I can send you the 4 test case .exe files. |
|
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 |
24 or 32 bit audio capture within WinUAE | EAUniW | support.WinUAE | 7 | 17 September 2018 22: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 |
Simple 14 bit audio question... | Thorham | Coders. General | 7 | 06 June 2010 10:55 |
|
|