SoundTracker for ZX81 ?

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
Moggy
Posts: 3495
Joined: Wed Jun 18, 2008 2:00 pm

Re: SoundTracker for ZX81 ?

Post by Moggy »

Andy If I get what Yerz is saying is the SNG format unique or will a renamed TAP file from the speccy tracker work?

Moggy.
???????????????????????????PIINKEY$?????RND????????????????????????????????????????????????????????PI????????
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: SoundTracker for ZX81 ?

Post by Andy Rea »

Erm... i don't know how to get Spectrum files in the raw, i guess you wouldn't need the header block for a start just the data block.

When i wanted the song data i just did a memory dump from a spectrum emulator and then renamed that dump as SNG

if i remeber right the data starts at 25000 on spectrum.

Edit @ Yerz, send me a uncompiled song for ZX48 (Spectrum) and i'll see if i can work out an easy way to do it.
what's that Smell.... smells like fresh flux and solder fumes...
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: SoundTracker for ZX81 ?

Post by yerzmyey »

Sure thing guys, here it is:
http://yerzmyey.republika.pl/sng.tap
IN NIHILUM REVERTERIS - a big text-adventure game for ZX81: http://tiny.pl/g2m6m
"MONOCHROME" issue 5 - (Spring 2014) free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX81 COMPETITIONS 2007/2009: http://zx81.republika.pl/
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: SoundTracker for ZX81 ?

Post by Andy Rea »

Well i can tell you that it's not straight forward, after chopping off the header what i'm left with is...

1) not long enough so ZX48 (Spectrum songtracker does some compacting before saving raw data)
2) seems to be in a different order to whats in the memory at work time.

i'll see if i can mke a small program to convert from one to the other, if not, i can manually reaarange it and then resave it in such a way that you can load it into ZX81 tracker
but it's late here now i really have to go to sleep.

Rgards, Andy
what's that Smell.... smells like fresh flux and solder fumes...
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: SoundTracker for ZX81 ?

Post by yerzmyey »

Of course.
Have a nice weekend, guys! ;)
IN NIHILUM REVERTERIS - a big text-adventure game for ZX81: http://tiny.pl/g2m6m
"MONOCHROME" issue 5 - (Spring 2014) free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX81 COMPETITIONS 2007/2009: http://zx81.republika.pl/
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: SoundTracker for ZX81 ?

Post by Andy Rea »

Here ya go, simple player, with all of 4 controls,

you should have your STC files in the same folder and they should be named '01.STC' '02.STC' '03.STC' ..... '98.STC' '99.STC' so you can have upto 99 songs

controls are simple :

'P' plays the song
'S' stops the song (play will continue from this stop point)
'N' load next song
'R' reset current song back to the beginning

Andy
STPLAY.P
what's that Smell.... smells like fresh flux and solder fumes...
Moggy
Posts: 3495
Joined: Wed Jun 18, 2008 2:00 pm

Re: SoundTracker for ZX81 ?

Post by Moggy »

Hate to say it Andy but all I get is noise, is there some special setting I'm missing?


Moggy.
???????????????????????????PIINKEY$?????RND????????????????????????????????????????????????????????PI????????
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: SoundTracker for ZX81 ?

Post by Andy Rea »

Erm i don't think so, i just downloaded the file myself ( sanity check, to make sure i uploaded the right file ! )

you have named your STC file 01.STC 02.STC and so on using only 2 digits and starting with 01.STC ?

and make sure you do CONFIG "M=H" if any of your STC files are greater than 8K the defualt load address is 32768.

Andy
what's that Smell.... smells like fresh flux and solder fumes...
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: SoundTracker for ZX81 ?

Post by Andy Rea »

With regards to the ZX48 (spectrum) tap files of uncompiled songs, i see whats going on now.... they are saved as samples, positions map, song length, ornaments, delay value, pattern lenght, and finally patterns, but in the memory image the different elements are in another different order.

Shouldn't be too hard to knock up something that can convert the tap to SNG.

becuase i did not envisage getting involved in transfering from one format to the other, i just went with the memory map layout, that way i could run 2 emulators side by side, and compare the memories of each to see that what i was coding yeilded the same result.

Oh hum....

Andy
what's that Smell.... smells like fresh flux and solder fumes...
Moggy
Posts: 3495
Joined: Wed Jun 18, 2008 2:00 pm

Re: SoundTracker for ZX81 ?

Post by Moggy »

@Andy

Solved, the renamer I use wasn't adding the leading zero to the first 9 files hence corrupt sound :x
Renamed those first nine by hand and ten onwards with renamer, jobs a good'un. :D


Cracking little jobby by the way :ugeek:
This has to be what Yerz is after.

Cheers.
Moggy.
???????????????????????????PIINKEY$?????RND????????????????????????????????????????????????????????PI????????
Post Reply