mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2026-04-18 12:33:34 +00:00
add support for midi devices.
midi example added. minor version bump
This commit is contained in:
19
README.md
19
README.md
@@ -519,6 +519,25 @@ vm.option.delay[4].set(30)
|
||||
|
||||
i, from 0 up to 4.
|
||||
|
||||
### Midi
|
||||
|
||||
The following properties are available:
|
||||
|
||||
- `channel`: int, returns the midi channel
|
||||
- `current`: int, returns the current (or most recently pressed) key
|
||||
|
||||
The following methods are available:
|
||||
|
||||
- `get(key)`: int, returns most recent velocity value for a key
|
||||
|
||||
example:
|
||||
|
||||
```python
|
||||
print(vm.midi.get(12))
|
||||
```
|
||||
|
||||
get() may return None if no value for requested key in midi cache
|
||||
|
||||
### Multiple parameters
|
||||
|
||||
- `apply`
|
||||
|
||||
Reference in New Issue
Block a user