[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] Voicer / VoicerProxy / pitchbend



Hi -

I have a VoicerProxy setup which reacts correctly to pitch-bends,
until I push a new synthdef to the proxy, when the pitchbend stops
working. Here's simplified code:

s.boot;
v = VoicerProxy.new;
(
~defName = { |synthdefname = 'harpsi'|
	if(v.voicer.notNil){
		v.voicer.releaseAll;
	};
	v.voicer = Voicer.new(12, synthdefname, bus:Bus.new);
}
)
// Creates voicer:
~defName.();
// Establishes VoicerMIDISocket:
~vmidisock = VoicerMIDISocket(14, v);
~vmidisock.addControl(\pb, \pb, 1, 3);// 3-semitone bend

// Running these lines successfully changes the synthdef but cancels
the pitchbend - why?
~defName.('xylo_v');
~defName.('harpsi');

Thanks
Dan
-- 
http://www.mcld.co.uk

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/