Kyma Forum
  Kyma Support
  global map - midi notes

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   global map - midi notes
garth paine
Member
posted 28 August 2010 02:17         Edit/Delete Message   Reply w/Quote
Hi Kyma geniuses - I am seeking to concert the index of a word in an array (done in Processing) into a midi note in Kyma - I want to place an entry in the global map for this - so am looking at the following - do you think this would work?

!wordIndex is: ((`MIDIKeyNumber) * `MIDIKeyDown).

Cheers, Garth

IP: Logged

SSC
Administrator
posted 28 August 2010 12:34         Edit/Delete Message   Reply w/Quote
Hi Garth, Are you using the notenumbers to control a Kyma Sound? If so, then you could use the wordIndex directly in the Frequency parameter of your Sound.

IP: Logged

garth paine
Member
posted 28 August 2010 17:20         Edit/Delete Message   Reply w/Quote
Thanks for that suggestion - yes I have a lot of OSC messages coming into Kyma to control sounds in realtime, but in this case I really want MIDI notes to drive a sound which needs the MIDIVoice and in which I want the polyphony the MIDI approach provides, hence I am trying to find a way to turn the wordIndex numbers into MIDI notes that will play the sound. At the moment I am using Max to turn the wordIndex numbers into MIDI notes and using PACAmidi to send the notes, but I am sure there must be a more direct way or doing it? ie. a way of creating the MIDI note in Kyma that will then play a sound in Kyma?

Cheers, Garth

[This message has been edited by garth paine (edited 28 August 2010).]

[This message has been edited by garth paine (edited 28 August 2010).]

IP: Logged

SSC
Administrator
posted 28 August 2010 20:16         Edit/Delete Message   Reply w/Quote
I think your global map idea should work (have you tried it yet?)

IP: Logged

garth paine
Member
posted 30 August 2010 07:15         Edit/Delete Message   Reply w/Quote
hmmm, can not make this work. So I have an integer coming in through OSCulator on cc63, which I have called wordIndex in the GlobalMap.

I have tried a GlobalController where the input is !wordIndex and the output is !KeyPitch, with another one where the input is !wordIndex and the output is !KeyVelocity.

However I can not work out how to make a KeyDown, and even if I do this as a test using a trigger at BPM, the above !KeyPitch, !KeyVelocity do not make any difference.

Just placing the CapyTalk expression in the above posts does not seem to work at all, so any suggestions would be great - thanks.

Cheers, Garth

IP: Logged

SSC
Administrator
posted 30 August 2010 17:25         Edit/Delete Message   Reply w/Quote

polyphonyfromreplicator.kym

 
Hi Garth,

Here is an example of how one could use Replicator to create polyphony (without having to use MIDI Key events). In this example, I used a SoundToGlobalController to generate a new !Gate whenever !Index changes. And I used !Index to select from a folder of disk recordings.

The trick is to use ?VoiceNumber in the Trigger or Gate field of the Sound you want to 'polyphonize' so that only one of the copies is triggered at any one time:

(!Gate countTriggersMod: ?NumberVoices) eq: (?VoiceNumber - 1)

IP: Logged

garth paine
Member
posted 31 August 2010 16:36         Edit/Delete Message   Reply w/Quote
Wooowwww thanks a million. I will look at this when I get into the lab later this morning. I am always blown away by the support we Kymaites get from you both. Thank you so much.

Btw. Link to the performance is under the Sept4 link at seam2010.blogspot.com, which also includes all the other events we have organized with Frederic Bevilaqua from IRCAM and Christian Zeigler from ZKM etc. Should be a fun month or so :-)

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c