Commit Graph

220 Commits

Author SHA1 Message Date
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
kevin
b3b492f094 cmThread.h/c: cmSleepMs() and cmSleepUs() and replaced all references to usleep() in many files. 2013-04-08 22:56:30 -07:00
kevin
c9dd87625a cmProc4.h/c, cmDspKr.c, cmDspPgmKr.c: Many changes to debug cmScMod. Added _cmDspGSwitchAlloc(). 2013-03-01 17:40:04 -08:00
kevin
b467c7abd4 cmDspBuiltIn.c:Rewrote _cmDspAudioFileOutExec(). 2013-03-01 17:35:35 -08:00
kevin
4463d9bbe3 cmDspKr.h,cmDspPgm.c,cmDspPgmKr.h: Added cmDspGSwitcher ('switcher') program. 2013-03-01 17:33:31 -08:00
kevin
3f0d2efb2c cmDspFx.c: Removed printfs(). Fixed 'DsDist' class doc string. 2013-03-01 17:27:08 -08:00
kevin
070962c721 cmDspClass.h/c: Added cmSampleDsvFl and cmRealDsvFl to cmDspValueSet(). 2013-03-01 17:25:15 -08:00
kevin
d7b64b882b cmDspStore.h/c: Initial commit.
cmDspCtx.h, cmDspNet.h/c, cmDspSys.c, Makefile.am: Added cmDspStore.
2013-03-01 17:18:02 -08:00
kevin
9b9e626287 cmProc.h/c: Added cmScModulator cmDspKr.h/c,cmDspPgmKr add cmScMod 2013-02-08 23:48:54 -08:00
kevin
030510039d cmDspKr.c: Added cmMeas and Dyn,Even,Tempo outputs to cmDspScFol. 2013-01-30 17:37:23 -08:00
kevin
39bb4104c7 cmDspPgmKr.c - Changed cmDspSysPgm_TimeLine(). 2013-01-13 16:44:31 -08:00
kevin
ac75b45da3 cmDspPgm.c Added printer to cmDspSysPgm_AvailCh(). 2013-01-13 16:43:27 -08:00
kevin
883891657f cmDspKr.c Changes to reflect new cmScoreInitialize() signature. 2013-01-13 16:42:36 -08:00
kevin
ab0589a216 cmDspBuiltIn.c cmDspWaveTable can now report the current audio file sample index periodically rather than on every exec. 2013-01-13 16:40:00 -08:00
kevin
2b6a272d55 Completed AvailCh DSP Object
Added state[] variable to XFader DSP object.
Completed _cmDspSysPgm_AvailCh() example program.
2012-12-18 14:46:07 -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
e9c4d0edd2 Many changes to add score/performance feedback to GUI 2012-12-13 15:38:45 -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
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
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
f0e00c3d37 cmDspKr.h/c Added Score Object added Time-line cursor. 2012-11-26 23:07:22 -08:00
kevin
68696bce20 Rewrote pitch tracker 2012-11-18 22:41:27 -08:00
kevin
0f776fb762 Debugged cmDspMidiFilePlay and Added cmDspScFol 2012-11-17 17:33:10 -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
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
kevin
b108da1911 Initial commit 2012-10-29 20:52:39 -07:00