Commit Graph

55 Commits

Author SHA1 Message Date
kevin
9acb24e9e1 Apply licensing information to project. 2024-12-01 14:35:24 -05:00
kevin
bad1d3953d cwFlow.h/cpp : Added user_callback_t args to create() and set_variable_user_id().
Also added _make_flow_to_ui_callback() to exec_cycle() to implement flow callbacks to the UI.
2024-10-14 14:20:13 -04:00
kevin
e5bff5cd9c cwFlow.h/cpp: Added ui_net(), _create_class_ui_desc() and set/get_variable_value() in terms of ui_var_t. 2024-10-12 15:29:39 -04:00
kevin
95f790c670 cwFlow.h/cpp, cwFlowTypes.h :
1. Implemented preset_count() and preset_label().
2. Added presetA[] and presetN to flow_t.
2. Broke out initialize() from create().
3. Initialize now takes the index of a top-level preset to be applied when network is instantiated.
2024-09-20 18:15:03 -04:00
kevin
49b4a1430f cwFlow,cwFlowNet,cwFlowTypes,cwFlowProc : 'poly' processor can now handle heterogeneous arrays of networks. 2024-09-17 16:33:26 -04:00
kevin
f98dd37e49 Changed all references to 'subnet' to 'user_def_proc' or UDP. 2024-09-16 13:43:52 -04:00
kevin
c55f7d34ec 1. caw program parameters are now in snake_case rather than camelCase.
2. Column headers are now printed for caw 'log' output.
3. The websocket LLL_NOTICE logs may now be turned off using the 'extraLogsFl'.
4. Changed the 'Number' processor to work with the 'feedback' example.
5. README.md updates.
2024-09-12 17:18:42 -04:00
kevin
c87fc2a9e4 cwFlowProc.h/cpp,cwFlow.cpp : Re-write of piano voice to handle new wave-table-bank format. 2024-08-02 13:35:59 -04:00
kevin
e5ec354ac4 cwFlow.cpp/cwFlowProc.h/cpp : Comment out 'piano_voice'. 2024-07-31 17:18:05 -04:00
kevin
daa4e2355c cwFlowProc.h/cpp,cwFlow.cpp,proc_dict.cfg : Added 'audio_silence'.
Added periodic console reporting from 'audio_meter'.
Added gain based termination to 'midi_voice'.
Added 'test_key_pitch' to 'piano_voice'.
2024-07-11 11:05:40 -04:00
kevin
6f2e93c538 cwFlowProc.h/cpp,cwFlow.cpp,flow/proc_dict.cfg : Implemented 'midi_split' and 'piano_voice'.
Added 'cfg_fname' parameter to 'list'.
2024-07-08 17:04:51 -04:00
kevin
ce8b9ebce4 cwFlow.cpp : exec_cylce() is not responsible for maintaining flow_t.cycleIndex and monitoring for early stopping via flow_t.maxCycleCount. 2024-07-04 17:02:45 -04:00
kevin
0515feb73a cwFlowProc.h/cpp : Added audio_marker,midi_file,midi_merge.
midi_out now has a non-mult input.
2024-07-03 14:27:08 -04:00
kevin
71917afabd cwFlowProc.h/cpp : Added 'midi_msg', and 'halt'. Rewrote 'number'.
Added 'delay_ms' to 'timer'.
Added 'upr_lim','lwr_lim', 'limit' to 'counter'.
'print' now only prints on recieving a 'eol' signal.
2024-07-01 10:34:31 -04:00
kevin
607447e84c cwFlow.h/cpp,cwFlowTypes.h : Split create() into two functions create() and intitialize() to allow the
audio device to be reconfigured after the sample rate and dspFrameCnt are parsed
from the program cfg.
2024-06-10 20:40:41 -04:00
kevin
e178cb5f70 cwFlow.h/cpp : Added is_non_real_time(). 2024-06-10 16:36:29 -04:00
kevin
0591f57b9b cwFlowProc : Added 'reg' and rewrote audio_mix. 2024-06-04 08:36:31 -04:00
kevin
a5a296c636 cwFlowProc.cpp : rewrote audio_split to use 'mult' inputs.
Deleted original `audio_merge` and renamed `poly_merge` to `audio_merge`.
Fixed `counter` to give expected modulo results.
2024-06-01 08:02:01 -04:00
kevin
bfac35faf6 cwFlow.cpp : Added 'durLimitSecs' flow system parameter. 2024-05-29 19:31:22 -04:00
kevin
8dde88f6fd Merge branch 'poly' of gitea.larke.org:kevin/libcw into poly
# Conflicts:
#	cwFlow.cpp
#	cwIoPresetSelApp.cpp
#	cwLex.cpp
#	cwLex.h
#	cwPresetSel.cpp
#	html/preset_sel/ui.cfg
2024-05-29 14:06:54 -04:00
kevin
91fad53d33 Added "#include cwTest.h" dependency to most *.cpp files. 2024-05-29 12:36:57 -04:00
kevin
973b1bdd32 cwFlow.cpp : Added the system parameter 'preset' to apply a network preset prior to network runtime. 2024-05-24 16:37:31 -04:00
kevin
07822a1c44 cwFlow,cwFlowNet,cwFlowTypes : Preset compile and rewrite of network_apply_preset() and network_apply_dual_preset().
Code complete but not fully tested.
2024-05-19 15:24:33 -04:00
kevin
4e0a6df98a cwFlow : create() now takes a 'proj_dir'. test() moved to cwFlowTest. 2024-05-09 22:05:22 -04:00
kevin
9f1339e517 cwFlow.cpp : maxCycleCnt=0 now means that the init pass should be run but not the runtime pass.
Setting maxCycleCnt to kInvalidCnt now removed cycle count limit.
2024-05-08 10:24:25 -04:00
kevin
172ada9fdd cwFlow.cpp : Made common parser for subnet and non-subnet var descriptions.
Renamed instance_t to proc_t.
2024-05-06 15:47:13 -04:00
kevin
e86451b7a2 cwFlow,cwFlowNet,cwFlowTypes,cwFlowProc : Initial working subnet. 2024-05-05 17:31:42 -04:00
kevin
19e054cd6b cwFlow,cwFlowDecl,cwIoPresetSelApp,cwPresetSel,ui.cfg : Added 'Dry Selected' option to cwIoPresetSelApp. 2024-05-04 18:22:07 -04:00
kevin
4ff1ec578e cwFlow,cwFlowDecls,cwIoPresetIo.cpp,cwPreset, ui.cfg : Added 'dry-priority' flag.
Added Preset,IO realtime, MRP report buttons.
Changed main window layout slightly.
2024-05-04 10:27:51 -04:00
kevin
040d902c6b Initial working version of poly_merge and xfade_ctl.
cwFlowNet._connect_vars() changed to cwFlowTypes.var_connect().
cwFlowTest._set_var_value_from_cfg() to cwFlowTypes.var_set_from_preset().
var_channelize() now connects matching channels when they are available.
Added type 'numeric'.
Updated proc_template() to automatically allocate and extract inst_t.
Added a system sample rate.
2024-05-02 13:59:19 -04:00
kevin
b57693f4e4 cwFlow,cwFlowNet,cwFlowTypes,cwFlowProc : Many changes.
Added ability to set types at proc instantiation time.
Added ability to have multi-type variables which get resolved at proc. instantiation time.
Added ability to proc 'log' attribute to print selected variables as they change.
Values are now coerced to the variable type in var_set().
Added new proc's : list,add,preset.
2024-04-30 19:58:10 -04:00
kevin
b4529aeb3f cwFlow.h.cpp : test() now takes a command line argument to select a particular test case.
'multi???Preset???Fl' in network cfg. are now optional.
2024-04-26 17:05:48 -04:00
kevin
1b649124a6 cwFlow*,cwPresetSel.cpp: Many changes to implement 'poly' networks.
cwFlowNet.h/cpp : Initial commit.
2024-04-22 16:02:40 -04:00
kevin
e49df496e6 cwFlow* : Added MIDI input and output devices to 'flow' framework. 2024-04-06 16:07:46 -04:00
kevin
36826a3b66 Replace use of {0} with {}, or replace partial initialization cases with complete initialization. 2024-03-25 10:46:45 -04:00
kevin
63faf6a6d2 cwFlow.cpp : comment out interpolation value print statement. 2024-03-09 15:10:46 -05:00
kevin
14a6a9b2d1 Multi-preset configurations flags 'kPriPresetProbFl,kSecPresetProbFl,kPresetInterpFl`
can now be used to configure preset application from the
cwIoPresetSelApp UI.
2024-02-18 08:41:19 -05:00
kevin
e4df1672ff cwFlow.h,cpp,cwFlowTypes.h,cwFlowDecl.h : Iniital working implementation of flow::apply_dual_preset()
to support preset interpolation.
2024-02-08 11:17:26 -05:00
kevin
2e2f57f45a cwFlow.h/cpp : Added apply_preset( handle_t, multi_preset_selector& )
and _select_ranked_ele_by_rank_prob().
2024-01-13 10:16:37 -05:00
kevin
190ead625f cwFlow.h/cpp : Argument object to test() now contains the name of the flow_proc_dict file rather than receiving it as a separate arg.. 2023-03-17 18:24:07 -04:00
kevin
892a7b06d9 cwFlowProc.h/cpp,cwFlow.cpp : Added 'audio_marker'. 2023-02-26 13:43:14 -05:00
kevin
2fc2f7f4b0 cwFlow.cpp : Fixed possible uninitialized pointer in create(). 2023-02-20 15:26:07 -05:00
kevin
9782c1b3c9 Added flow::get_variable_value() 2023-01-05 07:26:25 -05:00
kevin
c4b13d8dea cwFlow.cpp : Flow class descriptions now use a list of string tags as boolean attributes rather than individual fields. 2022-12-17 08:16:21 -05:00
kevin
859df98d12 cwDspTransforms.h/cpp,cwDspFlow.cpp,cwFlowProc.cpp : Added limiter and DC filter. 2022-12-05 17:21:54 -05:00
kevin
79022916fe cwFlow,cwFlowProc,cwFlowTypes: Changes to support proc's taking a variable count of numbered inputs. 2022-11-11 13:09:07 -05:00
kevin
a30dc30286 cwFlow.cpp : Comments added 2022-01-02 20:20:55 -05:00
kevin
33e1945ab4 cwFlow,cwFlowTypes : Changes to fix problems with communicating between connected variables.
Added _set_var_template(), _var_setter()
2021-12-29 21:52:46 -05:00
kevin
22e1222742 cwFlow.cpp : Added 'audio_duplicate' and 'balance'. 2021-12-27 20:25:18 -05:00
kevin
262d2202b0 cwFlow,cwFlowCross,cwIoFlow : Added set_variable_value().
Broke applyPreset() into two parts apply_preset() and begin_cross_fade().
2021-12-25 22:16:00 -05:00