Commit Graph

59 Commits

Author SHA1 Message Date
kevin
66c1f08c16 Merge branch 'dev' of gitea.larke.org:kevin/libcw into dev 2024-04-06 16:08:07 -04:00
kevin
7d3be5ebc6 cwIoPresetSelApp.cpp, ui.cfg : Add 'RT' and 'Hw' reports buttons. 2024-04-06 15:41:59 -04:00
kevin
97da536504 cwIoPresetSelApp.cpp : beg_loc,end_loc is now applied to midi player from meta.cfg on file load. 2024-03-30 18:01:08 -04:00
kevin
d5f75f961c Added 'timeOutMs' arg. to all calls to ui::ws::exec(). 2024-03-28 19:48: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
2d0c59a8fa cwIoPresetSelApp.cpp,cwPresetSel.h/cpp,ui.cfg,cwFlowDecl.h : Added 'Allow All' for uniform prob. preset selection. Add 'loc location' flag to UI. 2024-03-09 15:12:56 -05:00
kevin
1b8c9f9b6c cwIoPresetSelApp.cpp : Remove extra sleep time from main loop, because cwWebSock now blocks inside io::exec(). 2024-02-24 15:42:31 -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
742fc05e81 Renamed cwMidiPort.h/cpp to cwMidiDevice.h/cpp.
cwMidiDecls.h midi::msg_t now breaks out MIDI channel from status and has a new user 'uid' field to link the msg to an external entity.
Renamed midi::packet_t. cbDataPtr to cbArg.
midi::packet_t.cbFunc_t is now included in cwMidiDecls.h.
Other files effected: cwIo.cpp,cwIoAudioMidi.cpp,cwIoPresetSelApp.cpp
2024-02-14 11:15:02 -05:00
kevin
57f3d06f37 cwIoPresetSelApp.cpp,cwIo.h/cpp,cwMidiPort.h,cwMidiAlsa.cpp :
Added audio and MIDI latency reporting implementation.
2024-02-10 11:34:06 -05:00
kevin
42882c2e3d cwIoPresetSelApp.cpp :
1.Changed name of variable app->scoreH to app->perfScore.h.
2. Now sets coeffMin/MaxV in flow::multi_preset_selector_t.
2024-02-08 11:25:38 -05:00
kevin
40840286cf cwIoPresetSelApp.cpp : Replaced call to io_flow::apply_preset(h,preset_label) with call to io_flow::apply_preset(h,multi_preset_selector_t). 2024-01-13 10:21:06 -05:00
kevin
019d0d530b cwIoPresetSelApp.cpp : The app loop now only sleep for a fraction of 50ms depending on how long the app spent in io::exec(). 2024-01-06 08:57:24 -05:00
kevin
ca53e712a6 cwIoPresetSelApp.cpp : Allow audio output to be disabled by deactivating all the audio devices in the .cfg file. 2023-12-30 11:09:46 -05:00
kevin
7ba28465c8 cwScoreParse.h,cwPresetSel.cpp,cwIOPresetSelApp.cpp : Added global constant score_parse:kInvalidLocId. 2023-12-17 08:51:46 -05:00
kevin
5ee85365ee cwPreset,cwIoPresetSelApp.cpp : cwIoPresetSelApp now distinguishes between the min/max score and perf. locations.
Added get_loc_range() to cwPreset.
2023-12-05 15:34:25 -05:00
kevin
5bbd3d0e08 cwPresetSel, cwIoPresetSelApp : Added 'alt' functionality. 2023-12-03 11:20:38 -05:00
kevin
e24b5b43b2 cwIoPresetSellApp.cpp : Performance measurements are now provided via _midi_callback() via the 'msg_arg' argument - which points to a cwPianoScore::event_t.
The 'load'' menu is now loaded via cfg perfDirL:[]
2023-11-26 15:43:52 -05:00
kevin
f68e98082c cwIoPresetSelApp.cpp : Changes to support use of cwSfScore. 2023-09-12 20:32:38 -04:00
kevin
4c8ac89fd7 cwIoPresetSelApp.cpp, ui.cfg : Added _set_vel_table() to load vel. tables from _do_load().
Velocity tables are now set in the cfg. 'perfDirL' array.
Allow score follower to be disabled.
2023-06-27 17:53:04 -04:00
kevin
a7dbec54ee cwIoPresetSelApp.cpp : Pass fname with load menu directory from cfg. 2023-05-27 16:49:09 -04:00
kevin
d1352801b9 cwIoPresetApp.cpp: Create 'load' menu from directories given in the 'cfg' file. 2023-05-27 16:01:17 -04:00
kevin
dcfa97d320 cwIoPresetSelApp: Added functionality to support performance recording and playback. 2023-05-25 16:16:21 -04:00
kevin
e6412b2538 cwIoPresetSelApp.cpp, preset_sel/ui.cfg : Replace load button with load menu. 2023-05-16 18:22:56 -04:00
kevin
9c996f26ad cwIoPresetSelApp.cpp : Moved score follower processing into _get_loc_from_score_follower(). 2023-05-09 08:24:46 -04:00
kevin
f3803fefd0 cwIoPresetSelApp.cpp : Added use of a system wide sample rate.
Initial integration of score follower.
2023-04-30 21:22:49 -04:00
kevin
6c97b62d6f cwIoPresetSelApp.cpp : Added use of cwVelTableTuner 2023-03-20 19:41:58 -04:00
kevin
a01f7e8185 cwIoPresetSelApp.cpp : Updates to support audio file playback. 2023-02-26 13:44:54 -05:00
kevin
a523b03ea9 cwIo.h/cpp : Replaced use of flow proc audioFileIn with audioDevFile() enable/seek API. 2023-02-19 14:18:53 -05:00
kevin
b5172afc5f cwIoPresetSelApp.cpp : disable app_t.audioFileSrcFl 2023-02-14 21:04:30 -05:00
kevin
59647d4e58 cwIoPresetSelApp.cpp : Fix formatting problems. 2023-01-30 19:35:28 -05:00
kevin
cb192f32cb cwIoPresetSelApp.cpp, cwPresetSel.h/cpp: Fix problem where correct preset was not selected when playing outside the currently selected fragment.
Added p->sel_frag_id to track last frag. triggered so that fragment_play_preset_index()
selects correct preset for fragments outside of the currently selected fragment
when play-all or play-seq.
2023-01-21 11:49:07 -05:00
kevin
4b03f4777f cwIoPresetSelApp.cpp,html/preset_sel/ui.cfg : Add audio meters. 2023-01-05 07:31:49 -05:00
kevin
53c98c2d69 cwIoPresetSelApp.h/cpp - pass in command line args from cwtest to change certain cfg. parameters. Insert loc. now identifies begin of segment instead of end 2022-12-17 17:54:39 -05:00
kevin
0e68bb0233 cwIoPresetSelApp.cpp : Added automatic backup to 'save' function.
Remove 'frag_panel' field from cfg since 'frag_panel' is now included in 'ui.cfg' resource.
2022-12-17 08:18:05 -05:00
kevin
644c57458d cwIoPresetSelApp.cpp,ui.cfg: various fixes to correctly handle beg/endPlayLoc interface.
Fragment UI template is now read from html/preset_sel/ui.cfg.
2022-12-13 20:58:06 -05:00
kevin
1342248172 cwIoPresetSelApp.cpp : Removed use of 'end_loc' and UI 'chanId'.
Fragment delete now correctly updates UI.
2022-12-12 12:28:27 -05:00
kevin
a204e40694 cwIOPresetSelApp.cpp : Added kMeasId but no yet implemented. 2022-12-05 17:25:59 -05:00
kevin
39a7c1d5d8 cwIoPresetSelApp.cpp: Updates to support reading and applying beg/endPlayLoc from the .cfg file 2022-11-11 13:11:44 -05:00
kevin
714817bfb6 cwIoPresetSelApp.h/cpp : 'flow_proc_dict' is now read from an external file. Added 'live' option to select a preset while streaming live audio. 2022-10-26 08:49:30 -04:00
kevin
84a3c3ceff cwIoPresetSelApp.cpp : Advance preset tracker (cwPresetSel) using score 'loc' rather than timestamp. 2022-10-15 09:23:58 -04:00
kevin
bdfeecf064 cwIoPresetSelApp.cpp : Added use of preset_sel::track_loc(). Prevent disply of loc value 0. 2022-10-01 18:54:06 -04:00
kevin
92af6e4110 cwIoPresetSelApp.cpp : Comment out half-pedal test code. 2022-08-27 16:11:44 -04:00
kevin
f5ce96dcd2 cwIoPresetSelApp.cpp : Update fragment button enable to include 'play seq' and 'play all' buttons. 2022-05-21 12:35:28 -04:00
kevin
a408e14096 cwIoPresetSelApp.cpp : Completed preset sequence player. 2022-05-21 11:22:53 -04:00
kevin
b6a0ce94b9 cwIoPresetSelApp.cpp : Initial (incomplete) preset sequence player implementation. 2022-05-21 09:29:03 -04:00
kevin
09517f2653 cwIoPresetSelApp.cpp: Expand 'scoreFn' and 'record_dir' args.
Prevent first fragment from being played when MIDI player stops.
2022-05-14 10:19:18 -04:00
kevin
bd43bd7e30 cwIoPresetSelApp.cpp : Allow re-loading without restarting program. Add seeking by 'location'. 2022-05-06 16:11:51 -04:00
kevin
20f631afc5 cwIoMidiREcordPlay,cwIoPresetSelApp : Updated to include half-pedal experimentation procedure, and separate velocity tables for each MIDI device. 2022-03-20 10:27:46 -04:00
kevin
a6ca7b789d cwIoPresetSelApp.cpp : Added controls for printing MIDI, enabling disabling piano and sampler output, sync delay, global wet/dry control. 2022-01-22 09:55:17 -05:00