From: Yoel Ramos Date: Fri, 13 Apr 2018 00:33:11 +0000 (-0400) Subject: update sound setup and add socket interfaces X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=0d05cdcfa8c0926826239bc87f8c17d347d0becb;p=yn%2Fyn-odas.git update sound setup and add socket interfaces --- diff --git a/config/matrix_voice.cfg b/config/matrix_voice.cfg index fae1d2a..f29f297 100644 --- a/config/matrix_voice.cfg +++ b/config/matrix_voice.cfg @@ -1,4 +1,4 @@ -# Configuration file for MatrixIO voice Raspberry Pi shield +# Configuration file for MATRIX Voice Raspberry Pi shield version = "2.1"; @@ -14,8 +14,9 @@ raw: # Input with raw signal from microphones interface: { - type = "soundcard_name"; - devicename = "8channel_voice"; + type = "soundcard"; + card = 2; + device = 0; } } @@ -171,10 +172,11 @@ ssl: # Output to export potential sources potential: { - format = "undefined"; - + format = "json"; interface: { - type = "blackhole"; + type = "socket"; + ip = ""; + port = 9001; }; }; @@ -251,8 +253,9 @@ sst: format = "json"; interface: { - type = "file"; - path = "tracks.txt"; + type = "socket"; + ip = ""; + port = 9000; }; }; @@ -315,9 +318,10 @@ sss: nBits = 16; interface: { - type = "file"; - path = "separated.raw"; - }; + type = "socket"; + ip = ""; + port = 10000; + } }; @@ -329,9 +333,10 @@ sss: gain = 10.0; interface: { - type = "file"; - path = "postfiltered.raw"; - }; + type = "socket"; + ip = ""; + port = 10010; + } };