A.D.A. Amiga Demoscene Archive

        Welcome guest!

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / Coding / Sound/Noise/Protracker music code?

 

Author Message
Lonewolf10
Member
#1 - Posted: 5 Dec 2010 02:36
Reply Quote
Hi,

I am slowly working on my demo, but I don't really want to code up my own music routine (yet). Is it possible to "borrow" the routine from a library (e.g. disassemble the library and include the code into my own demo), or would anyone mind sharing their code to play Sound/Noise/Protracker music? (You'd get credit, naturally)


Regards,
Lonewolf10
ZEROblue
Member
#2 - Posted: 5 Dec 2010 05:50
Reply Quote
You probably want to use The Player. It's an optimizing converter and player, and has been the de facto standard for playing ProTracker songs since the 90's.
Corial
Member
#3 - Posted: 6 Dec 2010 08:07
Reply Quote
Yes, use player61a for modules - my two latest intros use that player too. The version I have was a bitch to set up due to annoying includes, though.
Lonewolf10
Member
#4 - Posted: 7 Dec 2010 21:07
Reply Quote
I found various versions, but any attempt to assemble them brings about a huge list of errors, example:

instruction not recognised at line 208 in file RAM:P6108-PLAY.S
208 00.00000078 ubyte P61_VibCmd


I have tried "P6108.lha" and "P6107.lha" from Aminet, both with the same problem. I have tried assembling with Devpac 2 and Devpac 3.18. Have I got the right files? Do I need to edit the includes so that Devpac likes them (e.g. replace "ubyte P61_VibCmd" with "P61_VibCmd dc.b 0")?


Regards,
Lonewolf10
TheDarkCoder
Member
#5 - Posted: 7 Dec 2010 22:24
Reply Quote
I did 610.6. I confess I didn't try to see if that worked with devpac. Neither I know for previous or successive releases. The author of the most recent version is Photon, he is a regular on english amiga board, I'll ask him.
Lonewolf10
Member
#6 - Posted: 7 Dec 2010 22:59
Reply Quote
Hehe, I am a member there too! (Of course, you'll know this already after seeing my post on EAB!) :)


Regards,
Lonewolf10
noname
Member
#7 - Posted: 8 Dec 2010 09:50
Reply Quote
Lonewolf, maybe its worth a try to check if The Player 6.1A 610.4 works for you. This is the version that I last touched in the 90s and the source (610.4.asm) reads "Devpac 3, ASM-One, PhxAss and maybe some other assemblers".
Lonewolf10
Member
#8 - Posted: 8 Dec 2010 22:24 - Edited
Reply Quote
Thanks for the tip noname, but I have already found 610.6 which works for me. Now I just need to intergrate it into my own code without messing anything up :)


Regards,
Lonewolf10

 

  Please log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0