Updating experimental scripts for binaural and RAVEN

parent 8290d91e
%% 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
itaVA_experimental_start_server
itaVA_experimental_renderer_prepare
%% Execute RAVEN demo
ita_raven_demo % will generate BRIR 'binaural'
%% Exchange (variables prepared by itaVA_experimental_renderer_prepare)
mStruct = struct;
mStruct.listener = L;
......
......@@ -15,6 +15,6 @@ myhrir.pf
mStruct = struct;
mStruct.listener = L;
mStruct.source = S;
mStruct.ch1 = myhrir.ch( 1 ).timeData;
mStruct.ch2 = myhrir.ch( 2 ).timeData;
mStruct.ch1 = double( myhrir.ch( 1 ).timeData )';
mStruct.ch2 = double( myhrir.ch( 2 ).timeData )';
mRes = 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