CPCWiki forum

General Category => Emulators => Topic started by: Devilmarkus on 21:20, 20 May 13

Title: Quick & Dirty Java-YM player
Post by: Devilmarkus on 21:20, 20 May 13
In only 2 days I quickly coded a YM Player in Java.
This one comes without any big CPC emulation or Z80 instructions or whatever.
Just the AY chip is emulated.

It can be possible, that the playback speed and the pitch is not 100% accurate (yet) but should be suitable for most files.

What it can:
- Playback CPC, ST and Speccy YM files
- Generate playlists with your favourite YM files
- Record YM to WAV (incl. "Intelligent WAV recording" -> means: Just click "Rec." )
- When in intelligent mode, you can select how many loops should be played, if the YM file doesnt repeat from start. The recorder then fades out the song after it has reached the choosen amount of loops

What it should be able:
- Run on Mac, Linux, Windows
- Playback YM, zipped YM and LZH crunched YM

What it isn't able:
- Cook your coffee
- Playback digidrums
- Playback zipped AND LZH crunched YM

So: Just quick & dirty.

Run with doubleclick of from console:
java -jar YMPlayer.jar

File:

[attachurl=2]

Screenshots:
[attachimg=2]
[attachimg=3]

Rest:
Have fun!


Title: Re: Quick & Dirty Java-YM player
Post by: Devilmarkus on 21:26, 20 May 13
Btw.: Is there anyone here, who can explain me how to uncrunch the AYC format and read out the register values of it?

Then I could support AYC format, too...
Title: Re: Quick & Dirty Java-YM player
Post by: Megachur on 06:51, 22 May 13
@DevilsMarkus : for the AYC, have you seen the doc and the asm source of the player provided ? (link for e.g. : http://cpcrulez.fr/coding_music_kitay.htm (http://cpcrulez.fr/coding_music_kitay.htm))

Also, I think I've found a little bug : when you drag & drop a file, it's played but the playlist isn't updated (add the file to the playlist ?)...

The sound quality and the ay emulation is better than the previous version (used in cpc-power) -> thanks a lot !
Title: Re: Quick & Dirty Java-YM player
Post by: Devilmarkus on 09:29, 22 May 13
I looked on the KitAY page but my ASM knowledge is near NOP...

Yeah I know about the little bug ;)

Tip: Drag&drop more than 1 file into the player, and they'll be added to playlist.

(I'll fix that)
Title: Re: Quick & Dirty Java-YM player
Post by: RockRiver on 18:15, 27 May 13
@Devilmarkus: I think fKey oder of YMcruncher] is your man (for AYC files)...
see his message at SymbOS development continues - actual progress (http://www.cpcwiki.eu/forum/applications/symbos-development-continues-actual-progress/msg61926/#msg61926)


and his clever words at AYC page on CPCwiki:
AYC - CPCWiki (http://www.cpcwiki.eu/index.php/AYC)


I try to notice him about your post.
Title: Re: Quick & Dirty Java-YM player
Post by: RockRiver on 19:00, 05 June 13
Would this player shows TITLE, AUTHOR and COMMENTS info that can exist inside YM file?
Maybe I make something wrong... [For edit YM files I use YMTOOL by Arnaud Carre "Leonard". Another software for edit YM files info? ]
Title: Re: Quick & Dirty Java-YM player
Post by: Devilmarkus on 12:34, 06 June 13
These informations are shown after ~10-15 seconds.

You can also edit YM info with JavaCPC.

Just open the built-in YM player, load your YM file, and save it again.

You then are asked for Author and Title.
Powered by SMFPacks Menu Editor Mod