Csound Csound-dev Csound-tekno Search About

[Csnd] Score to GUI question

Date2020-10-31 15:45
FromJean Basile Sosa
Subject[Csnd] Score to GUI question
Hello,

Is it possible to send a f statement of a score to an external GUI ?

I can do that for all i statements using for exemple an OSC communication within the instruments. 

In other words, when I compile a csd score, the values contained in each i statement are send to a GUI (corresponding to p1, p2, p3, etc.).

However I don’t know how to do the same with f statements, which represent in the following case the values of a gen 16 applied to the amplitude of the corresponding i statement:

f 101 0 1024 16 0  14.487441132223848 -9.95 1 1009.5125588677762 9.95 0

i 1.01 0.0000 -480 0.0600 0.0100 10.0000 10.0000 10.0000 10.0000 1.0000 1.0000 0.0000 25.9570 0.0000 0.2500 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 1.0000 0.0000 1.0000 2.0000 2.0000

I don’t know if it is very understandable,

But thank you in advance for your help,

Jean Basile 

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-10-31 16:15
FromRichard
SubjectRe: [Csnd] Score to GUI question
You could write the f table to a file, using ftsave. Then read that file 
and convert it to an OSC (blob) message. A bit hacky, but it could work...

Richard

On 31/10/2020 16:45, Jean Basile Sosa wrote:
> Hello,
>
> Is it possible to send a f statement of a score to an external GUI ?
>
> I can do that for all i statements using for exemple an OSC communication within the instruments.
>
> In other words, when I compile a csd score, the values contained in each i statement are send to a GUI (corresponding to p1, p2, p3, etc.).
>
> However I don’t know how to do the same with f statements, which represent in the following case the values of a gen 16 applied to the amplitude of the corresponding i statement:
>
> f 101 0 1024 16 0  14.487441132223848 -9.95 1 1009.5125588677762 9.95 0
>
> i 1.01 0.0000 -480 0.0600 0.0100 10.0000 10.0000 10.0000 10.0000 1.0000 1.0000 0.0000 25.9570 0.0000 0.2500 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 1.0000 0.0000 1.0000 2.0000 2.0000
>
> I don’t know if it is very understandable,
>
> But thank you in advance for your help,
>
> Jean Basile
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-10-31 16:35
FromEduardo Moguillansky
SubjectRe: [Csnd] Score to GUI question
see the table plot widget in csoundqt

On 31.10.20 16:45, Jean Basile Sosa wrote:
> Hello,
>
> Is it possible to send a f statement of a score to an external GUI ?
>
> I can do that for all i statements using for exemple an OSC communication within the instruments.
>
> In other words, when I compile a csd score, the values contained in each i statement are send to a GUI (corresponding to p1, p2, p3, etc.).
>
> However I don’t know how to do the same with f statements, which represent in the following case the values of a gen 16 applied to the amplitude of the corresponding i statement:
>
> f 101 0 1024 16 0  14.487441132223848 -9.95 1 1009.5125588677762 9.95 0
>
> i 1.01 0.0000 -480 0.0600 0.0100 10.0000 10.0000 10.0000 10.0000 1.0000 1.0000 0.0000 25.9570 0.0000 0.2500 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 1.0000 0.0000 1.0000 2.0000 2.0000
>
> I don’t know if it is very understandable,
>
> But thank you in advance for your help,
>
> Jean Basile
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here