Page 1 of 2

TZX/TAP to Cassette/Spectrum

Posted: Mon May 28, 2018 4:20 pm
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Mon May 28, 2018 5:17 pm
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

Re: TZX/TAP to Cassette/Spectrum

Posted: Mon May 28, 2018 5:26 pm
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Mon May 28, 2018 5:46 pm
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Mon May 28, 2018 6:00 pm
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Mon May 28, 2018 6:05 pm
by hikoki
A few solutions to reduce distortion: http://www.thewindowsclub.com/sound-dis ... windows-10

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue May 29, 2018 8:52 am
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue May 29, 2018 9:06 am
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue May 29, 2018 10:39 am
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).

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue May 29, 2018 10:44 am
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

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue May 29, 2018 10:49 am
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue May 29, 2018 12:24 pm
by hikoki
You may want to try EAR VIA BLUETOOTH like this http://www.zxuno.com/forum/viewtopic.php?f=25&t=327

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue May 29, 2018 1:09 pm
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Thu May 31, 2018 9:20 pm
by namco
Thanks for the advice. Will check it out this weekend as I have more testing with some incoming microswitch joysticks! :)

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue Sep 18, 2018 11:35 pm
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/

Re: TZX/TAP to Cassette/Spectrum

Posted: Wed Sep 19, 2018 9:10 am
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!

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue Jul 21, 2020 7:19 am
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue Jul 21, 2020 7:22 am
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

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue Jul 21, 2020 7:41 am
by zx64
Yeah I tried

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue Jul 21, 2020 8:03 am
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Tue Jul 21, 2020 11:29 am
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.

Re: TZX/TAP to Cassette/Spectrum

Posted: Sat Jul 25, 2020 8:10 pm
by PootisSpencer
Can you tell me what that plug in is please? Would like to try myself.

Re: TZX/TAP to Cassette/Spectrum

Posted: Sat Jul 25, 2020 8:50 pm
by akeley
http://czspectrum.speccy.org/tap-player.exe

You will also need Winamp installed of course.

Re: TZX/TAP to Cassette/Spectrum

Posted: Sat Jul 25, 2020 9:05 pm
by PootisSpencer
Which version of winamp because trying to install that it says it can't find in_tap.dll

Re: TZX/TAP to Cassette/Spectrum

Posted: Sun Jul 26, 2020 10:49 am
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.