[Csnd] Still controlling Kontakt
Date | 2012-05-08 20:30 |
From | Toby |
Subject | [Csnd] Still controlling Kontakt |
I got the VST functions to work with Kontakt, but it can be very time consuming to load large sets of samples on every run, which seems to be necessary. Is there a good way to get MIDI from csound into a running Kontakt? I wouldn't be able to process the audio, but what I really want is to be able to script scores for Kontakt. I'd really just be using csound for the event timing then, I suppose. Other suggestions besides csound for this? Thanks, Tobiah |
Date | 2012-05-08 20:31 |
From | Michael Gogins |
Subject | Re: [Csnd] Still controlling Kontakt |
There are various MIDI libraries for various languages. What language would you prefer to write your code in? Regards, Mike On Tue, May 8, 2012 at 3:30 PM, Toby |
Date | 2012-05-08 21:28 |
From | Toby |
Subject | Re: [Csnd] Still controlling Kontakt |
On 05/08/2012 12:31 PM, Michael Gogins wrote: > There are various MIDI libraries for various languages. What language > would you prefer to write your code in? Python is my language of choice. Toby |
Date | 2012-05-08 21:54 |
From | Michael Gogins |
Subject | Re: [Csnd] Still controlling Kontakt |
Go to http://wiki.python.org/moin/PythonInMusic. Go down to the section on MIDI. You have many choices. If you are an expert Python programmer, use ctypes to talk directly to the operating system's MIDI facilities (winmm on Windows, alsa on Linux). If you are not an expert or don't want to spend the several days or so that would take, try the canned ones. Go to their Web sites and see which ones seem to be (a) up to date and (b) actually used. Good luck, Mike On Tue, May 8, 2012 at 4:28 PM, Toby |
Date | 2012-05-08 22:11 |
From | Toby |
Subject | Re: [Csnd] Still controlling Kontakt |
On 05/08/2012 01:54 PM, Michael Gogins wrote: > Go to http://wiki.python.org/moin/PythonInMusic. Go down to the > section on MIDI. You have many choices. If you are an expert Python > programmer, use ctypes to talk directly to the operating system's MIDI > facilities (winmm on Windows, alsa on Linux). If you are not an expert > or don't want to spend the several days or so that would take, try the > canned ones. Go to their Web sites and see which ones seem to be (a) > up to date and (b) actually used. But then timing the delivery of the events would be my burden, right? Would there be some way of having csound trigger the midi events? |
Date | 2012-05-08 22:49 |
From | Rory Walsh |
Subject | Re: [Csnd] Still controlling Kontakt |
You could also just send MIDI events to Kontakt, or any other host using some kind of MIDI routing software. On windows you can use midi yoke. On OSX it's easier. On Linux I think Jack can be used. |
Date | 2012-05-08 23:02 |
From | Steven Yi |
Subject | Re: [Csnd] Still controlling Kontakt |
You could use Csound's midiout opcode: http://csounds.com/manual/html/midiout.html and use MIDI yoke as Rory mentioned, or some other MIDI virtual device manager to connect from Csound's MIDI out to any synth. On Tue, May 8, 2012 at 5:49 PM, Rory Walsh |
Date | 2012-05-09 00:04 |
From | Michael Gogins |
Subject | Re: [Csnd] Still controlling Kontakt |
Yes, you can have Csound trigger the events. You could use the MIDI out opcodes. But triggering them from Python code is not so hard. Regards, Mike On Tue, May 8, 2012 at 5:11 PM, Toby |
Date | 2012-05-09 01:22 |
From | Tobiah |
Subject | Re: [Csnd] Still controlling Kontakt |
On 5/8/2012 4:04 PM, Michael Gogins wrote: > Yes, you can have Csound trigger the events. You could use the MIDI > out opcodes. But triggering them from Python code is not so hard. How would I achieve the timing of the events? Toby |
Date | 2012-05-09 02:04 |
From | Michael Gogins |
Subject | Re: [Csnd] Still controlling Kontakt |
Some libraries will allow you to schedule the events for them to play back at the right time, otherwise you can set up a timer to fire every millisecond or so and examine if events are pending and if so play them. Regards, Mike On Tue, May 8, 2012 at 8:22 PM, Tobiah |