Aufgrund einer Wartung wird GitLab am 17.08. zwischen 8:30 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 17.08. between 8:30 and 9:00 am.

Making the switch between direct out and a BRIR convolution involved more...

Making the switch between direct out and a BRIR convolution involved more obvious for itaVA with RAVEN experimental script.
parent 2d5b0c70
%% Execute RAVEN demo
ita_raven_demo % will generate BRIR 'binaural'
%% Starts and prepares VA for experimental setup and exchanges binaural filters from an itaHRTF class
%% Exchange (variables prepared by itaVA_experimental_renderer_prepare)
%% Direct signal out without room (variables L and S prepared by itaVA_experimental_renderer_prepare)
dirac = ita_amplify( ita_generate_impulse, '-12dB' );
mStruct = struct;
mStruct.listener = L;
mStruct.source = S;
mStruct.ch1 = double( 1 ).timeData )'; % dirac left
mStruct.ch2 = double( 1 ).timeData )'; % dirac right
va.callModule( mod_id, mStruct );
%% Now execute RAVEN demo to aquire a BRIR
ita_raven_demo % will generate BRIR itaAudio object with name 'binaural'
%% Exchange BRIR
mStruct.ch1 = double( 1 ).timeData )';
mStruct.ch2 = double( 2 ).timeData )';
mRes = va.callModule( mod_id, mStruct )
mStruct.verbose = true;
va.callModule( mod_id, mStruct )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment