Running Wave on Linux

Hi

I'm working on a ubuntu 20.04 machine and wanted to try out if Wave works for me. I managed to set up all the bluetooth stuff and actually see some data from https://github.com/genkiinstruments/genki-wave/blob/master/examples/run_midi.py looking like this:

❯ poetry run python examples/run_midi.py
pygame 2.1.2 (SDL 2.0.16, Python 3.8.10)
Hello from the pygame community. https://www.pygame.org/contribute.html
Make sure your Wave is connected to your computer as a midi device
0: interface b'ALSA', name b'Midi Through Port-0', opened 0 (output)
1: interface b'ALSA', name b'Midi Through Port-0', opened 0 (input)
2: interface b'ALSA', name b'VirMIDI 2-0', opened 0 (output)
3: interface b'ALSA', name b'VirMIDI 2-0', opened 0 (input)
4: interface b'ALSA', name b'Wave Bluetooth', opened 0 (output)
5: interface b'ALSA', name b'Wave Bluetooth', opened 0 (input)
Found input device: Wave Bluetooth - 5
Press any keyboard button to stop
P:    , Y:    , R:  34
P:    , Y:    , R:  34
P:    , Y:    , R:  35
P:    , Y:    , R:  35
P:    , Y:    , R:  36
P:    , Y:    , R:  37
P:    , Y:    , R:  38
P:    , Y:    , R:  40
P:    , Y:    , R:  41
P:    , Y:    , R:  43
P:    , Y:    , R:  46
P:    , Y:    , R:  50
P:    , Y:    , R:  54
P:    , Y:    , R:  60
P:    , Y:    , R:  66
P:    , Y:    , R:  73
P:    , Y:    , R:  81
P:    , Y:    , R:  90
P:    , Y:    , R:  99
P:    , Y:    , R: 111
P:    , Y:    , R: 122
P:    , Y:    , R: 127
P:    , Y:  63, R: 127
P:    , Y:  66, R: 127
P:  84, Y:  66, R: 127
P:  87, Y:  66, R: 127
P:  89, Y:  66, R: 127
P:  90, Y:  66, R: 127
P:  89, Y:  66, R: 127
P:  89, Y:  68, R: 127
P:  89, Y:  61, R: 127
P:  90, Y:  61, R: 127
P:  89, Y:  61, R: 127
P:  87, Y:  61, R: 127
P:  84, Y:  61, R: 127
P:  80, Y:  61, R: 127
P:  18, Y:  61, R: 127
P:  18, Y:  61, R:  20
P:  18, Y:  61, R:  15
P:  18, Y:  61, R:  15
P:  18, Y:  61, R:  13
P:  18, Y:  61, R:  15
P:  18, Y:  61, R:  19
P:  18, Y:  61, R:  24
P:  18, Y:  61, R:  29
P:  18, Y:  61, R:  29
P:  18, Y:  61, R:  31
P:  18, Y:  37, R:  31
P:  18, Y:  37, R:  28
P:  18, Y:  37, R:  25
P:  18, Y:  37, R:  20
P:  18, Y:  37, R:  15
P:  18, Y:  37, R:  10

I also see some data from alsa midi:

❯ aseqdump -p 128                                            
Waiting for data. Press Ctrl+C to end.
Source  Event                  Ch  Data
128:0   Pitch bend              0, value 28
128:0   Control change          0, controller 17, value 74
128:0   Control change          0, controller 18, value 65
128:0   Pitch bend              0, value -11
128:0   Control change          0, controller 17, value 75
128:0   Control change          0, controller 18, value 64
128:0   Pitch bend              0, value -78
128:0   Control change          0, controller 18, value 63
128:0   Pitch bend              0, value -140
128:0   Control change          0, controller 18, value 61

I created a virtual midi device like this:

sudo modprobe snd_virmidi midi_devs=1

and routed the wave data through this virtual device:

aconnect <wave bluetooth device id>:0 <virtual midi device id>:0

and I receive the MIDI data for CC in my DAW Bitwig.

I right now have a couple of problems:

  1. I can't get softwave to run using wine. Is there an alternative (dont care for UI) to setup the device? Or even better an idea how to get softwave run in wine?
  2. Bitwig only receives CC events, no pitch bend or pressure. However running the python script i see through movement i can cover the complete 3d space. Any idea how I can receive those other values?
  3. It seems the MIDI data i receive in bitwig from CC only covers about [0:0.7] of the possible CC domain while it should [-1:1]. Those values in brackets are normalized. I don't know the actual domains.

Would be nice to get some support. I already tried with enhanica neova but that didn't work at all and i'm optimistic I can make this run.

0

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post