Page 1 of 1

AY to MIDI

Posted: Wed Dec 19, 2018 4:14 pm
by ZXDunny
Hi -

I'm after a MIDI version of the Trailblazer AY title tune. I did it previously by converting from AY to PSG, then PSG to MIDI but none of the tools I used way back when are available anymore AFAICS.

Anyone know of a quick and easy way to get an AY tune (I just tried mp3 to MIDI conversion online - YIKES, it does not do well) out of the game?

Re: AY to MIDI

Posted: Wed Dec 19, 2018 6:53 pm
by Ast A. Moore
Does this one work?

I just launched the game, and the tune doesn’t sound like it shouldn’t be too difficult to simply transcribe it by ear. How badly do you need it?

Re: AY to MIDI

Posted: Wed Dec 19, 2018 8:17 pm
by ZXDunny
Ast A. Moore wrote: Wed Dec 19, 2018 6:53 pm Does this one work?

I just launched the game, and the tune doesn’t sound like it shouldn’t be too difficult to simply transcribe it by ear. How badly do you need it?
Not that badly :)

If we can get the tune in a format the vgm2midi would understand - I had an old AY player that could do it, but it no longer functions under windows 10. If we can get the AY tune into PSG format, we may have a chance; .vgm would be the file format needed. I don't know of any utilities or emulators that can create that file format on the fly.

Re: AY to MIDI

Posted: Wed Dec 19, 2018 8:33 pm
by hikoki
There are ay2wav converters and once you get the wav, you could try Magenta to get the transcription in Midi form
https://medium.com/@ichiki_k/music-tran ... 845142aff7

Re: AY to MIDI

Posted: Wed Dec 19, 2018 9:16 pm
by Ast A. Moore
ZXDunny wrote: Wed Dec 19, 2018 8:17 pm If we can get the AY tune into PSG format, we may have a chance; .vgm would be the file format needed. I don't know of any utilities or emulators that can create that file format on the fly.
Fuse can, but I haven’t tried it. Never mind that, though. I’ve transcribed the tune for you:

Trailblazer.mid

You might want to equalize the velocities and truncate the notes’ lengths. I played a few phrases on the keyboard and then added the rest of the notes using the mouse. Other than that, it sounds pretty faithful to the original to my ear.

;)

Re: AY to MIDI

Posted: Wed Dec 19, 2018 11:29 pm
by ZXDunny
Thanks! That is so much better than the wav2mid online converter I tried... Had to quantise the note starts and lengths somewhat, but that's pretty much spot on :)

Now I can convert from MIDI to SpecBAS PLAY commands!

Re: AY to MIDI

Posted: Wed Dec 19, 2018 11:39 pm
by Ast A. Moore
Yeah, many polyphonic pitch recognizing algorithms are thrown off by square waves for some reason (too many odd harmonics, maybe?). So, with such simple tunes you’ll get much more accurate results transcribing them by ear.

Re: AY to MIDI

Posted: Wed Dec 19, 2018 11:52 pm
by ZXDunny
Ast A. Moore wrote: Wed Dec 19, 2018 11:39 pm Yeah, many polyphonic pitch recognizing algorithms are thrown off by square waves for some reason (too many odd harmonics, maybe?). So, with such simple tunes you’ll get much more accurate results transcribing them by ear.
Yes, I write audio software professionally and have been working on just that problem.