12 lines
507 B
Python
12 lines
507 B
Python
from NoiseGatev2 import AudioStream
|
|
|
|
print('Getting a list of devices')
|
|
list_of_devices = AudioStream().list_devices()
|
|
print("----- INPUT DEVICES -----")
|
|
print("----- *You will likely want to pick from one of these devices* -----")
|
|
for inputDevice in list_of_devices['Input']:
|
|
print(f"{inputDevice}\t-\t{list_of_devices['Input'][inputDevice]}")
|
|
|
|
print("----- OUTPUT DEVICES -----")
|
|
for outputDevice in list_of_devices['Output']:
|
|
print(f"{outputDevice}\t-\t{list_of_devices['Output'][outputDevice]}") |