Skip to content

Commit 530024d

Browse files
committed
typos
1 parent 4f0b0ee commit 530024d

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
## Multitrack exporter
33
---
44

5-
## Despcription
5+
## Description
66

77
- Exports patterns and projects individual audio tracks to seperate folders for use in your DAW.
88
- Python cross plattform with single file binary for x86 linux.
99

1010
## Using Packaged single file Binarys _(The easy way)_
1111

12-
- Executables reside in the folder `/dist/`
13-
- on WIndows
12+
- Executables reside in the folder `/dist/`
13+
- on Windows
1414
`underbridge.exe`
1515
- On Linux:
1616
``./underbridge``
@@ -20,17 +20,18 @@ Underbridge_alt was packaged on a different system. Might help if you run into p
2020
## Installation _(Less easy way)_
2121

2222
### Windows
23-
- Install Python 3.9 if not already 3.10 seems to cause problems
23+
24+
- Install Python 3.9 if not already, 3.10 seems to cause problems.
2425
- install mido : `pip install mido`
2526
- install rt-midi: `pip isntall rt-midi`
2627
- install pipwin: `pip install pipwin`
2728
- install pyaudio `pipwin install pyaudio`
2829

29-
<!-- Activate OP-Z device input in sound settings of windows and make it default -->
30+
**Activate OP-Z device input in sound settings of windows and make it default**
3031

3132
- run `python underbridge.py`
3233

33-
### Ubuntu 20.10 LTS
34+
### Ubuntu 20.10 LTS
3435

3536
`sudo apt install portaudio19-dev`
3637
`sudo apt install python3-tk`
@@ -60,15 +61,10 @@ Underbridge_alt was packaged on a different system. Might help if you run into p
6061
- Select Porject and first Pattern you want to export on OP-Z.
6162
- Enter name for the project. This is used for the folder structure
6263
- Get BPM from led code or Smartphone app.
63-
- Enter BPM
64+
- Enter BPM
6465
- Enter longest Bar of you track (1-4)
6566
- Enter the Nr. of Patterns your song consists of.
6667
- Optionally enter additional seconds at the end of the recording to capture reverb tails etc.
6768
- Select project mode
6869
- Select directory you want to record the waves to
6970
- Click record and wait until finished.
70-
71-
72-
73-
74-

import pyaudio.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import pyaudio
2+
p = pyaudio.PyAudio()
3+
info = p.get_host_api_info_by_index(0)
4+
numdevices = info.get('deviceCount')
5+
for i in range(0, numdevices):
6+
if (p.get_device_info_by_host_api_device_index(0, i).get('maxInputChannels')) > 0:
7+
print("Input Device id ", i, " - ", p.get_device_info_by_host_api_device_index(0, i).get('name'))

0 commit comments

Comments
 (0)