-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1) Extended the starter project in alignment with the wiki tutorial
- Loading branch information
1 parent
bd354d3
commit 90294c3
Showing
7 changed files
with
110 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
sources/sub-projects/ayfstarter/sources/Applications/ayfstarter-qt/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...s/ayfstarter/sources/Components/AudioNodes/ayfAuNStarter/matlab-in/jvx_init_callback.m.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
function [hdl] = jvx_init_callback(hObject_parent, handle_parent) | ||
hdl.parent_object = hObject_parent; | ||
hdl.parent_handle = handle_parent; | ||
|
||
% Add local processing path | ||
global jvx_work_path; | ||
jvx_work_path = '@JVX_LOC_MAT_PATH_PROJECT@'; | ||
addpath(jvx_work_path); | ||
|
||
disp('<jvx_init_callback>: Setting path to use local matlab function in project stored at @JVX_LOC_MAT_PATH_PROJECT@'); | ||
|
38 changes: 38 additions & 0 deletions
38
...s/ayfstarter/sources/Components/AudioNodes/ayfAuNStarter/scripts/windows/start_mat.bat.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@ECHO OFF | ||
|
||
REM ================================================================ | ||
REM ================================================================ | ||
set SYSTEM_JVX_MEX_PATH='%CD%/matlab/' | ||
set SYSTEM_JVX_MATLAB_PATH={'%CD%/matlab/m-files' '%CD%/matlab/m-files/subprojects-audionode' '%CD%/matlab/m-files/audioProperties' '%CD%/matlab/m-files/profiling' '@JVX_MATLAB_ORIGIN_PATH@'} | ||
set SYSTEM_JVX_MATLAB_DEMO={'Realtime Processing: jvxHost(''rt-audio'', ''--config'', ''%CD%/ayfstarter-mat.jvx'', ''--jvxdir'', ''%CD%/jvxComponents'');';'Offline Processing: jvxHost(''off-audio'', ''--config'', ''%CD%/ayfstarter-mat.jvx'', ''--jvxdir'', ''%CD%/jvxComponents'')'} | ||
set COMMAND_SCRIPTING='jvxHost(''off-audio'', ''--config'', ''%CD%/ayfstarter-mat.jvx'', ''--jvxdir'', ''%CD%/jvxComponents'');' | ||
set PATH=%PATH%;%CD%/bin | ||
|
||
IF "%~1"=="" GOTO no_extra_matpath | ||
GOTO extra_precommand | ||
:no_extra_matpath | ||
set JVX_MATLAB_START_MATPATH= | ||
set JVX_MATLAB_START_COMMAND=jvx_start_rtproc | ||
GOTO cont_extra_precommand | ||
:extra_precommand | ||
set JVX_MATLAB_START_MATPATH=addpath %~1; | ||
|
||
IF "%~2"=="" GOTO no_extra_startcommand | ||
GOTO extra_startcommand | ||
:no_extra_startcommand | ||
set JVX_MATLAB_START_COMMAND=jvx_start_rtproc | ||
GOTO cont_extra_startcommand | ||
:extra_startcommand | ||
set JVX_MATLAB_START_COMMAND=%~2 | ||
:cont_extra_startcommand | ||
|
||
:cont_extra_precommand | ||
|
||
|
||
set JVX_MATLAB_START_ARGUMENT="%JVX_MATLAB_START_MATPATH% global jvx; jvx = %JVX_MATLAB_START_COMMAND%(%SYSTEM_JVX_MEX_PATH%, %SYSTEM_JVX_MATLAB_PATH%, %SYSTEM_JVX_MATLAB_DEMO%, '%CD%', [], %COMMAND_SCRIPTING%);" | ||
|
||
REM ================================================================ | ||
REM Start Matlab | ||
REM ================================================================ | ||
echo start "Jvx" "@MATLAB_PATH_CONFIG@/bin/matlab" -desktop -r %JVX_MATLAB_START_ARGUMENT% | ||
start "Jvx" "@MATLAB_PATH_CONFIG@/bin/matlab" -desktop -r %JVX_MATLAB_START_ARGUMENT% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...projects/ayfstarter/sources/Components/AudioNodes/ayfAuNStarter/target/componentEntry.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters