muse-sequencer / muse

MusE is a digital audio workstation with support for both Audio and MIDI
https://muse-sequencer.github.io/
Other
644 stars 69 forks source link

Virtual Keyboard built in, utilising all querty keys for all octaves #1252

Open DevMonkeyTennis opened 10 months ago

DevMonkeyTennis commented 10 months ago

Does what it says on the tin, kind sir

terminator356 commented 10 months ago

Hi I just happened to be online now. But not running MusE at the moment. Can you clarify a bit more?

DevMonkeyTennis commented 10 months ago

Hi, I find the normal virtual keyboard faulty, with bad debouncing. And its annoying to set up. A built in virtual keyboard with an icon to invoke for synths and midi tracks is basically what i'm after, and one that plays all octaves utilitising all keys on the PC keyboard.

On Sat, Nov 25, 2023 at 5:25 AM Tim @.***> wrote:

Hi I just happened to be online now. But not running MusE at the moment. Can you clarify a bit more?

— Reply to this email directly, view it on GitHub https://github.com/muse-sequencer/muse/issues/1252#issuecomment-1826220177, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDF7W3GOIVMZUHHHG5UHZFLYGF6KZAVCNFSM6AAAAAA7Z3CUASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGIZDAMJXG4 . You are receiving this because you authored the thread.Message ID: @.***>

terminator356 commented 10 months ago

I think that's a fine idea.

Our virtual keyboard, found on the left side of our piano roll editor, was never designed to work with the PC keyboard. It was for clicking notes, and selecting which note's velocity graph is showing in a per-note velocity instrument (thus the two different colours on our keyboard).

Obviously, we can't just accept the PC keys. They are already being used for shortcuts and operations in the editors. I suggest a checkbox on the toolbar somewhere would activate 'PC-keyboard entry mode'. When checked, all PC keys go to the virtual keyboard, and are ignored by the editors or whatever else would normally have keyboard focus. For octaves... Seems we'd need some kind of octave switch or control, since there aren't enough keys on the PC keyboard. We would likely want the octave select-able by certain keyboard keys. F-keys perhaps.

In the meantime, there are several fine virtual keyboard applications. One of them could be run and connected to MusE, and the 'External Midi' and 'Step-Record' tool-buttons could be pressed in our editors if step recording is desired.

DevMonkeyTennis commented 10 months ago

Good ideas!

On Sat, Nov 25, 2023 at 6:52 AM Tim @.***> wrote:

I think that's a fine idea.

Our virtual keyboard, found on the left side of our piano roll editor, was never designed to work with the PC keyboard. It was for clicking notes, and selecting which note's velocity graph is showing in a per-note velocity instrument (thus the two different colours on our keyboard).

Obviously, we can't just accept the PC keys. They are already being used for shortcuts and operations in the editors. I suggest a checkbox on the toolbar somewhere would activate 'PC-keyboard entry mode'. When checked, all PC keys go to the virtual keyboard, and are ignored by the editors or whatever else would normally have keyboard focus. For octaves... Seems we'd need some kind of octave switch or control, since there aren't enough keys on the PC keyboard. We would likely want the octave select-able by certain keyboard keys. F-keys perhaps.

In the meantime, there are several fine virtual keyboard applications. One of them could be run and connected to MusE, and the 'External Midi' and 'Step-Record' tool-buttons could be pressed in our editors if step recording is desired.

— Reply to this email directly, view it on GitHub https://github.com/muse-sequencer/muse/issues/1252#issuecomment-1826233764, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDF7W3FFBUT3NRHQY4K7AQDYGGITFAVCNFSM6AAAAAA7Z3CUASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGIZTGNZWGQ . You are receiving this because you authored the thread.Message ID: @.***>

terminator356 commented 10 months ago

There are of course caveats. Our virtual keyboard is vertical. A horizontal one would show much more.

I have been meaning some day to provide a feature where our virtual keyboard lights up its keys when incoming midi notes are received.

Actually I recommend looking around for a virtual PC-keyboard synthesizer plugin. I bet there must be LV2 or VST2 plugins out there that specialize in this sort of thing. That way it's embedded and stored into the MusE song and no external VKB app is required. You would open this plugin as a MusE synthesizer track, because synths accept midi. Then using MusE's routing, route the midi-output from the synth track in to some midi track. Monitor and/or record arm the midi track and presto - professional quality virtual PC-keyboard input.

It should work I think. I think I got that correct. More caveats later...?