Home · Standalone · rtcmix~ · iRTcmix · Tutorials · Reference |
RTcmix an open-source digital signal processing and sound synthesis language |
about · links · contact |
MAXMESSAGE -- utility instrument used to output values
in rtcmix~/iRTcmix: RTcmix/insts/maxmsp quick syntax:MAXMESSAGE(time, val1, val2, ... valn)
p0 = time to send out the values (seconds) p1-pn = the values to be sent Author Brad Garton, 1/2004 MAXMESSAGE will send a list of values out the right outlet of the rtcmix~ object. It can also be used in iRTcmix for iOS. Usage NotesMAXMESSAGE works by setting a flag when the MAXMESSAGE note is scheduled. An internal function, check_vals(), determines if the flag has been set. If it has, it sends a list of the values set in the MAXMESSAGE note pfields out the right outlet of the Max/MSP rtcmix~ object.MAXMESSAGE can also be used in iRTcmix. (the check_vals() function is called directly in the application developer code). MAXMESSAGE is limited by the vector or buffer size, so it is not sample-accurate. Scheduling more then one MAXMESSAGE within a vector or buffer will only send out the values in the most-recently-scheduled MAXMESSAGE note. Sample Scoresvery basic:rtsetparams(44100, 1) load("MAXMESSAGE") // note: the "load" is not necessary in rtcmix~/iRTcmix // send a list of values immediately after receiving this score MAXMESSAGE(0, 1.414, 7.8, 97) See AlsoMAXBANG, rtcmix~, iRTcmix |