TZX/TAP to Cassette/Spectrum

General software. From trouble with the Banyan Tree to OCP Art Studio, post any general software chat here. Could include game challenges...
namco
Manic Miner
Posts: 247
Joined: Mon Dec 04, 2017 8:55 pm

TZX/TAP to Cassette/Spectrum

Post by namco »

I can't seem to be able to get my laptop to load spectrum files to my ZX Spectrum+ through Tapr or Audacity, or use PlayZX/TeeZiX through my phone. It almost picks up a signal but doesn't load it - you can see it almost trying but then it stops.

I've used the black/grey cassette leads from the spectrum to load from the laptop and the Stereo to mic/ear from Retro Computer Shack (+3 lead) to load from my mobile.

I have tried using winTZX too - the same thing happens.

Cassette-wise I can get it to record to the tape but the spectrum never picks it up on playback!

Tapes work normally on the Spectrum and I've not had any loading issues. The blanks tapes I used were Maxell UR Type I 90 minutes.
hikoki
Manic Miner
Posts: 576
Joined: Thu Nov 16, 2017 10:54 am

Re: TZX/TAP to Cassette/Spectrum

Post by hikoki »

Someone from ZX-Uno's forums recommended this sound booster: https://play.google.com/store/apps/deta ... me.booster
make sure it is only enabled when loading spectrum games so you don't get deaf or fry your phone speakers
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: TZX/TAP to Cassette/Spectrum

Post by R-Tape »

Yep as hikoki says you probably need more volume. On my old laptop I used to be able to record to cassette (laptop output near max) and play onto Speccy. My new laptop doesn't seem able to do it.
namco
Manic Miner
Posts: 247
Joined: Mon Dec 04, 2017 8:55 pm

Re: TZX/TAP to Cassette/Spectrum

Post by namco »

Weirdly on the laptop, if I put it to about 50 - 60 on volume (around 45 on audacity) it tries to load but any higher and the signal goes again.
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

Re: TZX/TAP to Cassette/Spectrum

Post by Ast A. Moore »

Spectrums were designed to be used with tape recorders from the 1980s. They put out a much stronger signal designed to driver loads with impedances of around 150–250 Ohms or more. Modern devices—MP3 players, smartphones, and PCs—are designed to drive headphones with a typical impedance of an order of magnitude lower: 16–32 Ohms. Even if you try to boost the volume on your laptop (assuming you’re turning up the physical output gain, not simply amplifying it digitally in a file), you might end up with distortions, which will add high-frequency harmonics and actually make the signal worse.

Older Spectrums, particularly earlier issues of 48K machines, require a somewhat hotter signal than the 128K or later. In addition, the ULA’s EAR input may drift as it warms up.

That said, not all modern audio devices are created equal. For example, I can successfully load games into my 128K and +2A from both my laptop and my phone, but I can tell that the signal is barely strong enough.

Invest in a headphones amplifier that can drive high-impedance loads. Alternatively, since you already own a tape recorder, you can get a tape adapter. Might be a cheaper option.
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
hikoki
Manic Miner
Posts: 576
Joined: Thu Nov 16, 2017 10:54 am

Re: TZX/TAP to Cassette/Spectrum

Post by hikoki »

A few solutions to reduce distortion: http://www.thewindowsclub.com/sound-dis ... windows-10
User avatar
PeteProdge
Bugaboo
Posts: 3521
Joined: Mon Nov 13, 2017 9:03 am

Re: TZX/TAP to Cassette/Spectrum

Post by PeteProdge »

Also, isn't it a mono headphone lead that's needed?

I bought a Speccy cassette a few years back, and using the only cassette player and a 3.5mm-to-3.5mm lead, I could just about get a loading screen out of it, but it was always corrupted (never the exact same corruption), falling to R Tape loading error. Turns out the lead being in stereo was the reason why. I know I should get round to getting a mono lead at some point, 'cos I've still yet to play this game.
Reheated Pixels - a combination of retrogaming, comedy and factual musing, is here!
New video: Nine ZX Spectrum magazine controversies - How Crash, Your Sinclair and Sinclair User managed to offend the world!
User avatar
djnzx48
Manic Miner
Posts: 729
Joined: Wed Dec 06, 2017 2:13 am
Location: New Zealand

Re: TZX/TAP to Cassette/Spectrum

Post by djnzx48 »

I'm sure I've gotten games to load from a PC using a stereo lead, but I think it was through an external amplifier with the pan turned all the way to the left? (Might've been the other way, not sure.) It was still pretty difficult to load anything, and we never got any turbo loaders to work.

There was something about inverting the phase of one of the audio channels using Audacity, but I can't remember if that ever helped anything.
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

Re: TZX/TAP to Cassette/Spectrum

Post by Ast A. Moore »

djnzx48 wrote: Tue May 29, 2018 9:06 am There was something about inverting the phase of one of the audio channels using Audacity, but I can't remember if that ever helped anything.
That would only make matters worse; potentially, it would cancel out the signal altogether.

The 48K/128K EAR sockets are technically mono, but mechanically (at least on the 128K) they connect to the tip and ring terminals, not the tip and the sleeve (the sleeve terminal being the ground and the tip the signal), so feeding a stereo signal will likely result in not signal reaching the Spectrum. The +3 expects the input on the ring terminal, i.e. the right channel, the tip being the output.

What you can do is use a stereo jack on the source side with the ring and tip terminals wired together—this will add the signals from each channel thus boosting the overall level somewhat. The other end should either be wired to a mono jack (TS) or a stereo jack (TRS) with the sleeve and ring terminals shorted together. For a +3, the signal conductor should be soldered to the ring terminal, leaving the tip non-connected.

I made a “universal” lead with one end terminating in a mono jack and the other a stereo jack with the signal wire soldered to the ring terminal. If I want to load a game on the 128K, I plug the stereo jack into the source (the computer or the phone) and the mono jack into the Spectrum. I reverse the lead for my +2A (which I modified to use the +3 audio socket wiring).
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
User avatar
djnzx48
Manic Miner
Posts: 729
Joined: Wed Dec 06, 2017 2:13 am
Location: New Zealand

Re: TZX/TAP to Cassette/Spectrum

Post by djnzx48 »

Well, it does seem a bit weird to do the phase inversion, but it was just something that I read about here: https://retrocomputing.stackexchange.co ... ette-world
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

Re: TZX/TAP to Cassette/Spectrum

Post by Ast A. Moore »

djnzx48 wrote: Tue May 29, 2018 10:44 am Well, it does seem a bit weird to do the phase inversion, but it was just something that I read about here: https://retrocomputing.stackexchange.co ... ette-world
Ah, well, in that case, yes, it makes sense. But only if you wire it like that.
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
hikoki
Manic Miner
Posts: 576
Joined: Thu Nov 16, 2017 10:54 am

Re: TZX/TAP to Cassette/Spectrum

Post by hikoki »

You may want to try EAR VIA BLUETOOTH like this http://www.zxuno.com/forum/viewtopic.php?f=25&t=327
User avatar
PeterJ
Site Admin
Posts: 6855
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: TZX/TAP to Cassette/Spectrum

Post by PeterJ »

I have tried these Android apps, but never had much luck. The only reliable way I have found is by using Tape2Wav from the Fuse Utilities, then playing the resulting file through VLC at around 65% Volume. I use a 3.5mm stereo plug to two 3.5mm mono plug cable that I got off eBay for a couple of quid.

I saw the post earlier about these Android volume increasing apps, but never found it made any difference.
namco
Manic Miner
Posts: 247
Joined: Mon Dec 04, 2017 8:55 pm

Re: TZX/TAP to Cassette/Spectrum

Post by namco »

Thanks for the advice. Will check it out this weekend as I have more testing with some incoming microswitch joysticks! :)
namco
Manic Miner
Posts: 247
Joined: Mon Dec 04, 2017 8:55 pm

Re: TZX/TAP to Cassette/Spectrum

Post by namco »

As an update to this, I've managed to get my game onto tape via mp3.

Here's how I did it:
http://www.stupendous-stuff.com/blog/18 ... to-an-mp3/
namco
Manic Miner
Posts: 247
Joined: Mon Dec 04, 2017 8:55 pm

Re: TZX/TAP to Cassette/Spectrum

Post by namco »

Just a further post for apologies of forgetting this post, initially, which I then linked to and then read PeterJ's post about Tape2Wav - something else I'd forgotten about!

So for anyone else reading this post from the blog page and wondering why the two don't add up. Forgetfulness and a warm summer didn't help!
zx64
Manic Miner
Posts: 211
Joined: Sat Jul 11, 2020 3:25 am
Location: Australia

Re: TZX/TAP to Cassette/Spectrum

Post by zx64 »

I have a similar problem as well. Trying to load anything from my mobile (PlayZX) but I think my phone output is too low. :evil: My 30yo tapes can still load

I wonder why no one invented improvement for the tape interface itself. Or maybe someone did? I searched for few hours and didn't find anything.

I don't have much experience in analogue electronics, but it doesn't seem hard to implement. You just feed audio signal to comparator, which produces a clean 0-5V square wave, which you give to ULA.
User avatar
PeterJ
Site Admin
Posts: 6855
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: TZX/TAP to Cassette/Spectrum

Post by PeterJ »

[mention]zx64[/mention],

You may have already spotted it but PlayZX has a volume control setting which by default is set to 80% from memory. Try upping that if you have not already done so.

Peter
zx64
Manic Miner
Posts: 211
Joined: Sat Jul 11, 2020 3:25 am
Location: Australia

Re: TZX/TAP to Cassette/Spectrum

Post by zx64 »

Yeah I tried
User avatar
PeterJ
Site Admin
Posts: 6855
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: TZX/TAP to Cassette/Spectrum

Post by PeterJ »

zx64 wrote: Tue Jul 21, 2020 7:41 amYeah I tried
I had the same issue with my phone (Motorola G6), but I got a cheap Amazon tablet and the output from that seems high enough.
akeley
Dynamite Dan
Posts: 1025
Joined: Sat Feb 01, 2020 5:47 pm

Re: TZX/TAP to Cassette/Spectrum

Post by akeley »

My current phone (Galaxy S4) also struggles, using TeeZiX. But I seem to recall that the previous one (S3) was ok.

So now I use my laptop for that - there is a plug in for Winamp which allows for playing .tap files via EAR. Works every time without fault.
PootisSpencer
Drutt
Posts: 19
Joined: Tue Jun 30, 2020 9:41 am

Re: TZX/TAP to Cassette/Spectrum

Post by PootisSpencer »

Can you tell me what that plug in is please? Would like to try myself.
akeley
Dynamite Dan
Posts: 1025
Joined: Sat Feb 01, 2020 5:47 pm

Re: TZX/TAP to Cassette/Spectrum

Post by akeley »

http://czspectrum.speccy.org/tap-player.exe

You will also need Winamp installed of course.
PootisSpencer
Drutt
Posts: 19
Joined: Tue Jun 30, 2020 9:41 am

Re: TZX/TAP to Cassette/Spectrum

Post by PootisSpencer »

Which version of winamp because trying to install that it says it can't find in_tap.dll
akeley
Dynamite Dan
Posts: 1025
Joined: Sat Feb 01, 2020 5:47 pm

Re: TZX/TAP to Cassette/Spectrum

Post by akeley »

Yes, it's not working...odd.
I've actually downloaded mine as a bundle with Winamp from an obscure site. And I can't find a link for it now!

I will upload mine somewhere later. It's actually just that .dll that "tap-player" is asking for.
Post Reply