Page 1 of 2

Reading WAVE from ZX81

Posted: Sun Apr 03, 2016 9:39 pm
by mrtinb
Hi :)

My ZX81 saves data to my iPhone (through a Sony NetMD MiniDisc for amplification).

These files played back to the ZX81 is loaded without problem.

I convert these .m4a to .wav on my Mac.

I have tried every WAV2P-program I have found, but they all show BASIC-garbage when it has been converted.

I have tried
  • EightyOne Wav-loader
  • zx81stuff.co.uk Java tape converter
  • zxprojects.com zx81util
It's strange, as the sound files are understood by ZX81, but no software on the Mac can understand them.

Re: Reading WAVE from ZX81

Posted: Sun Apr 03, 2016 11:28 pm
by sirmorris
I suspect the only common link here is the m4a -> wav converter. Can you load the converted wav file into - for example - Audacity? How does it look?

What format data do the tools such as wav->p, EO etc. require? Perhaps the wavs are 96khz, quadraphonic, 3d or something ;) Some utilities only take mono 22khz 8 bit sample streams, and perhaps silently fail with data in other formats. WAV is a container, not a format in itself.

C

Re: Reading WAVE from ZX81

Posted: Mon Apr 04, 2016 5:41 am
by XavSnap
Could you post a wav exemple ?

I will try to convert it using ZxSpectape.

Re: Reading WAVE from ZX81

Posted: Mon Apr 04, 2016 9:34 am
by mrtinb
sirmorris wrote:I suspect the only common link here is the m4a -> wav converter.
I assume QuickTime (which is the foundation for all sound on Mac OS) does not corrupt the sound. So I have not played the '.wav' for the ZX81, but only the '.m4a' recorded.

The only reason for converting to .wav was, that every sound-to-p-file expects '.wav'.

But I see your point, so I'll try to get the ZX81 load the '.wav' - maybe tonight.

Re: Reading WAVE from ZX81

Posted: Mon Apr 04, 2016 11:25 am
by XavSnap
Thanks mrtinb,

I had a look to your wav file, and the signal it awfully !
My be a bad wiring between the ZX81 and the wav recorder...
The noise is too high.( due t a loud signal)

Check the sound connectors (ZX81 side), it may be a short-cut on the DIN socket, or on the wiring device...
You get a low input signal, and boost up the signal get wrong noise harmonics!

Get a new sound wiring cable, and retry the wav record without sound enhanced process.
Wav1.JPG
Wav1.JPG (115.03 KiB) Viewed 4544 times
wav2.jpg
(293.39 KiB) Downloaded 479 times
wav4.JPG
wav4.JPG (51.91 KiB) Viewed 4544 times

Re: Reading WAVE from ZX81

Posted: Mon Apr 04, 2016 11:40 am
by XavSnap
Have a look to the right signal !

http://zx81.ordi5.free.fr/wav/
:oops:
You also can get the 'Sound' signal on the video ULA pin...
http://zx81.ordi5.free.fr/brico/composite/

Just get the sound signal on the video connector!

You will get a scare signal, up (no signal) and negative pulse (data signal)
Pic up the data trigger on the inverted wav to get the clean Zx81 program.

Re: Reading WAVE from ZX81

Posted: Mon Apr 04, 2016 11:47 am
by mrtinb
XavSnap wrote:I had a look to your wav file, and the signal it awfully !
My be a bad wiring between the ZX81 and the wav recorder...
The noise is too high.
Fortunately the audio can be read by my ZX81 again, so the source isn't lost.

Since the save-signal is extremely low, my setup is

Code: Select all

 ____            _____             ______
[    ]MIC----REC[Sony ]HEAD---+---[iPhone]
[ZX81]          [NetMD]       |   [______]
[    ]          [_____]       |
[____]EAR---------------------+
I think it's the Sony NetMD, that creates the noise.

I'll try to connect the ZX81 directly to my Mac to see if it works.

Re: Reading WAVE from ZX81

Posted: Mon Apr 04, 2016 11:54 am
by mrtinb
XavSnap wrote: You also can get the 'Sound' signal on the video ULA pin...
http://zx81.ordi5.free.fr/brico/composite/

Just get the sound signal on the video connector!
I won't modify my ZX81, but I'll see if I can get a cleaner signal without the Sony NetMD.

Re: Reading WAVE from ZX81

Posted: Mon Apr 04, 2016 11:58 am
by Andy Rea
One thing I have found with digital playback of zx81 audio files , on both a Windows machine and a SanDisk mp3 player is not to use any eq at all, the digital eq's introduce all sorts of weird artifacts you can't hear them but a scope reveals the signal is not at all like it should be

Regards Andy

Re: Reading WAVE from ZX81

Posted: Mon Apr 04, 2016 12:13 pm
by sirmorris
One piece of advice is to use a MONO cable to record from the zeddy.

Image