typos
This commit is contained in:
parent
4f0b0ee9c2
commit
530024d0e4
20
README.md
20
README.md
@ -2,15 +2,15 @@
|
|||||||
## Multitrack exporter
|
## Multitrack exporter
|
||||||
---
|
---
|
||||||
|
|
||||||
## Despcription
|
## Description
|
||||||
|
|
||||||
- Exports patterns and projects individual audio tracks to seperate folders for use in your DAW.
|
- 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.
|
- Python cross plattform with single file binary for x86 linux.
|
||||||
|
|
||||||
## Using Packaged single file Binarys _(The easy way)_
|
## Using Packaged single file Binarys _(The easy way)_
|
||||||
|
|
||||||
- Executables reside in the folder `/dist/`
|
- Executables reside in the folder `/dist/`
|
||||||
- on WIndows
|
- on Windows
|
||||||
`underbridge.exe`
|
`underbridge.exe`
|
||||||
- On Linux:
|
- On Linux:
|
||||||
``./underbridge``
|
``./underbridge``
|
||||||
@ -20,17 +20,18 @@ Underbridge_alt was packaged on a different system. Might help if you run into p
|
|||||||
## Installation _(Less easy way)_
|
## Installation _(Less easy way)_
|
||||||
|
|
||||||
### Windows
|
### 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 mido : `pip install mido`
|
||||||
- install rt-midi: `pip isntall rt-midi`
|
- install rt-midi: `pip isntall rt-midi`
|
||||||
- install pipwin: `pip install pipwin`
|
- install pipwin: `pip install pipwin`
|
||||||
- install pyaudio `pipwin install pyaudio`
|
- 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`
|
- run `python underbridge.py`
|
||||||
|
|
||||||
### Ubuntu 20.10 LTS
|
### Ubuntu 20.10 LTS
|
||||||
|
|
||||||
`sudo apt install portaudio19-dev`
|
`sudo apt install portaudio19-dev`
|
||||||
`sudo apt install python3-tk`
|
`sudo apt install python3-tk`
|
||||||
@ -60,15 +61,10 @@ Underbridge_alt was packaged on a different system. Might help if you run into p
|
|||||||
- Select Porject and first Pattern you want to export on OP-Z.
|
- Select Porject and first Pattern you want to export on OP-Z.
|
||||||
- Enter name for the project. This is used for the folder structure
|
- Enter name for the project. This is used for the folder structure
|
||||||
- Get BPM from led code or Smartphone app.
|
- Get BPM from led code or Smartphone app.
|
||||||
- Enter BPM
|
- Enter BPM
|
||||||
- Enter longest Bar of you track (1-4)
|
- Enter longest Bar of you track (1-4)
|
||||||
- Enter the Nr. of Patterns your song consists of.
|
- Enter the Nr. of Patterns your song consists of.
|
||||||
- Optionally enter additional seconds at the end of the recording to capture reverb tails etc.
|
- Optionally enter additional seconds at the end of the recording to capture reverb tails etc.
|
||||||
- Select project mode
|
- Select project mode
|
||||||
- Select directory you want to record the waves to
|
- Select directory you want to record the waves to
|
||||||
- Click record and wait until finished.
|
- Click record and wait until finished.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
7
import pyaudio.py
Normal file
7
import pyaudio.py
Normal 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'))
|
Loading…
Reference in New Issue
Block a user