Configuration added for the XMOS microphone array
authorFrancoisGrondin <francois.grondin2@usherbrooke.ca>
Sat, 23 Sep 2017 14:42:57 +0000 (10:42 -0400)
committerFrancoisGrondin <francois.grondin2@usherbrooke.ca>
Sat, 23 Sep 2017 14:42:57 +0000 (10:42 -0400)
config/xmos.cfg
config/xmos.ios

index f4e6f026145f6053a8bc811ee8886b5047e8141a..c7067be0b6c526b4aececec89065fd374f37f148 100644 (file)
@@ -7,7 +7,7 @@ version = "2.0";
 raw: 
 {
 
-    fS = 48000;
+    fS = 44100;
     hopSize = 512;
     nChannels = 8;
 
@@ -37,7 +37,7 @@ general:
     
     samplerate:
     {
-        mu = 48000;
+        mu = 44100;
         sigma2 = 0.01;
     };
 
@@ -129,6 +129,7 @@ ssl:
     nRefinedLevels = 1;
     gainMin = 0.25;
     nThetas = 181;
+    interpRate = 1;
 
     # Number of scans: level is the resolution of the sphere
     # and delta is the size of the maximum sliding window
index 6468334444b289073b73a1e49c84c334e8ab5c2b..10edbe04c06e7036fc5370fd06892360d5f93465 100644 (file)
@@ -4,7 +4,7 @@ input:
 {
    
     #XMOS Device, 32bits.
-    raw: { type = "soundcard"; card = 1; device = 0; format = "bin32"; }
+    raw: { type = "soundcard"; card = 3; device = 0; format = "bin32"; }
 
 };
 
@@ -13,70 +13,30 @@ input:
 output:
 {
 
-#No raw output for now...
-    raw:
-    (
-#        { type = "file"; path = "recorded_raw_16.raw"; format = "bin16"; }
-         { type = "file"; path = "recorded_raw_32.raw"; format = "bin32"; }
-#        { type = "file"; path = "recorded_raw_24.raw"; format = "bin24"; }
-    );
-
-#Mapped signals only.
-    mapping:
-    (
-#        { type = "file"; path = "recorded_mapping_16.raw"; format = "bin16"; }
-#        { type = "file"; path = "recorded_mapping_32.raw"; format = "bin32"; }
-    );
-
+    # No raw output for now...
+    raw: ();
 
-#Resampled signals output (debug)
-    resample:
-    (
-#        { type = "file"; path = "recorded_resample_16.raw"; format = "bin16"; }
-#        { type = "file"; path = "recorded_resample_32.raw"; format = "bin32"; }
-    );
-
-#Fourier transforms (debug)
-    stft:
-    (
-#        { type = "file"; path = "recorded_stft.bin"; format = "float"; }
-    );
+    # For debug purpose, leave empty.
+    mapping: ();
+    resample: ();
+    stft: ();
 
+    # Sound Source Localization Results
+    ssl: ();
 
-#Sound Source Localization 
-    ssl:
-    (
-#odas_web output (localization, pots)
-        { type = "socket"; ip = "127.0.0.1"; port = 9001; format = "json"; }
-    );
-#odas_web output (tracking)
+    # Sound Source Tracking Results
     sst:
     (
-        { type = "socket"; ip = "127.0.0.1"; port = 9000; format = "json"; }
+        { type = "terminal"; format = "json"; }
     );
 
-#odas_web (separated, before post-filtering, not used frequency domain)
-    sss:
-    (
-#        { type = "file"; path = "separated_stft.bin"; format = "float"; }
-    );
+    # For debug purpose, leave empty.
+    sss: ();
+    sspf: ();
+    istft: ();
 
-#odas_web (post-filtered, not used, frequency domain)
-    sspf:
-    (
-#        { type = "file"; path = "postfiltered_stft.bin"; format = "float"; }
-    );
-
-#inverse fourier transform
-    istft:
-    (
-#        { type = "file"; path = "separated_16.raw"; format = "bin16"; }
-    )
-
-#separated stream with gain
-    playback:
-    (
-#        { type = "file"; path = "playback_16.raw"; format = "bin16"; }    
-    )
+    # Separated signal, for now leave empty.
+    playback: ();
 
 }
+