fix respeaker 6-mic array config for sockets
authorMichael Fatemi <myfatemi04@gmail.com>
Thu, 27 Jan 2022 04:52:44 +0000 (23:52 -0500)
committerMichael Fatemi <myfatemi04@gmail.com>
Thu, 27 Jan 2022 04:52:44 +0000 (23:52 -0500)
re6_sockets.cfg

index e039c11e4ec0a1f7b4a4a4e08472654526cd91ad..32c4d6b9e4300889a4b98240292c1e221829798a 100644 (file)
@@ -10,14 +10,14 @@ raw:
 
     fS = 16000;
     hopSize = 128;
-    nBits = 32;
+    nBits = 16;
     nChannels = 8; 
 
     # Input with raw signal from microphones
     interface: {
         type = "socket";
-        ip = "192.168.0.9";
-        port = 9000;
+        ip = "192.168.0.243";
+        port = 12346;
 
         # type = "soundcard";
         # card = 1;
@@ -31,7 +31,8 @@ raw:
 mapping:
 {
 
-    map: (1, 2, 3, 4, 5, 6);
+    # 5 and 6 are skipped for some reason
+    map: (1, 2, 3, 4, 7, 8);
 
 }
 
@@ -166,15 +167,17 @@ ssl:
     # Output to export potential sources
     potential: {
 
-        format = "undefined";
-        # format = "json";
+        # format = "undefined";
+        # interface: {
+        #     type = "blackhole";
+        # }
 
+        format = "json";
         interface: {
-            type = "blackhole";
-            # type = "socket"; ip = "127.0.0.1"; port = 9001;
+            # type = "terminal";
+            type = "socket"; ip = "172.25.112.1"; port = 9001;
         };
 
-
     };
 
 };
@@ -246,15 +249,17 @@ sst:
     # Output to export tracked sources
     tracked: {
 
-        format = "undefined";
-        # format = "json";
+        # format = "undefined";
+        # interface: {
+        #     type = "blackhole";
+        # }
 
+        format = "json";
         interface: {
-            type = "blackhole";
-            # type = "socket"; ip = "127.0.0.1"; port = 9000;
+            # type = "terminal";
+            type = "socket"; ip = "172.25.112.1"; port = 9000;
         };
 
-
     };
 
 }