News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Devilmarkus

Quick & Dirty Java-YM player

Started by Devilmarkus, 21:20, 20 May 13

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Devilmarkus

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!


When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Devilmarkus

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...
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Megachur

@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)

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 !

Devilmarkus

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)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

RockRiver

#4
@Devilmarkus: I think fKey oder of YMcruncher] is your man (for AYC files)...
see his message at SymbOS development continues - actual progress


and his clever words at AYC page on CPCwiki:
AYC - CPCWiki


I try to notice him about your post.

RockRiver

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? ]

Devilmarkus

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.
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Powered by SMFPacks Menu Editor Mod