Hi All!
I may be having a little trouble understanding the NIM datatype.
Running Antescofo in Pure Data under Mac OS10.10.3.
I am trying to pass a NIM as a variable to a processus, but whenever the processus fires Pure Data crashes—hard. Total quit to desktop.
I have made sure that I’m running Antescofo 0.8 and all that, so I’m wondering what I don’t quite understand; code saves all right in ascograph, but no luck actually running it. Simplified code attached.
Thanks!
~NRN~
@proc_def ScratchWhistleNIM($note, $vel, $length, $revAmt, $FBNIMtab, $CutoffNIMTAB, $VolNIMTAB, $PanNIMTAB) { group ScratWhistle @global @tight {$midinote := [$note, $vel] $midioff := [$note, 0] midipair1 $midinote revAmt1 $revAmt curve feedback @grain = 0.1 @action = {feedback1 $feedback1} {$feedback1 : $FBNIMtab} curve cutoff @grain = 0.1 @action = {cutoff1 $cutoff1} {$cutoff1 : $CutoffNIMTAB} curve volume @grain = 0.1 @action = {volume1 $volume1} {$volume1 : $VolNIMTAB} curve pan @grain = 0.1 @action = {pan1 $pan1} {$pan1 : $PanNIMTAB} $length midipair1 $midioff }}
BPM 44
;----Measure 1-----;
NOTE 7100 1/2
NOTE 0 1/2
NOTE 0 1
NOTE 0 1
NOTE 0 1
NOTE 0 1
;----Measure 2-----;
NOTE 7100 1/2group ScratchWhistle @tight @local {
let $XNIM := NIM { 0 0.0 , 1 0.2 , 1 0.4 } let $YNIM := NIM { 0 0.0 , 1 0.2 , 1 0.4 } let $ZNIM := NIM { 0 0.0 , 1 0.2 , 1 0.4 } let $ANIM := NIM { 0 0.0 , 1 0.2 , 1 0.4 } ::ScratchWhistleNIM (60, 100, 3, 0.8, $XNIM, $YNIM, $ZNIM, $ANIM) }
NOTE 0 1/2
NOTE 0 1
NOTE 0 1
NOTE 0 1
NOTE 0 1