Commit Graph

211 Commits

Author SHA1 Message Date
Kevin Larke
a1b8e4c739 cmDspSys.c : Added instance labels for some error messages. 2014-12-13 11:49:24 -08:00
kevin
1931bfdd6d cmDspPgm.c : Changed abeg[] and aend[] to double in _cmDspSysPgm_PickupFxFile() 2014-11-18 16:55:51 -08:00
Kevin Larke
0579a50ed1 cmDspPgmKr.c : Added input eq.
Removed dead code _cmDspSys_TlXformChain1().
2014-11-10 17:21:05 -08:00
Kevin Larke
56e36d78d6 cnDspPgmKr.c :
1) Added two new audio inputs (ai2p,ai3p) and mixers (mx0p,mx1p)
to allow contact mic's to be mixed with air mic's.
2) Added two new audio outputs (a02p,a03p) which are duplicates of
   ao0p and ao1p.
3) Added all pass filters to all four audio outputs to decorrelate output.
4) Added Bypass button to bypass the all pass filters.
2014-10-20 10:21:25 -07:00
Kevin Larke
10a831cd72 cmDspPgmKr.c : Many and various changes following 8/24/14 Disklavier session. 2014-08-25 14:13:07 -07:00
Kevin Larke
18a21d5e96 cmDspKr.c : cmDspRecdPlayExec() now checks for disconnected inputs and outputs. 2014-08-11 11:44:26 -07:00
Kevin Larke
4cd59919a2 cmDspPgm.c : Added _cmDspPgmMidiFilePlay().
Removed the use of useBuiltInFl from _cmDspSysPgm_Stereo_Through().
2014-05-31 09:54:00 -07:00
Kevin Larke
c9cba4c7bf dsp/cmDspKr.c : Changed the way the MIDI channel is handled in _cmDspNanoMapRecv(). 2014-05-31 09:51:47 -07:00
Kevin Larke
26060afa25 cmDspFx.c : Added 'clear' command to cmDspMsgDelay. 2014-05-31 09:49:01 -07:00
kpl_harpo
102725929c cmDspBuiltIn.c : Added 'send' input port to FName object. 2014-03-17 11:55:55 -04:00
kpl_harpo
d0c6741b65 cmDspPgm.c : Added _cmDspSysPgm_MultiOut() and _cmDspSysPgm_MultiIn(). 2014-03-17 11:55:25 -04:00
kevin
31916de7b9 cmDspPgmKr.c : Added compressor, window size and hop size as cmScModulator_t
variables. Attempted to add a score location number box - but it is not yet working
correctly.
2014-03-17 10:08:19 -07:00
kevin
4b59da2947 cmDspKr.c : Now depends on cmProc5.h. 2014-02-04 08:40:25 -08:00
kevin
1e26484c74 cmDspKr.c: Removed declaration of unused variable in _cmDspNanMapRecv()
to eliminate compiler warning.
2014-01-25 16:17:50 -05:00
kevin
8e0fb864e4 cmDspKr.c : cmRecdPlay object only records/plays segments when it recieves
a perfect match to the start of the record/playback segment. Segments
which are specified between the last received score location and the
current location are skipped.
2014-01-18 16:13:05 -08:00
kevin
7584fdd936 cmDspPgmKr.c : Removed segment filename/label from cmRecdPlay object.
cmRecdPlay objects now take a resource based list of segments to pre-load.
2014-01-17 17:00:51 -05:00
kevin
d37fd59317 cmDspKr.c : Added ability to pre-load a list of segments for the cmRecdPlay object. 2014-01-17 16:59:38 -05:00
kevin
c0fb38d8b7 cmDspPgmKr.c : RecdPlay object now takes an initial score search location
from the score UI.
2014-01-16 20:20:01 -08:00
kevin
e07e632de6 cmDspKr.c : cmDspRecdPlay now takes an initial score search location index. 2014-01-16 20:18:48 -08:00
kevin
1d9455e9eb merging recdplay updates from thunk onto mac 2014-01-16 16:15:04 -08:00
kevin
f96e261382 cmDspPgmKr.c : Added 'useWtFl' to cmDspSysPgm_Timeline. 2014-01-16 15:05:24 -08:00
kevin
a19d93b265 cmDspKr.c : Added ability to preload a cmRecdPlay segment from an audio file. 2014-01-16 16:05:45 -05:00
kevin
0a71501780 cmDspKr.c : Added 'cmd' input to cmDspScore object to print score location report upon reception of 'dump' symbol.
f
2013-12-18 10:01:47 -05:00
kevin
4b2f2e0398 cmDspPgmKr.c : Added 'fragFl' to toggle fragment processing chains.
Added connection from 'Dump' button to score to print score location report.
2013-12-18 10:00:53 -05:00
kevin
f2bed90054 CmDspPgm.c : Added individual printer outputs for each MIDI data element. 2013-12-17 08:56:50 -05:00
kevin
c4a0bceaec cmDspKr.c : Post test updates to cmDspSyncRecd(). 2013-12-17 08:55:44 -05:00
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