Commit Graph

185 Commits

Author SHA1 Message Date
kevin
e2a2295be6 cmDspPgm.c : Added _cmDspSysPgm_SyncRecd to test the cmDspSyncRecd. 2013-12-15 19:04:19 -05:00
kevin
94da1333af cmDspBuiltIn.c : cmDspMidiIn now outputs MIDI timestamps.
Fixed bug in cmDspCheckbox which prevented correct symbols from being stored.
Added cmSyncRecdClassCons to the built in processor list.
2013-12-15 19:02:02 -05:00
kevin
9c752e95ac cmDspKr.h/c : Initial implementation of cmDspSyncRecd. 2013-12-15 18:53:16 -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
2f0df884b0 cmDspPgmKr.c : Added separate channels for fragment transformation. 2013-12-12 12:23:59 -05:00
kevin
7d7448ba55 cmDspKr.c : Fixed uninitialized variable warning (n in _cmDspRecdPlayExec()). 2013-12-12 12:22:21 -05:00
kevin
0a12858783 cmDspFx.c : Fixed uninitialized variable (n in _cmDspAudioNofM_Exec(). 2013-12-12 12:21:54 -05:00
kevin
cd6a0b1891 cmDspBuiltIn.c : Fixed bug in _cmDspCheckboxAlloc() where the on/off symbols were not registered using the default labels. 2013-12-12 12:21:03 -05:00
kevin
c442830e85 cmDspPgmKr.c : Added audio output 2&3 to handle direct through dry signal. 2013-12-11 12:44:26 -05:00
kevin
c81b178224 cmDspKr.c : Rewrote cmDspActiveMeas to use a linked list to store measurement records. 2013-12-11 12:43:22 -05:00
kevin
3a202c27f9 cmDspPgmKr.c : Major rewrite of _cmDspSysPgm_TimeLine().
The original function is in _cmDspSysPgm_TimeLine2().
2013-12-10 16:35:03 -05:00
kevin
4c44c396fd cmDspPgm.c : Added test for 'Checkbox' to _cmDspSysPgm_UiTest(). 2013-12-10 16:33:06 -05:00
kevin
b95348f047 cmDspKr.c : Added option to cmDspScFol to generate score measurements
(dyn,even,tempo,cost) as they are computed.
2013-12-10 16:32:19 -05:00
kevin
e7429a773c cmDspFx.c : Changed _cmDspAvailCh_Recv() to handle 'trigger' case where
no available channels are available.
2013-12-10 16:27:15 -05:00
kevin
f41a6d6709 cmDspBuiltIn.c : Added cmDspCheckbox() as an improved check box control
which can be used with specific on/off values and symbols.
2013-12-10 16:26:23 -05:00
kevin
af002db879 cmDspPgm.c : Added more channels to _cmDspSysPgm_Goertzel() and parameters
to support window size on the Goertzel detector.
2013-11-26 13:44:32 -05:00
kevin
da98170c43 cmDspKr.c : Changed _cmDspGoertzel to initialize internal cmGoertzel object
in _cmDspGoertzelReset.
2013-11-26 13:43:14 -05:00
kevin
ab1161d138 cmDspPgm.c : Added _cmDspSysPgm_Goertzel. 2013-11-24 10:42:24 -05:00
kevin
f1be9f433d cmDspKr.h/c, cmDspBuiltIn.c : Added the cmDspGoertzel DSP object. 2013-11-24 10:42:07 -05:00
kevin
0857f64730 cmDspKr.c : Improved comments on cmDspAmSync object. 2013-11-21 17:25:09 -08:00
kevin
19224be46a cmDspKr.c : Added comments to _cmDspAmSync. 2013-11-20 11:56:28 -05:00
kevin
89ad5d8857 cmDspKr.c: Added call to cmRecdPlaySetLaSecs() in _cmDspRecdPlayRecv() 2013-11-19 19:30:10 -08:00
kevin
c11c875f29 cmDspPgmKr.c: Added option to direct fragments to independent audio outputs. 2013-11-19 19:29:21 -08:00
kevin
c946234fde Merge branch 'master' of klarke.webfactional.com:webapps/git/repos/libcm with
spat lab mac.
2013-11-19 11:15:12 -08:00
kevin
031210c7e9 cmDspPgmKr.c : Added look-head parameters for cmDspRecdPlay object. 2013-11-19 11:08:56 -05:00
kevin
57d2a86a42 cmProc4.h/c, cmDspKr.c : Added look-ahead buffer to cmRecdPlay object. 2013-11-19 11:08:08 -05:00
kpl
691d0ef278 cmDspPgmKr.c : Added the cmDspRecdPlay object to the patch. 2013-11-18 22:32:28 -08:00
kpl
8f4981728c cmDspKr.h/c : Added the cmDspRecdPlay object.
The cmScoreInitialize() call in cmDspScore now is passed a valid symbol table handle.
2013-11-18 22:30:27 -08:00
kpl
fd52495292 cmDspBuiltIn.c : Added cmRecdPlayClassCons to _cmDspClassBuiltInArray[]. 2013-11-18 22:28:06 -08:00
kevin
d235d22da5 cmDspPgmKr.c : Added 'audio in' button to switch 'live' and 'simulate'
audio input between the recorded and audio input port.
2013-11-03 13:46:41 -08:00
kevin
70fcc2d107 cmDspPgmKr.c : Added input audio meters. The 'start' button now connects
to the 'availCh' 'reset' rather than 'trig'.  'AvailCh' 'reset' output
is connected to the 'Xfader' 'reset' input. The score location print out
now comes from the 'recent' score follower output.
2013-11-03 11:56:01 -08:00
kevin
9b85e57045 cmDspKr.c : Added 'recent' output to score follower. 'out' output now
only reports the latest score location reported so far.  'recent' reports
the most recent score location (which may be out of time order).
2013-11-03 11:53:17 -08:00
kevin
b67964871f cmDspFx.c : Added 'reset' input to cmDspXFader and cmDspAvailCh objects. 2013-11-03 11:51:26 -08:00
kevin
feb6e71245 cmDspFx.c : Added equal power cross fade to xfader object. 2013-11-01 18:33:03 -07:00
kevin
a8394b2814 cmDspBuiltIn.c : midi output port now notices when the device is not valid
prior to attempting to send it a midi message.
2013-11-01 18:31:29 -07:00
kevin
af7328e4d7 cmDspClass.c : Added OSX 10.5 (OSX_VER_10_5) conditional compilation blocks. 2013-10-31 20:09:46 -07:00
kpl
edad3b99cd cmDspKr.h/c cmDspBuiltIn.c, cmDspPgmKr.c : Added 'NanoMap' DSP object. 2013-10-31 18:07:00 -07:00
kevin
9082a45c41 cmDspPgmKr.c : Added Input gain control and all-notes-off command on the
off button (it's not clear that all-notes-off actually works.).
2013-10-17 16:56:31 -07:00
kevin
60090ac441 cmDspClass.c : Restored _cmDspParseArgV() to return void to allow
compilation on OSX 10.6.8. This need to be fixed correctly so that it
compiles on 10.5.
2013-10-17 16:55:26 -07:00
kevin
f1123a8475 cmDspBuiltIn.c : Addded 'reset' input to cmDspMidiOut to implement all-notes-off. 2013-10-17 16:54:05 -07:00
kevin
2855506568 cmDspPgmKr.c : Added connection from 'simulate' check button to routers
and added siRt to route midi file player smpidx output in
'simulate' mode.
2013-10-16 18:55:04 -07:00
kevin
681865e04b cmDspFx.c : Added missing va_end() to match va_copy(). 2013-10-16 18:52:59 -07:00
kevin
75879e774a cmDspClass.c : _cmDspParseArgV() now returns a va_list. This seems to
now be required to work with the OSX 32bit build. Added missing va_end() in _cmDspClassErrV().
2013-10-16 18:52:19 -07:00
kpl
b549a90da3 cmDspPgmKr.c : Removed body of cmDspSysPgm_KrLive() and modified
_cmDspSysPgm_TimeLine() to have 'live' and 'simulate' modes.
2013-10-16 16:31:23 -07:00
kpl
3a247f986f cmDspKr.c : Minor code formatting changes. 2013-10-16 16:29:48 -07:00
kpl
802e3d9514 cmDspPgm.c : Added option to omit the wavetable player output in favor
of the first audio input port in _cmDspSysPgm_Stereo_Through().
2013-10-16 13:15:21 -07:00
kevin
28d686922b cmDspPgm.c : Fixed mislabelled source connection on 'hzp' in
_cmDspSysPgm_Stereo_Through().
2013-10-16 09:03:12 -07:00
kevin
921597e50d cmDspPgmKr.c : Removed 'midiInPort' resource string because the MIDI input
port does not require a device or port selector.
2013-10-16 09:01:53 -07:00
kpl
5307482f6e cmDspPgmKr.h/c : Initial implementation of cmDspSysPgm_KrLive. 2013-10-15 14:50:48 -07:00
kpl
b4a3507bc5 cmDspPgm.c : Added _cmDspSysPgm_KrLive to the program list. 2013-10-15 14:50:00 -07:00
kevin
fb509b10c7 cmDspPgmKr.c : Patched scMod.post to achan.trig (but commented out). 2013-09-30 11:04:49 -07:00
kevin
de58bb5232 cmDspKr.c : Added 'post' output to cmDspScMod object. 2013-09-30 11:03:47 -07:00
kevin
0f75ad445c cmDspPgmKr.c : Added audio output file record and MIDI output port. 2013-09-29 18:48:08 -07:00
kevin
bb4aea8471 cmDspPgm.c : Updated cmDspSysPgm_Test_Midi with hardcoded OSX device/port. 2013-09-29 18:47:22 -07:00
kevin
7d3e82d417 cmDspKr.c : cmDspMidiFilePlay object now sents note off messages. 2013-09-29 18:46:48 -07:00
kevin
5566cbdae7 cmDspFx.c : Fixed bug where GateToSym object set the 'off' symbol event
when the received off symbol port value was not equal to 0.
2013-09-28 12:40:55 -07:00
kevin
9567d9211d cmDspBuiltIn.c : The AudioFileOut object no longer creates an output
file when the object is created. It now waits until it is sent an
'open' symbol to create the audio output file.

If the AudioFileOut object is sent a directory rather than a file then
it automatically generates a file name in the given directory.
2013-09-28 12:39:43 -07:00
kevin
85776619e2 cmDspPgmKr.c : Removed printing from time-line audio begin sample index output. 2013-09-26 12:49:43 -07:00
kevin
79b1666c2c cmDspKr.c : Bug fix to support multiple sync points in the same
audio and/or midi file.

AmSync object is now reset as part of the printing operation.
2013-09-26 12:48:55 -07:00
kpl
35afc5f004 cmDspKr.c : Updated AmSync output format. 2013-09-26 08:56:14 -07:00
kpl
ffde60139a cmDspKr.h/c: Added 'AmSync' DSP processor object. Added unique midi msg
id output to midi file player. Added audio and midi label output to
time line object.
2013-09-25 23:46:11 -07:00
kpl
0af84b0363 cmDspPgmKr.c : Added use of AmSync object. 2013-09-25 23:44:59 -07:00
kpl
1bbecc58c2 cmDspBuiltIn.c : Added AmSync DSP class. 2013-09-25 23:44:35 -07:00
kevin
2d85218c4b cmDspClass.c: Removed use of OS_OSX preproc. flags for working around
va_list differences with older gcc. This change is part of spat-lab port.
2013-09-05 15:58:41 -07:00
kevin
4e117d50a9 merge updates to Xfader in cmProc3.c and cmDspFx.c. 2013-08-15 10:54:36 -07:00
kevin
7a08ab4793 cmProc3.h/c,cmDspFx.c:Added fade in/out times to xfader. 2013-08-13 15:21:42 -07:00
kevin
759ec01595 cmDspPgmKr.c:Added control to set xfade time. 2013-08-13 12:44:13 -07:00
kevin
13f8d89142 cmDspPgmKr.c: Changeed _cmDspSysPgm_TimeLine() to multiplex param's instead
of measurements.
2013-08-12 16:40:34 -07:00
kpl
0dd72e910c cmDspPgmKr.c:Many changes to _cmDspSysPgm_TimeLine() to support
crossfading transforms.
2013-08-12 00:13:34 -07:00
kpl
4f5ff63a08 cmDspPgm.c: Removed _cmDspSysPgm_Switcher. 2013-08-12 00:12:32 -07:00
kpl
b56fee2605 cmDspKr.c:
1) Changed time-line to support setting data prefix path
in cmTimeLine initialization.
2) Added 'scloc' to 'ActiveMeas'.
2013-08-12 00:11:59 -07:00
kpl
94f1e7cd1f cmDspBuiltIn.c:Added 'reset' to 'Counter'. 2013-08-12 00:10:37 -07:00
kpl
c5b8c68e11 cmAudioDsp.c,cmAudDspIF.h/c,cmMsgProtocol.h,cmDspClass.h:Changes to
new procedure cmDspSysPrintPgm().
2013-08-12 00:10:03 -07:00
kpl
78faec2960 cmDspSys.h/c:Added _cmDspSysAssignUniqueInstSymId() to automatically assign
unique symbol id's to all DSP instances which were not assigned explicit symbol
id's.

Also added cmDspSysPrintPgm() to print the currently loaded program
network as a JSON file.
2013-08-12 00:08:32 -07:00
kevin
cad6618f3d cmDspPgmKr.c:Measurements now can be independently scaled and mapped for
right and left transforms.
2013-07-13 17:22:26 -07:00
kevin
83baef16a4 cmDspPgmKr.c:Changed _cmDspSysPgm_TimeLine() such that the 'activeMeas'
add command is sent from the 'typeId' field of the performance eval. MsgList.
2013-07-11 12:21:55 -07:00
kevin
2134f45d59 cmDspPgmKr.c:Completed integration and initial testing of 'ActiveMeas'. 2013-07-10 14:20:01 -07:00
kevin
fbf2b570a9 cmDspKr.c:Added 'rewind' command to _cmDspActiveMeas. 2013-07-10 14:19:33 -07:00
kpl
55c2b254c6 cmDspPgmKr.c:Inital insert of 'Active Meas' in cmDspSysPgm_TimeLine. 2013-07-10 12:25:05 -07:00
kpl
4576de0263 cmDspBuiltIn.c,cmDspKr.h/c:Inital development of cmActiveMeas in cmDspKr.c. 2013-07-10 12:24:08 -07:00
kevin
c0960d726d cmDspPgmKr.c:Chnaged the spectral distortion 'offset' default value from 30.0 to 2.0
because it is now used as the 'bump' mode coefficient more often than it's original
intent as a threshold offset in the spec. dist. envelope following modes.
2013-05-26 09:36:44 -07:00
kevin
a50001972f cmDspKr.c: Added test for DBL_MAX in _cmScFolMatcherCb() to prevent invalid score measurement values from being used as parameter values.
This would might be better accomplished inside cmProc4.c:cmScMeaExec().
2013-05-26 09:34:40 -07:00
kevin
ef277baa5c Merging OS-X updates into last Linux updates. 2013-05-23 14:12:42 -07:00
kevin
826eec51b4 cmDspPgm.c:Added _cmDspSysPgm_RsrcWr() and update _cmDspSysPreset() to use Menu Buttons and Message Lists. 2013-05-23 14:11:38 -07:00
kevin
9b529cd4b9 cmDspBuiltIn.c: Added 'rsrcWr' and tested with 'string' inputs. 2013-05-23 14:10:29 -07:00
kevin
778e95cb1f cmDspSys.h/c: Completed and tested cmDspRsrcWriteString(). 2013-05-23 14:09:47 -07:00
kevin
d4db5427c5 cmDspPgmKr.c:Added compressor preset. 2013-05-23 11:07:34 -07:00
kevin
03d026999a cmDspClass.c: Fixed #ifdef typo's 2013-05-23 11:06:31 -07:00
kevin
f1dc68364a cmDspSys.h/c:Initial add of cmDspRsrcWriteString() and check of cmJsonIsModified() in cmDspSysUnload(). 2013-05-22 15:16:11 -07:00
kevin
c3643ef133 cmDspPgmKr.c: Added preset controls to _cmDspSysPgmTimeLine(). 2013-05-22 15:15:15 -07:00
kevin
88856255d2 cmDspPgm.c:_cmDspSysPgm_Preset() improved variable names. 2013-05-22 15:14:31 -07:00
kevin
b7bcac7de6 cmDspKr.c: kAudPathTlId now transmits to UI in _cmDspTimeLineRecv() 2013-05-22 15:13:41 -07:00
kevin
f118b68bb7 cmDspClass.c:Added OS_X specific compilation for _cmDspParseArgV(). 2013-05-22 15:12:52 -07:00
kevin
a9a615f94e cmDspClass.c: _cmDspParseArgV() now returns the va_list. This seemed to solve a OS-X problem with va_arg() parsing. 2013-05-22 10:32:45 -07:00
kevin
cc3f7627a0 cmDspKr.c:Removed unused variable p in _cmDspScaleRangeReset(). 2013-05-01 15:09:46 -07:00
kevin
6552c90322 cmDspPgmKr.c:Added compressor to _cmDspSysPgm_TimeLine() 2013-04-21 11:24:20 -07:00
kevin
62ab5588e1 cmDspPgmKr.c:Added use of ScaleRange to score measurement values. 2013-04-20 10:40:14 -07:00
kevin
14f163394d cmDspKr.h/c: Added 'ScaleRange' DSP class. 2013-04-20 10:37:20 -07:00
kevin
f4448e99b6 cmDspSys.c: Incoming MIDI messages are now dispatched to DSP objects via
broadcast message mechanism.

cmDspBuiltIn.c:Added _cmMidiInDC and _cmMidiOutDC.

cmDspPgm.c: Added _cmDspSysPgm_Test_Midi().
2013-04-20 10:36:21 -07:00
kevin
ca06ba399a cmDspPreset.c:Fixed uninitialized variable 'pp' in _cmDspPresetCount(). 2013-04-20 10:31:37 -07:00