electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » ChucK programming language
syncing chuck to logic
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
boba40



Joined: May 24, 2011
Posts: 1
Location: new zealand

PostPosted: Tue May 24, 2011 5:08 pm    Post subject: syncing chuck to logic Reply with quote  Mark this post and the followings unread

Does anyone know if it is possible to sync mini audicle to logic pro
I want to write music in chuck and sync it to an imported movie in logic
I need to sync the time codes of logic and chuck
Back to top
View user's profile Send private message
jordan



Joined: May 16, 2011
Posts: 5
Location: Brooklyn, New York

PostPosted: Fri May 27, 2011 8:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

ChucK supports external data transfer through Midi and OSC. There's a few examples for that here: http://chuck.cs.princeton.edu/doc/examples/

for some reason, there's no example for doing Midi out from ChucK:

Code:

MidiOut mout;
MidiMsg msg;

// check if port is open
if (!mout.open(0))
   me.exit();

// fill the message with data

144 => msg.data1;
112 => msg.data2;   // note
while(true)
{
   127 => msg.data3;   // velocity
   mout.send(msg);
   125::ms => now;
   0 => msg.data3;
   mout.send(msg);
   125::ms => now;
}


As for the receiving end, I don't have a copy of Logic so I can't help you there, but someone else may have tried this specific setup before.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use