Kyma Forum
  Tips & Techniques
  Syncing Rythmic Triggers on MIDI Time Code ...

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

next newest topic | next oldest topic
Author Topic:   Syncing Rythmic Triggers on MIDI Time Code ...
tuscland
Member
posted 01 November 2005 18:57         Edit/Delete Message   Reply w/Quote
Hello,

I am trying to sync the Rythmic Triggers prototype (well, actually a PulseTrin prototype), with the MIDI Time Code coming from Logic. It is a nightmare, I just can't figure how it is possible. I have found valuable information about generating a BPM clock from the MIDI Clock event, but it doesn't help me to know how to sync the PulseTrain with the sequence of Logic ...
If anybody has already done this before, please tell me !

Best Regards,
Camille

IP: Logged

SSC
Administrator
posted 02 November 2005 10:04         Edit/Delete Message   Reply w/Quote
Could you use the MIDI timing clock instead of time code?

IP: Logged

tuscland
Member
posted 02 November 2005 10:19         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by SSC:
Could you use the MIDI timing clock instead of time code?

Yes, actually I would need at least MIDI Start and MIDI Stop messages as I know the tempo and it doesn't change over the course of the song. Anyway I can derive the tempo from the time clock variables (though it seemed to me this was not very accurate).
The beginning of the PulseTrain is triggered bu the change of state of the Gate variable, right ? How can I set the Gate to 1 when the MIDI starts ?

I thought about this a bit more and realized the sync waas actually not with the MIDI Start message, but with the beats of the song. So it means that I need to trigger the Gate parameter when the song starts and a 1st quarter beat is reached.

Or maybe I am just lost ... the thruth is out there ...

Camille

IP: Logged

SSC
Administrator
posted 02 November 2005 14:15         Edit/Delete Message   Reply w/Quote
Could you use a !KeyDown in the Gate field? (and have the sequencer send a !KeyDown on some unused channel)

IP: Logged

tuscland
Member
posted 02 November 2005 14:34         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by SSC:
Could you use a !KeyDown in the Gate field? (and have the sequencer send a !KeyDown on some unused channel)

I have not found how Logic could send MIDI events on start/stop ...
I have found a solution that works, but there is some kind of weirdness :
- create a new timeline
- slave this timeline to the MIDI Time Code
- go in the sequencer where it is appropriate to put a sync point, the timeline in Kyma will follow and display the corresponding timecode
- set the Gate parameter to 1 at the precise sync place.

This solution works but requires the sequence to be played from the sync point, which could be annoying if the sequence is long.

**** The problem :
If I slave the timeline to the MIDI Time Code, Kyma has frequent "OUT OF REALTIME" (about every 10 seconds). The sound is disturbed every time there is a realtime error.
That's why I ended not using the timecode sync in the timeline.

*** Another weird thing :
If the timeline is playing and the window is moved so that its content must be redrawn, the timeline stops.

One last thing : I have found some CapyTalk messages handling SMPTE commands.
I would like to know where those commands are documented.


Camille

IP: Logged

jesges
Member
posted 02 November 2005 15:14         Edit/Delete Message   Reply w/Quote
"I have not found how Logic could send MIDI events on start/stop ..."

Maybe this can help:
In Logic open the Sinchronization page,
Go to in MIDI tab,
Switch On the "Transmit MMC" button.
Now Logic sends MMC commands each time you press Start/Stop.

Jesus

IP: Logged

tuscland
Member
posted 02 November 2005 15:25         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by jesges:
Now Logic sends MMC commands each time you press Start/Stop.

Hi Jesus,
Thanks for the help!
I have actually set up Logic to transmit MMC and MTC.

Do you know how do I catch MMC messages in Kyma ?

IP: Logged

SSC
Administrator
posted 02 November 2005 16:27         Edit/Delete Message   Reply w/Quote
"If I slave the timeline to the MIDI Time Code, Kyma has frequent "OUT OF REALTIME" (about every 10 seconds). The sound is disturbed every time there is a realtime error."

This sounds like the frames per second might be set differently in the sequencer and Kyma. Do you have the Frames per second set at 30? or 25?

I wonder if you could use something like this:

!MIDITimingClock hasChangedInLast: (!BPM bpm s / 24.0)

If the sequencer stops updating !MIDITimingClock when it is paused, then hasChangedInLast: would become false after 1/24 of a beat.

IP: Logged

tuscland
Member
posted 02 November 2005 17:21         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by SSC:
This sounds like the frames per second might be set differently in the sequencer and Kyma. Do you have the Frames per second set at 30? or 25?

Yes I had this issue, but the problem still remains.
I appears that my computer's CPU is at 99% usage when the timeline is running, around 50% when Kyma is idle (timeline running or not), and aroung 4% usage when the application is not frontmost.

When the application is not frontmost, OUT OF REALTIME doesn't occur, certainly because the CPU is not overloaded. I have tested this on a PC running Windows XP with an Athlon XP 2800+. I will try on a Mac later to see if I have the same performances issues.

I try to change some graphical preferences (in the Miscellaneous settings), but it did not improve anything.


quote:
I wonder if you could use something like this:

!MIDITimingClock hasChangedInLast: (!BPM bpm s / 24.0)


It works very well, though 24 is bit too close to the frame rate so there are many drops-off. I used a value of 10 which works fine.

With the expression that gives the current BPM, I have a totally flexible sound that fits any situation ; that's great!


Camille

IP: Logged

photonal
Member
posted 08 November 2005 11:29         Edit/Delete Message   Reply w/Quote
BPM and MIDI integration have also plagued my setup with Kyma

I have been in contact regarding these issues and have received support (a while back!) but the issue was never really fixed - and to be honest I got kind of embaressed that I was so lost on such an (easy!) issue. Nevermind mind whether the hoffman window should be cleaned because it was out of phase(!) with the cosin of the fourth harmonic of the Butterworth filter output.....

So much so, that Kyma has become more or less an effects box

My front end is also Logic Pro (but increasingly Ableton Live) - I can work efficiently with it too. But when I want to incorporate Kyma, I constantly run into problems which curtails my creativity. Even just the simple (should be) task of syncing Kyma with Logic Pro is a fight - sync is always lost - I´ve tried Midi Clock and MMC. So I then have to resort to RecordingToDisk - which although is not a huge problem - it does slow my creative process.

This is also why the AU implementation is so important to me - then I can re-enjoy Kyma and exploit it more. It would enable to me use Kyma as easily as I can use my synths.

I don't mean this as an attack on Kyma, only I wish to express that incorporating Kyma into a MIDI heavy environment is not easy.

When I was last in Champaign (1999) for the Immersion Weekend (was great fun!! , Kyma was the sole product in use - in terms of sequencer products - is that still the case?

Andrew

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