ValleyBell / SMPSPlay

A player for SMPS files, a format commonly used in Sega MegaDrive games.
37 stars 6 forks source link

Configurable SMPS stream #1

Closed Xeeynamo closed 9 years ago

Xeeynamo commented 9 years ago

I've implemented a way to enable/disable each channel of both chips during playback. Plus, from the config.ini, it's now possible to decide how samples to play for each second and the bit of each sample.

ValleyBell commented 9 years ago

Thanks for these nice features!

One question though: The channel toggling code checks for the char codes '1' and 0x61 for example. Is the 0x61 supposed to handle the numpad 1? If so, then there is no need for it. _getch() returns an ASCII key code, not a virtual key code. That means it returns '1' for both, VK_KEY_1 and VK_NUMPAD1.

Xeeynamo commented 9 years ago

Thank to you for your great SMPSPlay, SMPS to MIDI and all this cool stuff that I discovered through SonicRetro :) Yes, they was supposed to be the vkeycodes of numpad, I didn't know that they was already normalized from _getch().