Csound Csound-dev Csound-tekno Search About

[Csnd] Python, CsoundQt, and Cabbage

Date2013-04-11 17:23
FromJacob Joaquin
Subject[Csnd] Python, CsoundQt, and Cabbage
Hey everyone,

I've been toying with getting PythonScore working in some of the frontends that exist, and so far I've encountered some issues with CsoundQt and Cabbage. I think this might be an issue with how CsScore bin score works, but haven't been able to confirm nor deny it my suspicion.

With CsoundQt, I can't run PythonScore based scores using the "Run" button, and get this message when I try:

External generation failed

Reading CSD failed ... stopping

Csound version 5.19.02 (double samples) Jan 20 2013

Reading options from $HOME/.csoundrc

UnifiedCSD: /Users/clu/code/python/csd/examples/music/jsbach/invention_1.csd

Creating orchestra

Creating score

Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-Bfl5zU.ext (0x7fff7c63f138)


However, it works just fine with the "Run in Term" button.


With Cabbage, I get a similar message, and haven't been able to get it work yet. 


External generation failed

Reading CSD failed ... stopping

Csound version 5.19.02 (double samples) Jan 20 2013

Reading options from $HOME/.csoundrc

UnifiedCSD: /Users/clu/Desktop/CabbageOSXRelease/Examples/jake_test.csd

Creating orchestra

Creating score

Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-xYI8tN.ext (0x7fff7c63f138)


Anyone have any thoughts on this?


Best,

Jake


Date2013-04-11 17:41
FromRory Walsh
SubjectRe: [Csnd] Python, CsoundQt, and Cabbage
If you replace the text from the Python score into Csound instead
using pyruni {{}} then it should run. I noticed similar problems
before. Makes instrument untidy, but if you're building a frontend
then it's not such a deal breaker. There is an example of a Python
based Cabbage plugin on the cabbage forum, but I think you'er probably
already well past a basic instrument!



On 11 April 2013 17:23, Jacob Joaquin  wrote:
> Hey everyone,
>
> I've been toying with getting PythonScore working in some of the frontends
> that exist, and so far I've encountered some issues with CsoundQt and
> Cabbage. I think this might be an issue with how CsScore bin score works,
> but haven't been able to confirm nor deny it my suspicion.
>
> With CsoundQt, I can't run PythonScore based scores using the "Run" button,
> and get this message when I try:
>
> External generation failed
>
> Reading CSD failed ... stopping
>
> Csound version 5.19.02 (double samples) Jan 20 2013
>
> Reading options from $HOME/.csoundrc
>
> UnifiedCSD: /Users/clu/code/python/csd/examples/music/jsbach/invention_1.csd
>
> Creating orchestra
>
> Creating score
>
> Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-Bfl5zU.ext
> (0x7fff7c63f138)
>
>
> However, it works just fine with the "Run in Term" button.
>
>
> With Cabbage, I get a similar message, and haven't been able to get it work
> yet.
>
>
> External generation failed
>
> Reading CSD failed ... stopping
>
> Csound version 5.19.02 (double samples) Jan 20 2013
>
> Reading options from $HOME/.csoundrc
>
> UnifiedCSD: /Users/clu/Desktop/CabbageOSXRelease/Examples/jake_test.csd
>
> Creating orchestra
>
> Creating score
>
> Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-xYI8tN.ext
> (0x7fff7c63f138)
>
>
> Anyone have any thoughts on this?
>
>
> Best,
>
> Jake

Date2013-04-18 00:55
FromAndres Cabrera
SubjectRe: [Csnd] Python, CsoundQt, and Cabbage
Hi,

I've tried this with the latest CsoundQt, and it runs both in term and
from the run button. Are you having trouble with the latest CsoundQt?

Cheers,
Andrés

On Thu, Apr 11, 2013 at 9:23 AM, Jacob Joaquin  wrote:
> Hey everyone,
>
> I've been toying with getting PythonScore working in some of the frontends
> that exist, and so far I've encountered some issues with CsoundQt and
> Cabbage. I think this might be an issue with how CsScore bin score works,
> but haven't been able to confirm nor deny it my suspicion.
>
> With CsoundQt, I can't run PythonScore based scores using the "Run" button,
> and get this message when I try:
>
> External generation failed
>
> Reading CSD failed ... stopping
>
> Csound version 5.19.02 (double samples) Jan 20 2013
>
> Reading options from $HOME/.csoundrc
>
> UnifiedCSD: /Users/clu/code/python/csd/examples/music/jsbach/invention_1.csd
>
> Creating orchestra
>
> Creating score
>
> Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-Bfl5zU.ext
> (0x7fff7c63f138)
>
>
> However, it works just fine with the "Run in Term" button.
>
>
> With Cabbage, I get a similar message, and haven't been able to get it work
> yet.
>
>
> External generation failed
>
> Reading CSD failed ... stopping
>
> Csound version 5.19.02 (double samples) Jan 20 2013
>
> Reading options from $HOME/.csoundrc
>
> UnifiedCSD: /Users/clu/Desktop/CabbageOSXRelease/Examples/jake_test.csd
>
> Creating orchestra
>
> Creating score
>
> Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-xYI8tN.ext
> (0x7fff7c63f138)
>
>
> Anyone have any thoughts on this?
>
>
> Best,
>
> Jake


Date2013-04-18 01:53
FromJacob Joaquin
SubjectRe: [Csnd] Python, CsoundQt, and Cabbage
I just checked with 0.7.0 and 0.7.2, and having issues with both versions. This is on OS X 10.8.


On Wed, Apr 17, 2013 at 4:55 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Hi,

I've tried this with the latest CsoundQt, and it runs both in term and
from the run button. Are you having trouble with the latest CsoundQt?

Cheers,
Andrés

On Thu, Apr 11, 2013 at 9:23 AM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote:
> Hey everyone,
>
> I've been toying with getting PythonScore working in some of the frontends
> that exist, and so far I've encountered some issues with CsoundQt and
> Cabbage. I think this might be an issue with how CsScore bin score works,
> but haven't been able to confirm nor deny it my suspicion.
>
> With CsoundQt, I can't run PythonScore based scores using the "Run" button,
> and get this message when I try:
>
> External generation failed
>
> Reading CSD failed ... stopping
>
> Csound version 5.19.02 (double samples) Jan 20 2013
>
> Reading options from $HOME/.csoundrc
>
> UnifiedCSD: /Users/clu/code/python/csd/examples/music/jsbach/invention_1.csd
>
> Creating orchestra
>
> Creating score
>
> Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-Bfl5zU.ext
> (0x7fff7c63f138)
>
>
> However, it works just fine with the "Run in Term" button.
>
>
> With Cabbage, I get a similar message, and haven't been able to get it work
> yet.
>
>
> External generation failed
>
> Reading CSD failed ... stopping
>
> Csound version 5.19.02 (double samples) Jan 20 2013
>
> Reading options from $HOME/.csoundrc
>
> UnifiedCSD: /Users/clu/Desktop/CabbageOSXRelease/Examples/jake_test.csd
>
> Creating orchestra
>
> Creating score
>
> Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-xYI8tN.ext
> (0x7fff7c63f138)
>
>
> Anyone have any thoughts on this?
>
>
> Best,
>
> Jake


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"




--
codehop.com | #code #art #music

Date2013-04-18 02:16
FromAndres Cabrera
SubjectRe: [Csnd] Python, CsoundQt, and Cabbage
Hi,

I'm seeing a problem if I use the old parser:

********************
* USING OLD PARSER *
********************
orch compiler:
instr 1
error: illegal character - ^
error: no legal opcodeerror: input arg 'kenvgate' used before defined
instr 2
instr 3
3 syntax errors in orchestra. compilation invalid
Csound version 5.18.02 (double samples) Sep 1 2012
UnifiedCSD: /Users/andres/Desktop/invention_1.csd
Creating orchestra
Creating score
Creating /var/folders/3J/3JQm4tLmHimhL-Lb-Eyin++++TU/-Tmp-//csound-WKINOF.ext (0x7fff700c5ff8)

But that's due to a comma, that curiously doesn't bother the new parser...

kenvgate linseg, 1, idur - itail, 1, itail, 0, 0, 0


I'm on: CsoundQt git head (very similar to 0.7.3, which is not too different to 0.7.2 anyway...)

Csound version 5.18.02 (double samples) Sep 1 2012

on 10.6.8

But I wouldn't expect this to make a difference.

Can anyone else report?

Cheers,
Andrés



On Wed, Apr 17, 2013 at 5:53 PM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote:
>
> I just checked with 0.7.0 and 0.7.2, and having issues with both versions. This is on OS X 10.8.
>
>
> On Wed, Apr 17, 2013 at 4:55 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
>>
>> Hi,
>>
>> I've tried this with the latest CsoundQt, and it runs both in term and
>> from the run button. Are you having trouble with the latest CsoundQt?
>>
>> Cheers,
>> Andrés
>>
>> On Thu, Apr 11, 2013 at 9:23 AM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote:
>> > Hey everyone,
>> >
>> > I've been toying with getting PythonScore working in some of the frontends
>> > that exist, and so far I've encountered some issues with CsoundQt and
>> > Cabbage. I think this might be an issue with how CsScore bin score works,
>> > but haven't been able to confirm nor deny it my suspicion.
>> >
>> > With CsoundQt, I can't run PythonScore based scores using the "Run" button,
>> > and get this message when I try:
>> >
>> > External generation failed
>> >
>> > Reading CSD failed ... stopping
>> >
>> > Csound version 5.19.02 (double samples) Jan 20 2013
>> >
>> > Reading options from $HOME/.csoundrc
>> >
>> > UnifiedCSD: /Users/clu/code/python/csd/examples/music/jsbach/invention_1.csd
>> >
>> > Creating orchestra
>> >
>> > Creating score
>> >
>> > Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-Bfl5zU.ext
>> > (0x7fff7c63f138)
>> >
>> >
>> > However, it works just fine with the "Run in Term" button.
>> >
>> >
>> > With Cabbage, I get a similar message, and haven't been able to get it work
>> > yet.
>> >
>> >
>> > External generation failed
>> >
>> > Reading CSD failed ... stopping
>> >
>> > Csound version 5.19.02 (double samples) Jan 20 2013
>> >
>> > Reading options from $HOME/.csoundrc
>> >
>> > UnifiedCSD: /Users/clu/Desktop/CabbageOSXRelease/Examples/jake_test.csd
>> >
>> > Creating orchestra
>> >
>> > Creating score
>> >
>> > Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-xYI8tN.ext
>> > (0x7fff7c63f138)
>> >
>> >
>> > Anyone have any thoughts on this?
>> >
>> >
>> > Best,
>> >
>> > Jake
>>
>>
>> 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"
>>
>
>
>
> --
> codehop.com | #code #art #music


Date2013-04-18 02:21
FromJacob Joaquin
SubjectRe: [Csnd] Python, CsoundQt, and Cabbage
The issue I'm experiencing is the same for all CSD files with <CsScore bin="python">. I tried the invention with the extra comma removed, and that doesn't fix the issue either.


On Wed, Apr 17, 2013 at 6:16 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Hi,

I'm seeing a problem if I use the old parser:

********************
* USING OLD PARSER *
********************
orch compiler:
instr 1
error: illegal character - ^
error: no legal opcodeerror: input arg 'kenvgate' used before defined
instr 2
instr 3
3 syntax errors in orchestra. compilation invalid
Csound version 5.18.02 (double samples) Sep 1 2012
UnifiedCSD: /Users/andres/Desktop/invention_1.csd
Creating orchestra
Creating score
Creating /var/folders/3J/3JQm4tLmHimhL-Lb-Eyin++++TU/-Tmp-//csound-WKINOF.ext (0x7fff700c5ff8)

But that's due to a comma, that curiously doesn't bother the new parser...

kenvgate linseg, 1, idur - itail, 1, itail, 0, 0, 0


I'm on: CsoundQt git head (very similar to 0.7.3, which is not too different to 0.7.2 anyway...)

Csound version 5.18.02 (double samples) Sep 1 2012

on 10.6.8

But I wouldn't expect this to make a difference.

Can anyone else report?

Cheers,
Andrés



On Wed, Apr 17, 2013 at 5:53 PM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote:
>
> I just checked with 0.7.0 and 0.7.2, and having issues with both versions. This is on OS X 10.8.
>
>
> On Wed, Apr 17, 2013 at 4:55 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
>>
>> Hi,
>>
>> I've tried this with the latest CsoundQt, and it runs both in term and
>> from the run button. Are you having trouble with the latest CsoundQt?
>>
>> Cheers,
>> Andrés
>>
>> On Thu, Apr 11, 2013 at 9:23 AM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote:
>> > Hey everyone,
>> >
>> > I've been toying with getting PythonScore working in some of the frontends
>> > that exist, and so far I've encountered some issues with CsoundQt and
>> > Cabbage. I think this might be an issue with how CsScore bin score works,
>> > but haven't been able to confirm nor deny it my suspicion.
>> >
>> > With CsoundQt, I can't run PythonScore based scores using the "Run" button,
>> > and get this message when I try:
>> >
>> > External generation failed
>> >
>> > Reading CSD failed ... stopping
>> >
>> > Csound version 5.19.02 (double samples) Jan 20 2013
>> >
>> > Reading options from $HOME/.csoundrc
>> >
>> > UnifiedCSD: /Users/clu/code/python/csd/examples/music/jsbach/invention_1.csd
>> >
>> > Creating orchestra
>> >
>> > Creating score
>> >
>> > Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-Bfl5zU.ext
>> > (0x7fff7c63f138)
>> >
>> >
>> > However, it works just fine with the "Run in Term" button.
>> >
>> >
>> > With Cabbage, I get a similar message, and haven't been able to get it work
>> > yet.
>> >
>> >
>> > External generation failed
>> >
>> > Reading CSD failed ... stopping
>> >
>> > Csound version 5.19.02 (double samples) Jan 20 2013
>> >
>> > Reading options from $HOME/.csoundrc
>> >
>> > UnifiedCSD: /Users/clu/Desktop/CabbageOSXRelease/Examples/jake_test.csd
>> >
>> > Creating orchestra
>> >
>> > Creating score
>> >
>> > Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-xYI8tN.ext
>> > (0x7fff7c63f138)
>> >
>> >
>> > Anyone have any thoughts on this?
>> >
>> >
>> > Best,
>> >
>> > Jake
>>
>>
>> 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"
>>
>
>
>
> --
> codehop.com | #code #art #music




--
codehop.com | #code #art #music

Date2013-04-18 02:28
FromAndres Cabrera
SubjectRe: [Csnd] Python, CsoundQt, and Cabbage
Is it working for anyone else apart from me?
:)

Cheers,
Andrés


On Wed, Apr 17, 2013 at 6:21 PM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote:
The issue I'm experiencing is the same for all CSD files with <CsScore bin="python">. I tried the invention with the extra comma removed, and that doesn't fix the issue either.


On Wed, Apr 17, 2013 at 6:16 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Hi,

I'm seeing a problem if I use the old parser:

********************
* USING OLD PARSER *
********************
orch compiler:
instr 1
error: illegal character - ^
error: no legal opcodeerror: input arg 'kenvgate' used before defined
instr 2
instr 3
3 syntax errors in orchestra. compilation invalid
Csound version 5.18.02 (double samples) Sep 1 2012
UnifiedCSD: /Users/andres/Desktop/invention_1.csd
Creating orchestra
Creating score
Creating /var/folders/3J/3JQm4tLmHimhL-Lb-Eyin++++TU/-Tmp-//csound-WKINOF.ext (0x7fff700c5ff8)

But that's due to a comma, that curiously doesn't bother the new parser...

kenvgate linseg, 1, idur - itail, 1, itail, 0, 0, 0


I'm on: CsoundQt git head (very similar to 0.7.3, which is not too different to 0.7.2 anyway...)

Csound version 5.18.02 (double samples) Sep 1 2012

on 10.6.8

But I wouldn't expect this to make a difference.

Can anyone else report?

Cheers,
Andrés



On Wed, Apr 17, 2013 at 5:53 PM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote:
>
> I just checked with 0.7.0 and 0.7.2, and having issues with both versions. This is on OS X 10.8.
>
>
> On Wed, Apr 17, 2013 at 4:55 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
>>
>> Hi,
>>
>> I've tried this with the latest CsoundQt, and it runs both in term and
>> from the run button. Are you having trouble with the latest CsoundQt?
>>
>> Cheers,
>> Andrés
>>
>> On Thu, Apr 11, 2013 at 9:23 AM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote:
>> > Hey everyone,
>> >
>> > I've been toying with getting PythonScore working in some of the frontends
>> > that exist, and so far I've encountered some issues with CsoundQt and
>> > Cabbage. I think this might be an issue with how CsScore bin score works,
>> > but haven't been able to confirm nor deny it my suspicion.
>> >
>> > With CsoundQt, I can't run PythonScore based scores using the "Run" button,
>> > and get this message when I try:
>> >
>> > External generation failed
>> >
>> > Reading CSD failed ... stopping
>> >
>> > Csound version 5.19.02 (double samples) Jan 20 2013
>> >
>> > Reading options from $HOME/.csoundrc
>> >
>> > UnifiedCSD: /Users/clu/code/python/csd/examples/music/jsbach/invention_1.csd
>> >
>> > Creating orchestra
>> >
>> > Creating score
>> >
>> > Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-Bfl5zU.ext
>> > (0x7fff7c63f138)
>> >
>> >
>> > However, it works just fine with the "Run in Term" button.
>> >
>> >
>> > With Cabbage, I get a similar message, and haven't been able to get it work
>> > yet.
>> >
>> >
>> > External generation failed
>> >
>> > Reading CSD failed ... stopping
>> >
>> > Csound version 5.19.02 (double samples) Jan 20 2013
>> >
>> > Reading options from $HOME/.csoundrc
>> >
>> > UnifiedCSD: /Users/clu/Desktop/CabbageOSXRelease/Examples/jake_test.csd
>> >
>> > Creating orchestra
>> >
>> > Creating score
>> >
>> > Creating /var/folders/vn/bp1x31y14xg7z9g5js8n09nr0000gn/T//csound-xYI8tN.ext
>> > (0x7fff7c63f138)
>> >
>> >
>> > Anyone have any thoughts on this?
>> >
>> >
>> > Best,
>> >
>> > Jake
>>
>>
>> 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"
>>
>
>
>
> --
> codehop.com | #code #art #music




--
codehop.com | #code #art #music