Updated low hz wav casette tool

Page 1/4
| 2 | 3 | 4

By hit9918

Prophet (2868)

hit9918's picture

15-02-2015, 17:53

Updated low hz wav casette tool.
I added ASCII and lots switches for headertime and cputime.
Idealy you just tell a bunch of files without switches and it loads.

I think bloads that hang at the end were a matter of wrong bload header. The tool is warning when bload header is wrong. Before I thought that the thing somehow hangs on the last stop bit, but now I think stop bits are cpu time, that time the byte has already loaded.
I suspect the MSX has two stopbits to be able to slot-write with bios while casette loading. Maybe a micro soundplayer could fit in to have some elevator music while loading Big smile

https://sites.google.com/site/tueftlerlabs/home/downloads/lw...

Login or register to post comments

By Buleste

Master (158)

Buleste's picture

17-02-2015, 11:38

Very interesting but how do you use it. Sorry I'm a bit of a noob when it comes to java.

By MäSäXi

Paragon (1884)

MäSäXi's picture

17-02-2015, 12:44

https://www.youtube.com/watch?v=LP58dk7rPis

Please watch this from the very beginning using full screen and without doing any fast forwarding. :)

By hit9918

Prophet (2868)

hit9918's picture

17-02-2015, 20:48

@Buleste, you need java installed and then find that location of java.exe.
On my machine it is
c:\Program Files (x86)\Java\jdk1.7.0_01\bin
or maybe directory name is jre.
put that path in front of the java call in lwav.bat, then it should work.

lwav foo.bin
then result is in out.wav.

@MäSäXi, I find the MSX sound makes better meditation Big smile
I trimmed the headers, no more much tweet.
Also ascii goes with less tweet in between. Funny, it is similar to the rhythm when CPC counts those blocks.

By MäSäXi

Paragon (1884)

MäSäXi's picture

18-02-2015, 14:14

Oh, hit9918, so you listened just that loading beeeeeeeeeeeeep sound! Wink I was wishing comments about AY sound which plays during loading! Smile Loading noise seems to be music for your ears. Smile Does Amstrad have any hardware difference which makes it possible to play a long three channel tune during loading? I think at least very slow loading tune should be possible to make for MSX. I hope somebody could make some tests to see what is possible. We don´t live forever.

By hit9918

Prophet (2868)

hit9918's picture

18-02-2015, 17:15

Lol I thought you meant the casette noise.
I guess the usual players dont work.
After every byte loaded you got some little time, this would need some new custom player code, the coder got to manualy stuff in the notes.
The big irony is that from tape are coming 240 bytes per second, and if you got player code that fits in there, you got 240hz effects rate, 4 times as much as a usual 60hz in-game player.
So the loading music could do special fast things Smile

By Manuel

Ascended (15832)

Manuel's picture

18-02-2015, 22:24

I'm probably missing the point here, but what is this program about? What does it do?

By Buleste

Master (158)

Buleste's picture

19-02-2015, 12:15

I'm trying top convert a bload .CAS into .wav with this tool. I type in lwav elite.cas and All I get is a Loadtime but no wav file. Can you give me idiotproof instructions how to convert a cas to wav with this?

By mars2000you

Enlighted (5515)

mars2000you's picture

19-02-2015, 13:35

It should be easier with the CAStools created by joyrex : http://www.dvik-joyrex.com/tools.html

By Buleste

Master (158)

Buleste's picture

19-02-2015, 16:06

mars2000you wrote:

It should be easier with the CAStools created by joyrex : http://www.dvik-joyrex.com/tools.html

I know it would but for what I'm doing that doesn't work effectively and also the Hz is too high.

By hit9918

Prophet (2868)

hit9918's picture

19-02-2015, 17:26

the tool does only BLOAD and ASCII files.
CAS is a special emulator format and needs a tool who can handle it.

Quote:

All I get is a Loadtime but no wav file

I can't explain, normaly there should be an out.wav in the current directory.

Hz signal wise the lwav goes good,
if you can extract the files out of the .CAS file
and then hand them to lwav in the right order then the thing should go.
I used audacity to play and a naked wire.

but no CLOAD. it can do a run"cas:" and a bload"cas:"

to not get bored you can first try the .wav in openmsx and speed it up with F9.
to just see whether it basicaly goes right, files in right order.
when real machine gives no "found:" message, try
-baud 1200

then comes the issue of cpu time because soundblaster load cant be stopped like a tape. e.g. with
-time 5
you can tell 5 seconds wait time. I got no idea what worst time the games take.

the -time switch is easy but then cranks up all the various times and you fall asleep.
but using the switch it prints the detail switches one can tune.
like -bloadtime to wait after every bload to give time for the program to move some data.
-asciitime to wait after ascii, time for BASIC to run.
-chunktime when loading the BASIC file itself goes bad.

with -debug one sees the tweet time in the wav Smile in a little lower amplitude. the time spent in header tweets and wait times.
the tool knows no silence, a tweet can serve as delay for cpu time.
and all the ado is because things go without motor.

Page 1/4
| 2 | 3 | 4