Commit Graph

740 Commits

Author SHA1 Message Date
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
kevin
3c79433145 cwIoMidiRecordPlay.cpp: Added velocity histogram and 'force damper down' logic. 2022-10-15 09:26:35 -04:00
kevin
137e0994d3 cwPresetSel.cpp : Prevent track_loc() from going backwards to a previous 'loc'. 2022-10-15 09:24:53 -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
a4a6d21b13 cwUi.cpp : Fix problem in _get_msg_from_recv_buffer() where shift amount could exceed the elements in the buffer. 2022-10-08 12:50:22 -04:00
kevin
f82c440e33 Merge branch 'master' of gitea.larke.org:kevin/libcw 2022-10-01 19:05:22 -04:00
kevin
582b05b503 cwMidiFile.h/cpp : Added _testBatchConvert() and 'printWarningFl' in genCsvFile(). 2022-10-01 19:03:23 -04:00
kevin
5b3b6ab3cb cwIoMidiRecordPlay.cpp : am_to_midi_file() verify file exists. 2022-10-01 19:00:33 -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
e2cab402ee cwPresetSel.h/cpp : Added track_loc() and track_loc_reset(). 2022-10-01 18:52:12 -04:00
kevin
4f96ac3131 cwIoMidiRecordPlay.cpp : Added 'quiet_flag' to turn off logging of out of range pedal velocites. 2022-10-01 18:51:30 -04:00