Commit Graph

877 Commits

Author SHA1 Message Date
kevin
0d644c9281 cwIoMidiRecordPlay.cpp : Change the location where p->ioH is initialized in create() to guarantee that it is valid in _destroy(). 2023-01-30 19:23:42 -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
141bd8da73 cwIoMidiRecordPlay.cpp : _stop() now checks p->startedFl before executing stop actions.
This prevents multiple kPlayerStoppedActionId's from being sent to app.

seek() now calls _midi_state_clear() instead of _stop(). This fixes problem which
prevented preset sequencing in app.
2023-01-21 11:39:01 -05:00
kevin
3e4230bf5d cwIoMidiRecordPlay.cpp : Added delay after every damper pedal up to ensure that the strings are fully damped prior to the next damper down. 2023-01-14 17:17:19 -05:00
kevin
748bf9ab44 cwTime.h/cpp : Added advanceMicros(). 2023-01-14 17:15:55 -05:00
kevin
4039613124 cwIoMidiRecordPlay.cpp : Added use of midi_state_t to handle correct seeking and stopping. 2023-01-14 13:38:18 -05:00
kevin
85cf41d8d8 README.md : Updates 2023-01-14 13:36:19 -05:00
kevin
bebd8111f4 cwPianoScore.cpp : Fix typo in event_to_string() output format. 2023-01-14 13:35:37 -05:00
kevin
eb25cfe36a README.md : Updates 2023-01-08 14:18:22 -05:00
kevin
dd3a2f586f cwAudioTransforms.h:Call basic mode w/ knee. 2023-01-08 14:18:11 -05:00
kevin
9a1e306791 cwDsp.h: Initial implementation of ampl_to_db() and db_to_ampl() 2023-01-08 14:17:15 -05:00
kevin
451a7d246e cwAudioTransforms.h: Call _cmSpecDist2BasicMode_WithKnee() 2023-01-08 14:13:34 -05:00
kevin
430feeed7c cwDspType.h : Set fd_real_t to float. 2023-01-08 14:12:45 -05:00
kevin
8c43021040 cwVectOps.h : Update comment. 2023-01-08 14:12:11 -05:00
kevin
64f7d8dead cwFlowTypes.h : Added comments 2023-01-07 09:27:36 -05:00
kevin
4b03f4777f cwIoPresetSelApp.cpp,html/preset_sel/ui.cfg : Add audio meters. 2023-01-05 07:31:49 -05:00
kevin
11636a3f43 Added audio_meter and cwIo and flow support for metering.
Also updated spec_dist,pv_anl, pv_syn to use fd_real_t.
2023-01-05 07:30:57 -05:00
kevin
9782c1b3c9 Added flow::get_variable_value() 2023-01-05 07:26:25 -05:00
kevin
b9e01aa288 Introduced fd_real_t to allow fbuf_t internal data vectors to be type double. 2023-01-05 07:24:07 -05:00
kevin
c9e4745d3e README.md : Updates 2023-01-05 07:13:53 -05:00
kevin
242038c556 README.md : Updates 2022-12-27 18:11:01 -05:00
kevin
c693eab091 cwIo.cpp : stop() now calls stop the thread machine. 2022-12-27 18:10:26 -05:00
kevin
cbaff98964 Allow frequency domain transforms to have a variable window sample count.
Audio file in processor now has a 'seekSecs' and 'onOffFl' parameter.
Audio mixer now works as a stereo mixer.
PV Analysis proc now can have variable window length.
2022-12-27 18:09:31 -05:00
kevin
a2f459c5fb cwIoMidiRecordPlay.cpp : Add chord based dynamics scaling. 2022-12-22 15:52:49 -05:00
kevin
21697d8e82 cwIo.cpp : Fix some benign uninitialized variables. 2022-12-22 15:29:00 -05:00
kevin
15e60b429e cwMiidi.h,cwMidiFile.h/cpp,cwPianoScore.cpp : cwMidi.isNoteOn() now takes the message velocity value as well as the status. 2022-12-22 15:27:30 -05:00
kevin
9d704cf77a cwFlowCross.cpp,cwFlowTypes.cpp, cwSvg.cpp : Fix some benign uninitialized values. 2022-12-22 15:25:54 -05:00
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