Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: rvo_nl on August 06, 2014, 10:37:11 AM

Title: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 06, 2014, 10:37:11 AM
Hi there.

 I have just acquired a Prelude 1200 (clockport) and, while the device seems to output fine now for the most part, I have some trouble getting it to play in full quality.
 
Im trying to get AmigaAmp and Digibooster to play but as soon as I go above 27420hz frequency, the sound is distorted (very high pitched garbage / hissing) and the machine crashes soon after.

 I am currently using:
 
- OS3.9 (bb2)
- AHI 4.18 (Aminet)
- Prelude Install 2.0 (ACT website)
- Prelude.library 5.3 (ACT website)
 
I've set up Unit 0 (which is used in AmigaAmp) in AHI as Prelude: HiFi 16 bit stereo++ realtime, and this is the same mode I have chosen to use in Digibooster. BTW I use the WarpUp engine in AmigaAmp.
 
Like I said, playback at 27420hz works fine. But this card can do better, right?
 
Things I've tried:
 
- disable MCP
- enable 56KHZAUDIO tooltype in CGX4
 
Anything else I should look into?
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: Dandy on August 06, 2014, 12:26:38 PM
Quote from: rvo_nl;770421


Hi there.

...
but as soon as I go above 27420hz frequency, the sound is distorted (very high pitched garbage / hissing) and the machine crashes soon after.
...
Like I said, playback at 27420hz works fine. But this card can do better, right?



But your ears can't.
 
Quote from: rvo_nl;770421


...
Anything else I should look into?



Yes:
http://en.wikipedia.org/wiki/Audible_range

http://en.wikipedia.org/wiki/Sample_rate

To avoid misunderstandings, you may want to refer to "27420 Hz sample frequency (or sample rate)" instead of "27420hz frequency".

"27420hz frequency" denotes a tone with a frequency of 27420 Hz, which no human being is able to hear (in my best days I could hear frequencies up to 24.500 Hz...).
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 06, 2014, 12:45:37 PM
thanks for clarifying. yes, that is what I meant, ofcourse.. :)
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: Linde on August 06, 2014, 08:02:15 PM
Quote from: Dandy;770432
"27420hz frequency" denotes a tone with a frequency of 27420 Hz


No, it denotes 27420 Hz frequency. You are nitpicking at nothing.
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: paul1981 on August 06, 2014, 09:27:53 PM
Quote from: rvo_nl;770421
Hi there.

 I have just acquired a Prelude 1200 (clockport) and, while the device seems to output fine now for the most part, I have some trouble getting it to play in full quality.
 
Im trying to get AmigaAmp and Digibooster to play but as soon as I go above 27420hz frequency, the sound is distorted (very high pitched garbage / hissing) and the machine crashes soon after.

 I am currently using:
 
- OS3.9 (bb2)
- AHI 4.18 (Aminet)
- Prelude Install 2.0 (ACT website)
- Prelude.library 5.3 (ACT website)
 
I've set up Unit 0 (which is used in AmigaAmp) in AHI as Prelude: HiFi 16 bit stereo++ realtime, and this is the same mode I have chosen to use in Digibooster. BTW I use the WarpUp engine in AmigaAmp.
 
Like I said, playback at 27420hz works fine. But this card can do better, right?
 
Things I've tried:
 
- disable MCP
- enable 56KHZAUDIO tooltype in CGX4
 
Anything else I should look into?

Sampling frequency if we're all gonna nit-pick!

Well I have a Prelude 1200 which I use with Workbench 3.1 and an Apollo 1260. Works fine at the 64k sampling rate, so no issues there.
What CPU do you have under the bonnet? You might be pushing your CPU well over the edge or something, if you're trying to play an mp3 especially...
And Digibooster... too many channels or something? Again, not sure, but you should go back to basics and play some 44.1KHz aiff's with the Prelude Tape Player (IIRC) and make sure that plays correctly to start with. Not sure whether you've tried that yet??
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 06, 2014, 09:39:20 PM
Finally I meet someone with a prelude 1200!! I've been looking for a long time. Good to 'meet' you.. :)
 
 Anyway. As my sig states, I have a 060/50 too, so that is not the issue. Too many channels? Nah, dont think so either. It happens with AmigaAmp too and the mp3 decoding is handled by the ppc processor, so..
 
 Could you perhaps do a version on the prelude.library and also on devs:ahi.device? curious to know how you have installed your device.

With Prelude Tape Player, do you mean Play16 by any chance? I havent tried that. The program PrlTest does play a very short sample, but that is too short to tell in what frequency it plays.
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: paul1981 on August 06, 2014, 09:43:14 PM
Quote from: Dandy;770432
But your ears can't.

Yes:
http://en.wikipedia.org/wiki/Audible_range

http://en.wikipedia.org/wiki/Sample_rate

To avoid misunderstandings, you may want to refer to "27420 Hz sample frequency (or sample rate)" instead of "27420hz frequency".

"27420hz frequency" denotes a tone with a frequency of 27420 Hz, which no human being is able to hear (in my best days I could hear frequencies up to 24.500 Hz...).

The maximum frequency a 27420Hz sampling rate can achieve is approx.  13.5KHz, half the sampling rate. And that would be one hell of a crappy  square looking 13.5KHz wave. This is why the higher the sampling  frequency is, the better more accurate representation, even way way  beyond double audiable range. 192KHz is nice, but sampling frequencies  in MHz ranges would be even better at correctly capturing the high end  audiable frequencies and harmonics which just aren't represented at all in todays digital world of crap sound.
Makes me glad I have my Tascam reel to reel mastering machine and a decent vinyl collection.
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: paul1981 on August 06, 2014, 09:50:03 PM
Quote from: rvo_nl;770476
Finally I meet someone with a prelude 1200!! I've been looking for a long time. Good to 'meet' you.. :)
 
 Anyway. As my sig states, I have a 060/50 too, so that is not the issue. Too many channels? Nah, dont think so either. It happens with AmigaAmp too and the mp3 decoding is handled by the ppc processor, so..
 
 Could you perhaps do a version on the prelude.library and also on devs:ahi.device? curious to know how you have installed your device.

With Prelude Tape Player, do you mean Play16 by any chance? I havent tried that. The program PrlTest does play a very short sample, but that is too short to tell in what frequency it plays.

No I mean Prelude Tape Deck, sorry...which is part of the Prelude software so you should have it. It only plays AIFF's though which macs use a lot.
You can also use Play16 to use the Prelude directly by setting the tooltype PRELUDE. This is what I recommend instead of using AHI in Play16.

I can do version checks tomorrow for you, but not this evening. :)
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 06, 2014, 09:57:01 PM
awesome, thanks so much for your help. I will try out what you said tomorrow. I really hope I can get this thing working. I believe this will be my Final Expansion. But, you never know.
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: paul1981 on August 06, 2014, 10:05:54 PM
Quote from: rvo_nl;770480
awesome, thanks so much for your help. I will try out what you said tomorrow. I really hope I can get this thing working. I believe this will be my Final Expansion. But, you never know.

Final expansion? :roflmao:
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 06, 2014, 10:19:35 PM
I dont see why that is funny! But I dont care, because you have a Prelude 1200. :)
Title: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: paul1981 on August 07, 2014, 10:52:39 PM
Quote from: rvo_nl;770484
I dont see why that is funny! But I dont care, because you have a Prelude 1200. :)


Every Amiga owner always thinks they've purchased their last upgrade... lol

prelude.library 5.3
ahi.device 6.6
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 08, 2014, 12:56:05 PM
really? you have installed AHI 6? Well, perhaps that makes sense. I was always against AHI 6 because of the beta state and the fact that there was no normal Paula device included, I never figured out why.. but now that Im going to use AHI only for Prelude playback, perhaps I shouldnt even care. Do you remember if it was a lot of trouble installing it? It has to be done manually, right?

And, well.. I dont have much room for expansion left in my machine. And I'm not going to add zorro or pci either. So I guess Im 'done' :)
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: paul1981 on August 08, 2014, 08:36:01 PM
Quote from: rvo_nl;770601
really? you have installed AHI 6? Well, perhaps that makes sense. I was always against AHI 6 because of the beta state and the fact that there was no normal Paula device included, I never figured out why.. but now that Im going to use AHI only for Prelude playback, perhaps I shouldnt even care. Do you remember if it was a lot of trouble installing it? It has to be done manually, right?

And, well.. I dont have much room for expansion left in my machine. And I'm not going to add zorro or pci either. So I guess Im 'done' :)


I can't remember whether I upgraded my AHI or whether that's the first one it had. Come to think of it I do seem to remember doing a manual upgrade I think, but I'm sure it was nothing difficult. :)
I got my Prelude in 2007 and purchased Audio Evolution, recorded one serious multitrack song with it and then haven't really recorded much else since. The song came out fantastic, and no one's ever heard it except for my family.

IIRC, don't people say to use the old AHI versions because they are faster? Doesn't really matter though on 040/060.

Have fun. :)
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 08, 2014, 10:48:37 PM
I dont know :( I dont know much about AHI 6. I know there are versions for many platforms, like morphos, ppc, 68k etc. I guess I just have to try it out. Whenever I find the time to do so, I will post the results. Thanks so far!
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: whabang on August 09, 2014, 06:28:30 PM
Quote from: paul1981;770478
The maximum frequency a 27420Hz sampling rate can achieve is approx.  13.5KHz, half the sampling rate. And that would be one hell of a crappy  square looking 13.5KHz wave. This is why the higher the sampling  frequency is, the better more accurate representation, even way way  beyond double audiable range. 192KHz is nice, but sampling frequencies  in MHz ranges would be even better at correctly capturing the high end  audiable frequencies and harmonics which just aren't represented at all in todays digital world of crap sound.
Makes me glad I have my Tascam reel to reel mastering machine and a decent vinyl collection.


While most people can't hear anything over 21 KHz , we are perfectly capable of telling different waveforms apart, even at high frequencies. That's where high sample rates come in.

Problem is that 192 KHz sometimes allow distortion, as the resolution is so high it allows other frequencies to "merge" - kinda like aural moiré patterns. There's a few tests that imply that the optimal sample rate for human ears would be around 70-80 KHz.

Regardless, I'm getting older, and seems to be capped at 44 KHz. When I was younger I was able to tell 44.1 from 48 KHz. Now, I can barely hear the difference between 48 and 32. -.-

Anyway, to get back to the topic: 27 KHz at 16-bit resolution means a transfer speed of at least 54 Kbps. Can the clock port handle that much when the CPU needs cycles to feed it with data?
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 09, 2014, 06:40:56 PM
Quote from: whabang;770670
27 KHz at 16-bit resolution means a transfer speed of at least 54 Kbps. Can the clock port handle that much when the CPU needs cycles to feed it with data?

 Especially with my clock port extension cable in place, that is something I am sersiously questioning now, too. I am in contact with ACT and Marc, who is very helpful, is afraid that cable is just not able to cope.
 
 If installing AHI 6 is not helping, Im quite sure the cable has to go. Then I have to find another way of connecting the thing.
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 10, 2014, 05:12:02 PM
AHI 6 didnt help..
 
 @Paul1981 what screenmode is your machine running?
Title: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: paul1981 on August 10, 2014, 05:25:53 PM
Quote from: rvo_nl;770718
AHI 6 didnt help..
 
 @Paul1981 what screenmode is your machine running?


It works in any mode/colour depth mate. My Workbench is Euro72Hz Productivity. My Audio Evolution screen mode is Multiscan Productivity. Can't you try your Prelude connected straight to the 1200 motherboard like it's supposed to be? At least that would let you know if it is a cable issue or not.
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 10, 2014, 07:02:18 PM
Thanks!

I wish it was that easy.. But I will try this week.
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: Dandy on August 12, 2014, 11:53:59 AM
Quote from: paul1981;770478


...in todays digital world of crap sound.
Makes me glad I have my Tascam reel to reel mastering machine and a decent vinyl collection.



:D
Exactly.
I also still have my 2.5 m vinyl LPs, about 1.5 m vinyl Maxi Singles and roughly 500 vinyl singles from my DJ period (1974 - 1980).
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 14, 2014, 10:46:54 PM
Quote from: paul1981;770719
Can't you try your Prelude connected straight to the 1200 motherboard like it's supposed to be? At least that would let you know if it is a cable issue or not.

Hi, took me a few hours, but Ive got the machine running with just 2Mb. When I run a digibooster mod over AHI, there is no distortion. It doesnt matter if the clockport extension cable is connected or not. I was quite surprised by this. The only thing I have removed is the ppc + bvision. Any ideas?

Edit: With PPC+Bvision+256Mb connected, I stil boot into the same Workbench installation I am using now. In that situation, the output will crash the system.
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: Dwyloc on August 15, 2014, 10:17:19 AM
Quote from: rvo_nl;770916
Hi, took me a few hours, but Ive got the machine running with just 2Mb. When I run a digibooster mod over AHI, there is no distortion. It doesnt matter if the clockport extension cable is connected or not. I was quite surprised by this. The only thing I have removed is the ppc + bvision. Any ideas?

Edit: With PPC+Bvision+256Mb connected, I stil boot into the same Workbench installation I am using now. In that situation, the output will crash the system.


@rvo_nl
This is just a whiled guess but it sounds like some sort of timing problem.

So the first think I would try with the BlizzardPPC reconnected is to go into its own early startup menu.

I don't have access to my BlizzardPPC at the moment to check what key combination you hold down on reboot to get into the menu BlizzardPPC setting menu.

But it allows you to change the ram speed and make play with some other performance options related to the context switching between CPU's if I remember correctly.

So I would make a note of the current settings then try changing them one at a time help.

Its also possible that that its one of your RTG setting causing the issue so you could try without the blizzardvisionPPC monitor driver loaded and any other libraries moved out the way to stop them loading if you have not already tried that.

Anyway good luck and I am now wishing I had time and space to get my A1200 Tower out of storage and refit my BlizzardPPC and BlizzardVision instead of using my mediatorSX and Blizzard040 cards that are currently fitted to it.

I just don't have the space to have it setup at the same time as my Sam440, PC and minimig :-)
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 15, 2014, 12:04:43 PM
I like your thinking, but Im afraid its not going to help. I have just tried with a 030 card and have encountered the same issue. Also, Im doing this on a fresh Workbench 3.1 installation with no CGX installed.

As soon as an accelerator card is in place, the timing is broken. Then again, it could be broken without an accel card too, since the basic 020 is not able to play mods in realtime in that case and it may not have to shift as much as data in that case. Just guessing.
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: Dwyloc on August 15, 2014, 02:29:05 PM
I guess that leaves trying with a different revision of A1200 motherboard or timing fixes to your existing board other than that I am out of ideas sadly :-(
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: paul1981 on August 15, 2014, 07:07:56 PM
Quote from: rvo_nl;770951
I like your thinking, but Im afraid its not going to help. I have just tried with a 030 card and have encountered the same issue. Also, Im doing this on a fresh Workbench 3.1 installation with no CGX installed.

As soon as an accelerator card is in place, the timing is broken. Then again, it could be broken without an accel card too, since the basic 020 is not able to play mods in realtime in that case and it may not have to shift as much as data in that case. Just guessing.

Are you making sure you are using the correct ahi.device and paula.audio for your cpu? Do you get problems when using the paula audio driver?

So ahi.device is for 020 through to 040
ahi.device.060 is for 060

Remember to manually rename cpu specific files around when swapping between an 020/030 cards and your 060 card - either that or re-install AHI with its installer and make sure it re-installs for correct cpu. I'm guessing this is how it works, but like I said, haven't installed AHI in 7 years.

Remember that the PreludeTapeDeck program doesn't need AHI, nor does play16 if you set the PRELUDE tooltype... so what happens when you use either of these programs? Does it work?
Title: Re: Prelude 1200 - heavy distortion (and crash) above 27420Hz
Post by: rvo_nl on August 18, 2014, 04:55:39 PM
AHI drivers are the right ones.

I fiddled around with Play16 today and noticed the same issue. Initially the output sounds fine, then a loud hiss follows, which sometimes dissappears, sometimes not, and it results in a crash from time to time.

Ive tried without the Blizzard by holding down '2', but had the same problem. Seems like something is broken or my system generates a lot of noise? Is anyone able to test and repair my Prelude?