update sound setup and add socket interfaces
authorYoel Ramos <yoelrc88@gmail.com>
Fri, 13 Apr 2018 00:33:11 +0000 (20:33 -0400)
committerYoel Ramos <yoelrc88@gmail.com>
Fri, 13 Apr 2018 00:33:11 +0000 (20:33 -0400)
config/matrix_voice.cfg

index fae1d2a0b1636982d6f2efa4997d68d59c566770..f29f297b6f4d716ebf44f28849c21f77b235481b 100644 (file)
@@ -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 = "<IP>";
+            port = 9001;
         };
 
     };
@@ -251,8 +253,9 @@ sst:
         format = "json";
 
         interface: {
-            type = "file";
-            path = "tracks.txt";
+            type = "socket";
+            ip = "<IP>";
+            port = 9000;
         };
 
     };
@@ -315,9 +318,10 @@ sss:
         nBits = 16;        
 
         interface: {
-            type = "file";
-            path = "separated.raw";
-        };        
+            type = "socket";
+            ip = "<IP>";
+            port = 10000;
+        }        
 
     };
 
@@ -329,9 +333,10 @@ sss:
         gain = 10.0;
 
         interface: {
-            type = "file";
-            path = "postfiltered.raw";
-        };        
+            type = "socket";
+            ip = "<IP>";
+            port = 10010;
+        }  
 
     };