Quantcast

[Qutecsound-users] any progress with this bug?

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Qutecsound-users] any progress with this bug?

joachim-3
hi -

i wonder if there is any progress with this bug:
http://sourceforge.net/p/qutecsound/bugs/132/

because of this bug, all examples in csoundqt which use multiple paths
(like Synths > Imitative Additive or Useful > Mixdown Player) are not
working any more. And no one knows why ...

thanks -
        joachim

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] any progress with this bug?

Tarmo Johannes

Hi,

 

I copy i also to Csound main list, I think the problem is on the Csound side:

 

About a year ago I did some debuggind and wrote on 15.03.2014:

 

----------

 

I think I tracked down the reason -

it is function void CsoundEngine::inputValueCallback

csoundengine.cpp:236: int maxlen = csoundGetChannelDatasize(csound, channelName);

- csound returns value 16 as the max data size. Andrés, can you guess or ask why?

 

----------

 

Developers, can you have a look at csoundGetChannelDatasize function and confirm, can this be the problem?

 

Thanks,

tarmo

 

On Monday 06 July 2015 09:51:31 joachim heintz wrote:

> hi -

>

> i wonder if there is any progress with this bug:

> http://sourceforge.net/p/qutecsound/bugs/132/

>

> because of this bug, all examples in csoundqt which use multiple paths

> (like Synths > Imitative Additive or Useful > Mixdown Player) are not

> working any more. And no one knows why ...

>

> thanks -

> joachim

>

> ----------------------------------------------------------------------------

> -- Don't Limit Your Business. Reach for the Cloud.

> GigeNET's Cloud Solutions provide you with the tools and support that

> you need to offload your IT needs and focus on growing your business.

> Configured For All Businesses. Start Your Cloud Today.

> https://www.gigenetcloud.com/

> _______________________________________________

> Qutecsound-users mailing list

> [hidden email]

> https://lists.sourceforge.net/lists/listinfo/qutecsound-users

 


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] [Csnd] any progress with this bug?

john ffitch
Is this query on a string?  String size is returned in bytes so could be
ciorrect.
==John ff

On Sat, 11 Jul 2015, Tarmo Johannes wrote:

>
> Hi,
>
>  
>
> I copy i also to Csound main list, I think the problem is on the Csound side:
>
>  
>
> About a year ago I did some debuggind and wrote on 15.03.2014:
>
>  
>
> ----------
>
>  
>
> I think I tracked down the reason -
>
> it is function void CsoundEngine::inputValueCallback
>
> csoundengine.cpp:236: int maxlen = csoundGetChannelDatasize(csound,
> channelName);
>
> - csound returns value 16 as the max data size. Andrés, can you guess or ask
> why?
>
>  
>
> ----------
>
>  
>
> Developers, can you have a look at csoundGetChannelDatasize function and
> confirm, can this be the problem?
>
>  
>
> Thanks,
>
> tarmo
>
>  
>
> On Monday 06 July 2015 09:51:31 joachim heintz wrote:
>
> > hi -
>
> >
>
> > i wonder if there is any progress with this bug:
>
> > http://sourceforge.net/p/qutecsound/bugs/132/
>
> >
>
> > because of this bug, all examples in csoundqt which use multiple paths
>
> > (like Synths > Imitative Additive or Useful > Mixdown Player) are not
>
> > working any more. And no one knows why ...
>
> >
>
> > thanks -
>
> > joachim
>
> >
>
> > ----------------------------------------------------------------------------
>
> > -- Don't Limit Your Business. Reach for the Cloud.
>
> > GigeNET's Cloud Solutions provide you with the tools and support that
>
> > you need to offload your IT needs and focus on growing your business.
>
> > Configured For All Businesses. Start Your Cloud Today.
>
> > https://www.gigenetcloud.com/
>
> > _______________________________________________
>
> > Qutecsound-users mailing list
>
> > [hidden email]
>
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  
>
>
>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] any progress with this bug?

Andres Cabrera
Administrator
In reply to this post by Tarmo Johannes
Hi Tarmo,

I'm looking at this on the debugger, and the length of the string data returned by csoundGetChannelDatasize() is 128 with the latest csound git. This is consistent with the problem Joachim describes, and I've looked at this several times, but there is no fix except for incrementing the default string size in Csound until the "modern" csound data types are exposed through the API (this should be a priority in Csound7!). The problem is that the callback bus API function (used by invalue/outvalue) pass a pointer to the data directly so they can't resize strings. This is not a problem if you use chnget/chnset, but in this case you will have to declare the channels with chn_S. Maybe to releive the problem temporarily the default allocated string size could be extended to 256?

Cheers,
Andrés

On Sat, Jul 11, 2015 at 3:22 AM, Tarmo Johannes <[hidden email]> wrote:

Hi,

 

I copy i also to Csound main list, I think the problem is on the Csound side:

 

About a year ago I did some debuggind and wrote on 15.03.2014:

 

----------

 

I think I tracked down the reason -

it is function void CsoundEngine::inputValueCallback

csoundengine.cpp:236: int maxlen = csoundGetChannelDatasize(csound, channelName);

- csound returns value 16 as the max data size. Andrés, can you guess or ask why?

 

----------

 

Developers, can you have a look at csoundGetChannelDatasize function and confirm, can this be the problem?

 

Thanks,

tarmo

 

On Monday 06 July 2015 09:51:31 joachim heintz wrote:

> hi -

>

> i wonder if there is any progress with this bug:

> http://sourceforge.net/p/qutecsound/bugs/132/

>

> because of this bug, all examples in csoundqt which use multiple paths

> (like Synths > Imitative Additive or Useful > Mixdown Player) are not

> working any more. And no one knows why ...

>

> thanks -

> joachim

>

> ----------------------------------------------------------------------------

> -- Don't Limit Your Business. Reach for the Cloud.

> GigeNET's Cloud Solutions provide you with the tools and support that

> you need to offload your IT needs and focus on growing your business.

> Configured For All Businesses. Start Your Cloud Today.

> https://www.gigenetcloud.com/

> _______________________________________________

> Qutecsound-users mailing list

> [hidden email]

> https://lists.sourceforge.net/lists/listinfo/qutecsound-users

 


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] any progress with this bug?

Tarmo Johannes

Thanks!
Joachim, what do you think, I guess it would make sense to rewrite the problematic examples with chnget chn_S? If you let me know the list of those examples, i would do half of those.
Tarmo

12.07.2015 15:36 kirjutas kuupäeval "Andres Cabrera" <[hidden email]>:
Hi Tarmo,

I'm looking at this on the debugger, and the length of the string data returned by csoundGetChannelDatasize() is 128 with the latest csound git. This is consistent with the problem Joachim describes, and I've looked at this several times, but there is no fix except for incrementing the default string size in Csound until the "modern" csound data types are exposed through the API (this should be a priority in Csound7!). The problem is that the callback bus API function (used by invalue/outvalue) pass a pointer to the data directly so they can't resize strings. This is not a problem if you use chnget/chnset, but in this case you will have to declare the channels with chn_S. Maybe to releive the problem temporarily the default allocated string size could be extended to 256?

Cheers,
Andrés

On Sat, Jul 11, 2015 at 3:22 AM, Tarmo Johannes <[hidden email]> wrote:

Hi,

 

I copy i also to Csound main list, I think the problem is on the Csound side:

 

About a year ago I did some debuggind and wrote on 15.03.2014:

 

----------

 

I think I tracked down the reason -

it is function void CsoundEngine::inputValueCallback

csoundengine.cpp:236: int maxlen = csoundGetChannelDatasize(csound, channelName);

- csound returns value 16 as the max data size. Andrés, can you guess or ask why?

 

----------

 

Developers, can you have a look at csoundGetChannelDatasize function and confirm, can this be the problem?

 

Thanks,

tarmo

 

On Monday 06 July 2015 09:51:31 joachim heintz wrote:

> hi -

>

> i wonder if there is any progress with this bug:

> http://sourceforge.net/p/qutecsound/bugs/132/

>

> because of this bug, all examples in csoundqt which use multiple paths

> (like Synths > Imitative Additive or Useful > Mixdown Player) are not

> working any more. And no one knows why ...

>

> thanks -

> joachim

>

> ----------------------------------------------------------------------------

> -- Don't Limit Your Business. Reach for the Cloud.

> GigeNET's Cloud Solutions provide you with the tools and support that

> you need to offload your IT needs and focus on growing your business.

> Configured For All Businesses. Start Your Cloud Today.

> https://www.gigenetcloud.com/

> _______________________________________________

> Qutecsound-users mailing list

> [hidden email]

> https://lists.sourceforge.net/lists/listinfo/qutecsound-users

 


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] any progress with this bug?

Andres Cabrera
Administrator

I'm not sure but Steven's recent change might actually have an impact here and increase the default size to 1024 which probably solves most practical issues.

A


On 3:59AM, Mon, Jul 13, 2015 Tarmo Johannes <[hidden email]> wrote:

Thanks!
Joachim, what do you think, I guess it would make sense to rewrite the problematic examples with chnget chn_S? If you let me know the list of those examples, i would do half of those.


Tarmo

12.07.2015 15:36 kirjutas kuupäeval "Andres Cabrera" <[hidden email]>:
Hi Tarmo,

I'm looking at this on the debugger, and the length of the string data returned by csoundGetChannelDatasize() is 128 with the latest csound git. This is consistent with the problem Joachim describes, and I've looked at this several times, but there is no fix except for incrementing the default string size in Csound until the "modern" csound data types are exposed through the API (this should be a priority in Csound7!). The problem is that the callback bus API function (used by invalue/outvalue) pass a pointer to the data directly so they can't resize strings. This is not a problem if you use chnget/chnset, but in this case you will have to declare the channels with chn_S. Maybe to releive the problem temporarily the default allocated string size could be extended to 256?

Cheers,
Andrés

On Sat, Jul 11, 2015 at 3:22 AM, Tarmo Johannes <[hidden email]> wrote:

Hi,

 

I copy i also to Csound main list, I think the problem is on the Csound side:

 

About a year ago I did some debuggind and wrote on 15.03.2014:

 

----------

 

I think I tracked down the reason -

it is function void CsoundEngine::inputValueCallback

csoundengine.cpp:236: int maxlen = csoundGetChannelDatasize(csound, channelName);

- csound returns value 16 as the max data size. Andrés, can you guess or ask why?

 

----------

 

Developers, can you have a look at csoundGetChannelDatasize function and confirm, can this be the problem?

 

Thanks,

tarmo

 

On Monday 06 July 2015 09:51:31 joachim heintz wrote:

> hi -

>

> i wonder if there is any progress with this bug:

> http://sourceforge.net/p/qutecsound/bugs/132/

>

> because of this bug, all examples in csoundqt which use multiple paths

> (like Synths > Imitative Additive or Useful > Mixdown Player) are not

> working any more. And no one knows why ...

>

> thanks -

> joachim

>

> ----------------------------------------------------------------------------

> -- Don't Limit Your Business. Reach for the Cloud.

> GigeNET's Cloud Solutions provide you with the tools and support that

> you need to offload your IT needs and focus on growing your business.

> Configured For All Businesses. Start Your Cloud Today.

> https://www.gigenetcloud.com/

> _______________________________________________

> Qutecsound-users mailing list

> [hidden email]

> https://lists.sourceforge.net/lists/listinfo/qutecsound-users

 


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] any progress with this bug?

joachim-3
hi andrés, hi tarmo -

thanks for your insights about this.  certainly, i wouldn't have any
problems to replace invalue with chnget.  when i looked at this last, it
did not solve the issue, though.  but i can try again.

the main problematic example is Synths > Imitative Additive (select for
instance 5 files).  if you can try, tarmo, i'd appreciate.

ciao -
        joachim


Am 13.07.2015 um 15:11 schrieb Andres Cabrera:

> I'm not sure but Steven's recent change might actually have an impact
> here and increase the default size to 1024 which probably solves most
> practical issues.
>
> A
>
>
> On 3:59AM, Mon, Jul 13, 2015 Tarmo Johannes
> <[hidden email] <mailto:[hidden email]>>
> wrote:
>
>     Thanks!
>     Joachim, what do you think, I guess it would make sense to rewrite
>     the problematic examples with chnget chn_S? If you let me know the
>     list of those examples, i would do half of those.
>
>
>     Tarmo
>
>     12.07.2015 15:36 kirjutas kuupäeval "Andres Cabrera"
>     <[hidden email] <mailto:[hidden email]>>:
>
>         Hi Tarmo,
>
>         I'm looking at this on the debugger, and the length of the
>         string data returned by csoundGetChannelDatasize() is 128 with
>         the latest csound git. This is consistent with the problem
>         Joachim describes, and I've looked at this several times, but
>         there is no fix except for incrementing the default string size
>         in Csound until the "modern" csound data types are exposed
>         through the API (this should be a priority in Csound7!). The
>         problem is that the callback bus API function (used by
>         invalue/outvalue) pass a pointer to the data directly so they
>         can't resize strings. This is not a problem if you use
>         chnget/chnset, but in this case you will have to declare the
>         channels with chn_S. Maybe to releive the problem temporarily
>         the default allocated string size could be extended to 256?
>
>         Cheers,
>         Andrés
>
>         On Sat, Jul 11, 2015 at 3:22 AM, Tarmo Johannes
>         <[hidden email]
>         <mailto:[hidden email]>> wrote:
>
>             __
>
>             Hi,
>
>             I copy i also to Csound main list, I think the problem is on
>             the Csound side:
>
>             About a year ago I did some debuggind and wrote on 15.03.2014:
>
>             ----------
>
>             I think I tracked down the reason -
>
>             it is function void CsoundEngine::inputValueCallback
>
>             csoundengine.cpp:236: int maxlen =
>             csoundGetChannelDatasize(csound, channelName);
>
>             - csound returns value 16 as the max data size. Andrés, can
>             you guess or ask why?
>
>             ----------
>
>             Developers, can you have a look at csoundGetChannelDatasize
>             function and confirm, can this be the problem?
>
>             Thanks,
>
>             tarmo
>
>             On Monday 06 July 2015 09:51:31 joachim heintz wrote:
>
>             > hi -
>
>             >
>
>             > i wonder if there is any progress with this bug:
>
>             >http://sourceforge.net/p/qutecsound/bugs/132/
>
>             >
>
>             > because of this bug, all examples in csoundqt which use multiple paths
>
>             > (like Synths > Imitative Additive or Useful > Mixdown Player) are not
>
>             > working any more. And no one knows why ...
>
>             >
>
>             > thanks -
>
>             > joachim
>
>             >
>
>             > ----------------------------------------------------------------------------
>
>              > -- Don't Limit Your Business. Reach for the Cloud.
>
>             > GigeNET's Cloud Solutions provide you with the tools and support that
>
>             > you need to offload your IT needs and focus on growing your business.
>
>             > Configured For All Businesses. Start Your Cloud Today.
>
>             >https://www.gigenetcloud.com/
>
>             > _______________________________________________
>
>             > Qutecsound-users mailing list
>
>             >[hidden email]
>             <mailto:[hidden email]>
>
>             >https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>
>             ------------------------------------------------------------------------------
>             Don't Limit Your Business. Reach for the Cloud.
>             GigeNET's Cloud Solutions provide you with the tools and
>             support that
>             you need to offload your IT needs and focus on growing your
>             business.
>             Configured For All Businesses. Start Your Cloud Today.
>             https://www.gigenetcloud.com/
>             _______________________________________________
>             Qutecsound-users mailing list
>             [hidden email]
>             <mailto:[hidden email]>
>             https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>
>
>         ------------------------------------------------------------------------------
>         Don't Limit Your Business. Reach for the Cloud.
>         GigeNET's Cloud Solutions provide you with the tools and support
>         that
>         you need to offload your IT needs and focus on growing your
>         business.
>         Configured For All Businesses. Start Your Cloud Today.
>         https://www.gigenetcloud.com/
>         _______________________________________________
>         Qutecsound-users mailing list
>         [hidden email]
>         <mailto:[hidden email]>
>         https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>     ------------------------------------------------------------------------------
>     Don't Limit Your Business. Reach for the Cloud.
>     GigeNET's Cloud Solutions provide you with the tools and support that
>     you need to offload your IT needs and focus on growing your business.
>     Configured For All Businesses. Start Your Cloud Today.
>     https://www.gigenetcloud.com/_______________________________________________
>     Qutecsound-users mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
>
>
>
> _______________________________________________
> Qutecsound-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>

------------------------------------------------------------------------------
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] any progress with this bug?

Andres Cabrera
Administrator
Hi Joachim,

This seems to have been addressed in Csound git. (There is little I can do in CsoundQt as it is a shortcoming of the way strings are exposed via the API and the way this interacts with the work towards a more general type system).

Can you try with Csound git and see if the problem persists?

Cheers,
Andrés

On Thu, Jul 30, 2015 at 11:48 AM, joachim heintz <[hidden email]> wrote:
hi andrés, hi tarmo -

thanks for your insights about this.  certainly, i wouldn't have any
problems to replace invalue with chnget.  when i looked at this last, it
did not solve the issue, though.  but i can try again.

the main problematic example is Synths > Imitative Additive (select for
instance 5 files).  if you can try, tarmo, i'd appreciate.

ciao -
        joachim


Am 13.07.2015 um 15:11 schrieb Andres Cabrera:
> I'm not sure but Steven's recent change might actually have an impact
> here and increase the default size to 1024 which probably solves most
> practical issues.
>
> A
>
>
> On 3:59AM, Mon, Jul 13, 2015 Tarmo Johannes
> <[hidden email] <mailto:[hidden email]>>
> wrote:
>
>     Thanks!
>     Joachim, what do you think, I guess it would make sense to rewrite
>     the problematic examples with chnget chn_S? If you let me know the
>     list of those examples, i would do half of those.
>
>
>     Tarmo
>
>     12.07.2015 15:36 kirjutas kuupäeval "Andres Cabrera"
>     <[hidden email] <mailto:[hidden email]>>:
>
>         Hi Tarmo,
>
>         I'm looking at this on the debugger, and the length of the
>         string data returned by csoundGetChannelDatasize() is 128 with
>         the latest csound git. This is consistent with the problem
>         Joachim describes, and I've looked at this several times, but
>         there is no fix except for incrementing the default string size
>         in Csound until the "modern" csound data types are exposed
>         through the API (this should be a priority in Csound7!). The
>         problem is that the callback bus API function (used by
>         invalue/outvalue) pass a pointer to the data directly so they
>         can't resize strings. This is not a problem if you use
>         chnget/chnset, but in this case you will have to declare the
>         channels with chn_S. Maybe to releive the problem temporarily
>         the default allocated string size could be extended to 256?
>
>         Cheers,
>         Andrés
>
>         On Sat, Jul 11, 2015 at 3:22 AM, Tarmo Johannes
>         <[hidden email]
>         <mailto:[hidden email]>> wrote:
>
>             __
>
>             Hi,
>
>             I copy i also to Csound main list, I think the problem is on
>             the Csound side:
>
>             About a year ago I did some debuggind and wrote on 15.03.2014:
>
>             ----------
>
>             I think I tracked down the reason -
>
>             it is function void CsoundEngine::inputValueCallback
>
>             csoundengine.cpp:236: int maxlen =
>             csoundGetChannelDatasize(csound, channelName);
>
>             - csound returns value 16 as the max data size. Andrés, can
>             you guess or ask why?
>
>             ----------
>
>             Developers, can you have a look at csoundGetChannelDatasize
>             function and confirm, can this be the problem?
>
>             Thanks,
>
>             tarmo
>
>             On Monday 06 July 2015 09:51:31 joachim heintz wrote:
>
>             > hi -
>
>             >
>
>             > i wonder if there is any progress with this bug:
>
>             >http://sourceforge.net/p/qutecsound/bugs/132/
>
>             >
>
>             > because of this bug, all examples in csoundqt which use multiple paths
>
>             > (like Synths > Imitative Additive or Useful > Mixdown Player) are not
>
>             > working any more. And no one knows why ...
>
>             >
>
>             > thanks -
>
>             >         joachim
>
>             >
>
>             > ----------------------------------------------------------------------------
>
>              > -- Don't Limit Your Business. Reach for the Cloud.
>
>             > GigeNET's Cloud Solutions provide you with the tools and support that
>
>             > you need to offload your IT needs and focus on growing your business.
>
>             > Configured For All Businesses. Start Your Cloud Today.
>
>             >https://www.gigenetcloud.com/
>
>             > _______________________________________________
>
>             > Qutecsound-users mailing list
>
>             >[hidden email]
>             <mailto:[hidden email]>
>
>             >https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>
>             ------------------------------------------------------------------------------
>             Don't Limit Your Business. Reach for the Cloud.
>             GigeNET's Cloud Solutions provide you with the tools and
>             support that
>             you need to offload your IT needs and focus on growing your
>             business.
>             Configured For All Businesses. Start Your Cloud Today.
>             https://www.gigenetcloud.com/
>             _______________________________________________
>             Qutecsound-users mailing list
>             [hidden email]
>             <mailto:[hidden email]>
>             https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>
>
>         ------------------------------------------------------------------------------
>         Don't Limit Your Business. Reach for the Cloud.
>         GigeNET's Cloud Solutions provide you with the tools and support
>         that
>         you need to offload your IT needs and focus on growing your
>         business.
>         Configured For All Businesses. Start Your Cloud Today.
>         https://www.gigenetcloud.com/
>         _______________________________________________
>         Qutecsound-users mailing list
>         [hidden email]
>         <mailto:[hidden email]>
>         https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>     ------------------------------------------------------------------------------
>     Don't Limit Your Business. Reach for the Cloud.
>     GigeNET's Cloud Solutions provide you with the tools and support that
>     you need to offload your IT needs and focus on growing your business.
>     Configured For All Businesses. Start Your Cloud Today.
>     https://www.gigenetcloud.com/_______________________________________________
>     Qutecsound-users mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
>
>
>
> _______________________________________________
> Qutecsound-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>

------------------------------------------------------------------------------
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------

_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] any progress with this bug?

Tarmo Johannes
In reply to this post by joachim-3

Hi Joachim,

 

The string sixe limit in Csound is rised now to 1024, thus invalue should work with most file names. Indeed, selecting 5 files with full path gets too long...

 

With Csound built on 24.07 I could load 3 files with long names but with more

Csound froze.

 

Nevertheless, if I changed invalue to chnget

 

Sfiles chnget "_MBrowse"

 

and declared the channel won chn_S above:

 

chn_S "_MBrowse", 1

 

It worked with 6 files as well.

 

Hope it helps to solve this long lasted problem.

 

Best!

tarmo

 

 

On Thursday 30 July 2015 18:48:47 joachim heintz wrote:

> hi andrés, hi tarmo -

>

> thanks for your insights about this. certainly, i wouldn't have any

> problems to replace invalue with chnget. when i looked at this last, it

> did not solve the issue, though. but i can try again.

>

> the main problematic example is Synths > Imitative Additive (select for

> instance 5 files). if you can try, tarmo, i'd appreciate.

>

> ciao -

> joachim

>

> Am 13.07.2015 um 15:11 schrieb Andres Cabrera:

> > I'm not sure but Steven's recent change might actually have an impact

> > here and increase the default size to 1024 which probably solves most

> > practical issues.

> >

> > A

> >

> >

> > On 3:59AM, Mon, Jul 13, 2015 Tarmo Johannes

> > <[hidden email] <mailto:[hidden email]>>

> >

> > wrote:

> > Thanks!

> > Joachim, what do you think, I guess it would make sense to rewrite

> > the problematic examples with chnget chn_S? If you let me know the

> > list of those examples, i would do half of those.

> >

> >

> > Tarmo

> >

> > 12.07.2015 15:36 kirjutas kuupäeval "Andres Cabrera"

> >

> > <[hidden email] <mailto:[hidden email]>>:

> > Hi Tarmo,

> >

> > I'm looking at this on the debugger, and the length of the

> > string data returned by csoundGetChannelDatasize() is 128 with

> > the latest csound git. This is consistent with the problem

> > Joachim describes, and I've looked at this several times, but

> > there is no fix except for incrementing the default string size

> > in Csound until the "modern" csound data types are exposed

> > through the API (this should be a priority in Csound7!). The

> > problem is that the callback bus API function (used by

> > invalue/outvalue) pass a pointer to the data directly so they

> > can't resize strings. This is not a problem if you use

> > chnget/chnset, but in this case you will have to declare the

> > channels with chn_S. Maybe to releive the problem temporarily

> > the default allocated string size could be extended to 256?

> >

> > Cheers,

> > Andrés

> >

> > On Sat, Jul 11, 2015 at 3:22 AM, Tarmo Johannes

> > <[hidden email]

> >

> > <mailto:[hidden email]>> wrote:

> > __

> >

> > Hi,

> >

> > I copy i also to Csound main list, I think the problem is on

> > the Csound side:

> >

> > About a year ago I did some debuggind and wrote on 15.03.2014:

> >

> > ----------

> >

> > I think I tracked down the reason -

> >

> > it is function void CsoundEngine::inputValueCallback

> >

> > csoundengine.cpp:236: int maxlen =

> > csoundGetChannelDatasize(csound, channelName);

> >

> > - csound returns value 16 as the max data size. Andrés, can

> > you guess or ask why?

> >

> > ----------

> >

> > Developers, can you have a look at csoundGetChannelDatasize

> > function and confirm, can this be the problem?

> >

> > Thanks,

> >

> > tarmo

> >

> > On Monday 06 July 2015 09:51:31 joachim heintz wrote:

> > > hi -

> > >

> > > i wonder if there is any progress with this bug:

> > >http://sourceforge.net/p/qutecsound/bugs/132/

> > >

> > > because of this bug, all examples in csoundqt which use

> > > multiple paths

> > >

> > > (like Synths > Imitative Additive or Useful > Mixdown

> > > Player) are not

> > >

> > > working any more. And no one knows why ...

> > >

> > >

> > >

> > > thanks -

> > >

> > > joachim

> > >

> > > ------------------------------------------------------------

> > > ----------------> >

> > > -- Don't Limit Your Business. Reach for the Cloud.

> > >

> > > GigeNET's Cloud Solutions provide you with the tools and

> > > support that

> > >

> > > you need to offload your IT needs and focus on growing your

> > > business.

> > >

> > > Configured For All Businesses. Start Your Cloud Today.

> > >

> > >https://www.gigenetcloud.com/

> > >

> > > _______________________________________________

> > >

> > > Qutecsound-users mailing list

> > >

> > >[hidden email]

> >

> > <mailto:[hidden email]>

> >

> > >https://lists.sourceforge.net/lists/listinfo/qutecsound-users

> >

> > --------------------------------------------------------------

> > ---------------- Don't Limit Your Business. Reach for the

> > Cloud.

> > GigeNET's Cloud Solutions provide you with the tools and

> > support that

> > you need to offload your IT needs and focus on growing your

> > business.

> > Configured For All Businesses. Start Your Cloud Today.

> > https://www.gigenetcloud.com/

> > _______________________________________________

> > Qutecsound-users mailing list

> > [hidden email]

> > <mailto:[hidden email]>

> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users

> >

> > ------------------------------------------------------------------

> > ------------ Don't Limit Your Business. Reach for the Cloud.

> > GigeNET's Cloud Solutions provide you with the tools and support

> > that

> > you need to offload your IT needs and focus on growing your

> > business.

> > Configured For All Businesses. Start Your Cloud Today.

> > https://www.gigenetcloud.com/

> > _______________________________________________

> > Qutecsound-users mailing list

> > [hidden email]

> > <mailto:[hidden email]>

> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users

> >

> > ----------------------------------------------------------------------

> > -------- Don't Limit Your Business. Reach for the Cloud.

> > GigeNET's Cloud Solutions provide you with the tools and support that

> > you need to offload your IT needs and focus on growing your business.

> > Configured For All Businesses. Start Your Cloud Today.

> > https://www.gigenetcloud.com/_________________________________________

> > ______ Qutecsound-users mailing list

> > [hidden email]

> > <mailto:[hidden email]>

> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users

> >

> > --------------------------------------------------------------------------

> > ---- Don't Limit Your Business. Reach for the Cloud.

> > GigeNET's Cloud Solutions provide you with the tools and support that

> > you need to offload your IT needs and focus on growing your business.

> > Configured For All Businesses. Start Your Cloud Today.

> > https://www.gigenetcloud.com/

> >

> >

> >

> > _______________________________________________

> > Qutecsound-users mailing list

> > [hidden email]

> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users

>

> ----------------------------------------------------------------------------

> -- _______________________________________________

> Qutecsound-users mailing list

> [hidden email]

> https://lists.sourceforge.net/lists/listinfo/qutecsound-users

 


------------------------------------------------------------------------------

_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] any progress with this bug?

joachim-3
hi tarmo (and andrés) -

yes i can confirm this.  i will change the examples from invalue to chnget.

thanks a lot — it is nice to see this csd working again.

all best -
        joachim


Am 30.07.2015 um 22:23 schrieb Tarmo Johannes:

> Hi Joachim,
>
> The string sixe limit in Csound is rised now to 1024, thus invalue
> should work with most file names. Indeed, selecting 5 files with full
> path gets too long...
>
> With Csound built on 24.07 I could load 3 files with long names but with
> more
>
> Csound froze.
>
> Nevertheless, if I changed invalue to chnget
>
> Sfiles chnget "_MBrowse"
>
> and declared the channel won chn_S above:
>
> chn_S "_MBrowse", 1
>
> It worked with 6 files as well.
>
> Hope it helps to solve this long lasted problem.
>
> Best!
>
> tarmo
>
> On Thursday 30 July 2015 18:48:47 joachim heintz wrote:
>
>  > hi andrés, hi tarmo -
>
>  >
>
>  > thanks for your insights about this. certainly, i wouldn't have any
>
>  > problems to replace invalue with chnget. when i looked at this last, it
>
>  > did not solve the issue, though. but i can try again.
>
>  >
>
>  > the main problematic example is Synths > Imitative Additive (select for
>
>  > instance 5 files). if you can try, tarmo, i'd appreciate.
>
>  >
>
>  > ciao -
>
>  > joachim
>
>  >
>
>  > Am 13.07.2015 um 15:11 schrieb Andres Cabrera:
>
>  > > I'm not sure but Steven's recent change might actually have an impact
>
>  > > here and increase the default size to 1024 which probably solves most
>
>  > > practical issues.
>
>  > >
>
>  > > A
>
>  > >
>
>  > >
>
>  > > On 3:59AM, Mon, Jul 13, 2015 Tarmo Johannes
>
>  > > <[hidden email]
> <mailto:[hidden email]>>
>
>  > >
>
>  > > wrote:
>
>  > > Thanks!
>
>  > > Joachim, what do you think, I guess it would make sense to rewrite
>
>  > > the problematic examples with chnget chn_S? If you let me know the
>
>  > > list of those examples, i would do half of those.
>
>  > >
>
>  > >
>
>  > > Tarmo
>
>  > >
>
>  > > 12.07.2015 15:36 kirjutas kuupäeval "Andres Cabrera"
>
>  > >
>
>  > > <[hidden email] <mailto:[hidden email]>>:
>
>  > > Hi Tarmo,
>
>  > >
>
>  > > I'm looking at this on the debugger, and the length of the
>
>  > > string data returned by csoundGetChannelDatasize() is 128 with
>
>  > > the latest csound git. This is consistent with the problem
>
>  > > Joachim describes, and I've looked at this several times, but
>
>  > > there is no fix except for incrementing the default string size
>
>  > > in Csound until the "modern" csound data types are exposed
>
>  > > through the API (this should be a priority in Csound7!). The
>
>  > > problem is that the callback bus API function (used by
>
>  > > invalue/outvalue) pass a pointer to the data directly so they
>
>  > > can't resize strings. This is not a problem if you use
>
>  > > chnget/chnset, but in this case you will have to declare the
>
>  > > channels with chn_S. Maybe to releive the problem temporarily
>
>  > > the default allocated string size could be extended to 256?
>
>  > >
>
>  > > Cheers,
>
>  > > Andrés
>
>  > >
>
>  > > On Sat, Jul 11, 2015 at 3:22 AM, Tarmo Johannes
>
>  > > <[hidden email]
>
>  > >
>
>  > > <mailto:[hidden email]>> wrote:
>
>  > > __
>
>  > >
>
>  > > Hi,
>
>  > >
>
>  > > I copy i also to Csound main list, I think the problem is on
>
>  > > the Csound side:
>
>  > >
>
>  > > About a year ago I did some debuggind and wrote on 15.03.2014:
>
>  > >
>
>  > > ----------
>
>  > >
>
>  > > I think I tracked down the reason -
>
>  > >
>
>  > > it is function void CsoundEngine::inputValueCallback
>
>  > >
>
>  > > csoundengine.cpp:236: int maxlen =
>
>  > > csoundGetChannelDatasize(csound, channelName);
>
>  > >
>
>  > > - csound returns value 16 as the max data size. Andrés, can
>
>  > > you guess or ask why?
>
>  > >
>
>  > > ----------
>
>  > >
>
>  > > Developers, can you have a look at csoundGetChannelDatasize
>
>  > > function and confirm, can this be the problem?
>
>  > >
>
>  > > Thanks,
>
>  > >
>
>  > > tarmo
>
>  > >
>
>  > > On Monday 06 July 2015 09:51:31 joachim heintz wrote:
>
>  > > > hi -
>
>  > > >
>
>  > > > i wonder if there is any progress with this bug:
>
>  > > >http://sourceforge.net/p/qutecsound/bugs/132/
>
>  > > >
>
>  > > > because of this bug, all examples in csoundqt which use
>
>  > > > multiple paths
>
>  > > >
>
>  > > > (like Synths > Imitative Additive or Useful > Mixdown
>
>  > > > Player) are not
>
>  > > >
>
>  > > > working any more. And no one knows why ...
>
>  > > >
>
>  > > >
>
>  > > >
>
>  > > > thanks -
>
>  > > >
>
>  > > > joachim
>
>  > > >
>
>  > > > ------------------------------------------------------------
>
>  > > > ----------------> >
>
>  > > > -- Don't Limit Your Business. Reach for the Cloud.
>
>  > > >
>
>  > > > GigeNET's Cloud Solutions provide you with the tools and
>
>  > > > support that
>
>  > > >
>
>  > > > you need to offload your IT needs and focus on growing your
>
>  > > > business.
>
>  > > >
>
>  > > > Configured For All Businesses. Start Your Cloud Today.
>
>  > > >
>
>  > > >https://www.gigenetcloud.com/
>
>  > > >
>
>  > > > _______________________________________________
>
>  > > >
>
>  > > > Qutecsound-users mailing list
>
>  > > >
>
>  > > >[hidden email]
>
>  > >
>
>  > > <mailto:[hidden email]>
>
>  > >
>
>  > > >https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  > >
>
>  > > --------------------------------------------------------------
>
>  > > ---------------- Don't Limit Your Business. Reach for the
>
>  > > Cloud.
>
>  > > GigeNET's Cloud Solutions provide you with the tools and
>
>  > > support that
>
>  > > you need to offload your IT needs and focus on growing your
>
>  > > business.
>
>  > > Configured For All Businesses. Start Your Cloud Today.
>
>  > > https://www.gigenetcloud.com/
>
>  > > _______________________________________________
>
>  > > Qutecsound-users mailing list
>
>  > > [hidden email]
>
>  > > <mailto:[hidden email]>
>
>  > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  > >
>
>  > > ------------------------------------------------------------------
>
>  > > ------------ Don't Limit Your Business. Reach for the Cloud.
>
>  > > GigeNET's Cloud Solutions provide you with the tools and support
>
>  > > that
>
>  > > you need to offload your IT needs and focus on growing your
>
>  > > business.
>
>  > > Configured For All Businesses. Start Your Cloud Today.
>
>  > > https://www.gigenetcloud.com/
>
>  > > _______________________________________________
>
>  > > Qutecsound-users mailing list
>
>  > > [hidden email]
>
>  > > <mailto:[hidden email]>
>
>  > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  > >
>
>  > > ----------------------------------------------------------------------
>
>  > > -------- Don't Limit Your Business. Reach for the Cloud.
>
>  > > GigeNET's Cloud Solutions provide you with the tools and support that
>
>  > > you need to offload your IT needs and focus on growing your business.
>
>  > > Configured For All Businesses. Start Your Cloud Today.
>
>  > > https://www.gigenetcloud.com/_________________________________________
>
>  > > ______ Qutecsound-users mailing list
>
>  > > [hidden email]
>
>  > > <mailto:[hidden email]>
>
>  > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  > >
>
>  > >
> --------------------------------------------------------------------------
>
>  > > ---- Don't Limit Your Business. Reach for the Cloud.
>
>  > > GigeNET's Cloud Solutions provide you with the tools and support that
>
>  > > you need to offload your IT needs and focus on growing your business.
>
>  > > Configured For All Businesses. Start Your Cloud Today.
>
>  > > https://www.gigenetcloud.com/
>
>  > >
>
>  > >
>
>  > >
>
>  > > _______________________________________________
>
>  > > Qutecsound-users mailing list
>
>  > > [hidden email]
>
>  > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  >
>
>  >
> ----------------------------------------------------------------------------
>
>  > -- _______________________________________________
>
>  > Qutecsound-users mailing list
>
>  > [hidden email]
>
>  > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Qutecsound-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>

------------------------------------------------------------------------------
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] any progress with this bug?

Andres Cabrera
Administrator
Hi Joachim,

Excellent, thanks for the report!

Yes, chnget is a little inconvenient in that you need to declare the channels, but it has an important effect internally as the API signatures for chnget allow for string resizing. The right fix for invalue will have to wait until Csound 7 because it will break the API...

Cheers,
Andrés

On Fri, Jul 31, 2015 at 12:39 AM, joachim heintz <[hidden email]> wrote:
hi tarmo (and andrés) -

yes i can confirm this.  i will change the examples from invalue to chnget.

thanks a lot — it is nice to see this csd working again.

all best -
        joachim


Am 30.07.2015 um 22:23 schrieb Tarmo Johannes:
> Hi Joachim,
>
> The string sixe limit in Csound is rised now to 1024, thus invalue
> should work with most file names. Indeed, selecting 5 files with full
> path gets too long...
>
> With Csound built on 24.07 I could load 3 files with long names but with
> more
>
> Csound froze.
>
> Nevertheless, if I changed invalue to chnget
>
> Sfiles chnget "_MBrowse"
>
> and declared the channel won chn_S above:
>
> chn_S "_MBrowse", 1
>
> It worked with 6 files as well.
>
> Hope it helps to solve this long lasted problem.
>
> Best!
>
> tarmo
>
> On Thursday 30 July 2015 18:48:47 joachim heintz wrote:
>
>  > hi andrés, hi tarmo -
>
>  >
>
>  > thanks for your insights about this. certainly, i wouldn't have any
>
>  > problems to replace invalue with chnget. when i looked at this last, it
>
>  > did not solve the issue, though. but i can try again.
>
>  >
>
>  > the main problematic example is Synths > Imitative Additive (select for
>
>  > instance 5 files). if you can try, tarmo, i'd appreciate.
>
>  >
>
>  > ciao -
>
>  > joachim
>
>  >
>
>  > Am 13.07.2015 um 15:11 schrieb Andres Cabrera:
>
>  > > I'm not sure but Steven's recent change might actually have an impact
>
>  > > here and increase the default size to 1024 which probably solves most
>
>  > > practical issues.
>
>  > >
>
>  > > A
>
>  > >
>
>  > >
>
>  > > On 3:59AM, Mon, Jul 13, 2015 Tarmo Johannes
>
>  > > <[hidden email]
> <mailto:[hidden email]>>
>
>  > >
>
>  > > wrote:
>
>  > > Thanks!
>
>  > > Joachim, what do you think, I guess it would make sense to rewrite
>
>  > > the problematic examples with chnget chn_S? If you let me know the
>
>  > > list of those examples, i would do half of those.
>
>  > >
>
>  > >
>
>  > > Tarmo
>
>  > >
>
>  > > 12.07.2015 15:36 kirjutas kuupäeval "Andres Cabrera"
>
>  > >
>
>  > > <[hidden email] <mailto:[hidden email]>>:
>
>  > > Hi Tarmo,
>
>  > >
>
>  > > I'm looking at this on the debugger, and the length of the
>
>  > > string data returned by csoundGetChannelDatasize() is 128 with
>
>  > > the latest csound git. This is consistent with the problem
>
>  > > Joachim describes, and I've looked at this several times, but
>
>  > > there is no fix except for incrementing the default string size
>
>  > > in Csound until the "modern" csound data types are exposed
>
>  > > through the API (this should be a priority in Csound7!). The
>
>  > > problem is that the callback bus API function (used by
>
>  > > invalue/outvalue) pass a pointer to the data directly so they
>
>  > > can't resize strings. This is not a problem if you use
>
>  > > chnget/chnset, but in this case you will have to declare the
>
>  > > channels with chn_S. Maybe to releive the problem temporarily
>
>  > > the default allocated string size could be extended to 256?
>
>  > >
>
>  > > Cheers,
>
>  > > Andrés
>
>  > >
>
>  > > On Sat, Jul 11, 2015 at 3:22 AM, Tarmo Johannes
>
>  > > <[hidden email]
>
>  > >
>
>  > > <mailto:[hidden email]>> wrote:
>
>  > > __
>
>  > >
>
>  > > Hi,
>
>  > >
>
>  > > I copy i also to Csound main list, I think the problem is on
>
>  > > the Csound side:
>
>  > >
>
>  > > About a year ago I did some debuggind and wrote on 15.03.2014:
>
>  > >
>
>  > > ----------
>
>  > >
>
>  > > I think I tracked down the reason -
>
>  > >
>
>  > > it is function void CsoundEngine::inputValueCallback
>
>  > >
>
>  > > csoundengine.cpp:236: int maxlen =
>
>  > > csoundGetChannelDatasize(csound, channelName);
>
>  > >
>
>  > > - csound returns value 16 as the max data size. Andrés, can
>
>  > > you guess or ask why?
>
>  > >
>
>  > > ----------
>
>  > >
>
>  > > Developers, can you have a look at csoundGetChannelDatasize
>
>  > > function and confirm, can this be the problem?
>
>  > >
>
>  > > Thanks,
>
>  > >
>
>  > > tarmo
>
>  > >
>
>  > > On Monday 06 July 2015 09:51:31 joachim heintz wrote:
>
>  > > > hi -
>
>  > > >
>
>  > > > i wonder if there is any progress with this bug:
>
>  > > >http://sourceforge.net/p/qutecsound/bugs/132/
>
>  > > >
>
>  > > > because of this bug, all examples in csoundqt which use
>
>  > > > multiple paths
>
>  > > >
>
>  > > > (like Synths > Imitative Additive or Useful > Mixdown
>
>  > > > Player) are not
>
>  > > >
>
>  > > > working any more. And no one knows why ...
>
>  > > >
>
>  > > >
>
>  > > >
>
>  > > > thanks -
>
>  > > >
>
>  > > > joachim
>
>  > > >
>
>  > > > ------------------------------------------------------------
>
>  > > > ----------------> >
>
>  > > > -- Don't Limit Your Business. Reach for the Cloud.
>
>  > > >
>
>  > > > GigeNET's Cloud Solutions provide you with the tools and
>
>  > > > support that
>
>  > > >
>
>  > > > you need to offload your IT needs and focus on growing your
>
>  > > > business.
>
>  > > >
>
>  > > > Configured For All Businesses. Start Your Cloud Today.
>
>  > > >
>
>  > > >https://www.gigenetcloud.com/
>
>  > > >
>
>  > > > _______________________________________________
>
>  > > >
>
>  > > > Qutecsound-users mailing list
>
>  > > >
>
>  > > >[hidden email]
>
>  > >
>
>  > > <mailto:[hidden email]>
>
>  > >
>
>  > > >https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  > >
>
>  > > --------------------------------------------------------------
>
>  > > ---------------- Don't Limit Your Business. Reach for the
>
>  > > Cloud.
>
>  > > GigeNET's Cloud Solutions provide you with the tools and
>
>  > > support that
>
>  > > you need to offload your IT needs and focus on growing your
>
>  > > business.
>
>  > > Configured For All Businesses. Start Your Cloud Today.
>
>  > > https://www.gigenetcloud.com/
>
>  > > _______________________________________________
>
>  > > Qutecsound-users mailing list
>
>  > > [hidden email]
>
>  > > <mailto:[hidden email]>
>
>  > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  > >
>
>  > > ------------------------------------------------------------------
>
>  > > ------------ Don't Limit Your Business. Reach for the Cloud.
>
>  > > GigeNET's Cloud Solutions provide you with the tools and support
>
>  > > that
>
>  > > you need to offload your IT needs and focus on growing your
>
>  > > business.
>
>  > > Configured For All Businesses. Start Your Cloud Today.
>
>  > > https://www.gigenetcloud.com/
>
>  > > _______________________________________________
>
>  > > Qutecsound-users mailing list
>
>  > > [hidden email]
>
>  > > <mailto:[hidden email]>
>
>  > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  > >
>
>  > > ----------------------------------------------------------------------
>
>  > > -------- Don't Limit Your Business. Reach for the Cloud.
>
>  > > GigeNET's Cloud Solutions provide you with the tools and support that
>
>  > > you need to offload your IT needs and focus on growing your business.
>
>  > > Configured For All Businesses. Start Your Cloud Today.
>
>  > > https://www.gigenetcloud.com/_________________________________________
>
>  > > ______ Qutecsound-users mailing list
>
>  > > [hidden email]
>
>  > > <mailto:[hidden email]>
>
>  > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  > >
>
>  > >
> --------------------------------------------------------------------------
>
>  > > ---- Don't Limit Your Business. Reach for the Cloud.
>
>  > > GigeNET's Cloud Solutions provide you with the tools and support that
>
>  > > you need to offload your IT needs and focus on growing your business.
>
>  > > Configured For All Businesses. Start Your Cloud Today.
>
>  > > https://www.gigenetcloud.com/
>
>  > >
>
>  > >
>
>  > >
>
>  > > _______________________________________________
>
>  > > Qutecsound-users mailing list
>
>  > > [hidden email]
>
>  > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>  >
>
>  >
> ----------------------------------------------------------------------------
>
>  > -- _______________________________________________
>
>  > Qutecsound-users mailing list
>
>  > [hidden email]
>
>  > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Qutecsound-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>

------------------------------------------------------------------------------
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------

_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Loading...