Commit Graph

416 Commits

Author SHA1 Message Date
kevin
9d6ac977aa Changed cmGr,cmGrPlot,cmGrPlotAudio to better handle events.
Rewrote cmGr.c::cmGrEvent()
Callback cmGrIsInsideObj() now must evaluate both if the mouse point is
inside the object and also if the object can handle the event. This
allows the actual plot object which can handle an event to be identified
by cmGrEvent().

_cmGrPlotObjEvent() still needs to be updated to account for these changes.
2012-12-17 20:54:37 -08:00
kevin
2fddbbb745 cmGrPlotAudio.c Fixed bug which caused audio files that went out of view on zoom to be redrawn in their pre-zoom position. 2012-12-17 14:49:54 -08:00
kevin
64831fef9f Changes to phasor and wavetable DSP objects to correct problem with phase use in the wavetable.
The phasor value must be limited to a max value - the size of the wave table
otherwise the resolution of the phasor object phase counter eventually
diminishes due to the increasing value of the integer part of the
floating point value.  This will result in distortion in the wave table
output because the phase value will not increment reliably.
2012-12-17 12:58:05 -08:00
kevin
0fcfebb1cd cmDspKr.c Changes to _cmDspMidiFilePlaySeekMsgIdx() and _cmDspMidiFilePlayExec() to validate MIDI file handle prior to using it. 2012-12-17 12:53:41 -08:00
kevin
6122fff8c9 cmDspPgm.c Added _cmDspSysPgm_AvailCh() testing function. 2012-12-17 12:48:59 -08:00
kevin
a659c4a2bf cmDspFx.h/c Initial code for cmAvailCh DSP object. 2012-12-17 12:47:44 -08:00
kevin
2b6c5327c6 cmDspClass.h/c Added DSP object variables set/get for types cmReal_t and cmSample_t. 2012-12-17 12:46:45 -08:00
kevin
4c86711cb0 cmGrPlot.h/c Added comments. 2012-12-17 12:45:45 -08:00
kevin
e9c4d0edd2 Many changes to add score/performance feedback to GUI 2012-12-13 15:38:45 -08:00
kevin
4c8b5915ad cmProc4.h/c Added cmScTrk object. 2012-12-13 08:46:48 -08:00
kevin
befd3deeee cmMidiFile.c Fixed absolute time calc. bug in cmMidiFileTickToSamples(). 2012-12-11 14:03:00 -08:00
kevin
698f987558 cmProc4.h/c Major score-follower development. 2012-12-03 17:18:50 -08:00
kevin
d45fd52660 cmScore.h/c Major changes and additions to implement score attribute sets and score sections. 2012-12-03 17:17:55 -08:00
kevin
ad22aa1110 cmPrefs.h/c Added cmPrefsInit() as wrapper around cmPrefsInitialize(). 2012-12-03 17:16:41 -08:00
kevin
a0dcef606d cmDspPgmKr.c Load time-line program static information from the pgm resource file. 2012-12-03 17:14:27 -08:00
kevin
cf13708864 cmDspBuiltin.c Include cmShiftBufClassCons in process list. 2012-12-03 17:13:09 -08:00
kevin
3a5ab6f36c cmDspKr.c MIDI file player now emits time tag. Changes related to score follower development 2012-12-03 17:12:09 -08:00
kevin
7aa3599d27 cmJson.c Fixed bug in _cmJsonFindPathValue() (np==rp) and logic error in cmJsonBoolValue() 2012-12-03 17:10:26 -08:00
kevin
5fe66b872a cmFileSys.h/c Added cmFileSysAppName(). 2012-12-03 17:08:22 -08:00
kevin
36430c0d0a cmCsv.c Included some input file line numbers in some error message. 2012-12-03 17:07:47 -08:00
kpl
24bcde77ac cmProc4.h/c cmDspKr.c Score follower tweeking. 2012-11-27 14:20:54 -08:00
kpl
d7578b9866 cmDspBuiltIn.c Added useThreadFl to WaveTable DSP Object.
useThreadFl allows the background file loading thread to be enabled and disabled.
2012-11-27 14:19:41 -08:00
kpl
85e4bd0d18 Deleted cmOp.h/c 2012-11-26 23:14:28 -08:00
kpl
deaf96e725 cmDspPgmKr.c Many changes to _cmDspSysPgm_TimeLine(). 2012-11-26 23:13:22 -08:00
kpl
6334b34d2c Removed use of cmOp.h/c. Added features to DSP WaveTable object.
Added VECT_OP_FUNC()'s MultSumVVS() and SquaredSum().

DSP Wavetable object now transmits 'done' after last sample of the
last loop and provides running output of the current audio file
index via 'fidx'.
2012-11-26 23:12:33 -08:00
kpl
22d8ab1918 cmProc4.c Fixed bug where cmScFolFinal() did not delete p->edWndMtx. 2012-11-26 23:08:12 -08:00
kpl
f0e00c3d37 cmDspKr.h/c Added Score Object added Time-line cursor. 2012-11-26 23:07:22 -08:00
kpl
d32c47be4c cmMidiFile.h/c _cmMidiFileClose() is now called by cmMidiFileOpen() on the incoming handle. 2012-11-26 23:03:35 -08:00
kpl
fdf1a7c15a cmGrPlot.h/c Added cmGrPlotObjParent/XAnchor/YAnchor(). 2012-11-26 23:02:02 -08:00
kpl
9e62a78a59 Removed cmOp.h/c 2012-11-26 23:00:20 -08:00
kpl
e1fcbfea28 Added cmAudDspLocalSendSetup() and cmAudDspSendSetup() 2012-11-24 10:32:25 -08:00
kpl
fd40c2a213 cmMem: Added cmThPtrCAS() to allow mutlithread alloc. 2012-11-23 21:29:30 -08:00
kpl
b7191065bb cmMidiFile: Debug Note duration calculation 2012-11-23 21:27:50 -08:00
kpl
59cbd9c297 cmTimeLine:Release p->seq[] in finalize to prevent leak 2012-11-23 21:16:49 -08:00
kpl
6b445b0f9d cmThread:Added cmThPtrCAS() 2012-11-23 21:16:02 -08:00
kpl
186cabcf32 cmGrPageLayout() now returns bool. 2012-11-20 22:51:13 -08:00
kevin
5e0eb97c89 Merge branch 'master' of klarke.webfactional.com:webapps/git/repos/libcm 2012-11-18 22:46:09 -08:00
kevin
68696bce20 Rewrote pitch tracker 2012-11-18 22:41:27 -08:00
kevin
a3ce46c35b Merge branch 'master' of klarke.webfactional.com:webapps/git/repos/libcm 2012-11-18 08:41:01 -08:00
kevin
0f776fb762 Debugged cmDspMidiFilePlay and Added cmDspScFol 2012-11-17 17:33:10 -08:00
kevin
37c2599982 cmMidiFile.h/c Added cmMIdiFileTickToSamples() 2012-11-17 17:32:21 -08:00
kevin
bf8fceead1 cmTimeLine.h/c Added cmTimeLineSeqToLocalSampleIndex() 2012-11-17 17:31:11 -08:00
kevin
0e06db1593 Initial DSP midi file play and merged cmTimeLine.h/c xxxAtTime() funcs. 2012-11-16 22:07:46 -08:00
kevin
f93924a449 DSP time line processor integration 2012-11-16 12:13:36 -08:00
kevin
00e2219a42 Corrected useage of pre-event vs state change 2012-11-16 12:12:33 -08:00
kevin
68f00dbbf9 Merge branch 'master' of klarke.webfactional.com:webapps/git/repos/libcm 2012-11-16 11:58:50 -08:00
kevin
6ab0660552 cmTimeLine.h/c Added the xxxAtTime() functions 2012-11-16 11:56:40 -08:00
kpl
80492669cf Added tlFile and audPath variables to timeline DSP ui ctl. 2012-11-16 10:01:57 -08:00
kevin
785762a88e Added dummy DSP time line ctl and cmDspPgmKr.c/h 2012-11-15 17:42:29 -08:00
kpl
c80368a549 cmScore.h/c Many changes added cmScoreLoc_t based data struct and functions.
The cmScoreLoc_t based functions still need to be debugged. See note on
_cmScoreInitLocArray().
2012-11-14 20:11:07 -08:00