Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] xyin discussion

Date2013-04-16 17:31
From"Art Hunkins"
SubjectRe: [Cs-dev] xyin discussion
I presume that this discussion re: FLTK opcodes xyin button and checkbox 
does *not* suggest backward incompatibility with their use in existing 
compositions - or that these compositions will no longer be playable in 
Csound 6.

Is this correct?

(I have used several if not all three of these.)

Art Hunkins


----- Original Message ----- 
From: "Rory Walsh" 
To: "Developer discussions" 
Sent: Tuesday, April 16, 2013 11:25 AM
Subject: Re: [Cs-dev] xyin discussion


Sorry Andres, I didn't see that. I've never used it but I would think
it could go. Another source of confusion for users are the button and
checkbox opcodes. I think with the abundance of frontends which
provide these widgets it can be a little misleading?

On 16 April 2013 15:52, Andres Cabrera  wrote:
> Hi,
>
> I asked about the removal of xyin in February.
>
> Cheers,
> Andrés
>
>
> ---------- Forwarded message ----------
> From: Andres Cabrera 
> Date: Thu, Feb 21, 2013 at 10:45 PM
> Subject: XY Callbacks
> To: Developer discussions 
>
>
> Hi,
>
> I'm dying to remove:
>
> PUBLIC void csoundSetMakeXYinCallback (CSOUND *,
> void(*makeXYinCallback_)(CSOUND *, XYINDAT *, MYFLT x, MYFLT y))
>
> PUBLIC void csoundSetReadXYinCallback (CSOUND *,
> void(*readXYinCallback_)(CSOUND *, XYINDAT *))
>
> PUBLIC void csoundSetKillXYinCallback (CSOUND *,
> void(*killXYinCallback_)(CSOUND *, XYINDAT *))
>
> That would mean removing the functionality needed by the xyin opcode
> (I bet you hadn't heard about that one...). The functionality is
> served by FLxyin (xyin also depends on FLTK). Can I remove the
> functions and make the xyin opcode a wrapper to FLxyin?
>
> Cheers,
> Andres
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel 


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-04-16 17:58
FromAndres Cabrera
SubjectRe: [Cs-dev] xyin discussion
AttachmentsNone  None  

Hi Art,

This does not affect the FLTK opcodes in any way, only the xyin opcode, which requires a set of functions that were removed from the API. The opcode cannot work without the API functions, so the question is, should the API functions be put back or should the opcode be left as a stub with instructions on how to port for csound 6?

I would prefer the latter, as I doubt this opcode has seem much use as it always required writing a host in c or c++. It never worked otherwise, unlike the bus opcodes.

Cheers,
Andres

On Apr 16, 2013 9:49 AM, "Art Hunkins" <abhunkin@uncg.edu> wrote:
I presume that this discussion re: FLTK opcodes xyin button and checkbox
does *not* suggest backward incompatibility with their use in existing
compositions - or that these compositions will no longer be playable in
Csound 6.

Is this correct?

(I have used several if not all three of these.)

Art Hunkins


----- Original Message -----
From: "Rory Walsh" <rorywalsh@ear.ie>
To: "Developer discussions" <csound-devel@lists.sourceforge.net>
Sent: Tuesday, April 16, 2013 11:25 AM
Subject: Re: [Cs-dev] xyin discussion


Sorry Andres, I didn't see that. I've never used it but I would think
it could go. Another source of confusion for users are the button and
checkbox opcodes. I think with the abundance of frontends which
provide these widgets it can be a little misleading?

On 16 April 2013 15:52, Andres Cabrera <mantaraya36@gmail.com> wrote:
> Hi,
>
> I asked about the removal of xyin in February.
>
> Cheers,
> Andrés
>
>
> ---------- Forwarded message ----------
> From: Andres Cabrera <mantaraya36@gmail.com>
> Date: Thu, Feb 21, 2013 at 10:45 PM
> Subject: XY Callbacks
> To: Developer discussions <csound-devel@lists.sourceforge.net>
>
>
> Hi,
>
> I'm dying to remove:
>
> PUBLIC void csoundSetMakeXYinCallback (CSOUND *,
> void(*makeXYinCallback_)(CSOUND *, XYINDAT *, MYFLT x, MYFLT y))
>
> PUBLIC void csoundSetReadXYinCallback (CSOUND *,
> void(*readXYinCallback_)(CSOUND *, XYINDAT *))
>
> PUBLIC void csoundSetKillXYinCallback (CSOUND *,
> void(*killXYinCallback_)(CSOUND *, XYINDAT *))
>
> That would mean removing the functionality needed by the xyin opcode
> (I bet you hadn't heard about that one...). The functionality is
> served by FLxyin (xyin also depends on FLTK). Can I remove the
> functions and make the xyin opcode a wrapper to FLxyin?
>
> Cheers,
> Andres
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2013-04-16 19:06
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] xyin discussion
> I would prefer the latter, as I doubt this opcode has seem much use as it
> always required writing a host in c or c++. It never worked otherwise,
> unlike the bus opcodes.
>

Not so.  The xyin opcode worked in csound4 and earlier.  It did not use
any callback-like code.  I still have the code.



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-04-16 19:13
FromJustin Smith
SubjectRe: [Cs-dev] xyin discussion
AttachmentsNone  None  
wasn't it once based on tcl/tk?


On Tue, Apr 16, 2013 at 11:06 AM, <jpff@cs.bath.ac.uk> wrote:

> I would prefer the latter, as I doubt this opcode has seem much use as it
> always required writing a host in c or c++. It never worked otherwise,
> unlike the bus opcodes.
>

Not so.  The xyin opcode worked in csound4 and earlier.  It did not use
any callback-like code.  I still have the code.



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-04-16 19:23
FromAndres Cabrera
SubjectRe: [Cs-dev] xyin discussion
AttachmentsNone  None  

Great. Then maybe we can use that code instead.

Cheers,
Andres

On Apr 16, 2013 11:06 AM, <jpff@cs.bath.ac.uk> wrote:

> I would prefer the latter, as I doubt this opcode has seem much use as it
> always required writing a host in c or c++. It never worked otherwise,
> unlike the bus opcodes.
>

Not so.  The xyin opcode worked in csound4 and earlier.  It did not use
any callback-like code.  I still have the code.



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2013-04-16 20:09
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] xyin discussion
> wasn't it once based on tcl/tk?

Not in cs4.  Direct code in X11 and other systems


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net