Add files via upload
authorFrançois Grondin <Francois.Grondin2@USherbrooke.ca>
Mon, 3 Jul 2017 19:25:22 +0000 (15:25 -0400)
committerGitHub <noreply@github.com>
Mon, 3 Jul 2017 19:25:22 +0000 (15:25 -0400)
config/azimut3_open.cfg [new file with mode: 0644]
config/interfaces.ios [new file with mode: 0644]

diff --git a/config/azimut3_open.cfg b/config/azimut3_open.cfg
new file mode 100644 (file)
index 0000000..cae2a63
--- /dev/null
@@ -0,0 +1,281 @@
+# Configuration file for Azimut 3 - Open Microphone Array Configuration
+
+version = "2.0";
+
+# Raw
+
+raw: 
+{
+
+    fS = 16000;
+    hopSize = 128;
+    nChannels = 16;
+
+}
+
+# Mapping
+
+mapping:
+{
+    
+    map: (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16);
+
+}
+
+# General
+
+general:
+{
+    
+    epsilon = 1E-20;
+
+    size: 
+    {
+        hopSize = 128;
+        frameSize = 256;
+    };
+    
+    samplerate:
+    {
+        mu = 16000;
+        sigma2 = 0.01;
+    };
+
+    speedofsound:
+    {
+        mu = 343.0;
+        sigma2 = 25.0;
+    };
+
+    mics = (
+        
+        # Microphone 1
+        { 
+            mu = ( +0.060, +0.060, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },
+
+        # Microphone 2
+        { 
+            mu = ( +0.117, +0.049, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },
+
+        # Microphone 3
+        { 
+            mu = ( +0.000, +0.043, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },
+
+        # Microphone 4
+        { 
+            mu = ( +0.049, +0.117, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },
+
+        # Microphone 5
+        { 
+            mu = ( +0.043, +0.000, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );        
+        },
+
+        # Microphone 6
+        { 
+            mu = ( +0.117, -0.049, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );        
+        },
+
+        # Microphone 7
+        { 
+            mu = ( +0.060, -0.060, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },
+
+        # Microphone 8
+        { 
+            mu = ( +0.049, -0.117, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );        
+        },
+
+        # Microphone 9
+        { 
+            mu = ( -0.060, -0.060, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },
+
+        # Microphone 10
+        { 
+            mu = ( -0.117, -0.049, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },
+
+        # Microphone 11
+        { 
+            mu = ( +0.000, -0.043, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },        
+
+        # Microphone 12
+        { 
+            mu = ( -0.049, -0.117, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },         
+
+        # Microphone 13
+        { 
+            mu = ( -0.043, +0.000, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },  
+
+        # Microphone 14
+        { 
+            mu = ( -0.117, +0.049, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },       
+
+        # Microphone 15
+        { 
+            mu = ( -0.060, +0.060, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        },  
+
+        # Microphone 16
+        { 
+            mu = ( -0.049, +0.117, +0.000 ); 
+            sigma2 = ( +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000, +0.000 );
+            direction = ( +0.000, +0.000, +1.000 );
+            angle = ( 80.0, 90.0 );
+        }  
+        
+    );
+
+};
+
+# Sound Source Localization
+
+ssl:
+{
+
+    nPots = 4;
+    nMatches = 10;
+    probMin = 0.5;
+    nRefinedLevels = 1;
+    gainMin = 0.25;
+    nThetas = 181;
+
+    # Number of scans: level is the resolution of the sphere
+    # and delta is the size of the maximum sliding window
+    # (delta = -1 means the size is automatically computed)
+    scans = (
+        { level = 2; delta = -1; },
+        { level = 4; delta = -1; }
+    );
+
+};
+
+# Sound Source Tracking
+
+sst:
+{  
+
+    # Mode is either "kalman" or "particle"
+
+    mode = "particle";
+
+    # Parameters used by both the Kalman and particle filter
+
+    active = (
+        { weight = 1.0; mu = 0.30; sigma2 = 0.0025 }
+    );
+
+    inactive = (
+        { weight = 1.0; mu = 0.10; sigma2 = 0.0025 }
+    );
+
+    sigmaR2_prob = 0.0025;
+    sigmaR2_active = 0.0225;
+    Pfalse = 0.1;
+    Pnew = 0.1;
+    Ptrack = 0.8;
+
+    theta_new = 0.9;
+    N_prob = 5;
+    theta_prob = 0.8;
+    N_inactive = ( 150, 200, 250, 250 );
+    theta_inactive = 0.9;
+
+    # Parameters used by the Kalman filter only
+
+    kalman: {
+
+        sigmaQ = 0.01;
+        
+    }
+   
+    # Parameters used by the particle filter only
+
+    particle: {
+
+        nParticles = 1000;
+        st_alpha = 2.0;
+        st_beta = 0.04;
+        st_ratio = 0.5;
+        ve_alpha = 0.05;
+        ve_beta = 0.2;
+        ve_ratio = 0.3;
+        ac_alpha = 0.5;
+        ac_beta = 0.2;
+        ac_ratio = 0.2;
+        Nmin = 0.7;
+
+    }
+
+}
+
+# Sound source separation
+
+sss: {
+   
+    nThetas = 181;
+    gainMin = 0.01;
+
+}
+
+# Sound source post-filtering
+
+sspf: {
+    
+    nThetas = 181;
+    gainMin = 0.01;
+
+}
\ No newline at end of file
diff --git a/config/interfaces.ios b/config/interfaces.ios
new file mode 100644 (file)
index 0000000..3498814
--- /dev/null
@@ -0,0 +1,58 @@
+# Input
+
+input:
+{
+   
+    raw: { type = "file"; path = "in.raw"; format = "bin16"; }
+
+};
+
+# Output:
+
+output:
+{
+    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"; }
+    );
+
+    mapping:
+    (
+#        { type = "file"; path = "recorded_mapping_16.raw"; format = "bin16"; },
+#        { type = "file"; path = "recorded_mapping_32.raw"; format = "bin32"; }
+    );
+
+    resample:
+    (
+#        { type = "file"; path = "recorded_resample_16.raw"; format = "bin16"; },
+#        { type = "file"; path = "recorded_resample_32.raw"; format = "bin32"; }
+    );
+
+    stft:
+    (
+        { type = "file"; path = "recorded_stft.bin"; format = "float"; }
+    );
+
+    ssl:
+    (
+        { type = "file"; path = "potential.bin"; format = "float"; }
+    );
+
+    sst:
+    (
+        { type = "file"; path = "tracked.bin"; format = "float"; }
+    )
+
+    sss:
+    (
+        { type = "file"; path = "separated_stft.bin"; format = "float"; }
+    )
+
+    sspf:
+    (
+        { type = "file"; path = "postfiltered_stft.bin"; format = "float"; }
+    )
+
+}
\ No newline at end of file