[HELP] Multiple keys pressed at once?

Multimedia Builder (Legacy Forum)
Post Reply
Posts: 8
Joined: Sun Aug 06, 2017 6:58 pm

[HELP] Multiple keys pressed at once?

Post by rikintosh »

My idea would be to make a program for my younger brother to play, using wav sounds, like a yamaha music keyboard, but I can not press more than one key at the same time, which makes chords impossible, (the longer you press the key, the longer the sound should last) but this does not occur.

I thought "logically" in a loop script that would "detect" all the time if any key was pressed, and if it was, it would play the corresponding sound, and run a second script to detect if any other key was pressed, to make a musical chord


Posts: 531
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko

Re: [HELP] Multiple keys pressed at once?

Post by dgilmour »

This could be done with a plugin responding to the WM_KEYDOWN and the WM_KEYUP messages, but I'm not sure if such plugin exists.

Post Reply