Csound Csound-dev Csound-tekno Search About

[Csnd] Csoundo for Doubles

Date2010-09-02 20:29
FromJacob Joaquin
Subject[Csnd] Csoundo for Doubles
Finally managed to build a version of The Csoundo Processing Library
that supports doubles. This may also require that Csound be compiled
for 32-bit mode.

Csoundo 0.1.2.double:
http://github.com/jacobjoaquin/Csoundo/downloads

If anyone tries it, please let me know if it works or doesn't, and a
brief description of your system and version of Csound you're running.

Thanks!
Jake

Date2010-09-03 04:16
FromJacob Joaquin
Subject[Csnd] Re: Csoundo for Doubles
The last version had a glaring error.  Here's the new package with the fix:

http://github.com/downloads/jacobjoaquin/Csoundo/csoundo-0.1.2.double.1.zip

Best,
Jake

Date2010-09-03 05:19
From"Marc D. Demers"
Subject[Csnd] RE: Re: Csoundo for Doubles
Everything is working great now (Windows Vista Ultimate, Csound 5.12.1)

Marc


 




> Date: Thu, 2 Sep 2010 20:16:04 -0700
> From: jacobjoaquin@gmail.com
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] Re: Csoundo for Doubles
>
> The last version had a glaring error. Here's the new package with the fix:
>
> http://github.com/downloads/jacobjoaquin/Csoundo/csoundo-0.1.2.double.1.zip
>
> Best,
> Jake
> --
> The Csound Blog - http://csoundblog.com/
> Slipmat - http://slipmat.noisepages.com/
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2010-09-03 08:06
FromFrancois PINOT
Subject[Csnd] Re: Csoundo for Doubles
Works fine here. Ubuntu 10.4, csound5.12 double built from CVS. I followed the instructions from the README file. Great job Jake!

Regards

Francois


2010/9/2 Jacob Joaquin <jacobjoaquin@gmail.com>
Finally managed to build a version of The Csoundo Processing Library
that supports doubles. This may also require that Csound be compiled
for 32-bit mode.

Csoundo 0.1.2.double:
http://github.com/jacobjoaquin/Csoundo/downloads

If anyone tries it, please let me know if it works or doesn't, and a
brief description of your system and version of Csound you're running.

Thanks!
Jake
--
The Csound Blog - http://csoundblog.com/
Slipmat - http://slipmat.noisepages.com/


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2010-09-03 12:06
FromDave Phillips
Subject[Csnd] Re: Re: Csoundo for Doubles
Francois PINOT wrote:

> Works fine here. Ubuntu 10.4, csound5.12 double built from CVS. I 
> followed the instructions from the README file. 

Ditto. And the fun begins. Your examples have been working well, they'll 
function nicely as guides into the Proceesing/Csound connection.

> Great job Jake!

Indeed, and thanks for this little helper.

Btw, is there any easy way to let it know that I'd rather use JACK 
instead of PortAudio ? I can recompile if necessary.

Best,

dp



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-09-03 17:03
FromJacob Joaquin
Subject[Csnd] Re: Re: Re: Csoundo for Doubles
On Fri, Sep 3, 2010 at 4:06 AM, Dave Phillips  wrote:
> Btw, is there any easy way to let it know that I'd rather use JACK instead
> of PortAudio ? I can recompile if necessary.

I've not used JACK with Csound myself. Though if it's a command-line
option, you can use the method setOptions().  For example:


cs = new Csoundo(this, "foo.csd");
cs.setOptions("-d -odac");  // Change command-line options here
cs.run();


In some future version of Csoundo, I will allow users to create a
configuration file similar to .csoundrc, so that people can set up
their system once, and not then not have to worry about it.

Best,
Jake

Date2010-09-03 17:48
FromDave Phillips
Subject[Csnd] Re: Re: Re: Re: Csoundo for Doubles
Jacob Joaquin wrote:
> On Fri, Sep 3, 2010 at 4:06 AM, Dave Phillips  wrote:
>   
>> Btw, is there any easy way to let it know that I'd rather use JACK instead
>> of PortAudio ? I can recompile if necessary.
>>     
>
> I've not used JACK with Csound myself. Though if it's a command-line
> option, you can use the method setOptions().  For example:
>
>
> cs = new Csoundo(this, "foo.csd");
> cs.setOptions("-d -odac");  // Change command-line options here
> cs.run();
>   

That's great, thanks. This setting worked fine :

cs.setOptions("-+rtaudio=jack -odac:system:playback_ ")


>
> In some future version of Csoundo, I will allow users to create a
> configuration file similar to .csoundrc, so that people can set up
> their system once, and not then not have to worry about it.
>   

Would also be nice.

Btw, your example experiment_1 blows up when I run it. The display 
window opens for a moment then immediately closes. Any suggestions ? The 
only error message is a segfault notice from Csound on exit.

Best,

dp



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-09-03 18:48
FromJacob Joaquin
Subject[Csnd] Re: Re: Re: Re: Re: Csoundo for Doubles
On Fri, Sep 3, 2010 at 9:48 AM, Dave Phillips  wrote:
> Btw, your example experiment_1 blows up when I run it. The display window
> opens for a moment then immediately closes. Any suggestions ? The only error
> message is a segfault notice from Csound on exit.

And it's my favorite public example, too. :)

It's the oldest example, so maybe I need to update something in the
code, though it does work on my system.  Can you do me a favor and set
IS_SOUND_ON to false in experiment_1.pde? This will let me know if
it's truly a Csoundo issue (which I suspect it is), and not a
Processing issue.

Best,
Jake

Date2010-09-03 21:46
FromDave Phillips
Subject[Csnd] Re: Re: Re: Re: Re: Re: Csoundo for Doubles
Jacob Joaquin wrote:
> On Fri, Sep 3, 2010 at 9:48 AM, Dave Phillips  wrote:
>   
>> Btw, your example experiment_1 blows up when I run it. The display window
>> opens for a moment then immediately closes. Any suggestions ? The only error
>> message is a segfault notice from Csound on exit.
>>     
>
> And it's my favorite public example, too. :)
>
> It's the oldest example, so maybe I need to update something in the
> code, though it does work on my system.  Can you do me a favor and set
> IS_SOUND_ON to false in experiment_1.pde? This will let me know if
> it's truly a Csoundo issue (which I suspect it is), and not a
> Processing issue.
>   

Thanks for the tip. I changed the value, the display starts but freezes 
immediately with an error regarding the cs.event line in the Animation 
code. I'm waiting for a student now, I'll have to send the exact message 
later.

Btw, Rory's 'random' code works fine.

Best,

dp



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-09-04 16:07
FromJacob Joaquin
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Csoundo for Doubles
> I changed the value, the display starts but freezes
> immediately with an error regarding the cs.event line in the Animation code.

My memory of the code was slightly off. The reason it's breaking now
is because the sketch calls cs.event() when cs hasn't been
instantiated.

In addition to changing IS_SOUND_ON to false, can you comment out
"sound();" in line 74  of Animation.pde. This ensure that Csoundo
doesn't run and that a cs.event() isn't called. Then we'll know for
sure if it's Csoundo or not causing the problem.

There is another example that uses Csoundo.event() called event.pde.
Does this one work for you?

Best,
Jake

Date2010-09-05 16:27
FromDave Phillips
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Csoundo for Doubles
Jacob Joaquin wrote:
>> I changed the value, the display starts but freezes
>> immediately with an error regarding the cs.event line in the Animation code.
>>     
>
> My memory of the code was slightly off. The reason it's breaking now
> is because the sketch calls cs.event() when cs hasn't been
> instantiated.
>
> In addition to changing IS_SOUND_ON to false, can you comment out
> "sound();" in line 74  of Animation.pde. This ensure that Csoundo
> doesn't run and that a cs.event() isn't called. Then we'll know for
> sure if it's Csoundo or not causing the problem.
>   

Okay, the graphics display without problem after making those changes.


> There is another example that uses Csoundo.event() called event.pde.
> Does this one work for you?
>
>   

Works perfectly.

Best,

dp



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-09-06 01:22
FromBrian Wong
Subject[Csnd] RE: Re: Csoundo for Doubles
I have Csoundo up and working on XP/CSdoubles, though there are problems with Experiment_1 and considerable noise glitching (particularly on mouse movement) in other examples. I do have a suggestion; a basic .sco +/or .csd reader that can be used to grab pfield values for timing and numbers. This would give us a simple non-realtime way to sync up and control Processing video with our disk-rendered pieces.

Brian

> Date: Thu, 2 Sep 2010 20:16:04 -0700
> From: jacobjoaquin@gmail.com
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] Re: Csoundo for Doubles
>
> The last version had a glaring error. Here's the new package with the fix:
>
> http://github.com/downloads/jacobjoaquin/Csoundo/csoundo-0.1.2.double.1.zip
>
> Best,
> Jake
> --
> The Csound Blog - http://csoundblog.com/
> Slipmat - http://slipmat.noisepages.com/
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2010-09-07 00:01
FromJacob Joaquin
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Csoundo for Doubles
On Sun, Sep 5, 2010 at 8:27 AM, Dave Phillips  wrote:
> Okay, the graphics display without problem after making those changes.

One thing it might be is that Csound isn't finished starting by the
time the first frame is drawn, which could cause the crash. This
should be fixed once I have memory protection and thread locking built
into Csoundo. Though it might be something else. I'll take a long look
at the code.

Best,
Jake

Date2010-09-07 00:08
FromJacob Joaquin
Subject[Csnd] Re: RE: Re: Csoundo for Doubles
On Sun, Sep 5, 2010 at 5:22 PM, Brian Wong  wrote:
> I do have a suggestion; a basic .sco +/or .csd
> reader that can be used to grab pfield values for timing and numbers. This
> would give us a simple non-realtime way to sync up and control Processing
> video with our disk-rendered pieces.

Thanks for the suggestion. Being able to use Csoundo in non-realtime
as well will allow others to create some elaborate processor intensive
pieces for playback. One thing that could be done now is to have
Processing generate a Csound score.  A custom method may be called
like this:

printToScore("i 1 " + ((float) frameCount / (float) frameRate) + " 1
0.707 440");

where the current frame divided by the frameRate would give the start time.

Best,
Jake

Date2010-09-07 01:26
FromBrian Wong
Subject[Csnd] RE: Re: RE: Re: Csoundo for Doubles
Thanks for the example Jacob! OT - if interested have a look at the text button class I just made for Processing (with the help of Processing guru phi.lho). http://bwong.ca/TButton_01.html

BW

> Date: Mon, 6 Sep 2010 16:08:10 -0700
> From: jacobjoaquin@gmail.com
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] Re: RE: Re: Csoundo for Doubles
>
> On Sun, Sep 5, 2010 at 5:22 PM, Brian Wong <brian.wong1@hotmail.com> wrote:
> > I do have a suggestion; a basic .sco +/or .csd
> > reader that can be used to grab pfield values for timing and numbers. This
> > would give us a simple non-realtime way to sync up and control Processing
> > video with our disk-rendered pieces.
>
> Thanks for the suggestion. Being able to use Csoundo in non-realtime
> as well will allow others to create some elaborate processor intensive
> pieces for playback. One thing that could be done now is to have
> Processing generate a Csound score. A custom method may be called
> like this:
>
> printToScore("i 1 " + ((float) frameCount / (float) frameRate) + " 1
> 0.707 440");
>
> where the current frame divided by the frameRate would give the start time.
>
> Best,
> Jake
> --
> The Csound Blog - http://csoundblog.com/
> Slipmat - http://slipmat.noisepages.com/
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>