Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Agn0st1c ! (Registered 2019-10-20) You are not logged in 
CSDb User Forums


Forums > C64 Coding > .mus (Compute Gazette) playback routine
2018-08-08 20:50
Rudi

Registered: May 2010
Posts: 110
.mus (Compute Gazette) playback routine

Does .mus (Compute Gazette's own fileformat) have own playercode inside the .mus file like .sid files do, or do you have to implement this player yourself? Someone gave me this link: https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/vsi..
which is a player for the .mus, but all the sourcecode looks too cryptic for me to understand and implement. I even found this too: http://sidplayer.org/filestru2.txt still looks like a whole bunch of stuff one has to interpret and code to get some of this .mus file playin'. I want something small and compact that can do the job for me.

I tried to convert into .sid by using Sidplay2/w, it worked somehow, but after trying Linus's sidreloc it detects that the sid file is a .mus file: "MUS files not supported.". It does however make the file twice as big and have some more stuff in there. The sid gives following info after conversion:
Load Range: $0900-$22c7
init adr: $fc90
play adr: $fc96

ive tried everything, but nothing works.
2018-08-08 21:23
iAN CooG

Registered: May 2002
Posts: 2449
mus files are just note datas, and it requires a separate player code to be onefiled with the datas, IIRC calling the init passing the start of data to some registers, something like A=highbyte X=lowbyte, but don't remember exactly.
the real question is why bothering with such crap nowadays?
2018-08-08 22:59
Groepaz

Registered: Dec 2001
Posts: 9100
that player in the VICE repo is the original player code. yes, obviously you need this player. if you are really crazy enough to use a .mus tune in your stuff, using this player is the closest to "small and compact" you will get. (mind you, it still sucks and uses crazy amount of rastertime)
2018-08-09 08:43
Rudi

Registered: May 2010
Posts: 110
yeah, ill see what i can come up with.
2019-05-16 08:06
xlar54

Registered: Dec 2018
Posts: 6
Kinda dated, but this may help someone as well:

https://github.com/xlar54/mus-player
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
xlar54
csabanw
MWR/Visdom
TBH
Acidchild/Padua
Guests online: 64
Top Demos
1 Uncensored  (9.7)
2 Unboxed  (9.7)
3 Edge of Disgrace  (9.7)
4 Coma Light 13  (9.7)
5 Comaland 100%  (9.6)
6 Lunatico  (9.6)
7 The Shores of Reflec..  (9.6)
8 Rivalry  (9.5)
9 C=Bit 18  (9.5)
10 X Marks the Spot  (9.5)
Top onefile Demos
1 Sprite Font Compo Re..  (9.8)
2 The Tuneful Eight (U..  (9.8)
3 Instinct  (9.6)
4 Dawnfall V1.1  (9.5)
5 Smile to the Sky  (9.5)
6 Space Demo  (9.5)
7 The Tuneful Eight [u..  (9.5)
8 Crystal Gazer  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Innervasion  (9.5)
Top Groups
1 PriorArt  (9.7)
2 Fossil  (9.6)
3 Performers  (9.6)
4 Oxyron  (9.5)
5 Booze Design  (9.4)
Top Musicians
1 LMan  (9.7)
2 Rob Hubbard  (9.7)
3 Jeroen Tel  (9.6)
4 Linus  (9.6)
5 Drax  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2019
Page generated in: 0.274 sec.