S
S
Sergey2015-10-23 12:26:29
linux
Sergey, 2015-10-23 12:26:29

Is it possible to convert a MIDI signal into a keypress signal from the keyboard (linux)?

With the release of the game Before The Echo (Sequence) under Linux, such an idea arose. The bottom line is that this is a rhythm game, and, as I thought, playing a rhythm game is much more interesting if you connect some kind of MIDI device. I don't know how this can be achieved. But the main idea is that the X-server (well, the game, respectively) perceives a signal from MIDI (the corresponding note, for example) as pressing a certain key on the keyboard. Can you suggest some solutions? Maybe something has already been invented in this regard?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alejandro Esquire, 2015-10-23
@A1ejandro

Technically, it is absolutely feasible, but has anyone been involved in a specific implementation. unclear. I recently took an inexpensive "children's" synthesizer, it can be a midi keyboard. Connects via USB. Connecting and putting firewood is easy. But to make the midi-keyboard "type" some symbols of a regular keyboard, and to be able to reassign these keys - ....... you need to experiment, look, figure it out ...... The game itself does not support midi by default -devices?

A
Anymorficus, 2015-01-01
@Anymorficus

A couple of months ago I implemented a similar or neighboring device - a midi controller on Arduino.
Buttons and knobs were connected - the arduino read their readings, encoded them into a midi protocol and sent them to the usb port.
On the computer there was a program that broadcast signals from the arduino port to a virtual midi port.
And then the music software working in midyashny pieces of iron.
It was done for a friend and entertainment, so the arduino worked through a software crutch, and not like a usb-midi.
According to your assignment, only one question: why on a computer with a connected keyboard to fence a garden - "a signal from MIDI is like pressing a key on the keyboard", isn't it easier where you need to press a key on the keyboard and where you need to play on the midi keyboard?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question