# This file contains example commands to be used with the shell interface

COMMANDS

	load	- load a file
	save	- saves to a file
	param   - receives a parameter
	close   - closes to TUI

SETTING PARAMETERS

You need to specify the parameter number (1 to n), parameter type
(double, string) and parameter value (depends on the type).

RUNNING IT

Getting a hang of the system can be done by using a simple test
function. This system creates a monophonic delay module that has three
parameters. These parameters can be edited via the command line. 

cd $MUSTAJUURI_PATH/src/mjmodules/

make dmain

./$PLATFORM/dmain  --test_tui
./$PLATFORM/dmain  --debug --test_tui

EXAMPLES

Here are some example commands that cane be used within the
already-mentioned test function in Mustajuuri

Some of the next commands give an illegal value for the parameter, the
system should automatically limit them to acceptable range.

ALL OF THIS *MAY BE* OUTDATED

load popo.mj
param 1 double -25431
param 1 double 250
param 2 double 1.77 
param 2 double 0.3
param 3 double 0.7
save popo2.mj
close

THE CODE

The most important files are:

in src/mj:

mj_module_dsp_tui_default.h
mj_module_dsp_tui_default.C
mj_module_dsp_tui.h
mj_module_dsp_tui.C
mj_module_dsp_ui.h
mj_module_dsp_ui.C

in src/mjmodule:

mj_module_monodelay.h
mj_module_monodelay.C
main.C
