This commit is contained in:
Thomas Herrmann 2022-03-30 21:45:20 +02:00
parent 4f0b0ee9c2
commit 530024d0e4
2 changed files with 15 additions and 12 deletions

View File

@ -2,7 +2,7 @@
## Multitrack exporter
---
## Despcription
## Description
- Exports patterns and projects individual audio tracks to seperate folders for use in your DAW.
- Python cross plattform with single file binary for x86 linux.
@ -10,7 +10,7 @@
## Using Packaged single file Binarys _(The easy way)_
- Executables reside in the folder `/dist/`
- on WIndows
- on Windows
`underbridge.exe`
- On Linux:
``./underbridge``
@ -20,13 +20,14 @@ Underbridge_alt was packaged on a different system. Might help if you run into p
## Installation _(Less easy way)_
### Windows
- Install Python 3.9 if not already 3.10 seems to cause problems
- Install Python 3.9 if not already, 3.10 seems to cause problems.
- install mido : `pip install mido`
- install rt-midi: `pip isntall rt-midi`
- install pipwin: `pip install pipwin`
- install pyaudio `pipwin install pyaudio`
<!-- Activate OP-Z device input in sound settings of windows and make it default -->
**Activate OP-Z device input in sound settings of windows and make it default**
- run `python underbridge.py`
@ -67,8 +68,3 @@ Underbridge_alt was packaged on a different system. Might help if you run into p
- Select project mode
- Select directory you want to record the waves to
- Click record and wait until finished.

7
import pyaudio.py Normal file
View File

@ -0,0 +1,7 @@
import pyaudio
p = pyaudio.PyAudio()
info = p.get_host_api_info_by_index(0)
numdevices = info.get('deviceCount')
for i in range(0, numdevices):
if (p.get_device_info_by_host_api_device_index(0, i).get('maxInputChannels')) > 0:
print("Input Device id ", i, " - ", p.get_device_info_by_host_api_device_index(0, i).get('name'))