Kyma Forum
  Kyma Sound Exchange
  Generic Transformer

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

next newest topic | next oldest topic
Author Topic:   Generic Transformer
photonal
Member
posted 28 May 2009 07:43         Edit/Delete Message   Reply w/Quote

GenericTransformer.zip

 
Here is a generic version of the VCFJarreTransformer (which I should have done ages ago!).

GenericTransformer.pci outputs four parameters from two XY Pads.
Parameters P1 and P2 from the first pad; P3 and P4 from the second pad.

Using SoundToGlobalControllers, each parameter from the GenericTransformer can be mapped to any hot parameter in your sound (just edit each SoundToGlobalController as required). The resulting VCS can be tidied up afterwards by just removing the P1...P4 sliders.

The memory for stored events has been increased to 250.

The example sound illustrates how the GenericTransformer can be used. In this case P1 events are mapped to LFO; P2 events to Density; P3 events to Grain Duration and P4 events to the Time Index hot parameter of a Sample Cloud.

Hope you like it!
Andrew

P.S. it has some quirks still but is quite usable nonetheless

IP: Logged

photonal
Member
posted 28 May 2009 09:31         Edit/Delete Message   Reply w/Quote

GenericTransformer2.pci.zip

 
Here is another version (a beta one!) which is more responsive to mouse events after having made an event recording. However, another bug seems to have crept in regarding changing playback tempo and changing the memory size for events.

I'll try and fix it but maybe someone with more SmallTalk knowledge can spot the bug and point me in the right direction to correct it?

IP: Logged

cristian_vogel
Member
posted 29 May 2009 13:05         Edit/Delete Message   Reply w/Quote
photonal, that is totally cool

Your SmallTalk is pretty proficient I would say!

takes pver the whole of Kyma when it runs ..

where did you learn all the GUI classes , and did you program this tool all in Kyma, or another SmallTalk, like VisualWorks or Squeak?

IP: Logged

photonal
Member
posted 30 May 2009 07:33         Edit/Delete Message   Reply w/Quote
Thanks Christian for the feedback!

Sorry to say, but most of the code I have just reused from other Kyma tools and merged into this tool; for example the XY pad is not my invention - I don't have the original reference for it on hand right now.

I'd like to integrate the tool with OSCulator, so that the pads could be linked to Wiimote controls - I'll post when I manage it.

IP: Logged

Phi Curtis
Member
posted 30 May 2009 17:47         Edit/Delete Message   Reply w/Quote
If you're interested in building graphic environments from which to send messages to Kyma, you might want to take a look at Processing (www.processing.org), a fairly easy open source language for graphics.

I'm working on a project now, and I have the wacom tablet interacting with animated graphic objects in Processing and sending OSC via Osculator to Kyma (actually I'm using the wacom object from Max and sending OSC to Processing, since Processing doesn't seem to have a support yet for tablets on Mac - I'll probably use Max as well for the Wii when I get around to that). It's still in progress, but I have all the communication happening.

Processing includes libraries that support input from the camera, 3d objects which can rotate in space, physics (springs, gravity, drag), even esoteric things like grabbing data from the internet, controlling Arduino, etc.

It's nice to be able to use the Pacarana for the sound and create an interface to control it with all the CPU that's left over on the computer.

IP: Logged

SSC
Administrator
posted 30 May 2009 20:06         Edit/Delete Message   Reply w/Quote
I think you could do both the tablet and the Wiimote in OSCulator and have it send OSC to Processing. Is that correct, Camille?

IP: Logged

Phi Curtis
Member
posted 31 May 2009 13:32         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by SSC:
I think you could do both the tablet and the Wiimote in OSCulator and have it send OSC to Processing. Is that correct, Camille?

Oh yeah, you're right - I'll have to look at that.

IP: Logged

cristian_vogel
Member
posted 01 June 2009 05:22         Edit/Delete Message   Reply w/Quote
Processing is cool , and even better that it can route OSC to Kyma ( thanks to Camille ! )

Is it an OOP language too? What is the best way to learn its syntax etc?

[This message has been edited by cristian_vogel (edited 01 June 2009).]

IP: Logged

mk23
Member
posted 01 June 2009 15:59         Edit/Delete Message   Reply w/Quote
Hi cristian,
I 've just done a year of Processing at University (back to study after 15 years!) and I have to say it's quite a nice language. Essentially it's Java with a bunch of multimedia stuff built in.

If you are interested I'd recommend the "official" Processing book from Fry and Reas, pretty comprehensive IMO. I also enjoyed the book from Daniel Shiffman, it actually made the trigonometry required for 3d shapes fun!

My only critique of Processing so far is that the sound libraries suck. Thankfully we have a slightly more interesting platform to explore, Processing does OSC and OSCulator on a Mac seems to interface with this fine

Have fun

David

IP: Logged

photonal
Member
posted 04 June 2009 06:54         Edit/Delete Message   Reply w/Quote
Hallo David,

A few questions regarding Prcessing...

How are you getting OSC data into Processing? (or are you mapping OSC to Mouse/Keyboard input?)

Audio input seems to be limited to just Stereo channel (is it possible to select an Audio device and specfic audio channel?)

There doesn't seem to be any MIDI input possible into Processing (or am I missing the relevant library?)

Thanks in advance!
Andrew

IP: Logged

mk23
Member
posted 04 June 2009 15:44         Edit/Delete Message   Reply w/Quote
Hi Andrew,
I'm on a Mac using OSCulator for OSC. Sending OSC from Processing via OSCulator to the Capybara.

To be honest I've not done so much with MIDI in Processing, but I had a quick play with the RWMIDI library: http://ruinwesen.com/support-files/rwmidi/documentation/RWMidi.html

It seemed to find all my MIDI interfaces fine. There's a good post about another MIDI library on the Processing forum: http://processing.org/discourse/yabb2/YaBB.pl?num=1227841230

I'm slowly trying to create something similar to the generic transformer originally discussed here in Processing to send OSC to the Capybara. It's on my list of things to do, which is rather long

HTH

David

IP: Logged

Phi Curtis
Member
posted 06 June 2009 16:36         Edit/Delete Message   Reply w/Quote
I once tried to get the Processing midi library to recognize my interface without luck. But that was awhile ago.

I haven't worried about getting audio into Processing, or played with the audio libraries (although they seem to work, but they are kind of limited in comparison to Kyma, to say the least...).

Since I have OSC working between Max and Processing, and between both of those to Kyma via Osculator (thanks, Camille!), using Processing's midi and audio in/out should be easily avoidable. If I need messages to come from Kyma, I can have it send midi out to Max or Osculator, to be sent as OSC to Processing.

Phil

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