diff --git a/tools/test/audio/std_utils/fr_test_input.m b/tools/test/audio/std_utils/fr_test_input.m index fc9b1b74d..c2ea782f7 100644 --- a/tools/test/audio/std_utils/fr_test_input.m +++ b/tools/test/audio/std_utils/fr_test_input.m @@ -61,9 +61,9 @@ end fprintf('Using parameters Fmax=%.1f kHz, Fs=%.1f, ch=%d, Nch=%d, bits_in=%d\n', ... test.f_max/1e3, test.fs/1e3, test.ch, test.nch, test.bits_in); -pid = getpid(); -test.fn_in = sprintf('fr_test_in_%d.%s', pid, test.fmt); -test.fn_out = sprintf('fr_test_out_%d.%s', pid, test.fmt); +id = floor(rand(1,1) * 1e6); +test.fn_in = sprintf('fr_test_in_%d.%s', id, test.fmt); +test.fn_out = sprintf('fr_test_out_%d.%s', id, test.fmt); test.f_ref = 997; test.f_min = 20; diff --git a/tools/test/audio/std_utils/g_test_input.m b/tools/test/audio/std_utils/g_test_input.m index 822cf0e0d..7a24282e9 100644 --- a/tools/test/audio/std_utils/g_test_input.m +++ b/tools/test/audio/std_utils/g_test_input.m @@ -48,9 +48,9 @@ for ch = test.ch test.fs/1e3, test.bits_in, ch, test.nch); end -pid = getpid(); -test.fn_in = sprintf('g_test_in_%d.%s', pid, test.fmt); -test.fn_out = sprintf('g_test_out_%d.%s', pid, test.fmt); +id = floor(rand(1,1) * 1e6); +test.fn_in = sprintf('g_test_in_%d.%s', id, test.fmt); +test.fn_out = sprintf('g_test_out_%d.%s', id, test.fmt); test.f = 997; diff --git a/tools/test/audio/std_utils/thdnf_test_input.m b/tools/test/audio/std_utils/thdnf_test_input.m index 39869d78e..addaa9703 100644 --- a/tools/test/audio/std_utils/thdnf_test_input.m +++ b/tools/test/audio/std_utils/thdnf_test_input.m @@ -47,9 +47,9 @@ for ch = test.ch test.f_start, test.f_end, test.fs/1e3, test.bits_in, ch, test.nch ); end -pid = getpid(); -test.fn_in = sprintf('thdnf_test_in_%d.%s', pid, test.fmt); -test.fn_out = sprintf('thdnf_test_out_%d.%s', pid, test.fmt); +id = floor(rand(1,1) * 1e6); +test.fn_in = sprintf('thdnf_test_in_%d.%s', id, test.fmt); +test.fn_out = sprintf('thdnf_test_out_%d.%s', id, test.fmt); noct = ceil(log(test.f_end/test.f_start)/log(2)); % Max 1 octave steps test.f = logspace(log10(test.f_start),log10(test.f_end), noct); diff --git a/tools/test/audio/test_utils/chirp_test_input.m b/tools/test/audio/test_utils/chirp_test_input.m index 89b2861e5..47491d587 100644 --- a/tools/test/audio/test_utils/chirp_test_input.m +++ b/tools/test/audio/test_utils/chirp_test_input.m @@ -69,8 +69,9 @@ fprintf('Using parameters Fs=%.1f, bits_in=%d', test.fs/1e3, test.bits_in); fprintf(', ch=%d', test.ch ); fprintf(', Nch=%d\n', test.nch ); -test.fn_in = sprintf('chirp_test_in.%s', test.fmt); -test.fn_out = sprintf('chirp_test_out.%s', test.fmt); +id = floor(rand(1,1) * 1e6); +test.fn_in = sprintf('chirp_test_in_%d.%s', id, test.fmt); +test.fn_out = sprintf('chirp_test_out_%d.%s', id, test.fmt); %% Chirp parameters