Hello Modalys users! I’ve been working on trying to create subtle variations of a single instrument and write the results to a multichannel aiff file. I can’t quite figure out how to handle references.
For example, i figured out how to write the same output to many channels:
;; wm johnson
;; the goal here is to bounce many files with subtle variation between them
(new)
(setf my-string (make-object 'mono-string))
(setf force-access(make-access my-string (const 0.3) 'trans0))
(setf out-access (make-access my-string (const 0.05) 'trans0))
; the loop
(loop
for i from 1 to 10
do
(make-point-output out-access (- i 1))
)
(make-connection 'force force-access (const 1))
(run 5)
; file output
(save-aiff "/Users/wmjohnson/Documents/Modalys/blog/iteration/results/output.aiff")
Now, I realize that in order to make these output channels different they would have to be connected to unique accesses, presumably on different strings if I want the materials to be different for each sound output. I’ve played with lists a bit, but what I want to figure out is essentially
; the loop
(loop
for i from 1 to 10
do
;make unique string
;make access to that unique string
(make-point-output out-access (- i 1))
;apply force to that unique string
)
Thanks for your help!
~wm. johnson