Commit Graph

176 Commits

Author SHA1 Message Date
Kevin Larke
c169faa083 cmXScore.c : The tempo and dynamic marking columns must be stored as quoted text so that the section numbers can be correctly parsed by cmScore. 2016-04-23 16:06:54 -04:00
Kevin Larke
15ee5423c9 cmScore.h/c : Added cmScorePrintSets(). 2016-04-23 15:41:19 -04:00
kevin
68e34d29d7 cmXScore.h/c : The even-ness label is now written as a quoted string in the output CSV file so that the '*' token is correctly parsed by cmScore. 2016-04-20 18:53:24 -04:00
kevin
999ffe9bb4 cmScoreMatchGraphics.h/c : Added cmScoreMatchGraphicGenTimeLineBars(). 2016-04-20 18:51:33 -04:00
kevin
d1b77e9f7e cmXScore.c : Remove space between section and '*' on heel marked even-ness sections. 2016-04-14 19:37:26 -04:00
kevin
c07d5fbc8d cmXScore.h/c :Added 'reorderFn' arg. to cmXScoreTest(). Fixed bug where dynamcics and section number was not output to CSV. Added section number to end of measurement groups. 2016-04-07 13:39:24 -04:00
kevin
4017b8bbaa cmXScore.c : Added cmXScoreReorder(). 2016-04-06 17:35:09 -04:00
kevin
a09785024e cmXScore.h : Updated notes in comments. 2016-04-06 17:34:44 -04:00
kevin
f9505d0f43 cmXScore.h/c : Added _cmXScoreAbsoluteTime(),_cmXScoreSpreadGraceNotes(),_cmXScoreSetMeasGroups() 2016-03-31 19:07:48 -04:00
kevin
a669e8bca3 cmXScore.h/c : Added cmXScoreInsertDynamics() to read a dynamic marking from a text file. 2016-03-30 19:18:44 -04:00
kevin
7cef3bc4e1 cmScore.h/c : Removed "graphic score" processig. This is now in cmScoreMatchGraphic.h/c. 2016-03-30 19:17:41 -04:00
Kevin Larke
715d14d424 cmXScore.c : In cmXScoreWriteCsv() seconds are now calculated as an offset from the last metronome
change.
2016-03-30 11:47:41 -04:00
Kevin Larke
1e821a6a6f cmScoreMatchGraphic.c : Added optional second line of text to boxes. 2016-03-26 14:41:16 -04:00
kevin
b78cf1b688 cmScoreMatchGraphic.h/c : Completed initial implementation. 2016-03-24 19:22:39 -04:00
kevin
5d633f8cf0 cmXScore.c : Added _cmXScoreRemoveDuplicateNotes(). 2016-03-24 19:21:40 -04:00
kevin
8531f80438 cmScore.c : Added 'loctn' to cmScorePrint() output. 2016-03-24 19:21:20 -04:00
Kevin Larke
01bf7de3bd cmScoreMatchGraphic.h/c, Makefile.am : Initial commit. 2016-03-24 12:12:54 -04:00
Kevin Larke
b1a404d34c cmXScore.h/c : Added 'outFn' parameter to cmXScoreTest(). 2016-03-24 12:12:28 -04:00
Kevin Larke
8d8869bd6c cmScore.h/c : Completed cmScoreGraphic*() function implementation. 2016-03-24 12:06:43 -04:00
kevin
a81e0d5850 cmXScore.h/c : Fixed bug in _cmXScoreFindTiedNote(). Added _cmXScoreReportTitle(). 2016-03-17 19:30:21 -04:00
kevin
5a44aaf760 cmTakeSeqBldr.h : Added include cmFile.h to account for addition of cmScoreXXXGraphic() functions in cmScore.h. 2016-03-17 19:29:31 -04:00
kevin
d25868e474 cmScore.h/c : Added iniital implementation of cmScoreXXXGraphic() functions. 2016-03-17 19:28:35 -04:00
kevin
b17635cc78 cmXScore.c : Tied notes now must be assigned to the same voice. 2016-03-16 18:35:28 -04:00
kevin
0bffbc5975 cmXScore.h : Updated documentation. 2016-03-16 18:34:38 -04:00
Kevin Larke
38e9647546 cmXScore.c : Added 'rptFl' to _cmXScoreFindTiedNote(). 2016-03-15 10:08:44 -04:00
Kevin Larke
69a63690e8 cmScore.c : Added title to cmScorePrint() output. 2016-03-15 10:07:40 -04:00
kevin
af8ad35477 cmXScore.c : Fixed bug with tie processing. 2016-03-10 17:50:33 -05:00
kevin
1bc5d4dc65 cmXScore.c : Added the 'uid' field to cmXScoreNote_t to hold a unique id for each note record. 2016-03-02 18:52:40 -05:00
kevin
63fff58dd8 cmScore.h/c : Added csvEventId to hold the CSV file 'evt' column value. 2016-03-02 18:51:51 -05:00
kevin
dbc6c77c17 cmXScore.h/c : Added _cmXScoreWriteScorePlotFile() and _cmXSCoreWriteMidiPlotFile(). 2016-02-25 19:10:54 -05:00
kevin
7fcce19799 cmXScore.c : Added use of cmSeqAlign in _cmXScoreProcessMidi(). 2016-02-24 19:09:29 -05:00
kevin
655b2e6f3b cmXScore.h/c : Added kOnsetXsFl. Added octave-shift processing. Added initial MIDI file processing. 2016-02-18 19:10:05 -05:00
kevin
325dd311cc cmXScore.h/c : Finished tie processing. Fixed bug in chord onset calculation. 2016-02-17 19:00:15 -05:00
kevin
9df86e1c49 cmScore.c,cmTakeSeqBldr.c,cmTimeLine.c,cmMidiFile.h/c,cmMidiFilePlay.c,cmDspKr.c : Changed order of arg's in call to cmMidiFileOpen(). 2016-02-17 17:14:43 -05:00
kevin
5c27c2455f cmXScore.h/c : Began tie processing. 2016-02-11 19:23:42 -05:00
kevin
d7a7b3a895 cmXScore.h/c : Added colors to color map. Allow for double whole (breve) as rvalue. Changed note.rvalue from unsigned to double. Recognize 'heel' mark. 2016-02-10 19:03:17 -05:00
Kevin Larke
8b2c47f64d cmXScore.h/c : Added cmXScoreWriteCsv(). 2016-02-08 21:46:07 -05:00
Kevin Larke
304ff25285 cmXScore.h/c : Completed note, metronome, section label, color, and pedal parsing. Added per measure time sorted note list. 2016-02-06 23:36:53 -05:00
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