Moving PDAB to pdab

This commit is contained in:
Logan Cusano
2023-05-20 15:24:28 -04:00
parent 7fc61bbf2e
commit c882fb63d3
8 changed files with 311 additions and 0 deletions

11
Client/pdab/getDevices.py Normal file
View File

@@ -0,0 +1,11 @@
from NoiseGatev2 import AudioStream
print('Getting a list of devices')
list_of_devices = AudioStream().list_devices()
print("----- INPUT 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]}")