[HELP] Multiple keys pressed at once?

Multimedia Builder

[HELP] Multiple keys pressed at once?

Postby rikintosh » Tue Jan 02, 2018 5:59 pm

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: 8
Joined: Sun Aug 06, 2017 6:58 pm

Re: [HELP] Multiple keys pressed at once?

Postby dgilmour » Wed Jan 03, 2018 4:54 pm

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.
Posts: 540
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko

Return to MMB

Who is online

Users browsing this forum: No registered users and 1 guest