CPCWiki forum

General Category => Technical Support - Software related => Topic started by: SkulleateR on 11:54, 18 August 21

Title: Music/Song Player and AY Collection ?
Post by: SkulleateR on 11:54, 18 August 21
Hi folks ....


Are there any good standalone Music/Song Players out there and where to find a collection of AY Songs/Music from games/demos/etc. ? Preferrably as a one-file-download (like HVSC for SID) ....
Title: Re: Music/Song Player and AY Collection ?
Post by: Gryzor on 12:03, 18 August 21
Following this thread.
Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 14:36, 18 August 21
Hm, I found a little collection on the https://worldofspectrum.org/projectay/ (https://worldofspectrum.org/projectay/) website ... but only very few CPC game tunes, mainly spectrum but quite an amount of demo tunes so this is a start ...


Still didn't find a suitabe Player for the CPC itself ... and there also have to be other formats then AY out there ? Arkos Tracker 1 + 2 I guess ?
Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 15:21, 18 August 21
All of my stuff is in .sks or .aks format... then converted to .ym so playable on AYEmul!
1093 tunes converted (with a few of my own)... and counting!

Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 15:30, 18 August 21
Thx for the package, will have a look when I get home later ... any recommendations for a CPC Player then ? AYEmul seems to be for Win or Linux ....
Title: Re: Music/Song Player and AY Collection ?
Post by: Gryzor on 15:32, 18 August 21
Damn, all of 5KB compressed :D
Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 15:51, 18 August 21
Quote from: Gryzor on 15:32, 18 August 21
Damn, all of 5KB compressed :D
It's only TWO files... not all 1093!
The lot could hit the heady heights of 6kb... or even 7kb! *shocked-face*
Title: Re: Music/Song Player and AY Collection ?
Post by: Gryzor on 15:55, 18 August 21
Ahhh not so impressive then :D
Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 16:08, 18 August 21
Quote from: SkulleateR on 15:30, 18 August 21
any recommendations for a CPC Player then ? AYEmul seems to be for Win or Linux ....
I don't think there is a CPC-native player as such; most of the tunes are simply executable files.
I suppose you could set up a menu-system to play pre-compiled SKS/AKS/AKG files from disc! This would have to be done manually, though! The same could be done for ST128 tunes (and other music packages) but it would be a lengthy process!


The closest I can find is this;
amstrad cpc musics ultimate compilation - pack games © paradox (2009) (cpc-power.com) (https://www.cpc-power.com/index.php?page=detail&num=11166)
amstrad cpc musics ultimate compilation - pack demos © paradox (2009) (cpc-power.com) (https://www.cpc-power.com/index.php?page=detail&num=11167)
amstrad cpc musics ultimate compilation - pack duffy © paradox (2009) (cpc-power.com) (https://www.cpc-power.com/index.php?page=detail&num=11168)
Title: Re: Music/Song Player and AY Collection ?
Post by: ComSoft6128 on 16:24, 18 August 21
Quote from: SuTeKH/Epyteor on 16:08, 18 August 21
I don't think there is a CPC-native player as such; most of the tunes are simply executable files.
I suppose you could set up a menu-system to play pre-compiled SKS/AKS/AKG files from disc! This would have to be done manually, though! The same could be done for ST128 tunes (and other music packages) but it would be a lengthy process!


The closest I can find is this;
amstrad cpc musics ultimate compilation - pack games © paradox (2009) (cpc-power.com) (https://www.cpc-power.com/index.php?page=detail&num=11166)
amstrad cpc musics ultimate compilation - pack demos © paradox (2009) (cpc-power.com) (https://www.cpc-power.com/index.php?page=detail&num=11167)
amstrad cpc musics ultimate compilation - pack duffy © paradox (2009) (cpc-power.com) (https://www.cpc-power.com/index.php?page=detail&num=11168)


I've looked at dozens of music players so far - there is nothing that could be used as a universal player + all of the music discs (so far) are specific to one filetype - .MUS, .SND , .128 etc.
Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 16:47, 18 August 21
Quote from: ComSoft6128 on 16:24, 18 August 21

I've looked at dozens of music players so far - there is nothing that could be used as a universal player + all of the music discs (so far) are specific to one filetype - .MUS, .SND , .128 etc.


Yeah, I scrolled through many pages on cpc-power and other sites and don't find anything usefull :(


My goal would be a universal Musik Player + Music Collection on my M4/USIfAC but that seems to be harder than I thought .... maybe we can collect some music players for those formats here, and btw. how many formats are there ?


I never was much into listening to chiptunes but I know the following (please feel free to enhance the list) :


- Archos Tracker (AT)
- Archos Tracker 2 (AT2)
- Soundtracker ( ??? )
- AY Tunes (.BIN and .AY ??? )


Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 16:47, 18 August 21
I do have a lot of AY stuff from various ZX and ST sites. I have attached some, but I think you might already have these...
All tunes are playable in AYEmul...



EDIT: There is a YM to AYC conversion tool so you can play YMs on the CPC. I played around with it a few years back and made a quick Xenon2:Megablast ST->CPC music-disk! It is attached here, too!
Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 11:05, 19 August 21
Ok, I think I got enough music to play for a week without pausing it .... BUT ... still no way to listen to them :(


So let's just concentrate on the most popular formats found on the net !


AY : After a long reading (yeah I can do things like that  :P ), this seems to be the Z80 code for music to get played through the AY Chip. Does this mean the player code is inside ? If so, how to load/run it on a real Amstrad CPC ?


YM : This is a compressed (LHA ?) music file, which could not directly be played, so there are tools to convert this to AYC ? Where ?
Title: Re: Music/Song Player and AY Collection ?
Post by: tronic on 11:16, 19 August 21
Hi,

Get a look at this thread :
https://www.cpcwiki.eu/forum/programming/how-to-convert-sndh-files-to-arkos-tracker-files/msg203520/#msg203520

(https://www.cpcwiki.eu/forum/programming/how-to-convert-sndh-files-to-arkos-tracker-files/msg203520/#msg203520)+++

Tronic/GPA
https://rasmlive.amstrad.info (https://rasmlive.amstrad.info)

Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 12:22, 19 August 21
@tronic (https://www.cpcwiki.eu/forum/index.php?action=profile;u=859)


Thx, that covers the YM files, but if I use the Kit AY (YM2AY) the resulting file is only 1KB and cannot be played (uncompressed YM is 78KB) ... cannot use YMCruncher since I got no windows machine, any advice ?
Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 13:35, 19 August 21
Ok, SOME kind of progress ....


I've added a header to the AYC file and now it "kinda" plays with TSP, but it sounds weird (don't play at all in AYCPLAY) ... can somebody look into this ?

Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 13:50, 19 August 21
I ran the Glider Rider .ym file through "YMCruncher.exe" and it works fine! It's attached here!

If you are using WinAPE to move files from Windows to the AYCPlayer .dsk file, remember to make sure the "Add/Remove AMSDOS headers" is checked FIRST! If not, it will not work! The file in the "Disc Editor" view should be 5Kb long! 6Kb is too big and 7Kb is way out!



EDIT: It even works with my .yms... ^_^
Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 14:04, 19 August 21
I converted the Glider Rider YM file with YM2AY on CPC, result is a 5KB file, but that's not playable anywhere ... then I tried to add a header that results in s 6KB file which is "partitially" playable in TSP ...


What would be the correct way to convert this o CPC, as I said I got no windows machine here ....
Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 15:10, 19 August 21
Quote from: SkulleateR on 14:04, 19 August 21
What would be the correct way to convert this on CPC, as I said I got no windows machine here ....
I don't think you have much choice, to be honest. There is only YM2AY that you can use on a CPC to convert ST music! According to the documentation, it doesn't convert ZX music (due to being a different frequency!) It is also limited by floppy-disc space (<178Kb) so longer tunes cannot be converted.

However, YMCruncher (on Windows) works with CPC, ST and ZX .ym files of all sizes and converting them all to the correct CPC frequency.
There is a GitHub site for this, maybe it can converted to other OS formats - GitHub - cdepecker/YMCruncher: Amstrad CPC YMCruncher initial code dump. (Java Tools that helps to compress YM music files to AYC file format) (https://github.com/cdepecker/YMCruncher/)

Failing that, I could convert a load of .ym files to .ayc when not working and dump them all in a ParaDOS .dsk with the player binary! Unless someone could come up with an AmsAMP* utility!




* I claim full copyright for the name "AmsAMP" and all royalties for use of the "AmsAMP" utility (and display of the name) should go direct to my PayPal account!
Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 16:01, 19 August 21
Ok, so after setting everything up AGAIN on my M4 card, I converted some tunes to AYC, but they still sound weird sometimes ...


What are these options here to choose from :

Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 17:31, 19 August 21
Quote from: SkulleateR on 16:01, 19 August 21
Ok, so after setting everything up AGAIN on my M4 card, I converted some tunes to AYC, but they still sound weird sometimes ...


What are these options here to choose from :
I have GoogleTranslated the manual and attached here. According to what it says in the manual, you select "4" for registers 0, 2 & 4 and "1" for all other registers. Once you have filled in the list on the right, it should save the .ayc file!
Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 17:38, 19 August 21
The advantage of working from home is that you can give yourself extended tea-breaks! ^_^
Here are a few .ym tunes converted to .ayc! You will need to rename them to fit the AMSDOS filename format (########.AYC)
Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 09:34, 20 August 21
Thx for those, sorting them will be a long term issue  ;D

After getting this sorted, renamed and tested I will put a package here for all M4/USIfAC owners of course, thx for all your help so far ;)

Next question, I also have plenty of .AY Files like the one attached, how do I play these on the CPC, or is there a conversion tool (AY -> AYC) too ?


Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 09:56, 20 August 21
Quote from: SkulleateR on 09:34, 20 August 21
Next question, I also have plenty of .AY Files like the one attached, how do I play these on the CPC, or is there a conversion tool (AY -> AYC) too ?
.AY files? Hmmm... most of them play in AYEmul, but do not convert with YMCruncher.
Unless someone has developed an AY>AYC tool, the only solution I can see is to convert the .AY files to .YM in AYEmul and then .YM to .AYC in YMCruncher.

I can batch-convert them for you if you want! Post a .zip or .rar here & I will see what I can do!


EDIT: It looks like the tune-length in the .AY file is different to the actual tune-length (AID03.AY claims to be 0:46 in AYEmul but the tune is actually 2:43); converting to .YM chops off loads of the tune... so, not a viable option! Sorry!
Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 10:26, 20 August 21
Well, there are plenty of AY Players out there, even a player for the ZX Spectrum so it should be possible to play them directly on CPC too since the AY files got the z80 code inside for driving the AY Chip directly ... question is how to get these into memory and play them on a CPC ?
Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 11:48, 20 August 21
Quote from: SkulleateR on 10:26, 20 August 21
Well, there are plenty of AY Players out there, even a player for the ZX Spectrum so it should be possible to play them directly on CPC too since the AY files got the z80 code inside for driving the AY Chip directly ... question is how to get these into memory and play them on a CPC ?
Firstly, you will need to know if the tune/player is ZX or CPC.
Then, you need to know the address to load the .AY file to memory.
Finally, you need to know the addresses to CALL to play the music.


For example; JUBILEE-3.AY
This is a CPC tune.
The load address is &3FEE.
The CALLs to play the music are: &402E (initialise?), &4031 (play music), &4034 (stop music)


See attached .dsk for a demo! Type RUN"PLAYER"
Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 12:03, 20 August 21
Quote from: SuTeKH/Epyteor on 11:48, 20 August 21
Firstly, you will need to know if the tune/player is ZX or CPC.
Then, you need to know the address to load the .AY file to memory.
Finally, you need to know the addresses to CALL to play the music.


For example; JUBILEE-3.AY
This is a CPC tune.
The load address is &3FEE.
The CALLs to play the music are: &402E (initialise?), &4031 (play music), &4034 (stop music)


See attached .dsk for a demo! Type RUN"PLAYER"


Yes, allready figured that out ;) Is there a way to read this out ? Are these infos stored in the file itself ?
Title: Re: Music/Song Player and AY Collection ?
Post by: tastefulmrship on 12:46, 20 August 21
Quote from: SkulleateR on 12:03, 20 August 21
Is there a way to read this out ? Are these infos stored in the file itself ?
The only reference I can find is the "Initialise" and "Play music" addresses in the header.
- xx28 & xx29 has the address of the JP xxxx command to initialise the music (I presume)
- xx2A & xx2B has the address of the JP xxxx command to play 1 note of music.


If you load any .AY file into memory, you can see that the first 40 bytes are the header created for AYEmul. Then the 3 JPs to initialise, play and stop music, then each assembler program(s), then the music data!

Title: Re: Music/Song Player and AY Collection ?
Post by: SkulleateR on 12:51, 20 August 21
Quote from: SuTeKH/Epyteor on 12:46, 20 August 21
The only reference I can find is the "Initialise" and "Play music" addresses in the header.
- xx28 & xx29 has the address of the JP xxxx command to initialise the music (I presume)
- xx2A & xx2B has the address of the JP xxxx command to play 1 note of music.


If you load any .AY file into memory, you can see that the first 40 bytes are the header created for AYEmul. Then the 3 JPs to initialise, play and stop music, then each assembler program(s), then the music data!


Okay, that helps ... I will look into it, thanks :)
Title: Re: Music/Song Player and AY Collection ?
Post by: grouik1er on 23:49, 02 April 22
For music collection by author you have this :
http://www.aygor.abrimaal.pro-e.pl/
Title: Re: Music/Song Player and AY Collection ?
Post by: ComSoft6128 on 12:18, 04 April 22
Quote from: tastefulmrship on 11:48, 20 August 21
Quote from: SkulleateR on 10:26, 20 August 21Well, there are plenty of AY Players out there, even a player for the ZX Spectrum so it should be possible to play them directly on CPC too since the AY files got the z80 code inside for driving the AY Chip directly ... question is how to get these into memory and play them on a CPC ?
Firstly, you will need to know if the tune/player is ZX or CPC.
Then, you need to know the address to load the .AY file to memory.
Finally, you need to know the addresses to CALL to play the music.
For example; JUBILEE-3.AY
This is a CPC tune.
The load address is &3FEE.
The CALLs to play the music are: &402E (initialise?), &4031 (play music), &4034 (stop music)
See attached .dsk for a demo! Type RUN"PLAYER"


https://www.youtube.com/watch?v=07KNL9dlSuE


Powered by SMFPacks Menu Editor Mod