Commit Graph

138 Commits

Author SHA1 Message Date
kevin
3babaf428a cmXScore.c : Updates to parse 'note' nodes. 2016-02-04 17:55:22 -05:00
Kevin Larke
1fc5183394 cmXScore.h/c,Makefile.am : Initial commit. 2016-02-04 11:33:42 -05:00
kevin
a142123bd8 cmTimeLine.c : Updates to use amicro instead of dticks in MIDI msgs. 2015-11-19 19:14:42 -05:00
kevin
8688a7f28c cmScore.c,cmTakeSeqBldr.c : Updates to to use amicro instead of dtick field in MIDI messages. 2015-11-19 19:11:53 -05:00
kevin
c01e9731c9 cmTimeline.c : Make use of 'onsetCfg' in time-line optional. 2015-11-18 15:51:28 -05:00
kevin
c7bf7a2c94 cmScore.h: Added cmScStatusToOpString(). Replaced calls to cmMidiMetaStatusToLabel() and cmMidiStatusToLabel() with calls to cmScStatusToOpStr(). 2015-11-18 15:49:40 -05:00
Kevin Larke
176073874f *.h/c : Added 'cdg' markup to virtually all source files in libcm, libcm/app and libcm/dsp. 2015-11-16 14:59:27 -05:00
kevin
65452c0d40 cmOnset.c : Added printout of parameters to cmOnsetProc(). 2015-10-02 19:13:07 -04:00
kevin
6c792e240d cmDspPgmJsonToDot.h/c, Makefile : Initial working version of cmDspPgmJsonToDot 2015-09-25 18:48:44 -04:00
kevin
611eda87de app/cmDspPgmJsonToDot.h/c : Initial partial implementation. 2015-09-24 19:14:27 -04:00
Kevin Larke
4ddbe2c1d6 cmTakeSeqBldr.h/c : Many changes and additions. 2015-03-30 14:38:49 -07:00
Kevin Larke
60de3ffb15 cmScore.h/c : Added cmScoreNotifyCb(). 2015-03-30 13:05:31 -07:00
Kevin Larke
7daa1ebcee cmTakeSeqBldr.c : Partial initial implementation of _cmTakeSeqBldrRender(). 2015-03-01 17:19:42 -08:00
Kevin Larke
d60eb3c0da cmTakeSeqBldr.c : Completed cmTakeSeqBldrLoadTake() and cmTakeSeqBldrUnloadTake(). 2015-02-27 17:45:13 -08:00
Kevin Larke
9b86614e57 cmTakeSeqBldr.c : Added 'muid' to cmScTrkMidiTsb_t.
Fixed bug in _cmTsbScoreTrkFree().
2015-02-25 17:00:15 -08:00
Kevin Larke
857dae7646 cmTimeLine.h/c : Added cmTimeLinePrefixPath(). 2015-02-25 16:59:06 -08:00
Kevin Larke
15a0c7beeb cmScoreProc.c : Updated the TakeSeqBldr JSON file generation code to match the
file parser code in cmTakeSeqBldr.c.
2015-02-25 16:58:40 -08:00
Kevin Larke
80b094d205 cmScoreProc.c : Initial support for sending the MIDI file msg unique id to the
score tracker.
2015-02-25 15:22:08 -08:00
Kevin Larke
72c373c836 cmTakeSeqBldr.c : Fix parsing JSON parsing bugs. 2015-02-25 15:21:13 -08:00
Kevin Larke
a7cecdd678 cmScore.h/c : Pedal events are now handled similarly to Note-on events and given
their own type: kPedalEvtScId and pedal down messages are assigned the
pedal event duration in cmScEvent_t.durSecs.
2015-02-25 15:14:37 -08:00
Kevin Larke
7d55b16257 Merge origin with post take-seq-bldr updates to master. 2015-02-25 10:47:17 -08:00
Kevin Larke
c89117af6a cmScoreProc.c : Changed kBegin/EndSectionSpId to kBegin/EndTakeSpId to better
reflect the meaning of the score markers.
2015-02-25 10:43:21 -08:00
Kevin Larke
cf53227561 cmScore.c : Fixed assert() bug in _cmScParseFile(). 2015-02-25 10:31:30 -08:00
Kevin Larke
4873885874 cmTakeSeqBldr.h/c : Partial implementation of cmTakeSeqBldrLoadTake(). 2015-02-24 15:43:37 -08:00
Kevin Larke
9e11eb49b8 cmScore.h/c : The durSecs's cmScEvt_t field of pedal down events now contains
the length of time the pedal is held down and the 'pitch' field is set
to the MIDI id of the pedal.
2015-02-24 15:42:24 -08:00
Kevin Larke
a89cadec84 app/cmTimeLine.h/c : cMTlXXXObjPtr() now returns NULL if the 'op' arg. is NULL. 2015-02-24 15:40:49 -08:00
Kevin Larke
1b6a798401 cmTakeSeqBldr.h/c : Completed code for cmTakeSeqBldrAlloc()/Free() and initial testing. 2015-02-23 11:08:45 -08:00
Kevin Larke
b2dee6219f cmTakeSeqBldr.h/c : Initial commit. 2015-02-22 22:52:11 -08:00
Kevin Larke
e5dbc44c61 cmScoreProc.h : Completed the cmSpAssocProc_t based processing.
Added kNoteNoSpid and kFailSpId messages to the score tracking processor callback.
2015-02-18 16:39:14 -08:00
Kevin Larke
f50e5a85cc cmScoreProc.h : Moved cmSpRC_t result codes from inside cmScoreProc.c to cmScoreProc.h 2015-02-18 16:37:27 -08:00
Kevin Larke
88d5d9a499 cmScoreProc.c : Reorganized the score processor to support plugging in different
score processing algorithms without changing the processor.
Created the shell code for generating performance editing data.
2015-02-09 10:13:12 -08:00
Kevin Larke
cac6e8e974 cmScoreProc.c : Added comments. 2015-02-08 08:55:57 -08:00
Kevin Larke
2d878144d2 cmScore.h : Added comments. 2015-02-08 08:55:40 -08:00
kevin
e581d54cc0 cmTimeLine.c : durSmpCnt is now set for pedal up/down in _cmTlProcMidiFile(). 2014-03-17 10:05:20 -07:00
kpl
c7e3f55a2d cmSdb.c : Fixed potential uninitialized variable in _cmSdbStoreSeqEvent(). 2014-02-01 16:26:52 -08:00
kevin
d863299265 cmSdb.h/c : Added initial set of cmSdbSeqXXX() operations.
Added 'pitchV' arg. to cmSdbSelect().
Added cmSdbSyncChPairs().
2014-01-30 23:33:00 -08:00
kevin
f95d93a4f8 app/cmSdb.h/c : Sample database reader object. Initial commit. 2014-01-25 16:13:42 -05:00
kevin
5c36dfcf9a cmScore.c : Changed _cmScParseMarkers() to allow multiple recd/play markers on the same line. 2014-01-17 16:53:54 -05:00
kevin
6c66569f79 Many Files (See list in comment): Added #include "cmTime.h" to support Audio and MIDI time stamps.
app/cmOnset.c
app/cmPickup.c
app/cmScore.c
app/cmScoreProc.c
app/cmTimeLine.c
cmAudDsp.c
cmAudioAggDev.c
cmAudioFileDev.c
cmAudioNrtDev.c
cmAudioPort.c
cmAudioPortFile.c
cmDevCfg.c
cmFeatFile.c
cmMidi.c
cmMidiFile.c
cmProc2.c
cmProc3.c
cmProc4.c
cmProcTest.c
cmRbm.c
cmUiRtSysMstr.c
dsp/cmDspClass.c
dsp/cmDspFx.c
dsp/cmDspNet.c
dsp/cmDspPgmKr.c
dsp/cmDspPgmPP.c
dsp/cmDspPgmPPMain.c
dsp/cmDspSys.c
dsp/cmDspUi.c
2013-12-15 18:14:27 -05:00
kevin
47b006f89e cmScore.h : Added cmInvalidVarScId. 2013-12-11 12:42:26 -05:00
kevin
837aab5cc1 cmScore.h : Added kNameEvtScId to match the MIDI file 'name' data element. 2013-12-10 16:25:16 -05:00
kevin
2cba573163 cmProc4.h/c: Fixed bug in _cmScValidateMarkers() that incorrectly tagged good fade markers and invalid. 2013-11-19 19:28:02 -08:00
kevin
e6933b61d2 cmScore.c : Fixed bug in _cmScParseFile() where _cmScParseSectionColumn()
overwrote 'rc' and thereby prevented the functio from returning the correct result code on fail.
2013-11-19 11:06:56 -05:00
kpl
70dffe559b cmScore.h/c : Added the concept of 'markers' to support locating live recd/play fragments. 2013-11-18 22:31:19 -08:00
kevin
9181a5d804 cmScore.c : Completed implementation of cmScoreFileFromMidi(). 2013-11-05 14:32:59 -08:00
kevin
72b65a1904 cmScore.h/c : Initial implementation of cmScoreFileFromMidi(). 2013-11-05 12:52:07 -08:00
kevin
a690102601 cmScore.c : Changes to _cmScProcSets() to prevent crashing on OSX debug build. 2013-11-03 11:47:10 -08:00
kevin
5fd0c95f34 cmScore.c : Removed printf() from _cmScProcSets() but this is still mysteriously
required to prevent crash on OS-X debug (but not release) version.
2013-11-01 18:34:15 -07:00
kpl
daf04431aa cmTimeLine.c : Added return value to cmTimeLineDeleteOnsetMarks() to
eliminate compiler warning.
2013-10-20 20:09:48 -07:00
kevin
d52ea1c369 cmScore.c : Fixed apparent bug where p->sets[i].symArray[] was assigned
twice and p->sets[i].costSymArray[] was not assigned at all in _cmScProcSets().

Added a printf() which mysteriously prevents an OS-X Crash in _cmScProcSets().
2013-09-28 12:28:54 -07:00
kevin
46a3bcfc9f cmScore.c : Debug output. 2013-09-26 17:57:57 -07:00
kpl
63e3713c84 cmTimeLine.h/c: Added cmTimeLineGenOnsetMarks() and empty shell code
for cmTimeLineDeleteOnsetMarks(). Added marker typeId field to
cmTlMarkerTl_t.
2013-09-25 23:42:19 -07:00
kpl
feae7dc12c cmOnset.h/c : Added cmOnsetCount(), cmOnsetSampleIndex() and
cmOnsetHopSampleCount().
2013-09-25 23:39:40 -07:00
kpl
797e73e958 cmOnset.h/c : Added median filter and pre-delay to audio output. 2013-09-24 16:16:36 -07:00
kpl
6a46695080 cmOnset.h/c : Replaced cmOnsetExec() with cmOnsetProc() and cmOnsetWrite(). 2013-09-24 12:56:00 -07:00
kpl
e918c4308b app/cmTimeLine.h/c,cmScoreProc.c:The time-line now takes a prefix path rather
then included explicit paths as part of the time-line data file.
2013-08-12 00:05:58 -07:00
kevin
efd54c7657 cmTimeLine.c,cmAudioPort.c,cmPgmOpts.c,cmProc.c,cmRtSys.c:
Changes to remove compiler warnings on OSX build.
2013-07-13 17:20:31 -07:00
kevin
12800d428b cmScoreProc.c:cmScWriteMeasFile() now sorts file on the section label.
Also changed column order of the output file.
2013-07-11 12:20:34 -07:00
kpl
b2cd4afccd cmScoreProc.c:Changed format of output file from in _cmScWriteMeasFile(). 2013-07-09 17:08:41 -07:00
kpl
de009f9cd8 cmTimeLine.h/c:Added the 'bar' and 'sectionStr' field to cmTlMarker_t. 2013-07-09 14:06:42 -07:00
kpl
a8ba59b2f5 cmScoreProc.c:Wrote _cmScoreGenAllMeasurements() to generate all performance
measurements from a time-line file.
2013-07-09 14:06:01 -07:00
kpl
e54b4da348 cmScore.h/c:Added score file line number to cmScoreEvt_t. 2013-07-09 14:04:40 -07:00
kpl
a14aaf21e5 cmScore.h/c:Added cmScoreBarEvt() and cmScoreEvtLoc(). 2013-07-08 12:28:49 -07:00
kpl
869d1c716b cmTimeLine.h/c: Added 'bar' and 'sectionStr' to cmTlMarker_t. 2013-07-08 11:55:18 -07:00
kevin
f95665db09 cmScoreProc.h/c,Makefile.am: Initial commit. 2013-05-24 13:52:37 -07:00
kevin
8d00e8fe23 cmTimeLine.h/c: cmTimeLineReadJson() now takes a handle ptr, rather than a handle,
so that it can correctly release the handle if the file read/parse fails.
2013-05-22 10:26:08 -07:00
kevin
c26679e567 cmScore.h: Removed duplicate typedef cmScCb_t. 2013-05-01 14:56:58 -07:00
kpl
85e1b90c14 cmPickup.c: fixed uninitialized 'rsi' in _cmTlFindRecdBefore(). 2013-04-30 12:29:51 -07:00
kpl
f24f84b48d cmScore.c:Remove 'foundFl' from release build in 2 places to prevent compiler warnings. 2013-04-30 12:28:57 -07:00
kevin
e550f859c5 cmScore.h/c: Added sectArray[],symArray[],costSymArray[] to cmScoreSet_t. 2013-03-01 17:29:01 -08:00
kevin
1e9308bedc cmScore.c: Added dynRefArray release to cmScFinalize. 2013-01-30 20:28:34 -08:00
kevin
e1687cb84e cmScore.h/c: Added cmScoreSampleRate() 2013-01-30 11:55:52 -08:00
kevin
ec73cb280b cmScore.h/c: Added cmScoreSetCount(). 2013-01-18 09:29:48 -08:00
kevin
268f2a20c1 cmScore.h/c Changes to added new 'grace note' score column and srate to init. signature. 2013-01-13 16:46:39 -08:00
kevin
03811e0a6a cmTimeLine.h/c Added cmTimeLineMarkerFind(). 2013-01-13 16:44:57 -08:00
kevin
e9c4d0edd2 Many changes to add score/performance feedback to GUI 2012-12-13 15:38:45 -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
kpl
59cbd9c297 cmTimeLine:Release p->seq[] in finalize to prevent leak 2012-11-23 21:16:49 -08:00
kevin
a3ce46c35b Merge branch 'master' of klarke.webfactional.com:webapps/git/repos/libcm 2012-11-18 08:41:01 -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
6ab0660552 cmTimeLine.h/c Added the xxxAtTime() functions 2012-11-16 11:56:40 -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
kpl
f025c621ce cmTimeLine.c/h Removed unused fields from cmTlObj_t and added cmTimeLineIdToObjPtr() 2012-11-14 20:08:18 -08:00
kevin
2db35f046a cmTimeLine.h Changed comment on kInitMsgTlId 2012-11-02 19:07:36 -07:00
kevin
b096ef30d7 cmScore.c/h Added score display to gv. Many changes. 2012-11-02 19:06:34 -07:00
kpl
81ed3aba41 cmTimeLine.c/h Added cmTimeLineFileName() 2012-11-01 23:22:58 -07:00
kevin
b108da1911 Initial commit 2012-10-29 20:52:39 -07:00