Chip Tune Music

STOS-related stuff in here please

Moderators: exxos, simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
mrdalliard
Atari nerd
Atari nerd
Posts: 45
Joined: Tue May 01, 2012 8:29 pm
Location: UK
Contact:

Chip Tune Music

Postby mrdalliard » Wed Dec 30, 2015 2:44 pm

Hi, I'm trying to get back into STOS code again. I've dug out my old source, but I can't get my head around one thing - which is chip tune music.

I downloaded the vast archive that's at - http://www.exxoshost.co.uk/atari/STOS/E ... ic_mus.zip

Has anyone any idea how you get any of it to play in your own code?

I see there's a program supplied so that you can listen to each tune, but if I remember rightly from the old days, there's a way of incorporating the song file into your own code. I'm sure it involved compiling some sort of "wrapper" around the sound file in GENST and setting registers/calling the program to start/stop the music once you've loaded it into a memory bank.....

...or am I just talking rubbish?

Thanks for your help,

M.
--
520 STFM.

User avatar
exxos
Hardware Guru
Hardware Guru
Posts: 4933
Joined: Fri Mar 28, 2003 8:36 pm
Location: England
Contact:

Re: Chip Tune Music

Postby exxos » Wed Dec 30, 2015 4:09 pm

You want a extension such as the missing link which has a music play command, other extensions may play them, but I dont recall offhand other than the missing like. I think it was called musauto. Though some chip music crashes the thing, no idea why.
4MB STFM 1.44 FD- VELOCE+ 020 STE - Falcon 030 CT60 - Atari 2600 - Atari 7800 - Gigafile - SD Floppy Emulator - PeST - various clutter

http://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
http://www.exxoshost.co.uk/atari/last/storenew/ - All my hardware mods for sale - Please help support by making a purchase.
http://ataristeven.exxoshost.co.uk/Steem.htm Latest Steem Emulator

User avatar
mrdalliard
Atari nerd
Atari nerd
Posts: 45
Joined: Tue May 01, 2012 8:29 pm
Location: UK
Contact:

Re: Chip Tune Music

Postby mrdalliard » Wed Dec 30, 2015 8:13 pm

Thanks for that. I continued to search and also found this - viewtopic.php?f=71&t=13960 - which largely seems to do the trick.

M.
--
520 STFM.

User avatar
exxos
Hardware Guru
Hardware Guru
Posts: 4933
Joined: Fri Mar 28, 2003 8:36 pm
Location: England
Contact:

Re: Chip Tune Music

Postby exxos » Wed Dec 30, 2015 9:37 pm

mrdalliard wrote:Thanks for that. I continued to search and also found this - viewtopic.php?f=71&t=13960 - which largely seems to do the trick.

M.



That seems to be in my list aswell, though I will double check they are the same files.

http://www.exxoshost.co.uk/atari/STOS/EXTENSIONS/index.htm

As there is a SND archive, I assume that routine plays the files also listed on my site ?
4MB STFM 1.44 FD- VELOCE+ 020 STE - Falcon 030 CT60 - Atari 2600 - Atari 7800 - Gigafile - SD Floppy Emulator - PeST - various clutter

http://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
http://www.exxoshost.co.uk/atari/last/storenew/ - All my hardware mods for sale - Please help support by making a purchase.
http://ataristeven.exxoshost.co.uk/Steem.htm Latest Steem Emulator

User avatar
mrdalliard
Atari nerd
Atari nerd
Posts: 45
Joined: Tue May 01, 2012 8:29 pm
Location: UK
Contact:

Re: Chip Tune Music

Postby mrdalliard » Wed Dec 30, 2015 10:01 pm

exxos wrote:As there is a SND archive, I assume that routine plays the files also listed on my site ?


I'm not sure, but I ended up downloading the full archive at http://sndh.atari.org/ (plus an appropriate Mac player to listen). I tried one file and it seemed to work. Will let you know how I get on.

Thanks,

M.
--
520 STFM.

User avatar
exxos
Hardware Guru
Hardware Guru
Posts: 4933
Joined: Fri Mar 28, 2003 8:36 pm
Location: England
Contact:

Re: Chip Tune Music

Postby exxos » Wed Dec 30, 2015 10:13 pm

mrdalliard wrote:
exxos wrote:As there is a SND archive, I assume that routine plays the files also listed on my site ?


I'm not sure, but I ended up downloading the full archive at http://sndh.atari.org/ (plus an appropriate Mac player to listen). I tried one file and it seemed to work. Will let you know how I get on.

Thanks,

M.


Thanks. Looking at my page, it seems missing link plays them anyway.
4MB STFM 1.44 FD- VELOCE+ 020 STE - Falcon 030 CT60 - Atari 2600 - Atari 7800 - Gigafile - SD Floppy Emulator - PeST - various clutter

http://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
http://www.exxoshost.co.uk/atari/last/storenew/ - All my hardware mods for sale - Please help support by making a purchase.
http://ataristeven.exxoshost.co.uk/Steem.htm Latest Steem Emulator

User avatar
mrdalliard
Atari nerd
Atari nerd
Posts: 45
Joined: Tue May 01, 2012 8:29 pm
Location: UK
Contact:

Re: Chip Tune Music

Postby mrdalliard » Thu Dec 31, 2015 11:24 am

I tried the code that I mentioned in the earlier link, but it didn't seem to work with many sound files. I've had a lot more success with The Missing Link, so think I'll carry on using that instead.

M.
--
520 STFM.

User avatar
exxos
Hardware Guru
Hardware Guru
Posts: 4933
Joined: Fri Mar 28, 2003 8:36 pm
Location: England
Contact:

Re: Chip Tune Music

Postby exxos » Thu Dec 31, 2015 11:28 am

mrdalliard wrote:I tried the code that I mentioned in the earlier link, but it didn't seem to work with many sound files. I've had a lot more success with The Missing Link, so think I'll carry on using that instead.

M.


Thanks for the report. I've had a note on my site about that routine being possibly obsolete and suggested using the missing link ones, so at least thats confirmed now :)
4MB STFM 1.44 FD- VELOCE+ 020 STE - Falcon 030 CT60 - Atari 2600 - Atari 7800 - Gigafile - SD Floppy Emulator - PeST - various clutter

http://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
http://www.exxoshost.co.uk/atari/last/storenew/ - All my hardware mods for sale - Please help support by making a purchase.
http://ataristeven.exxoshost.co.uk/Steem.htm Latest Steem Emulator

User avatar
mrdalliard
Atari nerd
Atari nerd
Posts: 45
Joined: Tue May 01, 2012 8:29 pm
Location: UK
Contact:

Re: Chip Tune Music

Postby mrdalliard » Sat Jan 02, 2016 1:49 pm

Any idea why a program that plays music fine in STOS (using TML) won't play when compiled?

M.
--
520 STFM.

User avatar
exxos
Hardware Guru
Hardware Guru
Posts: 4933
Joined: Fri Mar 28, 2003 8:36 pm
Location: England
Contact:

Re: Chip Tune Music

Postby exxos » Sat Jan 02, 2016 2:52 pm

mrdalliard wrote:Any idea why a program that plays music fine in STOS (using TML) won't play when compiled?

M.


I never had any troubles, can you post your mus file and a code example and I will give it a try.
4MB STFM 1.44 FD- VELOCE+ 020 STE - Falcon 030 CT60 - Atari 2600 - Atari 7800 - Gigafile - SD Floppy Emulator - PeST - various clutter

http://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
http://www.exxoshost.co.uk/atari/last/storenew/ - All my hardware mods for sale - Please help support by making a purchase.
http://ataristeven.exxoshost.co.uk/Steem.htm Latest Steem Emulator

User avatar
mrdalliard
Atari nerd
Atari nerd
Posts: 45
Joined: Tue May 01, 2012 8:29 pm
Location: UK
Contact:

Re: Chip Tune Music

Postby mrdalliard » Tue Jan 05, 2016 10:18 am

Thanks for the offer. In the end, I just changed the music file I was using and it was fine, so I guess that was an "oddity".

M.
--
520 STFM.

EstTeeEfEm
Captain Atari
Captain Atari
Posts: 299
Joined: Mon May 04, 2015 9:02 pm

Re: Chip Tune Music

Postby EstTeeEfEm » Thu Jan 07, 2016 10:28 am

Mm, i remember a document for STOS to play SNDH based on GFa routines... It's faulty and i can't for the life of me remember why?!?!?!

I THINK it needs another REGISTER call thats missing from the original routine...

I'll have a dig and include some source for a SNDH player that should play more inc TAO digi and some SID stuff... sadly it doesnt play EVERYTHING, but i think this is down to the use of ST Timers on some tracks... give me a bit of time lol.. its on a disk in a box :P


Social Media

     

Return to “STOS”

Who is online

Users browsing this forum: No registered users and 2 guests