I was thinking about multiple voice chords and I see dac described in the Programming Guide as [ugen] dac * digital/analog converter * abstraction for underlying audio output device so I thought that it could be the target of multiple ugen's in one shred, and tried it here http://garywilliams.org/chuck/bpmulti2.ck It seems to work. So I used it as the basis of an article on http://b-chuck blogspot.com/. But I notice that if I use multiple instances of this chuck bpmulti2.ck bpmulti2.ck it generates interference. Is multiple dac usage legal (and proper)? And does anyone know why multiple instances generate interference? --Gary Williams ---- Chess: http://chessnut.net/ Homepage: http://garywilliams.org/ Blog: http://tfs_reluctant.blogspot.com/ ChucK Blog: http://b-chuck.blogspot.com/ Resume: http://garywilliams.org/resume.htm Store: http://www.cafeshops.com/tfsreluctant/ Phone: (607) 775-0408 Permanent email: gwms@corninglink.com
Hi Gary, Multi-dac usage is generally not good unless you can synchronize the two clocks ... otherwise, you get drift over time. --gary On Jan 26, 2005, at 11:46 AM, Gary Williams wrote:
I was thinking about multiple voice chords and I see dac described in the Programming Guide as
[ugen] dac * digital/analog converter * abstraction for underlying audio output device
so I thought that it could be the target of multiple ugen's in one shred, and tried it here http://garywilliams.org/chuck/bpmulti2.ck
It seems to work. So I used it as the basis of an article on http://b-chuck blogspot.com/. But I notice that if I use multiple instances of this
chuck bpmulti2.ck bpmulti2.ck
it generates interference.
Is multiple dac usage legal (and proper)? And does anyone know why multiple instances generate interference?
--Gary Williams ---- Chess: http://chessnut.net/ Homepage: http://garywilliams.org/ Blog: http://tfs_reluctant.blogspot.com/ ChucK Blog: http://b-chuck.blogspot.com/ Resume: http://garywilliams.org/resume.htm Store: http://www.cafeshops.com/tfsreluctant/ Phone: (607) 775-0408 Permanent email: gwms@corninglink.com
_______________________________________________ chuck mailing list chuck@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck
Hi Gary (both)! It seems bpmulti.ck is referring to the same dac - in which case it should work. (in fact, current implementation doesn't have multi-dac capabilities) Running multiple instances of bpmulti.ck should be no problem - one consideration is making sure there is no clipping - there are more things connect to the dac now. One quick test/hack is to chuck another file that sets the global gain of the dac: // this is global - set the global dac gain .1 => dac.gain; you can also change dac gain in bpmulti.ck - another solution is to change the gain of ugen's going into the dac. But this is slightly less scalable, though it works too. Best, Ge! On Jan 26, 2005, at 11:51 AM, Gary P. Scavone wrote:
Hi Gary,
Multi-dac usage is generally not good unless you can synchronize the two clocks ... otherwise, you get drift over time.
--gary
On Jan 26, 2005, at 11:46 AM, Gary Williams wrote:
I was thinking about multiple voice chords and I see dac described in the Programming Guide as
[ugen] dac * digital/analog converter * abstraction for underlying audio output device
so I thought that it could be the target of multiple ugen's in one shred, and tried it here http://garywilliams.org/chuck/bpmulti2.ck
It seems to work. So I used it as the basis of an article on http://b-chuck blogspot.com/. But I notice that if I use multiple instances of this
chuck bpmulti2.ck bpmulti2.ck
it generates interference.
Is multiple dac usage legal (and proper)? And does anyone know why multiple instances generate interference?
--Gary Williams ---- Chess: http://chessnut.net/ Homepage: http://garywilliams.org/ Blog: http://tfs_reluctant.blogspot.com/ ChucK Blog: http://b-chuck.blogspot.com/ Resume: http://garywilliams.org/resume.htm Store: http://www.cafeshops.com/tfsreluctant/ Phone: (607) 775-0408 Permanent email: gwms@corninglink.com
_______________________________________________ chuck mailing list chuck@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck
_______________________________________________ chuck mailing list chuck@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck
participants (3)
-
Gary P. Scavone
-
Gary Williams
-
Ge Wang