Csound Csound-dev Csound-tekno Search About

[Cs-dev] STK opcodes problem in OsX

Date2014-11-28 09:31
FromFabio De Sanctis De Benedictis
Subject[Cs-dev] STK opcodes problem in OsX
Hi All,

I am new on this list, I apologize if I put a question already resolved
and I apologize for eventual imprecision, I am a musician, but not a
programmer.

I have installed Csound on my MacBook Pro (mid 2012 type), version
6.03.2 (double samples), installing corresponding CsoundQt, and I have
installed also WinXound. My system is OsX 10.8.5.
The problem is the following: STK opcodes correctly run in CsoundQt, but
not in Csound invoked from terminal, nor in WinXound or OpenMusic using
OMChroma library and the user defined STKClarinet class.

I have resolved the problem of Csound in terminal, compiling the files
in the archive stk-4.5.0 from stk site:
http://ccrma.stanford.edu/software/stk/release/stk-4.5.0.tar.gz
and setting RAWWAVE_PATH environment. So now Csound -z from terminal
lists STK opcodes, too, and I can compile .csd files with STK opcodes
from Csound invoked from terminal, or hearing to sound in real time.

But In WinXound and OpenMusic is not possible to use STK opcodes. The
error is the same: syntax error unexpected T_INDENT (token
"DTKClarinet") from .

Can anyone help me? Thank you in advance,

Ciao


fdsdb


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-11-28 14:11
Frommenno
SubjectRe: [Cs-dev] STK opcodes problem in OsX
i use Linux and WinXound. STKopcodes work here, also within WinXound.

In Settings --> Compiler Settings --> Csound default flag i have made this
entry:
--env:RAWWAVE_PATH=/usr/local/share/csound/rawwaves/

hope that something like this works in WinXound and OSX?




--
View this message in context: http://csound.1045644.n5.nabble.com/STK-opcodes-problem-in-OsX-tp5738834p5738847.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-11-28 19:20
FromFabio De Sanctis De Benedictis
SubjectRe: [Cs-dev] STK opcodes problem in OsX
Hi,

Thank you for the mail. I also work in Linux (Fedora 20 64bit), so I
have compiled Csound 6.03, the environment is right (I have set
RAWWAVE_PATH variable), in fact the same OpenMusic patch that on OsX
does not run, in Linux goes perfectly.
I think in OsX is an environment problem, but I have set RAWWAVE
variable in my .bash_profile file on OsX, but this does not help.
Any suggestion is welcome, thank you.

Ciao


fdsdb

Il giorno ven, 28/11/2014 alle 07.11 -0700, menno ha scritto:
> i use Linux and WinXound. STKopcodes work here, also within WinXound.
> 
> In Settings --> Compiler Settings --> Csound default flag i have made this
> entry:
> --env:RAWWAVE_PATH=/usr/local/share/csound/rawwaves/
> 
> hope that something like this works in WinXound and OSX?
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/STK-opcodes-problem-in-OsX-tp5738834p5738847.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-11-28 19:26
FromMichael Gogins
SubjectRe: [Cs-dev] STK opcodes problem in OsX
AttachmentsNone  None  
If your quotation "DTKClarinet" is correct this name is mis-spelled. It should be STKClarinet. Don't know where or how this happened, though.

Regards,
Mike


-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

On Fri, Nov 28, 2014 at 4:31 AM, Fabio De Sanctis De Benedictis <fdesanctis@teletu.it> wrote:
Hi All,

I am new on this list, I apologize if I put a question already resolved
and I apologize for eventual imprecision, I am a musician, but not a
programmer.

I have installed Csound on my MacBook Pro (mid 2012 type), version
6.03.2 (double samples), installing corresponding CsoundQt, and I have
installed also WinXound. My system is OsX 10.8.5.
The problem is the following: STK opcodes correctly run in CsoundQt, but
not in Csound invoked from terminal, nor in WinXound or OpenMusic using
OMChroma library and the user defined STKClarinet class.

I have resolved the problem of Csound in terminal, compiling the files
in the archive stk-4.5.0 from stk site:
http://ccrma.stanford.edu/software/stk/release/stk-4.5.0.tar.gz
and setting RAWWAVE_PATH environment. So now Csound -z from terminal
lists STK opcodes, too, and I can compile .csd files with STK opcodes
from Csound invoked from terminal, or hearing to sound in real time.

But In WinXound and OpenMusic is not possible to use STK opcodes. The
error is the same: syntax error unexpected T_INDENT (token
"DTKClarinet") from <file path name>.

Can anyone help me? Thank you in advance,

Ciao


fdsdb


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2014-11-28 19:42
FromFabio De Sanctis De Benedictis
SubjectRe: [Cs-dev] STK opcodes problem in OsX
Sorry, I apologize: STKClarinet of course, in writing the mail I have
pressed the "D" in the place of the "S". The code is correct...

Thank you and ciao

fdsdb

Il giorno ven, 28/11/2014 alle 14.26 -0500, Michael Gogins ha scritto:
> If your quotation "DTKClarinet" is correct this name is mis-spelled.
> It should be STKClarinet. Don't know where or how this happened,
> though.
> 
> 
> Regards,
> Mike
> 
> 
> 
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
> 
> On Fri, Nov 28, 2014 at 4:31 AM, Fabio De Sanctis De Benedictis
>  wrote:
>         Hi All,
>         
>         I am new on this list, I apologize if I put a question already
>         resolved
>         and I apologize for eventual imprecision, I am a musician, but
>         not a
>         programmer.
>         
>         I have installed Csound on my MacBook Pro (mid 2012 type),
>         version
>         6.03.2 (double samples), installing corresponding CsoundQt,
>         and I have
>         installed also WinXound. My system is OsX 10.8.5.
>         The problem is the following: STK opcodes correctly run in
>         CsoundQt, but
>         not in Csound invoked from terminal, nor in WinXound or
>         OpenMusic using
>         OMChroma library and the user defined STKClarinet class.
>         
>         I have resolved the problem of Csound in terminal, compiling
>         the files
>         in the archive stk-4.5.0 from stk site:
>         http://ccrma.stanford.edu/software/stk/release/stk-4.5.0.tar.gz
>         and setting RAWWAVE_PATH environment. So now Csound -z from
>         terminal
>         lists STK opcodes, too, and I can compile .csd files with STK
>         opcodes
>         from Csound invoked from terminal, or hearing to sound in real
>         time.
>         
>         But In WinXound and OpenMusic is not possible to use STK
>         opcodes. The
>         error is the same: syntax error unexpected T_INDENT (token
>         "DTKClarinet") from .
>         
>         Can anyone help me? Thank you in advance,
>         
>         Ciao
>         
>         
>         fdsdb
>         
>         
>         ------------------------------------------------------------------------------
>         Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT
>         Server
>         from Actuate! Instantly Supercharge Your Business Reports and
>         Dashboards
>         with Interactivity, Sharing, Native Excel Exports, App
>         Integration & more
>         Get technology previously reserved for billion-dollar
>         corporations, FREE
>         http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>         _______________________________________________
>         Csound-devel mailing list
>         Csound-devel@lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-12-06 09:44
FromFabio De Sanctis De Benedictis
SubjectRe: [Cs-dev] STK opcodes problem in OsX --> resolved
Hi All,

I have resolved the problem relative to the fact that OpenMusic library
OMChroma does not recognize STKClarinet opcode: it has been sufficient
to set the environment variable also in OpenMusic Preferences-Externals
opening Csound Options and adding to Csounddefault Flags the following:
--env:RAWWAVE_PATH=.
I had set RAWWAVE_PATH environment variable already in my system adding
it to my .bash_profile, but perhaps this passage is not necessary and it
could be sufficient the csound --env option.

Now everything perfectly run inside OpenMusic patch.

I hope this can be useful.

Best


fdsdb


Il giorno ven, 28/11/2014 alle 10.31 +0100, Fabio De Sanctis De
Benedictis ha scritto:
> Hi All,
> 
> I am new on this list, I apologize if I put a question already resolved
> and I apologize for eventual imprecision, I am a musician, but not a
> programmer.
> 
> I have installed Csound on my MacBook Pro (mid 2012 type), version
> 6.03.2 (double samples), installing corresponding CsoundQt, and I have
> installed also WinXound. My system is OsX 10.8.5.
> The problem is the following: STK opcodes correctly run in CsoundQt, but
> not in Csound invoked from terminal, nor in WinXound or OpenMusic using
> OMChroma library and the user defined STKClarinet class.
> 
> I have resolved the problem of Csound in terminal, compiling the files
> in the archive stk-4.5.0 from stk site:
> http://ccrma.stanford.edu/software/stk/release/stk-4.5.0.tar.gz
> and setting RAWWAVE_PATH environment. So now Csound -z from terminal
> lists STK opcodes, too, and I can compile .csd files with STK opcodes
> from Csound invoked from terminal, or hearing to sound in real time.
> 
> But In WinXound and OpenMusic is not possible to use STK opcodes. The
> error is the same: syntax error unexpected T_INDENT (token
> "DTKClarinet") from .
> 
> Can anyone help me? Thank you in advance,
> 
> Ciao
> 
> 
> fdsdb



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net