Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev]

Date2013-03-01 10:47
Frommichael.gogins@gmail.com
SubjectRe: [Cs-dev]
AttachmentsNone  None  None  None  

Date2013-03-01 11:20
FromVictor Lazzarini
SubjectRe: [Cs-dev] sections in csound.h
AttachmentsNone  None  
That is available via frontends like qutecsound.

Victor
On 1 Mar 2013, at 10:47, michael.gogins@gmail.com wrote:

I do not want to use fout, I want the usual outputs to be active at the same time.

T-Mobile. America’s First Nationwide 4G Network

----- Reply message -----
From: "Victor Lazzarini" <Victor.Lazzarini@nuim.ie>
To: "Developer discussions" <csound-devel@lists.sourceforge.net>
Subject: [Cs-dev] sections in csound.h
Date: Fri, Mar 1, 2013 2:16 am


fout.
On 1 Mar 2013, at 01:22, Dr. Richard Boulanger wrote:

Me too!

On Thursday, February 28, 2013, Michael Gogins wrote:
I want to be able to output simultaneously to audio and to soundfile.

Regards,
Mike


On Thu, Feb 28, 2013 at 3:41 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Ah, I had actually misunderstood their usage.

I'm thinking that:
PUBLIC void csoundSetOutput (CSOUND *csound, char *name, char *type,
char *format)
PUBLIC void csoundSetInput (CSOUND *csound, char *name)

Inherit the fact that there is a single command line flag, that can be
used as filename or using "dac" for RT audio. However, this is not a
clear interface. How about having:

PUBLIC void csoundSetOutputInterface (CSOUND *csound, char *name, char
*type, char *format)
PUBLIC void csoundSetInputInterface (CSOUND *csound, char *name)

PUBLIC void csoundSetOutputFilename (CSOUND *csound, char *name, char
*type, char *format)
PUBLIC void csoundSetInputFilename (CSOUND *csound, char *name)

to set more meaningful things, and using one set actually invalidates the other?

The same would apply to:
PUBLIC void csoundSetMIDIInput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIFileInput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIOutput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIFileOutput (CSOUND *csound, char *name)

Is the function:
csoundGetOutputFileName (CSOUND *)
useful? Are there cases where the host wouldn't know, and need to?

I agree the previous functions should be moved to the engine section,
but should this one go with the other callbacks in the control and
events section?:
PUBLIC void csoundSetFileOpenCallback (CSOUND *p, void(*func)(CSOUND
*, const char *, int, int, int))

Cheers,
Andrés

On Thu, Feb 28, 2013 at 6:06 AM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
> I think the label for this section is misleading:
>
> /** @}*/
>     /** @defgroup FILEIO File Input/Output
>      *
>      *  @{
>      */
>
> It's not specifically about file input/output, but about audio and midi IO configuration.
> The csoundSetOutput() etc functions can be used to set realtime audio IO as well as file.
>
> I recommend a re-labelling. Actually I would prefer if these functions were moved to
> a 'engine configuration' section.
>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


--


Dr. Richard Boulanger, Ph.D.   

Professor of Electronic Production and Design

Professional Writing and Music Technology Division

Office @ 161 Mass Ave - 4th Floor

617-747-2485 (office)  774-488-9166 (cell)

http://csounds.com/boulanger     http://csounds.com/mathews

http://boulangerlabs.com    http://csoundforlive.com   http://csounds.com




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2013-03-01 13:17
FromMichael Gogins
SubjectRe: [Cs-dev] sections in csound.h
AttachmentsNone  None  
I don't use such frontends. I want a regular old Csound orchestra to be able to output to both audio and soundfile. In the past, since the -o option controlled output, that was not logically possible. If you change the API so that the audio output and the file output can be set independently, this now becomes logically possible.

I would be using the API to control these options, not flags.

What's your objection to this?

Regards,
Mike


On Fri, Mar 1, 2013 at 6:20 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
That is available via frontends like qutecsound.

Victor

On 1 Mar 2013, at 10:47, michael.gogins@gmail.com wrote:

I do not want to use fout, I want the usual outputs to be active at the same time.

T-Mobile. America’s First Nationwide 4G Network

----- Reply message -----
From: "Victor Lazzarini" <Victor.Lazzarini@nuim.ie>
To: "Developer discussions" <csound-devel@lists.sourceforge.net>
Subject: [Cs-dev] sections in csound.h
Date: Fri, Mar 1, 2013 2:16 am


fout.
On 1 Mar 2013, at 01:22, Dr. Richard Boulanger wrote:

Me too!

On Thursday, February 28, 2013, Michael Gogins wrote:
I want to be able to output simultaneously to audio and to soundfile.

Regards,
Mike


On Thu, Feb 28, 2013 at 3:41 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Ah, I had actually misunderstood their usage.

I'm thinking that:
PUBLIC void csoundSetOutput (CSOUND *csound, char *name, char *type,
char *format)
PUBLIC void csoundSetInput (CSOUND *csound, char *name)

Inherit the fact that there is a single command line flag, that can be
used as filename or using "dac" for RT audio. However, this is not a
clear interface. How about having:

PUBLIC void csoundSetOutputInterface (CSOUND *csound, char *name, char
*type, char *format)
PUBLIC void csoundSetInputInterface (CSOUND *csound, char *name)

PUBLIC void csoundSetOutputFilename (CSOUND *csound, char *name, char
*type, char *format)
PUBLIC void csoundSetInputFilename (CSOUND *csound, char *name)

to set more meaningful things, and using one set actually invalidates the other?

The same would apply to:
PUBLIC void csoundSetMIDIInput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIFileInput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIOutput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIFileOutput (CSOUND *csound, char *name)

Is the function:
csoundGetOutputFileName (CSOUND *)
useful? Are there cases where the host wouldn't know, and need to?

I agree the previous functions should be moved to the engine section,
but should this one go with the other callbacks in the control and
events section?:
PUBLIC void csoundSetFileOpenCallback (CSOUND *p, void(*func)(CSOUND
*, const char *, int, int, int))

Cheers,
Andrés

On Thu, Feb 28, 2013 at 6:06 AM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
> I think the label for this section is misleading:
>
> /** @}*/
>     /** @defgroup FILEIO File Input/Output
>      *
>      *  @{
>      */
>
> It's not specifically about file input/output, but about audio and midi IO configuration.
> The csoundSetOutput() etc functions can be used to set realtime audio IO as well as file.
>
> I recommend a re-labelling. Actually I would prefer if these functions were moved to
> a 'engine configuration' section.
>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


--


Dr. Richard Boulanger, Ph.D.   

Professor of Electronic Production and Design

Professional Writing and Music Technology Division

Office @ 161 Mass Ave - 4th Floor

617-747-2485 (office)  774-488-9166 (cell)

http://csounds.com/boulanger     http://csounds.com/mathews

http://boulangerlabs.com    http://csoundforlive.com   http://csounds.com




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2013-03-01 21:15
FromVictor Lazzarini
SubjectRe: [Cs-dev] sections in csound.h
AttachmentsNone  None  
The internal changes are not trivial, they require asynchronous disk writing (and reading if input is used) to avoid dropouts. I have no objection if you want to implement this.
Before adding an interface , these engine changes need to be in place.

Victor
On 1 Mar 2013, at 13:17, Michael Gogins wrote:

I don't use such frontends. I want a regular old Csound orchestra to be able to output to both audio and soundfile. In the past, since the -o option controlled output, that was not logically possible. If you change the API so that the audio output and the file output can be set independently, this now becomes logically possible.

I would be using the API to control these options, not flags.

What's your objection to this?

Regards,
Mike


On Fri, Mar 1, 2013 at 6:20 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
That is available via frontends like qutecsound.

Victor

On 1 Mar 2013, at 10:47, michael.gogins@gmail.com wrote:

I do not want to use fout, I want the usual outputs to be active at the same time.

T-Mobile. America’s First Nationwide 4G Network

----- Reply message -----
From: "Victor Lazzarini" <Victor.Lazzarini@nuim.ie>
To: "Developer discussions" <csound-devel@lists.sourceforge.net>
Subject: [Cs-dev] sections in csound.h
Date: Fri, Mar 1, 2013 2:16 am


fout.
On 1 Mar 2013, at 01:22, Dr. Richard Boulanger wrote:

Me too!

On Thursday, February 28, 2013, Michael Gogins wrote:
I want to be able to output simultaneously to audio and to soundfile.

Regards,
Mike


On Thu, Feb 28, 2013 at 3:41 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Ah, I had actually misunderstood their usage.

I'm thinking that:
PUBLIC void csoundSetOutput (CSOUND *csound, char *name, char *type,
char *format)
PUBLIC void csoundSetInput (CSOUND *csound, char *name)

Inherit the fact that there is a single command line flag, that can be
used as filename or using "dac" for RT audio. However, this is not a
clear interface. How about having:

PUBLIC void csoundSetOutputInterface (CSOUND *csound, char *name, char
*type, char *format)
PUBLIC void csoundSetInputInterface (CSOUND *csound, char *name)

PUBLIC void csoundSetOutputFilename (CSOUND *csound, char *name, char
*type, char *format)
PUBLIC void csoundSetInputFilename (CSOUND *csound, char *name)

to set more meaningful things, and using one set actually invalidates the other?

The same would apply to:
PUBLIC void csoundSetMIDIInput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIFileInput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIOutput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIFileOutput (CSOUND *csound, char *name)

Is the function:
csoundGetOutputFileName (CSOUND *)
useful? Are there cases where the host wouldn't know, and need to?

I agree the previous functions should be moved to the engine section,
but should this one go with the other callbacks in the control and
events section?:
PUBLIC void csoundSetFileOpenCallback (CSOUND *p, void(*func)(CSOUND
*, const char *, int, int, int))

Cheers,
Andrés

On Thu, Feb 28, 2013 at 6:06 AM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
> I think the label for this section is misleading:
>
> /** @}*/
>     /** @defgroup FILEIO File Input/Output
>      *
>      *  @{
>      */
>
> It's not specifically about file input/output, but about audio and midi IO configuration.
> The csoundSetOutput() etc functions can be used to set realtime audio IO as well as file.
>
> I recommend a re-labelling. Actually I would prefer if these functions were moved to
> a 'engine configuration' section.
>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


--


Dr. Richard Boulanger, Ph.D.   

Professor of Electronic Production and Design

Professional Writing and Music Technology Division

Office @ 161 Mass Ave - 4th Floor

617-747-2485 (office)  774-488-9166 (cell)

http://csounds.com/boulanger     http://csounds.com/mathews

http://boulangerlabs.com    http://csoundforlive.com   http://csounds.com




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2013-03-01 21:28
FromMichael Gogins
SubjectRe: [Cs-dev] sections in csound.h
AttachmentsNone  None  
If the changes aren't trivial I can live with fout.

Thanks,
Mike


On Fri, Mar 1, 2013 at 4:15 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
The internal changes are not trivial, they require asynchronous disk writing (and reading if input is used) to avoid dropouts. I have no objection if you want to implement this.
Before adding an interface , these engine changes need to be in place.

Victor

On 1 Mar 2013, at 13:17, Michael Gogins wrote:

I don't use such frontends. I want a regular old Csound orchestra to be able to output to both audio and soundfile. In the past, since the -o option controlled output, that was not logically possible. If you change the API so that the audio output and the file output can be set independently, this now becomes logically possible.

I would be using the API to control these options, not flags.

What's your objection to this?

Regards,
Mike


On Fri, Mar 1, 2013 at 6:20 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
That is available via frontends like qutecsound.

Victor

On 1 Mar 2013, at 10:47, michael.gogins@gmail.com wrote:

I do not want to use fout, I want the usual outputs to be active at the same time.

T-Mobile. America’s First Nationwide 4G Network

----- Reply message -----
From: "Victor Lazzarini" <Victor.Lazzarini@nuim.ie>
To: "Developer discussions" <csound-devel@lists.sourceforge.net>
Subject: [Cs-dev] sections in csound.h
Date: Fri, Mar 1, 2013 2:16 am


fout.
On 1 Mar 2013, at 01:22, Dr. Richard Boulanger wrote:

Me too!

On Thursday, February 28, 2013, Michael Gogins wrote:
I want to be able to output simultaneously to audio and to soundfile.

Regards,
Mike


On Thu, Feb 28, 2013 at 3:41 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Ah, I had actually misunderstood their usage.

I'm thinking that:
PUBLIC void csoundSetOutput (CSOUND *csound, char *name, char *type,
char *format)
PUBLIC void csoundSetInput (CSOUND *csound, char *name)

Inherit the fact that there is a single command line flag, that can be
used as filename or using "dac" for RT audio. However, this is not a
clear interface. How about having:

PUBLIC void csoundSetOutputInterface (CSOUND *csound, char *name, char
*type, char *format)
PUBLIC void csoundSetInputInterface (CSOUND *csound, char *name)

PUBLIC void csoundSetOutputFilename (CSOUND *csound, char *name, char
*type, char *format)
PUBLIC void csoundSetInputFilename (CSOUND *csound, char *name)

to set more meaningful things, and using one set actually invalidates the other?

The same would apply to:
PUBLIC void csoundSetMIDIInput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIFileInput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIOutput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIFileOutput (CSOUND *csound, char *name)

Is the function:
csoundGetOutputFileName (CSOUND *)
useful? Are there cases where the host wouldn't know, and need to?

I agree the previous functions should be moved to the engine section,
but should this one go with the other callbacks in the control and
events section?:
PUBLIC void csoundSetFileOpenCallback (CSOUND *p, void(*func)(CSOUND
*, const char *, int, int, int))

Cheers,
Andrés

On Thu, Feb 28, 2013 at 6:06 AM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
> I think the label for this section is misleading:
>
> /** @}*/
>     /** @defgroup FILEIO File Input/Output
>      *
>      *  @{
>      */
>
> It's not specifically about file input/output, but about audio and midi IO configuration.
> The csoundSetOutput() etc functions can be used to set realtime audio IO as well as file.
>
> I recommend a re-labelling. Actually I would prefer if these functions were moved to
> a 'engine configuration' section.
>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


--


Dr. Richard Boulanger, Ph.D.   

Professor of Electronic Production and Design

Professional Writing and Music Technology Division

Office @ 161 Mass Ave - 4th Floor

617-747-2485 (office)  774-488-9166 (cell)

http://csounds.com/boulanger     http://csounds.com/mathews

http://boulangerlabs.com    http://csoundforlive.com   http://csounds.com




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2013-03-01 21:36
FromVictor Lazzarini
SubjectRe: [Cs-dev] sections in csound.h
AttachmentsNone  None  
To put it this way, we could do it just by using a blocking call, but it would be robust. Actually, if you are using the C/C++ API,
it is easy enough just to tap spout and write to disk with libsndfile, if you don't mind occasional dropouts for your own uses.
That is relatively trivial.

Victor
On 1 Mar 2013, at 21:28, Michael Gogins wrote:

If the changes aren't trivial I can live with fout.

Thanks,
Mike


On Fri, Mar 1, 2013 at 4:15 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
The internal changes are not trivial, they require asynchronous disk writing (and reading if input is used) to avoid dropouts. I have no objection if you want to implement this.
Before adding an interface , these engine changes need to be in place.

Victor

On 1 Mar 2013, at 13:17, Michael Gogins wrote:

I don't use such frontends. I want a regular old Csound orchestra to be able to output to both audio and soundfile. In the past, since the -o option controlled output, that was not logically possible. If you change the API so that the audio output and the file output can be set independently, this now becomes logically possible.

I would be using the API to control these options, not flags.

What's your objection to this?

Regards,
Mike


On Fri, Mar 1, 2013 at 6:20 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
That is available via frontends like qutecsound.

Victor

On 1 Mar 2013, at 10:47, michael.gogins@gmail.com wrote:

I do not want to use fout, I want the usual outputs to be active at the same time.

T-Mobile. America’s First Nationwide 4G Network

----- Reply message -----
From: "Victor Lazzarini" <Victor.Lazzarini@nuim.ie>
To: "Developer discussions" <csound-devel@lists.sourceforge.net>
Subject: [Cs-dev] sections in csound.h
Date: Fri, Mar 1, 2013 2:16 am


fout.
On 1 Mar 2013, at 01:22, Dr. Richard Boulanger wrote:

Me too!

On Thursday, February 28, 2013, Michael Gogins wrote:
I want to be able to output simultaneously to audio and to soundfile.

Regards,
Mike


On Thu, Feb 28, 2013 at 3:41 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Ah, I had actually misunderstood their usage.

I'm thinking that:
PUBLIC void csoundSetOutput (CSOUND *csound, char *name, char *type,
char *format)
PUBLIC void csoundSetInput (CSOUND *csound, char *name)

Inherit the fact that there is a single command line flag, that can be
used as filename or using "dac" for RT audio. However, this is not a
clear interface. How about having:

PUBLIC void csoundSetOutputInterface (CSOUND *csound, char *name, char
*type, char *format)
PUBLIC void csoundSetInputInterface (CSOUND *csound, char *name)

PUBLIC void csoundSetOutputFilename (CSOUND *csound, char *name, char
*type, char *format)
PUBLIC void csoundSetInputFilename (CSOUND *csound, char *name)

to set more meaningful things, and using one set actually invalidates the other?

The same would apply to:
PUBLIC void csoundSetMIDIInput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIFileInput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIOutput (CSOUND *csound, char *name)
PUBLIC void csoundSetMIDIFileOutput (CSOUND *csound, char *name)

Is the function:
csoundGetOutputFileName (CSOUND *)
useful? Are there cases where the host wouldn't know, and need to?

I agree the previous functions should be moved to the engine section,
but should this one go with the other callbacks in the control and
events section?:
PUBLIC void csoundSetFileOpenCallback (CSOUND *p, void(*func)(CSOUND
*, const char *, int, int, int))

Cheers,
Andrés

On Thu, Feb 28, 2013 at 6:06 AM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
> I think the label for this section is misleading:
>
> /** @}*/
>     /** @defgroup FILEIO File Input/Output
>      *
>      *  @{
>      */
>
> It's not specifically about file input/output, but about audio and midi IO configuration.
> The csoundSetOutput() etc functions can be used to set realtime audio IO as well as file.
>
> I recommend a re-labelling. Actually I would prefer if these functions were moved to
> a 'engine configuration' section.
>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


--


Dr. Richard Boulanger, Ph.D.   

Professor of Electronic Production and Design

Professional Writing and Music Technology Division

Office @ 161 Mass Ave - 4th Floor

617-747-2485 (office)  774-488-9166 (cell)

http://csounds.com/boulanger     http://csounds.com/mathews

http://boulangerlabs.com    http://csoundforlive.com   http://csounds.com




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2013-03-01 21:42
FromVictor Lazzarini
SubjectRe: [Cs-dev] sections in csound.h
I mean it would NOT be robust...
On 1 Mar 2013, at 21:36, Victor Lazzarini wrote:

> To put it this way, we could do it just by using a blocking call, but it would be robust. Actu

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-03-01 22:40
FromMichael Gogins
SubjectRe: [Cs-dev] sections in csound.h
AttachmentsNone  None  
This is in the context of composing by writing C++ programs which embed Csound. I need to keep things as simple as possible (decades of programming have cured me of my fondness for inventing new features that don't do something spectacularly new). So I don't really want to mess with the output buffer either. But I could definitely live with a robus, non-async output because I usually am not doing live stuff. If I end up doing more I'll revisit the issue.

Thanks,
Mike


On Fri, Mar 1, 2013 at 4:42 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I mean it would NOT be robust...
On 1 Mar 2013, at 21:36, Victor Lazzarini wrote:

> To put it this way, we could do it just by using a blocking call, but it would be robust. Actu

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2013-03-01 22:59
FromVictor Lazzarini
SubjectRe: [Cs-dev] sections in csound.h
AttachmentsNone  None  
By the way fout is async in realtime priority mode.

Victor
On 1 Mar 2013, at 22:40, Michael Gogins wrote:

This is in the context of composing by writing C++ programs which embed Csound. I need to keep things as simple as possible (decades of programming have cured me of my fondness for inventing new features that don't do something spectacularly new). So I don't really want to mess with the output buffer either. But I could definitely live with a robus, non-async output because I usually am not doing live stuff. If I end up doing more I'll revisit the i ssue.

Thanks,
Mike


On Fri, Mar 1, 2013 at 4:42 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I mean it would NOT be robust...
On 1 Mar 2013, at 21:36, Victor Lazzarini wrote:

> To put it this way, we could do it just by using a blocking call, but it would be robust. Actu

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie