Typo fix

parent d96efb4a
cmake_minimum_required( VERSION 2.8 )
cmake_minimum_required( VERSION 2.8 )
project( VAMatlab )
list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
......@@ -119,7 +119,7 @@ if( ITA_VAMATLAB_POSTBUILD_CREATE_MATLAB_CLASS )
set( MATLAB_BUILD_CLASS_COMMAND "matlab -nodisplay -nosplash -nodesktop -r \"run( 'matlab/VA_build_absolute.m' )\"" )
add_custom_command( TARGET VAMatlab POST_BUILD COMMAND ${MATLAB_BUILD_CLASS_COMMAND} WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" COMMENT "Running matlab VA installer" VERBATIM )
else( )
message( STATUS "To make the VA convenience class available, after deploy, please run the 'matlab/VA_build.m' ccript once in Matlab. It will generate the VA.m class file in the matlab folder." )
message( STATUS "To make the VA convenience class available, after deploy, please run the 'matlab/VA_build.m' script once in Matlab. It will generate the VA.m class file in the matlab folder." )
endif( )
if( EXISTS "matlab/VA.m" )
......
......@@ -10,7 +10,7 @@
% mechanism ('enumerate_functions')
%
va_base_dir = 'D:/Users/stienen/dev/VA/dist/win32-x64.vc12'; % VA folder with bin, lib, matlab, data etc.
va_base_dir = 'D:/Users/stienen/dev/VA/dist/win32-x64.vc14'; % VA folder with bin, lib, matlab, data etc.
va_script_dir = fullfile( va_base_dir, 'matlab' ); % Matlab scripts target directory
va_bin_dir = fullfile( va_base_dir, 'bin' );
va_lib_dir = fullfile( va_base_dir, 'lib' );
......
%% VA connect
va = VA
va.connect
%% Ambient mixer renderer
rends = va.get_rendering_modules();
rend_id = rends( 1 ).id;
rend_params = va.get_rendering_module_parameters( rend_id, struct() )
assert( rend_params.SamplerEnabled )
assert( rend_params.Sampler.NumChannels >= 4 )
%% Ambient sampler update
s = struct();
s.NewTrack = 4; % 4 channel track
s.SampleFilePath = 'ITA_FrontYard_BFormat.wav';
va.set_rendering_module_parameters( rend_id, struct( 'sampler', s ) )
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