Commit graph

30 commits

Author SHA1 Message Date
Quantum c8a835e83f Working touch support. 2016-02-14 16:26:49 -05:00
Quantum 0f297cfae3 Fixed up the corner cases. 2015-01-25 21:17:58 -05:00
Quantum 936219a3e9 Added adjustment support.
Can now play notes shifted by semitones, octaves, or in a different key
easily!
2015-01-24 19:38:30 -05:00
Quantum 84aa5620f8 Fixed repetition on Caps Lock. 2014-09-08 10:41:18 -04:00
Quantum 5c4df0131d Hid piano during resizing to avoid slowness, and flickering on Aero. 2014-08-12 16:13:43 -04:00
Quantum fa80eabdf4 Made Caps Lock hook work on XP. 2014-05-02 12:39:11 -04:00
Quantum cc84cf036d Mapped Caps Lock to a note, more regular layout of keys. 2014-04-27 12:46:39 -04:00
Quantum 913b852913 Carries the instrument across a device change. 2014-04-18 20:01:15 -04:00
Quantum ddc05c1171 Wrong label. 2014-04-18 19:47:00 -04:00
Quantum 5a4c6a962c Added MIDI device selection. 2014-04-18 19:30:24 -04:00
Quantum acd4b63dc0 Simplified modifier handling logic. Allowed chord of the same note across
octaves.
2014-04-18 14:54:46 -04:00
Quantum 663738493c Fixed DC eating 2014-04-14 20:51:57 -04:00
Quantum 2e1632d486 That bitmap caching never worked... 2014-04-14 20:21:32 -04:00
Quantum 9a7929a99e Added ESC to move focused control.
Fixed minor uninitialized variable.
2014-04-08 19:29:52 -04:00
Quantum b15645ed50 Proper note stopping in case of modifier releasing.
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2014-01-23 18:16:02 -05:00
Quantum 3b4ebc97fd Remapped key layout to support one octave increments. Makes playing pieces that makes extensive use of keys between old modifier boundaries MUCH easier.
Here are the modifier in octaves increased:
Ctrl+Shift: -2
Ctrl:       -1
(None):     0
Shift:      1
Alt:        2
Ctrl+Alt:   3
Shift+Alt:  4

Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-12-09 20:17:32 -05:00
Quantum 002f3bc3ea Added beeping support.
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-12-09 17:09:54 -05:00
Quantum e26053a8d0 One really needs a restart when he screws up.
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-09-12 19:31:05 -04:00
Quantum b3bdd04dd9 Added saving abilities.
Included parts of Steven Goodwin's "Steevs MIDI Library" to dump a MIDI file.

Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-09-12 19:10:54 -04:00
Quantum 5e6ad7506c Added mouse support.
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-09-09 18:14:14 -04:00
Quantum 8f38a97cb9 Using WinMain now, can you GCC stop complaining?
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-09-08 12:03:07 -04:00
Quantum cdc01a0aad HOW DARE YOU PICK ON MY CAPITALIZATION!!!
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-09-08 11:56:32 -04:00
Quantum ce10e9e9f2 How can I please you, O GCC?
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-09-08 11:54:49 -04:00
Quantum d971915275 Cleaned up window painting and fixed colours.
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-06-14 19:30:29 -04:00
Quantum 01ac5a541f Merge branch 'master' of github.com:xiaomao5/MusicKeyboard 2013-06-14 19:10:14 -04:00
Quantum a3b5334921 I didn't know that I deleted new[] arrays with delete.
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-06-14 19:10:01 -04:00
Quantum fd1419e9fb Update PianoControl.cpp
Removed debugging code.
2013-06-14 13:40:54 -03:00
Quantum 8a946ee58b Used a Piano control instead of a bitmap.
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-06-07 19:40:52 -04:00
Quantum 3f80ecd644 Fixed strange bug where music doesn't play when ran as taskbar pinned item.
Details: MapVirtualKeyEx(uiScan, MAPVK_VSC_TO_VK, hklQWERTY) returns 0 only when ran pinned, for reasons unknown.

Fix: If it returns 0, return original code. May not work for Dvorak.

Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-06-04 16:30:06 -04:00
Quantum be89fa7bf6 Initial Commit.
Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
2013-06-02 22:14:25 -04:00