From: FrancoisGrondin Date: Sat, 23 Sep 2017 14:42:57 +0000 (-0400) Subject: Configuration added for the XMOS microphone array X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=8dec9bfae4f8164067ed15df0e4d80076abe0ad2;p=yn%2Fyn-odas.git Configuration added for the XMOS microphone array --- diff --git a/config/xmos.cfg b/config/xmos.cfg index f4e6f02..c7067be 100644 --- a/config/xmos.cfg +++ b/config/xmos.cfg @@ -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 diff --git a/config/xmos.ios b/config/xmos.ios index 6468334..10edbe0 100644 --- a/config/xmos.ios +++ b/config/xmos.ios @@ -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: (); } +