mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2025-06-27 14:50:23 +01:00
Updated example script to be sure other params work, updated readme and changed channel number from 9 to 8
This commit is contained in:
parent
4953751c02
commit
fe1f4ee324
17
README.md
17
README.md
@ -292,6 +292,23 @@ example:
|
|||||||
vm.bus[3].eq.on = True
|
vm.bus[3].eq.on = True
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### Bus.EQ.Channel.Cell
|
||||||
|
|
||||||
|
The following properties are available.
|
||||||
|
|
||||||
|
- `on`: boolean
|
||||||
|
- `type`: int
|
||||||
|
- `f`: float
|
||||||
|
- `gain`: float
|
||||||
|
- `q`: quality
|
||||||
|
|
||||||
|
example:
|
||||||
|
|
||||||
|
```python
|
||||||
|
vm.bus[3].eq.channel[0].cell[2].on = True
|
||||||
|
vm.bus[3].eq.channel[0].cell[2].f = 5000
|
||||||
|
```
|
||||||
|
|
||||||
##### Bus.Modes
|
##### Bus.Modes
|
||||||
|
|
||||||
The following properties are available.
|
The following properties are available.
|
||||||
|
@ -23,14 +23,18 @@ def main():
|
|||||||
for i in channels_idx:
|
for i in channels_idx:
|
||||||
vm.bus[0].eq.channel[i].cell[0].on = True
|
vm.bus[0].eq.channel[i].cell[0].on = True
|
||||||
vm.bus[0].eq.channel[i].cell[0].f = 500
|
vm.bus[0].eq.channel[i].cell[0].f = 500
|
||||||
|
vm.bus[0].eq.channel[i].cell[0].gain = -10
|
||||||
vm.bus[0].eq.channel[i].cell[0].type = 3 # Should correspond to LPF
|
vm.bus[0].eq.channel[i].cell[0].type = 3 # Should correspond to LPF
|
||||||
|
vm.bus[0].eq.channel[i].cell[0].q = 10
|
||||||
|
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
vm.bus[0].eq.on = False
|
vm.bus[0].eq.on = False
|
||||||
for i in channels_idx:
|
for i in channels_idx:
|
||||||
vm.bus[0].eq.channel[i].cell[0].on = False
|
vm.bus[0].eq.channel[i].cell[0].on = False
|
||||||
vm.bus[0].eq.channel[i].cell[0].f = 50
|
vm.bus[0].eq.channel[i].cell[0].f = 50
|
||||||
|
vm.bus[0].eq.channel[i].cell[0].gain = 0
|
||||||
vm.bus[0].eq.channel[i].cell[0].type = 0
|
vm.bus[0].eq.channel[i].cell[0].type = 0
|
||||||
|
vm.bus[0].eq.channel[i].cell[0].q = 3
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
@ -90,7 +90,7 @@ class BananaMap(KindMapClass):
|
|||||||
asio: tuple = (6, 8)
|
asio: tuple = (6, 8)
|
||||||
insert: int = 22
|
insert: int = 22
|
||||||
composite: int = 8
|
composite: int = 8
|
||||||
channels: int = 9
|
channels: int = 8
|
||||||
cells: int = 6
|
cells: int = 6
|
||||||
|
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ class PotatoMap(KindMapClass):
|
|||||||
asio: tuple = (10, 8)
|
asio: tuple = (10, 8)
|
||||||
insert: int = 34
|
insert: int = 34
|
||||||
composite: int = 8
|
composite: int = 8
|
||||||
channels: int = 9
|
channels: int = 8
|
||||||
cells: int = 6
|
cells: int = 6
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user