Kyma Forum
  Kyma Support
  tuning tool edit

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

next newest topic | next oldest topic
Author Topic:   tuning tool edit
photonal
Member
posted 09 December 2009 11:04         Edit/Delete Message   Reply w/Quote

tuning_midi.pci.zip

 
I have been attempting to edit the tuning.pci tool so that it could be possible to test a tuning directly on an external / software synthesizer.

In the Response to the 'waveformChoice hasChanged...' Trigger I test if the MIDI button has been selected :

(waveformChoice = 'MIDI') ifFalse: [Waveform := waveformChoice.
PlaySound value.
SetEqualTempered value.].

(waveformChoice = 'MIDI') ifTrue: [Waveform := 'sine'.
PlaySound value.
SetEqualTempered value.].

If the MIDI button is selected I would like to redirect the MidiIn commands to Kyma (which would otherwise play a sample/sine or saw) to MidiOut commands [initially] on channel 1. (The code for when MIDI is true is currently set to play a "sine' for testing purposes.)

I'd be really grateful as to what replacement code / messages are required to achieve this.


IP: Logged

SSC
Administrator
posted 09 December 2009 15:12         Edit/Delete Message   Reply w/Quote
Well, one simple approach might be to use the Tuning Tool to create an example. Then copy the expression from the Frequency field of the example and paste it into the Frequency field of a MIDIOutputEvent (setting the Gate to !KeyDown, and Amplitude to !KeyVelocity). If you send one voice per channel, the MIDIOutputEvent will automatically send the deviations from integer notenumber as a PitchBend to the external synth.

IP: Logged

photonal
Member
posted 10 December 2009 02:33         Edit/Delete Message   Reply w/Quote
I have used the MIDIOutputEvent sound for this in the past; which is fine, but testing a sound directly from the tuning tool via midi would be great if it were possible.

Are there any midi message objects in smalltalk? (Isn't everything in smalltalk is an object?) I couldn't find any suitable messages in 'Kyma X Revealed'.

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