Commit Graph

500 Commits

Author SHA1 Message Date
kevin
5e90a9ff53 cwUi.cpp : Warn if the UI resource does not have a 'main' element. 2022-12-20 10:33:51 -05:00
kevin
49f1f8efcd README.md : Updates 2022-12-20 10:24:26 -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
3dcdfaa982 html/preset_sel/ui.cfg : Change insert location label. 2022-12-17 17:52:48 -05:00
kevin
cf024fe85d html/preset_sel/ui.js: Clear UI when socket disconnected. 2022-12-17 17:50:29 -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
06c5dd18b4 cwFileSys.cpp : vMakeVersionedFn() now has better error reporting. 2022-12-17 08:17:02 -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
1ea10e6d7f cwFile.h/cpp : backup() now takes an optional destination directory. 2022-12-17 08:14:40 -05:00
kevin
376684e3b5 cwLog.cpp : Fix bug where sysStr was printed on info level logs 2022-12-16 11:30:41 -05:00
kevin
12085730a5 README.md : Transfer and update libcw notes from cwtest/README.md 2022-12-16 11:30:07 -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
13bc47389b html/preset_sel/index.html, js/ui.js : The main app. div is now created rather than statically constructed.
Fixed bug where the values of numbers without min/max ranges were not updated correctly.
Fixed bug where elements with 'order' attribute were not ordered correctly when created.

Signed-off-by: kevin <kevin@larke.org>
2022-12-13 20:54:56 -05:00
kevin
f3aecb1177 cwIo.h/cpp : Added uiCreateFromRsrc(). 2022-12-13 16:53:31 -05:00
kevin
445c5d5076 cwUi.cpp: Received 'value' messages are now automatically reflected to other Websock sessions.
The idle message is now sent to the client only when no other message has been send for 'idle_delay_ms'.
Added createFromRsrc().
The resource object passed via create() is now duplicated and maintained for the life of the UI object.
2022-12-13 16:53:10 -05:00
kevin
f0e6a56a60 cwIo.h/cpp : Added optional synchronous callbacks for all sub-systems.
The UI is now automatically cleared in io::stop().
2022-12-13 13:27:32 -05:00
kevin
277323d1f8 Merge branch 'threadsafe_io' 2022-12-12 12:29:58 -05:00
kevin
d7e15df5c7 Merge branch 'master' of gitea.larke.org:kevin/libcw 2022-12-12 12:29:34 -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
231e8810fd html/preset_sel/ui.cfg : Layout and label changes. 2022-12-12 12:27:01 -05:00
kevin
fc379df197 cwPresetSel.h/cpp: Changed name of is_fragment_loc() to is_fragment_end_loc().
Fixed delete_fragment() to update 'end_loc' of previous frag. to 'end_loc' of deleted frag.
2022-12-12 12:26:26 -05:00
kevin
c13a03abe5 cwAudioTransforms.hcwFlowProc.cpp : Added 'bypassFl' and transform curve to specDist. 2022-12-12 12:25:00 -05:00
kevin
56f50f903c cwIoAudioMidi.cpp,cwIoMidiRecordPlay.cpp,cwIoMinTest.cpp : Updates to account for 'asyncFl' now implemented in cwIo API 2022-12-12 12:21:45 -05:00
kevin
f8dc859b87 cwIo.h/cpp : By default callbacks from cwIo are now synchronous. 2022-12-12 12:20:59 -05:00
kevin
d700a0e8b1 cwMutex.h/cpp : Added lock() with a timeout option. 2022-12-12 12:19:56 -05:00
kevin
a3b395df4a Merge branch 'master' of gitea.larke.org:kevin/libcw 2022-12-12 12:13:03 -05:00
kevin
b79e8e1948 cwTime.cpp : Slight efficiency improvement to advanceMs(). 2022-12-12 12:11:30 -05:00
kevin
f6ddb9f97f Merge branch 'master' of gitea.larke.org:kevin/libcw 2022-12-05 17:26:09 -05:00
kevin
a204e40694 cwIOPresetSelApp.cpp : Added kMeasId but no yet implemented. 2022-12-05 17:25:59 -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
b680d46487 cwPianoScore.h/cpp : Added loc_to_measure() and loc_to_next_note_on_measure() 2022-12-05 17:21:02 -05:00
kevin
6a9351b043 cwVectOps.h : Added filter() function 2022-12-05 17:20:26 -05:00
kevin
d034b87f51 Updates in preparation for variable length FT windows. 2022-12-05 17:19:58 -05:00
kevin
83884b5424 Merge branch 'master' of gitea.larke.org:kevin/libcw 2022-11-14 18:34:07 -05:00
kevin
f63280e9f8 cwLog.cpp : System errors now print the error number. 2022-11-14 18:32:52 -05:00
kevin
eb674c8411 cwIo.h/cpp : Added socketIsConnected(). 2022-11-14 18:32:32 -05:00
kevin
7b01e1aaec Merge branch 'master' of https://gitea.larke.org/kevin/libcw 2022-11-11 14:05:49 -05:00
kevin
e0f4873809 html/audio_midi/ui.cfg : Added mute buttons 2022-11-11 14:04:58 -05:00
kevin
b1cfeb814c cwIoMidiRecordPlay.cpp : Added dead-band and mute implementation. 2022-11-11 14:04:44 -05:00
kevin
7bcb001975 cwMidi.h : Added isSoftPedal() 2022-11-11 14:03:51 -05:00
kevin
7edcb3309d cwIoAudioMidiApp,cwIoAudioRecordPlay,cwIoMidiRecordPlay : Add 'mute' feature 2022-11-11 14:03:22 -05:00
kevin
df3a948608 cwFlowType.h/cpp : Convert fbuf_t binN and hopSmpN_V to vectors. 2022-11-11 13:51:06 -05:00
kevin
c1a0e7708b cwMidiAlsa.cpp : Added TODO comments. 2022-11-11 13:15:35 -05:00
kevin
c94556d4a1 cwCmInterface,cwScoreFollower : Initial commit. Not yet included in build. 2022-11-11 13:13:35 -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
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
3b050ab640 cwIoMidiRecordPlay.cpp : Fixed bug where sizeof file read was 0 in _am_file_read() 2022-11-11 11:52:59 -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
d8e4109baf cwIoMidiRecordPlay.h/cpp :Added send_midi_msg(). 2022-10-26 08:47:54 -04:00
kevin
4b65621c68 cwIoAudioMidiApp.cpp,cwIoMidiRecordPlay.h/cpp : Upgrades to cwIoAudioMidiApp. 2022-10-15 15:07:06 -04:00