Tape conversion.
Tape conversion.
Hi All,
I'm trying to convert an Atom tape to be used in an emulator. At Kees' suggestion I'm trying to first convert the .wav to a .csw however the only copies of csw.exe that I can find are does protected mode executables anw wont run on 64 bit windows ?
Does anyone know where I can get a version that is compatible, or if the source is available so I can try building it myself.
I tried MakeUEFAm.exe and whilst I can get it to accept the wav the uef file it produces only has the header which is no use to anyone !
Cheers.
Phill.
I'm trying to convert an Atom tape to be used in an emulator. At Kees' suggestion I'm trying to first convert the .wav to a .csw however the only copies of csw.exe that I can find are does protected mode executables anw wont run on 64 bit windows ?
Does anyone know where I can get a version that is compatible, or if the source is available so I can try building it myself.
I tried MakeUEFAm.exe and whilst I can get it to accept the wav the uef file it produces only has the header which is no use to anyone !
Cheers.
Phill.
Re: Tape conversion.
Hi Phill,
I use CSW viewer release 38 and MakeUEF v2.3.
Fraser Ross was very helpfull with the conversion, maybe you can ask him for a Linux or 64-bit version: fraserross@f2s.com
Another possibility is to run it DOSBOX: http://www.dosbox.com/download.php?main=1
Some filters are needed for MakeUEF: Makeuef -y 1 300 -z 1 atm -i filename.csw -w 0 180
There's an older Linux version at: ftp://ftp.worldofspectrum.org/pub/sincl ... csw130.tgz
In Atomulator, sometimes the CSW files are loading and sometimes the UEF files. It's no 100% guarantee all files are working ok.
Greetings
Kees
I use CSW viewer release 38 and MakeUEF v2.3.
Fraser Ross was very helpfull with the conversion, maybe you can ask him for a Linux or 64-bit version: fraserross@f2s.com
Another possibility is to run it DOSBOX: http://www.dosbox.com/download.php?main=1
Some filters are needed for MakeUEF: Makeuef -y 1 300 -z 1 atm -i filename.csw -w 0 180
There's an older Linux version at: ftp://ftp.worldofspectrum.org/pub/sincl ... csw130.tgz
In Atomulator, sometimes the CSW files are loading and sometimes the UEF files. It's no 100% guarantee all files are working ok.
Greetings
Kees
Re: Tape conversion.
Right might try dropping him an email.oss003 wrote:Hi Phill,
I use CSW viewer release 38 and MakeUEF v2.3.
Fraser Ross was very helpfull with the conversion, maybe you can ask him for a Linux or 64-bit version: fraserross@f2s.com
CSW viewer works, and I can point it at a wav file, but when it trys to convert it I get an error 126, which it seems is to do with not having the correct binary version so I guess it's trying to run csw.exe from it's exec directory.
I have dosbox, but it complains about needing cwsdmpi, which IIRC is a dos extender guess I'll have to go see if I can find it....Another possibility is to run it DOSBOX: http://www.dosbox.com/download.php?main=1
Right I'll bear that in mind if I get to the point where I have a cswSome filters are needed for MakeUEF: Makeuef -y 1 300 -z 1 atm -i filename.csw -w 0 180

Cheers.
Phill.
Re: Tape conversion.
http://vogons.zetafleet.com/viewtopic.php?t=3863Prime wrote:I have dosbox, but it complains about needing cwsdmpi, which IIRC is a dos extender guess I'll have to go see if I can find it....
http://www.download-central.ws/System/CWSDPMI.EXE/
Or install the newest MS DOS!!

Greetings
Kees
Re: Tape conversion.
Thanks, I eventually found it on the spectrum site I got cswviewer from.oss003 wrote:http://vogons.zetafleet.com/viewtopic.php?t=3863Prime wrote:I have dosbox, but it complains about needing cwsdmpi, which IIRC is a dos extender guess I'll have to go see if I can find it....
http://www.download-central.ws/System/CWSDPMI.EXE/
Wellll, I have an install CD for PC-DOS 2000, which is IBM DOS 7.01 I do actually have that installed on a machine, however it's buried under several others under a table in my computer room....Arcadian can atest to this he was at my place last weekOr install the newest MS DOS!!![]()

I did get csw.exe working under dosbox, wrote a little program that dumped the parameters that cswviewer was calling it with and fed them to it in dosbox something like :
csw -FL1000 -FH3600 file.wav
However if I feed it a 16bit wav it complains that it does not currently handle 16bit wavs and if I feed it an 8 bit wav it tells me "FATAL ERROR: Wrong file type"

Cheers.
Phill.
Re: Tape conversion.
Hi Phill,
I think the WAV has to be a mono 8-bit 44 kHz WAV file.
Please try the attached file.
Greetings
Kees
I think the WAV has to be a mono 8-bit 44 kHz WAV file.
Please try the attached file.
Greetings
Kees
- Attachments
-
- CHYPER.zip
- (207.82 KiB) Downloaded 79 times
Re: Tape conversion.
Yep 8KHz, mono 8 bit, and critically must not have any attached metadata ! I was exporting from Audacity with the metadata set, this was what was screwing up CSW 
Your CHYPER.wav converted without problems.
so now time to try converting to a UEF
Cheers.
Phill.

Your CHYPER.wav converted without problems.
so now time to try converting to a UEF

Cheers.
Phill.
Re: Tape conversion.
Atomulator can read CSW files.Prime wrote:so now time to try converting to a UEF
Greetings
Kees
Re: Tape conversion.
Yep tried that, however if you try and *CAT the tape it never finds anything, either from the emulated atom, or from tape->show tape catalog.oss003 wrote:Atomulator can read CSW files.Prime wrote:so now time to try converting to a UEF
Actually that's true with chyper.csw as well.
Tape speed is set to normal.
Anyway this is what I'm doing to attempt the conversion :
loading sampled wav into audacity and saving it as 8Ks/s 8 bit wav, and stripping metadata.
going into dosbox and running :
CSW -FL1000 -FH3600 CES8.WAV
This produces CES8.CSW
Running MakeUEF on this :
Makeuef -y 1 300 -z 1 atm -i CES8.CSW -w 0 180
Neither the .CSW or the .UEF seem to want to work with Atomulator, hopefully I have not broken tape support

I've uploaded the raw sampled WAV here :
http://penguin.stats.warwick.ac.uk/~sts ... preter.wav
I can't see what I'm doing wrong

Cheers.
Phill.
Re: Tape conversion.
Oddly MESS can read wav files directly and displayed a list of blocks when I did a *CAT which agreed with what I expected which indicates to me that the WAV file is at least a good copy of the tape.
I'll try when I get home to load the tape into MESS, if i can load it from tape and then save it to a disk image that would be good.
Downloaded the latest messui and was able to load the wav directly into mess, that seemed to work, will see if I can now save it to disk.
Cheers.
Phill.
I'll try when I get home to load the tape into MESS, if i can load it from tape and then save it to a disk image that would be good.
Downloaded the latest messui and was able to load the wav directly into mess, that seemed to work, will see if I can now save it to disk.
Cheers.
Phill.
Re: Tape conversion.
Hi Phill,
Yes, MESS can read WAV's directly.
The problem with your WAV file was that it was 16-bit instead of 8-bit.
Your file: After conversion: Both files (CSW and UEF) are loadable in Atomulator now.
Another option is to use Charlie's MESS version 1.34 IIRC with AtoMMC support.
PS Type ?#2917=32 to switch listing on.
Greetings
Kees
Yes, MESS can read WAV's directly.
The problem with your WAV file was that it was 16-bit instead of 8-bit.
Your file: After conversion: Both files (CSW and UEF) are loadable in Atomulator now.
Another option is to use Charlie's MESS version 1.34 IIRC with AtoMMC support.
PS Type ?#2917=32 to switch listing on.
Greetings
Kees
- Attachments
-
- Cesil.zip
- (131.13 KiB) Downloaded 73 times
Re: Tape conversion.
Humm I re-saved it as 8 bit and was having problems with that also. The converted wav file is at work I'll upload it tomorrow, perhaps you could have a look and see what the difference isoss003 wrote:Hi Phill,
Yes, MESS can read WAV's directly.
The problem with your WAV file was that it was 16-bit instead of 8-bit.

PS Type ?#2917=32 to switch listing on.


Cheers.
Phill.
Re: Tape conversion.
Ok this is the 8 bit wav that I was using.....
http://penguin.stats.warwick.ac.uk/~sts ... CESIL8.WAV
Hummm, it seems that Atomulator's "show tape catalogue" is not working, so maybe the conversion was working after all.....
Cheers.
Phill.
http://penguin.stats.warwick.ac.uk/~sts ... CESIL8.WAV
Hummm, it seems that Atomulator's "show tape catalogue" is not working, so maybe the conversion was working after all.....
Cheers.
Phill.
Re: Tape conversion.
Hi Phill,
your file was 8 kHz 8-bit mono instead of 44 kHz 8-bit mono!
Greetings
Kees
your file was 8 kHz 8-bit mono instead of 44 kHz 8-bit mono!
Greetings
Kees
Re: Tape conversion.
Hi Phill,
you can check the bytes in the WAV file:
00-21 -> Not interesting
22-23 -> Mono=1 Stereo=2
24-27 -> Samplerate
34-35 -> Bits per sample
I use Nero Wave editor for converting.
Greetings
Kees
you can check the bytes in the WAV file:
00-21 -> Not interesting
22-23 -> Mono=1 Stereo=2
24-27 -> Samplerate
34-35 -> Bits per sample
I use Nero Wave editor for converting.
Greetings
Kees
Re: Tape conversion.
Yep that's it, got it converted now just to make sure that I was now doing it right and the UEF loads into Atomulator.oss003 wrote:Hi Phill,
your file was 8 kHz 8-bit mono instead of 44 kHz 8-bit mono!
The odd thing is I had tried converting an 8bit 44K sample, but that was not until after I sussed the thing with the metadata.
Anyway it's working now, thanks for being patient with me

Cheers.
Phill.
Re: Tape conversion.
No problemo ....Prime wrote:Anyway it's working now, thanks for being patient with me

Kees