Csound Csound-dev Csound-tekno Search About

[Cs-dev] did something change with control_rate_override

Date2015-07-14 10:41
FromRory Walsh
Subject[Cs-dev] did something change with control_rate_override
I just did a git pull and rebuilt. Now, no matter what I set
control_rate_override to I get graph_init... problems

For example:

csoundParams->control_rate_override = 441;

results in this:

sr = 44100, kr = 7.172913, ksmps = 6148.13
error: invalid ksmps value


kr always stays at 7.1.....

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-07-14 10:59
FromRory Walsh
SubjectRe: [Cs-dev] did something change with control_rate_override
I'm just trying to prepare an example for you...

On 14 July 2015 at 11:41, Rory Walsh  wrote:
> I just did a git pull and rebuilt. Now, no matter what I set
> control_rate_override to I get graph_init... problems
>
> For example:
>
> csoundParams->control_rate_override = 441;
>
> results in this:
>
> sr = 44100, kr = 7.172913, ksmps = 6148.13
> error: invalid ksmps value
>
>
> kr always stays at 7.1.....

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-07-14 11:40
FromVictor Lazzarini
SubjectRe: [Cs-dev] did something change with control_rate_override
I’ve added this to the earlier test program and I see no problems:

#include 
#include "csound.hpp"

int main(int argc, char *argv[])
{
/*Create an instance of Csound*/
 Csound* csound = new Csound;
 CSOUND_PARAMS parm;
 csound->GetParams(&parm);
 parm.control_rate_override = 441;
 csound->SetParams(&parm);
 csound->CompileCsd("test1.csd");
 int n =0 ;
 while(++n < 4410)
   csound->PerformKsmps();
 printf("HELLO\n");
 n = 0;
  csound->CompileCsd("test2.csd");
  while(++n < 4410)
   csound->PerformKsmps(); 
delete csound;
}

=====

sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
> 
> I'm just trying to prepare an example for you...
> 
> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>> I just did a git pull and rebuilt. Now, no matter what I set
>> control_rate_override to I get graph_init... problems
>> 
>> For example:
>> 
>> csoundParams->control_rate_override = 441;
>> 
>> results in this:
>> 
>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>> error: invalid ksmps value
>> 
>> 
>> kr always stays at 7.1.....
> 
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://

Date2015-07-14 12:12
FromRory Walsh
SubjectRe: [Cs-dev] did something change with control_rate_override
That was my first port of call too. No problems there, but all my
Cabbage instruments are now broken. The sound is awful and I get a
crash on exit? (Backtrace below). But I can't recreate the problem
from the command line. I didn't change a thing in my Cabbage source
since I update and rebuilt Csound. I've since removed any calls to
csoundSetParams() but that didn't help. I'm not sure when I last
updated, probably more than a month or two ago.

0  0x00007ffff6809c4b  mfree
/home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
/home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
 316
2  0x00007ffff6837bb5  delete_channel_db
/home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
3  0x00007ffff69640a2  reset
/home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
4  0x00007ffff695fe24  csoundDestroy
/home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
5  0x00000000004fe3a9  Csound::~Csound
/usr/local/include/csound/csound.hpp  860
6  0x00000000004fe3d8  Csound::~Csound
/usr/local/include/csound/csound.hpp  866


On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
> I’ve added this to the earlier test program and I see no problems:
>
> #include 
> #include "csound.hpp"
>
> int main(int argc, char *argv[])
> {
> /*Create an instance of Csound*/
>  Csound* csound = new Csound;
>  CSOUND_PARAMS parm;
>  csound->GetParams(&parm);
>  parm.control_rate_override = 441;
>  csound->SetParams(&parm);
>  csound->CompileCsd("test1.csd");
>  int n =0 ;
>  while(++n < 4410)
>    csound->PerformKsmps();
>  printf("HELLO\n");
>  n = 0;
>   csound->CompileCsd("test2.csd");
>   while(++n < 4410)
>    csound->PerformKsmps();
> delete csound;
> }
>
> =====
>
> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>
>> I'm just trying to prepare an example for you...
>>
>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>> I just did a git pull and rebuilt. Now, no matter what I set
>>> control_rate_override to I get graph_init... problems
>>>
>>> For example:
>>>
>>> csoundParams->control_rate_override = 441;
>>>
>>> results in this:
>>>
>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>> error: invalid ksmps value
>>>
>>>
>>> kr always stays at 7.1.....
>>
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
h

Date2015-07-14 13:48
FromVictor Lazzarini
SubjectRe: [Cs-dev] did something change with control_rate_override
The trouble seems to be with bus channels in your backtrace. 
I have not touched much of the code between the last release and now, but I have seen 
that Steven has been working on github issues. Maybe that
is where the problem is coming from.

Is the released 6.05 code OK? If so, we have a baseline.
The problem with the params could be to do with memory being overwritten somewhere.
Looks messy, maybe we need to run the tests to see.

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 14 Jul 2015, at 12:12, Rory Walsh  wrote:
> 
> That was my first port of call too. No problems there, but all my
> Cabbage instruments are now broken. The sound is awful and I get a
> crash on exit? (Backtrace below). But I can't recreate the problem
> from the command line. I didn't change a thing in my Cabbage source
> since I update and rebuilt Csound. I've since removed any calls to
> csoundSetParams() but that didn't help. I'm not sure when I last
> updated, probably more than a month or two ago.
> 
> 0  0x00007ffff6809c4b  mfree
> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
> 316
> 2  0x00007ffff6837bb5  delete_channel_db
> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
> 3  0x00007ffff69640a2  reset
> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
> 4  0x00007ffff695fe24  csoundDestroy
> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
> 5  0x00000000004fe3a9  Csound::~Csound
> /usr/local/include/csound/csound.hpp  860
> 6  0x00000000004fe3d8  Csound::~Csound
> /usr/local/include/csound/csound.hpp  866
> 
> 
> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>> I’ve added this to the earlier test program and I see no problems:
>> 
>> #include 
>> #include "csound.hpp"
>> 
>> int main(int argc, char *argv[])
>> {
>> /*Create an instance of Csound*/
>> Csound* csound = new Csound;
>> CSOUND_PARAMS parm;
>> csound->GetParams(&parm);
>> parm.control_rate_override = 441;
>> csound->SetParams(&parm);
>> csound->CompileCsd("test1.csd");
>> int n =0 ;
>> while(++n < 4410)
>>   csound->PerformKsmps();
>> printf("HELLO\n");
>> n = 0;
>>  csound->CompileCsd("test2.csd");
>>  while(++n < 4410)
>>   csound->PerformKsmps();
>> delete csound;
>> }
>> 
>> =====
>> 
>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>> 
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>> 
>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>> 
>>> I'm just trying to prepare an example for you...
>>> 
>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>> control_rate_override to I get graph_init... problems
>>>> 
>>>> For example:
>>>> 
>>>> csoundParams->control_rate_override = 441;
>>>> 
>>>> results in this:
>>>> 
>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>> error: invalid ksmps value
>>>> 
>>>> 
>>>> kr always stays at 7.1.....
>>> 
>>> ------------------------------------------------------------------------------
>>> 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/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> 
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
h

Date2015-07-14 13:52
FromRory Walsh
SubjectRe: [Cs-dev] did something change with control_rate_override
I can confirm I get no such weirdness on Windows. I just did a git
pull and build. Strange. What's even more strange is that my problems
persist even when I revert back to earlier versions of Csound.

On 14 July 2015 at 12:12, Rory Walsh  wrote:
> That was my first port of call too. No problems there, but all my
> Cabbage instruments are now broken. The sound is awful and I get a
> crash on exit? (Backtrace below). But I can't recreate the problem
> from the command line. I didn't change a thing in my Cabbage source
> since I update and rebuilt Csound. I've since removed any calls to
> csoundSetParams() but that didn't help. I'm not sure when I last
> updated, probably more than a month or two ago.
>
> 0  0x00007ffff6809c4b  mfree
> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
>  316
> 2  0x00007ffff6837bb5  delete_channel_db
> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
> 3  0x00007ffff69640a2  reset
> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
> 4  0x00007ffff695fe24  csoundDestroy
> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
> 5  0x00000000004fe3a9  Csound::~Csound
> /usr/local/include/csound/csound.hpp  860
> 6  0x00000000004fe3d8  Csound::~Csound
> /usr/local/include/csound/csound.hpp  866
>
>
> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>> I’ve added this to the earlier test program and I see no problems:
>>
>> #include 
>> #include "csound.hpp"
>>
>> int main(int argc, char *argv[])
>> {
>> /*Create an instance of Csound*/
>>  Csound* csound = new Csound;
>>  CSOUND_PARAMS parm;
>>  csound->GetParams(&parm);
>>  parm.control_rate_override = 441;
>>  csound->SetParams(&parm);
>>  csound->CompileCsd("test1.csd");
>>  int n =0 ;
>>  while(++n < 4410)
>>    csound->PerformKsmps();
>>  printf("HELLO\n");
>>  n = 0;
>>   csound->CompileCsd("test2.csd");
>>   while(++n < 4410)
>>    csound->PerformKsmps();
>> delete csound;
>> }
>>
>> =====
>>
>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>>
>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>>
>>> I'm just trying to prepare an example for you...
>>>
>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>> control_rate_override to I get graph_init... problems
>>>>
>>>> For example:
>>>>
>>>> csoundParams->control_rate_override = 441;
>>>>
>>>> results in this:
>>>>
>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>> error: invalid ksmps value
>>>>
>>>>
>>>> kr always stays at 7.1.....
>>>
>>> ------------------------------------------------------------------------------
>>> 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/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://

Date2015-07-14 13:54
FromRory Walsh
SubjectRe: [Cs-dev] did something change with control_rate_override
Our posts got crossed there. Looks like a memory issue. I'm wondering
however if it is local to my machine. Reverting to earlier version
just causes slightly different problems. It doesn't make sense. I
reverted both my Cabbage source, and Csound source right back, yet the
problem persists.

On 14 July 2015 at 13:48, Victor Lazzarini  wrote:
> The trouble seems to be with bus channels in your backtrace.
> I have not touched much of the code between the last release and now, but I have seen
> that Steven has been working on github issues. Maybe that
> is where the problem is coming from.
>
> Is the released 6.05 code OK? If so, we have a baseline.
> The problem with the params could be to do with memory being overwritten somewhere.
> Looks messy, maybe we need to run the tests to see.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 14 Jul 2015, at 12:12, Rory Walsh  wrote:
>>
>> That was my first port of call too. No problems there, but all my
>> Cabbage instruments are now broken. The sound is awful and I get a
>> crash on exit? (Backtrace below). But I can't recreate the problem
>> from the command line. I didn't change a thing in my Cabbage source
>> since I update and rebuilt Csound. I've since removed any calls to
>> csoundSetParams() but that didn't help. I'm not sure when I last
>> updated, probably more than a month or two ago.
>>
>> 0  0x00007ffff6809c4b  mfree
>> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
>> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
>> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
>> 316
>> 2  0x00007ffff6837bb5  delete_channel_db
>> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
>> 3  0x00007ffff69640a2  reset
>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
>> 4  0x00007ffff695fe24  csoundDestroy
>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
>> 5  0x00000000004fe3a9  Csound::~Csound
>> /usr/local/include/csound/csound.hpp  860
>> 6  0x00000000004fe3d8  Csound::~Csound
>> /usr/local/include/csound/csound.hpp  866
>>
>>
>> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>>> I’ve added this to the earlier test program and I see no problems:
>>>
>>> #include 
>>> #include "csound.hpp"
>>>
>>> int main(int argc, char *argv[])
>>> {
>>> /*Create an instance of Csound*/
>>> Csound* csound = new Csound;
>>> CSOUND_PARAMS parm;
>>> csound->GetParams(&parm);
>>> parm.control_rate_override = 441;
>>> csound->SetParams(&parm);
>>> csound->CompileCsd("test1.csd");
>>> int n =0 ;
>>> while(++n < 4410)
>>>   csound->PerformKsmps();
>>> printf("HELLO\n");
>>> n = 0;
>>>  csound->CompileCsd("test2.csd");
>>>  while(++n < 4410)
>>>   csound->PerformKsmps();
>>> delete csound;
>>> }
>>>
>>> =====
>>>
>>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>>
>>> ========================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>
>>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>>>
>>>> I'm just trying to prepare an example for you...
>>>>
>>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>>> control_rate_override to I get graph_init... problems
>>>>>
>>>>> For example:
>>>>>
>>>>> csoundParams->control_rate_override = 441;
>>>>>
>>>>> results in this:
>>>>>
>>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>>> error: invalid ksmps value
>>>>>
>>>>>
>>>>> kr always stays at 7.1.....
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cso

Date2015-07-15 06:23
FromRory Walsh
SubjectRe: [Cs-dev] did something change with control_rate_override
Ok, I'm back up and running, albeit with Csound 6.05. At least we have
a base line now. It looks like when I reverted back to earlier
versions yesterday it wasn't actually building them at all. Now we at
least have something to work with. The latest source is really
producing the darnedest results for me.

On 14 July 2015 at 14:54, Rory Walsh  wrote:
> Our posts got crossed there. Looks like a memory issue. I'm wondering
> however if it is local to my machine. Reverting to earlier version
> just causes slightly different problems. It doesn't make sense. I
> reverted both my Cabbage source, and Csound source right back, yet the
> problem persists.
>
> On 14 July 2015 at 13:48, Victor Lazzarini  wrote:
>> The trouble seems to be with bus channels in your backtrace.
>> I have not touched much of the code between the last release and now, but I have seen
>> that Steven has been working on github issues. Maybe that
>> is where the problem is coming from.
>>
>> Is the released 6.05 code OK? If so, we have a baseline.
>> The problem with the params could be to do with memory being overwritten somewhere.
>> Looks messy, maybe we need to run the tests to see.
>>
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>>
>>> On 14 Jul 2015, at 12:12, Rory Walsh  wrote:
>>>
>>> That was my first port of call too. No problems there, but all my
>>> Cabbage instruments are now broken. The sound is awful and I get a
>>> crash on exit? (Backtrace below). But I can't recreate the problem
>>> from the command line. I didn't change a thing in my Cabbage source
>>> since I update and rebuilt Csound. I've since removed any calls to
>>> csoundSetParams() but that didn't help. I'm not sure when I last
>>> updated, probably more than a month or two ago.
>>>
>>> 0  0x00007ffff6809c4b  mfree
>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
>>> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
>>> 316
>>> 2  0x00007ffff6837bb5  delete_channel_db
>>> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
>>> 3  0x00007ffff69640a2  reset
>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
>>> 4  0x00007ffff695fe24  csoundDestroy
>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
>>> 5  0x00000000004fe3a9  Csound::~Csound
>>> /usr/local/include/csound/csound.hpp  860
>>> 6  0x00000000004fe3d8  Csound::~Csound
>>> /usr/local/include/csound/csound.hpp  866
>>>
>>>
>>> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>>>> I’ve added this to the earlier test program and I see no problems:
>>>>
>>>> #include 
>>>> #include "csound.hpp"
>>>>
>>>> int main(int argc, char *argv[])
>>>> {
>>>> /*Create an instance of Csound*/
>>>> Csound* csound = new Csound;
>>>> CSOUND_PARAMS parm;
>>>> csound->GetParams(&parm);
>>>> parm.control_rate_override = 441;
>>>> csound->SetParams(&parm);
>>>> csound->CompileCsd("test1.csd");
>>>> int n =0 ;
>>>> while(++n < 4410)
>>>>   csound->PerformKsmps();
>>>> printf("HELLO\n");
>>>> n = 0;
>>>>  csound->CompileCsd("test2.csd");
>>>>  while(++n < 4410)
>>>>   csound->PerformKsmps();
>>>> delete csound;
>>>> }
>>>>
>>>> =====
>>>>
>>>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>>>
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952
>>>>
>>>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>>>>
>>>>> I'm just trying to prepare an example for you...
>>>>>
>>>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>>>> control_rate_override to I get graph_init... problems
>>>>>>
>>>>>> For example:
>>>>>>
>>>>>> csoundParams->control_rate_override = 441;
>>>>>>
>>>>>> results in this:
>>>>>>
>>>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>>>> error: invalid ksmps value
>>>>>>
>>>>>>
>>>>>> kr always stays at 7.1.....
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> 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/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> 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/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/

Date2015-07-15 09:42
FromVictor Lazzarini
SubjectRe: [Cs-dev] did something change with control_rate_override
Well, then there is something wrong. We need to check.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 15 Jul 2015, at 06:23, Rory Walsh  wrote:
> 
> Ok, I'm back up and running, albeit with Csound 6.05. At least we have
> a base line now. It looks like when I reverted back to earlier
> versions yesterday it wasn't actually building them at all. Now we at
> least have something to work with. The latest source is really
> producing the darnedest results for me.
> 
>> On 14 July 2015 at 14:54, Rory Walsh  wrote:
>> Our posts got crossed there. Looks like a memory issue. I'm wondering
>> however if it is local to my machine. Reverting to earlier version
>> just causes slightly different problems. It doesn't make sense. I
>> reverted both my Cabbage source, and Csound source right back, yet the
>> problem persists.
>> 
>>> On 14 July 2015 at 13:48, Victor Lazzarini  wrote:
>>> The trouble seems to be with bus channels in your backtrace.
>>> I have not touched much of the code between the last release and now, but I have seen
>>> that Steven has been working on github issues. Maybe that
>>> is where the problem is coming from.
>>> 
>>> Is the released 6.05 code OK? If so, we have a baseline.
>>> The problem with the params could be to do with memory being overwritten somewhere.
>>> Looks messy, maybe we need to run the tests to see.
>>> 
>>> ========================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>> 
>>>> On 14 Jul 2015, at 12:12, Rory Walsh  wrote:
>>>> 
>>>> That was my first port of call too. No problems there, but all my
>>>> Cabbage instruments are now broken. The sound is awful and I get a
>>>> crash on exit? (Backtrace below). But I can't recreate the problem
>>>> from the command line. I didn't change a thing in my Cabbage source
>>>> since I update and rebuilt Csound. I've since removed any calls to
>>>> csoundSetParams() but that didn't help. I'm not sure when I last
>>>> updated, probably more than a month or two ago.
>>>> 
>>>> 0  0x00007ffff6809c4b  mfree
>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
>>>> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
>>>> 316
>>>> 2  0x00007ffff6837bb5  delete_channel_db
>>>> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
>>>> 3  0x00007ffff69640a2  reset
>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
>>>> 4  0x00007ffff695fe24  csoundDestroy
>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
>>>> 5  0x00000000004fe3a9  Csound::~Csound
>>>> /usr/local/include/csound/csound.hpp  860
>>>> 6  0x00000000004fe3d8  Csound::~Csound
>>>> /usr/local/include/csound/csound.hpp  866
>>>> 
>>>> 
>>>>> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>>>>> I’ve added this to the earlier test program and I see no problems:
>>>>> 
>>>>> #include 
>>>>> #include "csound.hpp"
>>>>> 
>>>>> int main(int argc, char *argv[])
>>>>> {
>>>>> /*Create an instance of Csound*/
>>>>> Csound* csound = new Csound;
>>>>> CSOUND_PARAMS parm;
>>>>> csound->GetParams(&parm);
>>>>> parm.control_rate_override = 441;
>>>>> csound->SetParams(&parm);
>>>>> csound->CompileCsd("test1.csd");
>>>>> int n =0 ;
>>>>> while(++n < 4410)
>>>>>  csound->PerformKsmps();
>>>>> printf("HELLO\n");
>>>>> n = 0;
>>>>> csound->CompileCsd("test2.csd");
>>>>> while(++n < 4410)
>>>>>  csound->PerformKsmps();
>>>>> delete csound;
>>>>> }
>>>>> 
>>>>> =====
>>>>> 
>>>>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>>>> 
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952
>>>>> 
>>>>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>>>>> 
>>>>>> I'm just trying to prepare an example for you...
>>>>>> 
>>>>>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>>>>> control_rate_override to I get graph_init... problems
>>>>>>> 
>>>>>>> For example:
>>>>>>> 
>>>>>>> csoundParams->control_rate_override = 441;
>>>>>>> 
>>>>>>> results in this:
>>>>>>> 
>>>>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>>>>> error: invalid ksmps value
>>>>>>> 
>>>>>>> 
>>>>>>> kr always stays at 7.1.....
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> 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/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> 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/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> 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/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> 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/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/c

Date2015-07-15 10:04
FromVictor Lazzarini
SubjectRe: [Cs-dev] did something change with control_rate_override
The tests seem to pass. We need to investigate this a bit more, can you prepare a failing program?

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 15 Jul 2015, at 09:42, Victor Lazzarini  wrote:
> 
> Well, then there is something wrong. We need to check.
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
>> On 15 Jul 2015, at 06:23, Rory Walsh  wrote:
>> 
>> Ok, I'm back up and running, albeit with Csound 6.05. At least we have
>> a base line now. It looks like when I reverted back to earlier
>> versions yesterday it wasn't actually building them at all. Now we at
>> least have something to work with. The latest source is really
>> producing the darnedest results for me.
>> 
>>> On 14 July 2015 at 14:54, Rory Walsh  wrote:
>>> Our posts got crossed there. Looks like a memory issue. I'm wondering
>>> however if it is local to my machine. Reverting to earlier version
>>> just causes slightly different problems. It doesn't make sense. I
>>> reverted both my Cabbage source, and Csound source right back, yet the
>>> problem persists.
>>> 
>>>> On 14 July 2015 at 13:48, Victor Lazzarini  wrote:
>>>> The trouble seems to be with bus channels in your backtrace.
>>>> I have not touched much of the code between the last release and now, but I have seen
>>>> that Steven has been working on github issues. Maybe that
>>>> is where the problem is coming from.
>>>> 
>>>> Is the released 6.05 code OK? If so, we have a baseline.
>>>> The problem with the params could be to do with memory being overwritten somewhere.
>>>> Looks messy, maybe we need to run the tests to see.
>>>> 
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952
>>>> 
>>>>> On 14 Jul 2015, at 12:12, Rory Walsh  wrote:
>>>>> 
>>>>> That was my first port of call too. No problems there, but all my
>>>>> Cabbage instruments are now broken. The sound is awful and I get a
>>>>> crash on exit? (Backtrace below). But I can't recreate the problem
>>>>> from the command line. I didn't change a thing in my Cabbage source
>>>>> since I update and rebuilt Csound. I've since removed any calls to
>>>>> csoundSetParams() but that didn't help. I'm not sure when I last
>>>>> updated, probably more than a month or two ago.
>>>>> 
>>>>> 0  0x00007ffff6809c4b  mfree
>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
>>>>> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
>>>>> 316
>>>>> 2  0x00007ffff6837bb5  delete_channel_db
>>>>> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
>>>>> 3  0x00007ffff69640a2  reset
>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
>>>>> 4  0x00007ffff695fe24  csoundDestroy
>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
>>>>> 5  0x00000000004fe3a9  Csound::~Csound
>>>>> /usr/local/include/csound/csound.hpp  860
>>>>> 6  0x00000000004fe3d8  Csound::~Csound
>>>>> /usr/local/include/csound/csound.hpp  866
>>>>> 
>>>>> 
>>>>>> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>>>>>> I’ve added this to the earlier test program and I see no problems:
>>>>>> 
>>>>>> #include 
>>>>>> #include "csound.hpp"
>>>>>> 
>>>>>> int main(int argc, char *argv[])
>>>>>> {
>>>>>> /*Create an instance of Csound*/
>>>>>> Csound* csound = new Csound;
>>>>>> CSOUND_PARAMS parm;
>>>>>> csound->GetParams(&parm);
>>>>>> parm.control_rate_override = 441;
>>>>>> csound->SetParams(&parm);
>>>>>> csound->CompileCsd("test1.csd");
>>>>>> int n =0 ;
>>>>>> while(++n < 4410)
>>>>>> csound->PerformKsmps();
>>>>>> printf("HELLO\n");
>>>>>> n = 0;
>>>>>> csound->CompileCsd("test2.csd");
>>>>>> while(++n < 4410)
>>>>>> csound->PerformKsmps();
>>>>>> delete csound;
>>>>>> }
>>>>>> 
>>>>>> =====
>>>>>> 
>>>>>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>>>>> 
>>>>>> ========================
>>>>>> Dr Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952
>>>>>> 
>>>>>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>>>>>> 
>>>>>>> I'm just trying to prepare an example for you...
>>>>>>> 
>>>>>>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>>>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>>>>>> control_rate_override to I get graph_init... problems
>>>>>>>> 
>>>>>>>> For example:
>>>>>>>> 
>>>>>>>> csoundParams->control_rate_override = 441;
>>>>>>>> 
>>>>>>>> results in this:
>>>>>>>> 
>>>>>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>>>>>> error: invalid ksmps value
>>>>>>>> 
>>>>>>>> 
>>>>>>>> kr always stays at 7.1.....
>>>>>>> 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> 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/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>> 
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> 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/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> 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/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> 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/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lis

Date2015-07-15 13:04
FromRory Walsh
SubjectRe: [Cs-dev] did something change with control_rate_override
Before I do I need to double check the state of the latest dev branch
again. Something was seriously messed up with my Csound build
yesterday. I'll let you know.

On 15 July 2015 at 11:04, Victor Lazzarini  wrote:
> The tests seem to pass. We need to investigate this a bit more, can you prepare a failing program?
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 15 Jul 2015, at 09:42, Victor Lazzarini  wrote:
>>
>> Well, then there is something wrong. We need to check.
>>
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>>
>>> On 15 Jul 2015, at 06:23, Rory Walsh  wrote:
>>>
>>> Ok, I'm back up and running, albeit with Csound 6.05. At least we have
>>> a base line now. It looks like when I reverted back to earlier
>>> versions yesterday it wasn't actually building them at all. Now we at
>>> least have something to work with. The latest source is really
>>> producing the darnedest results for me.
>>>
>>>> On 14 July 2015 at 14:54, Rory Walsh  wrote:
>>>> Our posts got crossed there. Looks like a memory issue. I'm wondering
>>>> however if it is local to my machine. Reverting to earlier version
>>>> just causes slightly different problems. It doesn't make sense. I
>>>> reverted both my Cabbage source, and Csound source right back, yet the
>>>> problem persists.
>>>>
>>>>> On 14 July 2015 at 13:48, Victor Lazzarini  wrote:
>>>>> The trouble seems to be with bus channels in your backtrace.
>>>>> I have not touched much of the code between the last release and now, but I have seen
>>>>> that Steven has been working on github issues. Maybe that
>>>>> is where the problem is coming from.
>>>>>
>>>>> Is the released 6.05 code OK? If so, we have a baseline.
>>>>> The problem with the params could be to do with memory being overwritten somewhere.
>>>>> Looks messy, maybe we need to run the tests to see.
>>>>>
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952
>>>>>
>>>>>> On 14 Jul 2015, at 12:12, Rory Walsh  wrote:
>>>>>>
>>>>>> That was my first port of call too. No problems there, but all my
>>>>>> Cabbage instruments are now broken. The sound is awful and I get a
>>>>>> crash on exit? (Backtrace below). But I can't recreate the problem
>>>>>> from the command line. I didn't change a thing in my Cabbage source
>>>>>> since I update and rebuilt Csound. I've since removed any calls to
>>>>>> csoundSetParams() but that didn't help. I'm not sure when I last
>>>>>> updated, probably more than a month or two ago.
>>>>>>
>>>>>> 0  0x00007ffff6809c4b  mfree
>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
>>>>>> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
>>>>>> 316
>>>>>> 2  0x00007ffff6837bb5  delete_channel_db
>>>>>> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
>>>>>> 3  0x00007ffff69640a2  reset
>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
>>>>>> 4  0x00007ffff695fe24  csoundDestroy
>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
>>>>>> 5  0x00000000004fe3a9  Csound::~Csound
>>>>>> /usr/local/include/csound/csound.hpp  860
>>>>>> 6  0x00000000004fe3d8  Csound::~Csound
>>>>>> /usr/local/include/csound/csound.hpp  866
>>>>>>
>>>>>>
>>>>>>> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>>>>>>> I’ve added this to the earlier test program and I see no problems:
>>>>>>>
>>>>>>> #include 
>>>>>>> #include "csound.hpp"
>>>>>>>
>>>>>>> int main(int argc, char *argv[])
>>>>>>> {
>>>>>>> /*Create an instance of Csound*/
>>>>>>> Csound* csound = new Csound;
>>>>>>> CSOUND_PARAMS parm;
>>>>>>> csound->GetParams(&parm);
>>>>>>> parm.control_rate_override = 441;
>>>>>>> csound->SetParams(&parm);
>>>>>>> csound->CompileCsd("test1.csd");
>>>>>>> int n =0 ;
>>>>>>> while(++n < 4410)
>>>>>>> csound->PerformKsmps();
>>>>>>> printf("HELLO\n");
>>>>>>> n = 0;
>>>>>>> csound->CompileCsd("test2.csd");
>>>>>>> while(++n < 4410)
>>>>>>> csound->PerformKsmps();
>>>>>>> delete csound;
>>>>>>> }
>>>>>>>
>>>>>>> =====
>>>>>>>
>>>>>>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>>>>>>
>>>>>>> ========================
>>>>>>> Dr Victor Lazzarini
>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>> Maynooth University,
>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>> Tel: 00 353 7086936
>>>>>>> Fax: 00 353 1 7086952
>>>>>>>
>>>>>>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>>>>>>>
>>>>>>>> I'm just trying to prepare an example for you...
>>>>>>>>
>>>>>>>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>>>>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>>>>>>> control_rate_override to I get graph_init... problems
>>>>>>>>>
>>>>>>>>> For example:
>>>>>>>>>
>>>>>>>>> csoundParams->control_rate_override = 441;
>>>>>>>>>
>>>>>>>>> results in this:
>>>>>>>>>
>>>>>>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>>>>>>> error: invalid ksmps value
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> kr always stays at 7.1.....
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> 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/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> 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/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> 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/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> 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/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> 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/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo

Date2015-07-15 13:29
FromRory Walsh
SubjectRe: [Cs-dev] did something change with control_rate_override
Ok, I just checked out and built the latest dev without a problem.
What the heck was going on yesterday? In the end I just deleted my
entire csound dir, and did a completely new clone. Now everything is
working as it should. I don't know. Sorry for the noise I guess. If
anyone can chime in with a possible reason for yesterday's madness I'm
all ears. Could a rogue object file cause a problem like that? Or
perhaps something was preventing a memory address from being
overwritten? Or maybe it was justs the Gods of computer science having
a laugh at my expense. I swear it's not the first time.

On 15 July 2015 at 14:04, Rory Walsh  wrote:
> Before I do I need to double check the state of the latest dev branch
> again. Something was seriously messed up with my Csound build
> yesterday. I'll let you know.
>
> On 15 July 2015 at 11:04, Victor Lazzarini  wrote:
>> The tests seem to pass. We need to investigate this a bit more, can you prepare a failing program?
>>
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>>
>>> On 15 Jul 2015, at 09:42, Victor Lazzarini  wrote:
>>>
>>> Well, then there is something wrong. We need to check.
>>>
>>> Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy
>>> Maynooth University
>>> Ireland
>>>
>>>> On 15 Jul 2015, at 06:23, Rory Walsh  wrote:
>>>>
>>>> Ok, I'm back up and running, albeit with Csound 6.05. At least we have
>>>> a base line now. It looks like when I reverted back to earlier
>>>> versions yesterday it wasn't actually building them at all. Now we at
>>>> least have something to work with. The latest source is really
>>>> producing the darnedest results for me.
>>>>
>>>>> On 14 July 2015 at 14:54, Rory Walsh  wrote:
>>>>> Our posts got crossed there. Looks like a memory issue. I'm wondering
>>>>> however if it is local to my machine. Reverting to earlier version
>>>>> just causes slightly different problems. It doesn't make sense. I
>>>>> reverted both my Cabbage source, and Csound source right back, yet the
>>>>> problem persists.
>>>>>
>>>>>> On 14 July 2015 at 13:48, Victor Lazzarini  wrote:
>>>>>> The trouble seems to be with bus channels in your backtrace.
>>>>>> I have not touched much of the code between the last release and now, but I have seen
>>>>>> that Steven has been working on github issues. Maybe that
>>>>>> is where the problem is coming from.
>>>>>>
>>>>>> Is the released 6.05 code OK? If so, we have a baseline.
>>>>>> The problem with the params could be to do with memory being overwritten somewhere.
>>>>>> Looks messy, maybe we need to run the tests to see.
>>>>>>
>>>>>> ========================
>>>>>> Dr Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952
>>>>>>
>>>>>>> On 14 Jul 2015, at 12:12, Rory Walsh  wrote:
>>>>>>>
>>>>>>> That was my first port of call too. No problems there, but all my
>>>>>>> Cabbage instruments are now broken. The sound is awful and I get a
>>>>>>> crash on exit? (Backtrace below). But I can't recreate the problem
>>>>>>> from the command line. I didn't change a thing in my Cabbage source
>>>>>>> since I update and rebuilt Csound. I've since removed any calls to
>>>>>>> csoundSetParams() but that didn't help. I'm not sure when I last
>>>>>>> updated, probably more than a month or two ago.
>>>>>>>
>>>>>>> 0  0x00007ffff6809c4b  mfree
>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
>>>>>>> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
>>>>>>> 316
>>>>>>> 2  0x00007ffff6837bb5  delete_channel_db
>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
>>>>>>> 3  0x00007ffff69640a2  reset
>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
>>>>>>> 4  0x00007ffff695fe24  csoundDestroy
>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
>>>>>>> 5  0x00000000004fe3a9  Csound::~Csound
>>>>>>> /usr/local/include/csound/csound.hpp  860
>>>>>>> 6  0x00000000004fe3d8  Csound::~Csound
>>>>>>> /usr/local/include/csound/csound.hpp  866
>>>>>>>
>>>>>>>
>>>>>>>> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>>>>>>>> I’ve added this to the earlier test program and I see no problems:
>>>>>>>>
>>>>>>>> #include 
>>>>>>>> #include "csound.hpp"
>>>>>>>>
>>>>>>>> int main(int argc, char *argv[])
>>>>>>>> {
>>>>>>>> /*Create an instance of Csound*/
>>>>>>>> Csound* csound = new Csound;
>>>>>>>> CSOUND_PARAMS parm;
>>>>>>>> csound->GetParams(&parm);
>>>>>>>> parm.control_rate_override = 441;
>>>>>>>> csound->SetParams(&parm);
>>>>>>>> csound->CompileCsd("test1.csd");
>>>>>>>> int n =0 ;
>>>>>>>> while(++n < 4410)
>>>>>>>> csound->PerformKsmps();
>>>>>>>> printf("HELLO\n");
>>>>>>>> n = 0;
>>>>>>>> csound->CompileCsd("test2.csd");
>>>>>>>> while(++n < 4410)
>>>>>>>> csound->PerformKsmps();
>>>>>>>> delete csound;
>>>>>>>> }
>>>>>>>>
>>>>>>>> =====
>>>>>>>>
>>>>>>>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>>>>>>>
>>>>>>>> ========================
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>>> Maynooth University,
>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>> Tel: 00 353 7086936
>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>
>>>>>>>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>>>>>>>>
>>>>>>>>> I'm just trying to prepare an example for you...
>>>>>>>>>
>>>>>>>>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>>>>>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>>>>>>>> control_rate_override to I get graph_init... problems
>>>>>>>>>>
>>>>>>>>>> For example:
>>>>>>>>>>
>>>>>>>>>> csoundParams->control_rate_override = 441;
>>>>>>>>>>
>>>>>>>>>> results in this:
>>>>>>>>>>
>>>>>>>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>>>>>>>> error: invalid ksmps value
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> kr always stays at 7.1.....
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> 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/
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> 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/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> 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/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> 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/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> 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/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.

Date2015-07-15 16:23
FromVictor Lazzarini
SubjectRe: [Cs-dev] did something change with control_rate_override
I would suggest half built files hanging around.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 15 Jul 2015, at 13:29, Rory Walsh  wrote:
> 
> Ok, I just checked out and built the latest dev without a problem.
> What the heck was going on yesterday? In the end I just deleted my
> entire csound dir, and did a completely new clone. Now everything is
> working as it should. I don't know. Sorry for the noise I guess. If
> anyone can chime in with a possible reason for yesterday's madness I'm
> all ears. Could a rogue object file cause a problem like that? Or
> perhaps something was preventing a memory address from being
> overwritten? Or maybe it was justs the Gods of computer science having
> a laugh at my expense. I swear it's not the first time.
> 
> On 15 July 2015 at 14:04, Rory Walsh  wrote:
>> Before I do I need to double check the state of the latest dev branch
>> again. Something was seriously messed up with my Csound build
>> yesterday. I'll let you know.
>> 
>>> On 15 July 2015 at 11:04, Victor Lazzarini  wrote:
>>> The tests seem to pass. We need to investigate this a bit more, can you prepare a failing program?
>>> 
>>> ========================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>> 
>>>> On 15 Jul 2015, at 09:42, Victor Lazzarini  wrote:
>>>> 
>>>> Well, then there is something wrong. We need to check.
>>>> 
>>>> Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>> Maynooth University
>>>> Ireland
>>>> 
>>>>> On 15 Jul 2015, at 06:23, Rory Walsh  wrote:
>>>>> 
>>>>> Ok, I'm back up and running, albeit with Csound 6.05. At least we have
>>>>> a base line now. It looks like when I reverted back to earlier
>>>>> versions yesterday it wasn't actually building them at all. Now we at
>>>>> least have something to work with. The latest source is really
>>>>> producing the darnedest results for me.
>>>>> 
>>>>>> On 14 July 2015 at 14:54, Rory Walsh  wrote:
>>>>>> Our posts got crossed there. Looks like a memory issue. I'm wondering
>>>>>> however if it is local to my machine. Reverting to earlier version
>>>>>> just causes slightly different problems. It doesn't make sense. I
>>>>>> reverted both my Cabbage source, and Csound source right back, yet the
>>>>>> problem persists.
>>>>>> 
>>>>>>> On 14 July 2015 at 13:48, Victor Lazzarini  wrote:
>>>>>>> The trouble seems to be with bus channels in your backtrace.
>>>>>>> I have not touched much of the code between the last release and now, but I have seen
>>>>>>> that Steven has been working on github issues. Maybe that
>>>>>>> is where the problem is coming from.
>>>>>>> 
>>>>>>> Is the released 6.05 code OK? If so, we have a baseline.
>>>>>>> The problem with the params could be to do with memory being overwritten somewhere.
>>>>>>> Looks messy, maybe we need to run the tests to see.
>>>>>>> 
>>>>>>> ========================
>>>>>>> Dr Victor Lazzarini
>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>> Maynooth University,
>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>> Tel: 00 353 7086936
>>>>>>> Fax: 00 353 1 7086952
>>>>>>> 
>>>>>>>> On 14 Jul 2015, at 12:12, Rory Walsh  wrote:
>>>>>>>> 
>>>>>>>> That was my first port of call too. No problems there, but all my
>>>>>>>> Cabbage instruments are now broken. The sound is awful and I get a
>>>>>>>> crash on exit? (Backtrace below). But I can't recreate the problem
>>>>>>>> from the command line. I didn't change a thing in my Cabbage source
>>>>>>>> since I update and rebuilt Csound. I've since removed any calls to
>>>>>>>> csoundSetParams() but that didn't help. I'm not sure when I last
>>>>>>>> updated, probably more than a month or two ago.
>>>>>>>> 
>>>>>>>> 0  0x00007ffff6809c4b  mfree
>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
>>>>>>>> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
>>>>>>>> 316
>>>>>>>> 2  0x00007ffff6837bb5  delete_channel_db
>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
>>>>>>>> 3  0x00007ffff69640a2  reset
>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
>>>>>>>> 4  0x00007ffff695fe24  csoundDestroy
>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
>>>>>>>> 5  0x00000000004fe3a9  Csound::~Csound
>>>>>>>> /usr/local/include/csound/csound.hpp  860
>>>>>>>> 6  0x00000000004fe3d8  Csound::~Csound
>>>>>>>> /usr/local/include/csound/csound.hpp  866
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>>>>>>>>> I’ve added this to the earlier test program and I see no problems:
>>>>>>>>> 
>>>>>>>>> #include 
>>>>>>>>> #include "csound.hpp"
>>>>>>>>> 
>>>>>>>>> int main(int argc, char *argv[])
>>>>>>>>> {
>>>>>>>>> /*Create an instance of Csound*/
>>>>>>>>> Csound* csound = new Csound;
>>>>>>>>> CSOUND_PARAMS parm;
>>>>>>>>> csound->GetParams(&parm);
>>>>>>>>> parm.control_rate_override = 441;
>>>>>>>>> csound->SetParams(&parm);
>>>>>>>>> csound->CompileCsd("test1.csd");
>>>>>>>>> int n =0 ;
>>>>>>>>> while(++n < 4410)
>>>>>>>>> csound->PerformKsmps();
>>>>>>>>> printf("HELLO\n");
>>>>>>>>> n = 0;
>>>>>>>>> csound->CompileCsd("test2.csd");
>>>>>>>>> while(++n < 4410)
>>>>>>>>> csound->PerformKsmps();
>>>>>>>>> delete csound;
>>>>>>>>> }
>>>>>>>>> 
>>>>>>>>> =====
>>>>>>>>> 
>>>>>>>>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>>>>>>>> 
>>>>>>>>> ========================
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>>>> Maynooth University,
>>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>>> Tel: 00 353 7086936
>>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>> 
>>>>>>>>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>>>>>>>>> 
>>>>>>>>>> I'm just trying to prepare an example for you...
>>>>>>>>>> 
>>>>>>>>>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>>>>>>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>>>>>>>>> control_rate_override to I get graph_init... problems
>>>>>>>>>>> 
>>>>>>>>>>> For example:
>>>>>>>>>>> 
>>>>>>>>>>> csoundParams->control_rate_override = 441;
>>>>>>>>>>> 
>>>>>>>>>>> results in this:
>>>>>>>>>>> 
>>>>>>>>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>>>>>>>>> error: invalid ksmps value
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> kr always stays at 7.1.....
>>>>>>>>>> 
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> 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/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> 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/
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>> 
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> 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/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>> 
>>>>>>> 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> 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/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> 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/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> 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/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> 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/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https

Date2015-07-15 16:27
FromRory Walsh
SubjectRe: [Cs-dev] did something change with control_rate_override
More like half baked ideas ;) I have a lot of those floating around.

On 15 July 2015 at 16:23, Victor Lazzarini  wrote:
> I would suggest half built files hanging around.
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
>> On 15 Jul 2015, at 13:29, Rory Walsh  wrote:
>>
>> Ok, I just checked out and built the latest dev without a problem.
>> What the heck was going on yesterday? In the end I just deleted my
>> entire csound dir, and did a completely new clone. Now everything is
>> working as it should. I don't know. Sorry for the noise I guess. If
>> anyone can chime in with a possible reason for yesterday's madness I'm
>> all ears. Could a rogue object file cause a problem like that? Or
>> perhaps something was preventing a memory address from being
>> overwritten? Or maybe it was justs the Gods of computer science having
>> a laugh at my expense. I swear it's not the first time.
>>
>> On 15 July 2015 at 14:04, Rory Walsh  wrote:
>>> Before I do I need to double check the state of the latest dev branch
>>> again. Something was seriously messed up with my Csound build
>>> yesterday. I'll let you know.
>>>
>>>> On 15 July 2015 at 11:04, Victor Lazzarini  wrote:
>>>> The tests seem to pass. We need to investigate this a bit more, can you prepare a failing program?
>>>>
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952
>>>>
>>>>> On 15 Jul 2015, at 09:42, Victor Lazzarini  wrote:
>>>>>
>>>>> Well, then there is something wrong. We need to check.
>>>>>
>>>>> Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>>> Maynooth University
>>>>> Ireland
>>>>>
>>>>>> On 15 Jul 2015, at 06:23, Rory Walsh  wrote:
>>>>>>
>>>>>> Ok, I'm back up and running, albeit with Csound 6.05. At least we have
>>>>>> a base line now. It looks like when I reverted back to earlier
>>>>>> versions yesterday it wasn't actually building them at all. Now we at
>>>>>> least have something to work with. The latest source is really
>>>>>> producing the darnedest results for me.
>>>>>>
>>>>>>> On 14 July 2015 at 14:54, Rory Walsh  wrote:
>>>>>>> Our posts got crossed there. Looks like a memory issue. I'm wondering
>>>>>>> however if it is local to my machine. Reverting to earlier version
>>>>>>> just causes slightly different problems. It doesn't make sense. I
>>>>>>> reverted both my Cabbage source, and Csound source right back, yet the
>>>>>>> problem persists.
>>>>>>>
>>>>>>>> On 14 July 2015 at 13:48, Victor Lazzarini  wrote:
>>>>>>>> The trouble seems to be with bus channels in your backtrace.
>>>>>>>> I have not touched much of the code between the last release and now, but I have seen
>>>>>>>> that Steven has been working on github issues. Maybe that
>>>>>>>> is where the problem is coming from.
>>>>>>>>
>>>>>>>> Is the released 6.05 code OK? If so, we have a baseline.
>>>>>>>> The problem with the params could be to do with memory being overwritten somewhere.
>>>>>>>> Looks messy, maybe we need to run the tests to see.
>>>>>>>>
>>>>>>>> ========================
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>>> Maynooth University,
>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>> Tel: 00 353 7086936
>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>
>>>>>>>>> On 14 Jul 2015, at 12:12, Rory Walsh  wrote:
>>>>>>>>>
>>>>>>>>> That was my first port of call too. No problems there, but all my
>>>>>>>>> Cabbage instruments are now broken. The sound is awful and I get a
>>>>>>>>> crash on exit? (Backtrace below). But I can't recreate the problem
>>>>>>>>> from the command line. I didn't change a thing in my Cabbage source
>>>>>>>>> since I update and rebuilt Csound. I've since removed any calls to
>>>>>>>>> csoundSetParams() but that didn't help. I'm not sure when I last
>>>>>>>>> updated, probably more than a month or two ago.
>>>>>>>>>
>>>>>>>>> 0  0x00007ffff6809c4b  mfree
>>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
>>>>>>>>> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
>>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
>>>>>>>>> 316
>>>>>>>>> 2  0x00007ffff6837bb5  delete_channel_db
>>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
>>>>>>>>> 3  0x00007ffff69640a2  reset
>>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
>>>>>>>>> 4  0x00007ffff695fe24  csoundDestroy
>>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
>>>>>>>>> 5  0x00000000004fe3a9  Csound::~Csound
>>>>>>>>> /usr/local/include/csound/csound.hpp  860
>>>>>>>>> 6  0x00000000004fe3d8  Csound::~Csound
>>>>>>>>> /usr/local/include/csound/csound.hpp  866
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>>>>>>>>>> I’ve added this to the earlier test program and I see no problems:
>>>>>>>>>>
>>>>>>>>>> #include 
>>>>>>>>>> #include "csound.hpp"
>>>>>>>>>>
>>>>>>>>>> int main(int argc, char *argv[])
>>>>>>>>>> {
>>>>>>>>>> /*Create an instance of Csound*/
>>>>>>>>>> Csound* csound = new Csound;
>>>>>>>>>> CSOUND_PARAMS parm;
>>>>>>>>>> csound->GetParams(&parm);
>>>>>>>>>> parm.control_rate_override = 441;
>>>>>>>>>> csound->SetParams(&parm);
>>>>>>>>>> csound->CompileCsd("test1.csd");
>>>>>>>>>> int n =0 ;
>>>>>>>>>> while(++n < 4410)
>>>>>>>>>> csound->PerformKsmps();
>>>>>>>>>> printf("HELLO\n");
>>>>>>>>>> n = 0;
>>>>>>>>>> csound->CompileCsd("test2.csd");
>>>>>>>>>> while(++n < 4410)
>>>>>>>>>> csound->PerformKsmps();
>>>>>>>>>> delete csound;
>>>>>>>>>> }
>>>>>>>>>>
>>>>>>>>>> =====
>>>>>>>>>>
>>>>>>>>>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>>>>>>>>>
>>>>>>>>>> ========================
>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>>>>> Maynooth University,
>>>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>>>> Tel: 00 353 7086936
>>>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>>>
>>>>>>>>>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>>>>>>>>>>
>>>>>>>>>>> I'm just trying to prepare an example for you...
>>>>>>>>>>>
>>>>>>>>>>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>>>>>>>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>>>>>>>>>> control_rate_override to I get graph_init... problems
>>>>>>>>>>>>
>>>>>>>>>>>> For example:
>>>>>>>>>>>>
>>>>>>>>>>>> csoundParams->control_rate_override = 441;
>>>>>>>>>>>>
>>>>>>>>>>>> results in this:
>>>>>>>>>>>>
>>>>>>>>>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>>>>>>>>>> error: invalid ksmps value
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> kr always stays at 7.1.....
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> 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/
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> 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/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> 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/
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> 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/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> 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/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> 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/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.s

Date2015-07-15 18:20
FromAnders Genell
SubjectRe: [Cs-dev] did something change with control_rate_override
Whereas the noodle can now be considered properly baked. 





> 15 jul 2015 kl. 17:27 skrev Rory Walsh :
> 
> More like half baked ideas ;) I have a lot of those floating around.
> 
>> On 15 July 2015 at 16:23, Victor Lazzarini  wrote:
>> I would suggest half built files hanging around.
>> 
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>> 
>>> On 15 Jul 2015, at 13:29, Rory Walsh  wrote:
>>> 
>>> Ok, I just checked out and built the latest dev without a problem.
>>> What the heck was going on yesterday? In the end I just deleted my
>>> entire csound dir, and did a completely new clone. Now everything is
>>> working as it should. I don't know. Sorry for the noise I guess. If
>>> anyone can chime in with a possible reason for yesterday's madness I'm
>>> all ears. Could a rogue object file cause a problem like that? Or
>>> perhaps something was preventing a memory address from being
>>> overwritten? Or maybe it was justs the Gods of computer science having
>>> a laugh at my expense. I swear it's not the first time.
>>> 
>>> On 15 July 2015 at 14:04, Rory Walsh  wrote:
>>>> Before I do I need to double check the state of the latest dev branch
>>>> again. Something was seriously messed up with my Csound build
>>>> yesterday. I'll let you know.
>>>> 
>>>>> On 15 July 2015 at 11:04, Victor Lazzarini  wrote:
>>>>> The tests seem to pass. We need to investigate this a bit more, can you prepare a failing program?
>>>>> 
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952
>>>>> 
>>>>>> On 15 Jul 2015, at 09:42, Victor Lazzarini  wrote:
>>>>>> 
>>>>>> Well, then there is something wrong. We need to check.
>>>>>> 
>>>>>> Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>>>> Maynooth University
>>>>>> Ireland
>>>>>> 
>>>>>>> On 15 Jul 2015, at 06:23, Rory Walsh  wrote:
>>>>>>> 
>>>>>>> Ok, I'm back up and running, albeit with Csound 6.05. At least we have
>>>>>>> a base line now. It looks like when I reverted back to earlier
>>>>>>> versions yesterday it wasn't actually building them at all. Now we at
>>>>>>> least have something to work with. The latest source is really
>>>>>>> producing the darnedest results for me.
>>>>>>> 
>>>>>>>> On 14 July 2015 at 14:54, Rory Walsh  wrote:
>>>>>>>> Our posts got crossed there. Looks like a memory issue. I'm wondering
>>>>>>>> however if it is local to my machine. Reverting to earlier version
>>>>>>>> just causes slightly different problems. It doesn't make sense. I
>>>>>>>> reverted both my Cabbage source, and Csound source right back, yet the
>>>>>>>> problem persists.
>>>>>>>> 
>>>>>>>>> On 14 July 2015 at 13:48, Victor Lazzarini  wrote:
>>>>>>>>> The trouble seems to be with bus channels in your backtrace.
>>>>>>>>> I have not touched much of the code between the last release and now, but I have seen
>>>>>>>>> that Steven has been working on github issues. Maybe that
>>>>>>>>> is where the problem is coming from.
>>>>>>>>> 
>>>>>>>>> Is the released 6.05 code OK? If so, we have a baseline.
>>>>>>>>> The problem with the params could be to do with memory being overwritten somewhere.
>>>>>>>>> Looks messy, maybe we need to run the tests to see.
>>>>>>>>> 
>>>>>>>>> ========================
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>>>> Maynooth University,
>>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>>> Tel: 00 353 7086936
>>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>> 
>>>>>>>>>> On 14 Jul 2015, at 12:12, Rory Walsh  wrote:
>>>>>>>>>> 
>>>>>>>>>> That was my first port of call too. No problems there, but all my
>>>>>>>>>> Cabbage instruments are now broken. The sound is awful and I get a
>>>>>>>>>> crash on exit? (Backtrace below). But I can't recreate the problem
>>>>>>>>>> from the command line. I didn't change a thing in my Cabbage source
>>>>>>>>>> since I update and rebuilt Csound. I've since removed any calls to
>>>>>>>>>> csoundSetParams() but that didn't help. I'm not sure when I last
>>>>>>>>>> updated, probably more than a month or two ago.
>>>>>>>>>> 
>>>>>>>>>> 0  0x00007ffff6809c4b  mfree
>>>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/memalloc.c  164
>>>>>>>>>> 1  0x00007ffff681f6e9  cs_hash_table_mfree_complete
>>>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Engine/csound_data_structures.c
>>>>>>>>>> 316
>>>>>>>>>> 2  0x00007ffff6837bb5  delete_channel_db
>>>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/OOps/bus.c  334
>>>>>>>>>> 3  0x00007ffff69640a2  reset
>>>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  2948
>>>>>>>>>> 4  0x00007ffff695fe24  csoundDestroy
>>>>>>>>>> /home/rory/sourcecode/cabbageaudio/csound/Top/csound.c  1224
>>>>>>>>>> 5  0x00000000004fe3a9  Csound::~Csound
>>>>>>>>>> /usr/local/include/csound/csound.hpp  860
>>>>>>>>>> 6  0x00000000004fe3d8  Csound::~Csound
>>>>>>>>>> /usr/local/include/csound/csound.hpp  866
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>>> On 14 July 2015 at 12:40, Victor Lazzarini  wrote:
>>>>>>>>>>> I’ve added this to the earlier test program and I see no problems:
>>>>>>>>>>> 
>>>>>>>>>>> #include 
>>>>>>>>>>> #include "csound.hpp"
>>>>>>>>>>> 
>>>>>>>>>>> int main(int argc, char *argv[])
>>>>>>>>>>> {
>>>>>>>>>>> /*Create an instance of Csound*/
>>>>>>>>>>> Csound* csound = new Csound;
>>>>>>>>>>> CSOUND_PARAMS parm;
>>>>>>>>>>> csound->GetParams(&parm);
>>>>>>>>>>> parm.control_rate_override = 441;
>>>>>>>>>>> csound->SetParams(&parm);
>>>>>>>>>>> csound->CompileCsd("test1.csd");
>>>>>>>>>>> int n =0 ;
>>>>>>>>>>> while(++n < 4410)
>>>>>>>>>>> csound->PerformKsmps();
>>>>>>>>>>> printf("HELLO\n");
>>>>>>>>>>> n = 0;
>>>>>>>>>>> csound->CompileCsd("test2.csd");
>>>>>>>>>>> while(++n < 4410)
>>>>>>>>>>> csound->PerformKsmps();
>>>>>>>>>>> delete csound;
>>>>>>>>>>> }
>>>>>>>>>>> 
>>>>>>>>>>> =====
>>>>>>>>>>> 
>>>>>>>>>>> sample rate overrides: esr = 44100.0000, ekr = 441.0000, ksmps = 100
>>>>>>>>>>> 
>>>>>>>>>>> ========================
>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>>>>>> Maynooth University,
>>>>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>>>>> Tel: 00 353 7086936
>>>>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>>>> 
>>>>>>>>>>>> On 14 Jul 2015, at 10:59, Rory Walsh  wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>> I'm just trying to prepare an example for you...
>>>>>>>>>>>> 
>>>>>>>>>>>>> On 14 July 2015 at 11:41, Rory Walsh  wrote:
>>>>>>>>>>>>> I just did a git pull and rebuilt. Now, no matter what I set
>>>>>>>>>>>>> control_rate_override to I get graph_init... problems
>>>>>>>>>>>>> 
>>>>>>>>>>>>> For example:
>>>>>>>>>>>>> 
>>>>>>>>>>>>> csoundParams->control_rate_override = 441;
>>>>>>>>>>>>> 
>>>>>>>>>>>>> results in this:
>>>>>>>>>>>>> 
>>>>>>>>>>>>> sr = 44100, kr = 7.172913, ksmps = 6148.13
>>>>>>>>>>>>> error: invalid ksmps value
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> kr always stays at 7.1.....
>>>>>>>>>>>> 
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> 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/
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> 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/
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>> 
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> 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/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> 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/
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>> 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> 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/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> 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/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> 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/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> ------------------------------------------------------------------------------
>>> 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/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
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/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-deve