[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Voicer / VoicerProxy / pitchbend
- To: SuperCollider users mailing list <sc-users@xxxxxxxxxxxxxxxx>
- Subject: [sc-users] Voicer / VoicerProxy / pitchbend
- From: Dan Stowell <danstowell@xxxxxxxxx>
- Date: Thu, 23 Jul 2009 15:15:36 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=75toQGOXWy3kxvPnTSPUTtVaOcvikhSbqySMcN9m6Xc=; b=RKPibYYKLJxk8wq7UlsWeFBEdLMbSaIvt+kjw/1TSIb2trZUC6kg0RkKuQ7tLrDQVG 3yMxvDC+qLrHk/1cCbLoI5gR1suwM8Xc3rZLT6EwsbvJYBwRRG7kSoNfhVap2p25eWCj /bKe/+1UxH72wD5YFytOdk95jbnZLiDKN9vRQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=oLjnXmaBz8xLNhcy24cwY/AhvxWpU0CopPlz5bgCJwqCu1B8PNpwQdq19nF1Fak1za 6IXApzkaJgG3cUjsIF61O2L1x1oFTqbb5uInOfCC0+mIILe0ark0tFrkhzF6n4/pibZK oH/LzmLx5ZFtBuUK6yBaMgUipUWFj/TVmYZaU=
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
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/