Csound Csound-dev Csound-tekno Search About

Muteable globals with (re)evaluated code

Date2016-01-08 01:42
FromHlöðver Sigurðsson
SubjectMuteable globals with (re)evaluated code
As I am exploring again live evaluation in CsoundQt for an article, I've stumbled upon some bugs (or I believe it to be) with the "EvalSection" function.

See code here:
https://www.refheap.com/113443

Local non-global variables mutate fine still.

In addition to that can some Linux user confirm wether sensekey opcode example (or the opcode itself) is working for them. For me sensekey is no-sense :)

p.s. I wrote wiki article on installing CsoundQt for Fedora 22, since I've had to go trought this process so many times, for computer I own and for friends. https://github.com/csound/csound/wiki/Compiling-CsoundQT-for-Fedora-22-w-Python-and-RTmidi-support
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-01-08 03:56
From"Pagano, Patrick"
SubjectCsound~ object for max 64 bits

Hello


I have been using Csound in many forms on linux, Window and Macintosh since right around 1995. I started using the csound~ object in Max a few years ago and was overjoyed that someone had created a CS4Live set of devices to run/play orcs/scos inside Ableton live. Now i get an error which i am fairly certain is due to the 64 bit/32 bit problem as it pertains to the csound~ object. 


Can someone share who, if anyone is maintaining this object?

Is there a way or a link to compile it for 64bit with XCODE i assume?

I would be willing to help get it working because i spent a few $$$ on the devices which are all dormant now because they will not work in ableton any longer


Thank you


and Happy Csounding .....sooner or later~


Patrick Pagano B.S, M.F.A
Audio and Projection Design Faculty
Digital Worlds Institute
University of Florida, USA
(352)294-2020​

Date2016-01-08 04:20
FromSteven Yi
SubjectRe: Csound~ object for max 64 bits
The last version of csound~ I built worked on 32-bit and 64-bit OSX.
At that time, it worked but did have issues with certain Csound4Live
items.

Mark Jordankamholz took over csound~ from me this fall; I have not
heard anything about its status nor seen any code updates, but you
might reach out to him to ask what is going on.

On Thu, Jan 7, 2016 at 10:56 PM, Pagano, Patrick
 wrote:
> Hello
>
>
> I have been using Csound in many forms on linux, Window and Macintosh since
> right around 1995. I started using the csound~ object in Max a few years ago
> and was overjoyed that someone had created a CS4Live set of devices to
> run/play orcs/scos inside Ableton live. Now i get an error which i am fairly
> certain is due to the 64 bit/32 bit problem as it pertains to the csound~
> object.
>
>
> Can someone share who, if anyone is maintaining this object?
>
> Is there a way or a link to compile it for 64bit with XCODE i assume?
>
> I would be willing to help get it working because i spent a few $$$ on the
> devices which are all dormant now because they will not work in ableton any
> longer
>
>
> Thank you
>
>
> and Happy Csounding .....sooner or later~
>
>
> Patrick Pagano B.S, M.F.A
> Audio and Projection Design Faculty
> Digital Worlds Institute
> University of Florida, USA
> (352)294-2020
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-08 05:20
Fromthorin kerr
SubjectRe: Muteable globals with (re)evaluated code
I don't know score loops very well... so I could be completely wrong... but aren't you creating 1000 score events of i1 0 1 ?  All with start times of 0, and all expiring in 1 second? In which case re-evaluating instr 1 after 1 second won't do anything, since there's no event to instantiate your new instr 1?

Thorin










On Fri, Jan 8, 2016 at 11:42 AM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
As I am exploring again live evaluation in CsoundQt for an article, I've stumbled upon some bugs (or I believe it to be) with the "EvalSection" function.

See code here:
https://www.refheap.com/113443

Local non-global variables mutate fine still.

In addition to that can some Linux user confirm wether sensekey opcode example (or the opcode itself) is working for them. For me sensekey is no-sense :)

p.s. I wrote wiki article on installing CsoundQt for Fedora 22, since I've had to go trought this process so many times, for computer I own and for friends. https://github.com/csound/csound/wiki/Compiling-CsoundQT-for-Fedora-22-w-Python-and-RTmidi-support
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-01-08 08:59
FromRory Walsh
SubjectRe: Csound~ object for max 64 bits

In the mean time you can always use Cabbage to run Csound in Live? It ships with over 100 ready to go plugins.

On 8 Jan 2016 04:06, "Pagano, Patrick" <pat@digitalworlds.ufl.edu> wrote:

Hello


I have been using Csound in many forms on linux, Window and Macintosh since right around 1995. I started using the csound~ object in Max a few years ago and was overjoyed that someone had created a CS4Live set of devices to run/play orcs/scos inside Ableton live. Now i get an error which i am fairly certain is due to the 64 bit/32 bit problem as it pertains to the csound~ object. 


Can someone share who, if anyone is maintaining this object?

Is there a way or a link to compile it for 64bit with XCODE i assume?

I would be willing to help get it working because i spent a few $$$ on the devices which are all dormant now because they will not work in ableton any longer


Thank you


and Happy Csounding .....sooner or later~


Patrick Pagano B.S, M.F.A
Audio and Projection Design Faculty
Digital Worlds Institute
University of Florida, USA
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-01-08 09:21
FromVictor Lazzarini
SubjectRe: Muteable globals with (re)evaluated code
Thorin is almost right. You would be creating 1000 copies of instr 1 at time 0, if the closing braces } were in a separate line (that’s the score loop syntax).

The score you meant to use is

 i 2 0 1000
{ 1000 X 
i 1 $X 0.5
}

With regards to sensevents, I think CsoundQT does not support it. It is meant to work on the terminal, though.

========================
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 8 Jan 2016, at 05:20, thorin kerr  wrote:
> 
> I don't know score loops very well... so I could be completely wrong... but aren't you creating 1000 score events of i1 0 1 ?  All with start times of 0, and all expiring in 1 second? In which case re-evaluating instr 1 after 1 second won't do anything, since there's no event to instantiate your new instr 1?
> 
> Thorin
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Fri, Jan 8, 2016 at 11:42 AM, Hlöðver Sigurðsson  wrote:
> As I am exploring again live evaluation in CsoundQt for an article, I've stumbled upon some bugs (or I believe it to be) with the "EvalSection" function.
> 
> See code here:
> https://www.refheap.com/113443
> 
> Local non-global variables mutate fine still.
> 
> In addition to that can some Linux user confirm wether sensekey opcode example (or the opcode itself) is working for them. For me sensekey is no-sense :)
> 
> p.s. I wrote wiki article on installing CsoundQt for Fedora 22, since I've had to go trought this process so many times, for computer I own and for friends. https://github.com/csound/csound/wiki/Compiling-CsoundQT-for-Fedora-22-w-Python-and-RTmidi-support
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> 
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-09 04:07
FromHlöðver Sigurðsson
SubjectRe: Muteable globals with (re)evaluated code
That's right. This solved it, functions fine.

2016-01-08 10:21 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Thorin is almost right. You would be creating 1000 copies of instr 1 at time 0, if the closing braces } were in a separate line (that’s the score loop syntax).

The score you meant to use is

 i 2 0 1000
{ 1000 X
i 1 $X 0.5
}

With regards to sensevents, I think CsoundQT does not support it. It is meant to work on the terminal, though.

========================
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 8 Jan 2016, at 05:20, thorin kerr <thorin.kerr@gmail.com> wrote:
>
> I don't know score loops very well... so I could be completely wrong... but aren't you creating 1000 score events of i1 0 1 ?  All with start times of 0, and all expiring in 1 second? In which case re-evaluating instr 1 after 1 second won't do anything, since there's no event to instantiate your new instr 1?
>
> Thorin
>
>
>
>
>
>
>
>
>
>
> On Fri, Jan 8, 2016 at 11:42 AM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> As I am exploring again live evaluation in CsoundQt for an article, I've stumbled upon some bugs (or I believe it to be) with the "EvalSection" function.
>
> See code here:
> https://www.refheap.com/113443
>
> Local non-global variables mutate fine still.
>
> In addition to that can some Linux user confirm wether sensekey opcode example (or the opcode itself) is working for them. For me sensekey is no-sense :)
>
> p.s. I wrote wiki article on installing CsoundQt for Fedora 22, since I've had to go trought this process so many times, for computer I own and for friends. https://github.com/csound/csound/wiki/Compiling-CsoundQT-for-Fedora-22-w-Python-and-RTmidi-support
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
>
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-01-10 10:18
FromTarmo Johannes
SubjectRe: Muteable globals with (re)evaluated code

Hi,
For me sensekey works fine in CsoundQt, the only thing is that CsounQt forwqrds keyevent to Csound only from Console ie the Console panel has to be in focus. When console is visible, it should happen automatically when you press Run.
Can you try it  out?

And thanks a lot, Hlöðver, for the CsoundQt building instructions! I will write some suggestions about it later.

Best!
Tarmo

08.01.2016 11:23 kirjutas kuupäeval "Victor Lazzarini" <Victor.Lazzarini@nuim.ie>:
Thorin is almost right. You would be creating 1000 copies of instr 1 at time 0, if the closing braces } were in a separate line (that’s the score loop syntax).

The score you meant to use is

 i 2 0 1000
{ 1000 X
i 1 $X 0.5
}

With regards to sensevents, I think CsoundQT does not support it. It is meant to work on the terminal, though.

========================
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 8 Jan 2016, at 05:20, thorin kerr <thorin.kerr@gmail.com> wrote:
>
> I don't know score loops very well... so I could be completely wrong... but aren't you creating 1000 score events of i1 0 1 ?  All with start times of 0, and all expiring in 1 second? In which case re-evaluating instr 1 after 1 second won't do anything, since there's no event to instantiate your new instr 1?
>
> Thorin
>
>
>
>
>
>
>
>
>
>
> On Fri, Jan 8, 2016 at 11:42 AM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> As I am exploring again live evaluation in CsoundQt for an article, I've stumbled upon some bugs (or I believe it to be) with the "EvalSection" function.
>
> See code here:
> https://www.refheap.com/113443
>
> Local non-global variables mutate fine still.
>
> In addition to that can some Linux user confirm wether sensekey opcode example (or the opcode itself) is working for them. For me sensekey is no-sense :)
>
> p.s. I wrote wiki article on installing CsoundQt for Fedora 22, since I've had to go trought this process so many times, for computer I own and for friends. https://github.com/csound/csound/wiki/Compiling-CsoundQT-for-Fedora-22-w-Python-and-RTmidi-support
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
>
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here