Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Realtime controllers and scores in csound 5

Date2005-03-11 01:16
From"Michael Gogins"
SubjectRe: [Cs-dev] Realtime controllers and scores in csound 5
Actually, I don't know about that function -- Matt Ingalls designed it. Let 
me know if it works!

I originally created the Csound API, but I don't use real-time features 
much.

What I meant was:

CppSound::inputMessage

or

csoundInputMessage

for string score statements, which are the same thing.

On a lower level for numeric pfields,

csoundScoreEvent

or

CppSound::scoreEvent

For tables,

csoundTableSet

and

csoundTableGet

(CppSound has corresponding functions).


----- Original Message ----- 
From: "Carlos Pita" 
To: 
Sent: Thursday, March 10, 2005 6:53 PM
Subject: Re: [Cs-dev] Realtime controllers and scores in csound 5


> Thank you, I've successfully built and installed csound5 on linux
> with portmidi, portaudio, alsa, jack and fluid support.
> scons detected jni.h also. Should I assume that it has built
> jni bindings?
>
>> or send bus values are the main ways
>> to be dynamically controlled stored in tables
>
> Where can I learn more about bus or table control techniques?
>
>> You send send an i statement to an instrument using the API from a GUI 
>> controller program.
>
> Should I use this callback? :
>
>  PUBLIC void csoundSetInputValueCallback(void *csound,
>                  void (*inputValueCalback)(void *csound,
>                                            char *channelName, MYFLT 
> *value));
>
> If so, could you clarify what the channelName and value parameters
> are for? I can't figure out how to use these.
>
> Thank you again.
> Regards,
> Carlos
>
>> Having experimented with this a lot in various forms, I'd say go with
>> tables. We have almost everything that needs to be dynamically
>> controlled stored in tables and it makes it easy to seperate gui
>> controls, midi controls, file controls, etc, all with minimum code
>> overlap or interference between instruments. Plus table controls can be
>> indexed easily for mulitple instruments
>>
>> ie $FIRST_PATCH_TABLE + ktrk
>>
>> iain
>>
>>
>> Michael Gogins wrote:
>> > To find out how to build csound5, read the csound5 section of the 
>> > Csound manual. Briefly, it is built with the Python build tool SCons. 
>> > But if you are on Windows, you do not need to build it. You can 
>> > download the Windows installer and use the headers and libraries of the 
>> > Csound API, or the Python binding in CsoundVST.
>> >
>> > The intention is to allow any GUI toolkit to define a GUI that can then 
>> > interact with running instruments via the Csound API (C, C++, Python, 
>> > or Java version). This can be done in a variety of ways. MIDI and 
>> > instruments that control global variables or send bus values are the 
>> > main ways. You send send an i statement to an instrument using the API 
>> > from a GUI controller program. That instrument can then set a global 
>> > variable or send a bus value. You could also set values directly in 
>> > tables using the API.
>> >
>> >
>> > -----Original Message-----
>> > From: Carlos Pita 
>> > Sent: Mar 10, 2005 5:01 PM
>> > To: Csound-devel@lists.sourceforge.net
>> > Subject: [Cs-dev] Realtime controllers and scores in csound 5
>> >
>> > Hi!
>> >
>> > I'm interested in embeding csound for realtime experimenting
>> > from custom guis (externally defined, not using fltk opcodes).
>> > But I'm still not sure about how to control parameters of a
>> > note being played. As far as I know, non-MIDI triggered notes
>> > can't be controlled by midictrl's. And the score has no
>> > syntax to change a parameter for a note already playing,
>> > all you can do is to play a new one with different parameters.
>> > So: 1) I have guis with knobs, slides, etc to control the
>> > orchestra instruments in realtime, which are part of my
>> > application and can't be defined by fltk opcodes. 2) Although
>> > the instruments are tested and fine-tuned in realtime, they
>> > also are driven by algorithmically created scores, so I prefer
>> > a score approach over a MIDI one. Should I use MIDI for 1,
>> > then scores for 2? This would imply having two versions of the
>> > instruments. Is there any way to control in course note
>> > parameters from scores in csound 5? Perhaps from
>> > the new csound.h API?
>> >
>> > Also, how do I build csound5? I got the sources from CVS
>> > but I can't find any configure or Makefile there.
>> >
>> > Thank you in advance.
>> > Regards,
>> > Carlos
>> >
>> >
>> >
>> >
>> > -------------------------------------------------------
>> > SF email is sponsored by - The IT Product Guide
>> > Read honest & candid reviews on hundreds of IT Products from real 
>> > users.
>> > Discover which products truly live up to the hype. Start reading now.
>> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> >
>> >
>> >
>> >
>> > -------------------------------------------------------
>> > SF email is sponsored by - The IT Product Guide
>> > Read honest & candid reviews on hundreds of IT Products from real 
>> > users.
>> > Discover which products truly live up to the hype. Start reading now.
>> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net