electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 
Live streaming at radio.electro-music.com

  host / artist show at your time

poster

Please visit the chat
 Forum index » DIY Hardware and Software » ChucK programming language
How could I get inputs?
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
NbelowP



Joined: Sep 21, 2017
Posts: 1
Location: South Korea

PostPosted: Thu Sep 21, 2017 1:58 am    Post subject: How could I get inputs?
Subject description: Does ChucK has some function that is similar to input() in Python3?
Reply with quote  Mark this post and the followings unread

I want to make some program that could test my ChucK code, like codeforce. I am studying ChucK, and I thought solving competitive programming problem would help me to understand language specification of ChucK. But, I can't find how to get input into my ChucK code. Is there any way to get input like raw_input() in Python2, or input() in Python3, or similar functions in other languages? If there is no way to do that, then is there any way to change variable in my ChucK code by other programs written by C, C++, java, Python or other else?
Back to top
View user's profile Send private message
mario.buoninfante



Joined: Jul 12, 2016
Posts: 11
Location: Salerno - Italy

PostPosted: Mon Oct 02, 2017 1:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi,

you can try using OSC protocol. it's widely used to put in communication different "systems" over UDP.
have a look at the examples you can find in miniAudicle

cheers,
Mario
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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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