News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Devilmarkus

Next JavaCPC will come with internal YM-fileplayer

Started by Devilmarkus, 14:31, 25 March 09

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Devilmarkus

Hello folks!
I am actually coding on a YM-filerecorder and player for my JavaCPC emulator.

Actually it can:
- Record up to 40 hours YM music into 1 YM file (interleaved)
- Playback interleaved and non-interleaved YM files
- Playback of Amstrad CPC and! Atari ST YM files with 2000000hz!

it cannot:
- LHA crunch/uncrunch YM files, so crunched YM files are not supported
- Playback ZX Spectrum YM files (I am working on it)

Preview:
- here (playback of "Speedball 2" tune from Atari ST

I hope, you will like this feature coming with next release...

Cheers,
Markus
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

#1
Watch this "realtime online demo":
Click here

Another example:
Click here

Please make sure, that you quit emu using menu - file - quit before opening the next url

You can also use menu: Edit - Show YM-Control  ;)
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

Gryzor

This is lovely, especially if there's an online YM library to draw from... :)

Cybernoid sounds a bit 'watery' to me, but I'm not sure. But why do we see only two EQ bars?

Devilmarkus

Quote from: Gryzor on 18:59, 25 March 09
This is lovely, especially if there's an online YM library to draw from... :)

Cybernoid sounds a bit 'watery' to me, but I'm not sure. But why do we see only two EQ bars?

You see two VU-meter bars:
RED: Left audiochannel
GREEN: Right audiochannel
(Stereo provides 2 channels)  ;)

'bout Cybernoid 2 tune:
It is an Atari ST tune.
JavaCPC can playback Atari ST YM, but no warranty, that it's 100% correctly.

Also don't forget:
AY-emulation is used for playback! The emulation is also not 100% perfect...
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

Gryzor

Ah so it's a channel volume meter, duhhhh.... Ok.

Yeah, I know it's an ST tune (big fan of ST here!), will have to check it against the real thing to see. But it's nice :) What engine did you use?

Devilmarkus

#5
Quote from: Gryzor on 19:05, 25 March 09
What engine did you use?

I don't know, what you mean.
I am using AY-3-8910 emulation of JavaCPC to playback the YM files.
Each VSync all 16 PSG-registers are filled with YM-file values.

When a ST-tune is loaded, I simply change AY-3-8910 update step speed.

After a STOP or a RESET, or after the YM player stops playing, the update step speed is set to CPC-value.

During the YM playback, the CPC-display is not rendered, and you see the "JavaCPC YM-Player" display.

EDIT: Another great ST-tune: Speedball
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

Gryzor

No, I meant if you used the YM emulation engine by someone else, but apparently you coded it yoruself :)

Devilmarkus

Quote from: Gryzor on 08:45, 26 March 09
No, I meant if you used the YM emulation engine by someone else, but apparently you coded it yoruself :)

Yes, I coded the routines.
Thanks to Demoniak, Kev Thacker and Plissken for advice!
Here's a small demonstration video, how to record and save YM files with next JavaCPC (not released yet, stay tuned...)
http://cpc-live.com/videos/recym

Cheers,
Markus
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

Executioner

Quote from: CPC-Live on 13:07, 26 March 09
Yes, I coded the routines.
Thanks to Demoniak, Kev Thacker and Plissken for advice!

I seem to remember writing the AY emulation for JEMU myself.

Interesting that you did the player as part of the emulator, especially since you can't do the emulation at the same time (unless you use more sound channels and another thread!)

Devilmarkus

#9
Quote from: Executioner on 01:29, 27 March 09

I seem to remember writing the AY emulation for JEMU myself.

Interesting that you did the player as part of the emulator, especially since you can't do the emulation at the same time (unless you use more sound channels and another thread!)

You are right. You coded the AY emulation.  :)
I was talking about coding the routines for recording and playback.  8)
I also included some extra-code in AY emulaton, too, like 'changeClockSpeed(int value)'
Sorry for miss-understanding this.

In fact, I did not add channels.
During playback the Display is not shown, and keyboard input is blocked.
If you start a game for example, which has music, and want to playback a YM file simulteanously, this causes bad sound. So, the emulation should be resetted first.
I will also disable FDC cycles and other things during playback.
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

Betatest for next JavaCPC available!

Hello guys,
today I compiled an .EXE file for next JavaCPC release as beta test.
Please download:
http://cpc-live.com/Release.zip

No JAR or other format available now. So Windows only...
No sources available (please ask if you want sources)

Later, also sources and JAR file will be available...

Sorry, no documentation included.
You can use the YM-Control deck using:
- Click "Edit -> Show YM-Control"
or:
- Click "File -> Load" and load a YM file, the player will start automatically.

Please regard:
- Only YM3, YM5 and YM6 files are supported
- LHA crunched files don't work, please uncompress them first
- Reset emulator first, before playing a YM tune
- If you save a YM file, it will be saved in YM5 format.
- Loaded YM3 format files will be saved as YM3, too.

Please post your feedback here.
I am still optimizing some things, before I will officially release it.
So I need your feedbacks...

Cheers,
Markus
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