Csound Csound-dev Csound-tekno Search About

Trying to get Csound Python API to work on Raspberry Pi 2

Date2015-05-02 20:20
FromAlexander Tape
SubjectTrying to get Csound Python API to work on Raspberry Pi 2
AttachmentsNone  None  
Hello list,

I am working on a Csound project using a Raspberry Pi 2. I installed Csound from source, following the instructions listed here: http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi

Csound and Python are both running fine on my Pi. However, when I try to use the Csound Python API, I can't import csnd6. Is there a step I'm missing that is necessary to get these APIs working on the Pi.

Any advice would be appreciated. Thanks!


Date2015-05-02 20:26
FromVictor Lazzarini
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
AttachmentsNone  None  
Did you build the python module for Csound? That is needed to use the API from
python. 

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

On 2 May 2015, at 20:20, Alexander Tape <alexanderstape@gmail.com> wrote:

Hello list,

I am working on a Csound project using a Raspberry Pi 2. I installed Csound from source, following the instructions listed here: http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi

Csound and Python are both running fine on my Pi. However, when I try to use the Csound Python API, I can't import csnd6. Is there a step I'm missing that is necessary to get these APIs working on the Pi.

Any advice would be appreciated. Thanks!

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-02 22:15
FromPaul Batchelor
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
AttachmentsNone  None  
Could you send the error message you get when you try importing csnd6 into python?

A few general things I'd check for:

When you run cmake, grep for python and see what comes up, something like:

cmake ../ -g "Unix Makefiles"  | grep -i python

Make sure BUILD_PYTHON_INTERFACE is enabled.

Also make sure that you have the python development packages installed. On raspbian, it should be something like "sudo apt-get install python-dev" or "sudo apt-get install libpython-dev". 

On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Did you build the python module for Csound? That is needed to use the API from
python. 

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

On 2 May 2015, at 20:20, Alexander Tape <alexanderstape@gmail.com> wrote:

Hello list,

I am working on a Csound project using a Raspberry Pi 2. I installed Csound from source, following the instructions listed here: http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi

Csound and Python are both running fine on my Pi. However, when I try to use the Csound Python API, I can't import csnd6. Is there a step I'm missing that is necessary to get these APIs working on the Pi.

Any advice would be appreciated. Thanks!

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



Date2015-05-03 00:04
FromPaul Batchelor
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
AttachmentsNone  None  
correction:

cmake -g "Unix Makefiles" | grep i python 



On Sat, May 2, 2015 at 5:15 PM, Paul Batchelor <ralphbluecoat@gmail.com> wrote:
Could you send the error message you get when you try importing csnd6 into python?

A few general things I'd check for:

When you run cmake, grep for python and see what comes up, something like:

cmake ../ -g "Unix Makefiles"  | grep -i python

Make sure BUILD_PYTHON_INTERFACE is enabled.

Also make sure that you have the python development packages installed. On raspbian, it should be something like "sudo apt-get install python-dev" or "sudo apt-get install libpython-dev". 

On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Did you build the python module for Csound? That is needed to use the API from
python. 

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

On 2 May 2015, at 20:20, Alexander Tape <alexanderstape@gmail.com> wrote:

Hello list,

I am working on a Csound project using a Raspberry Pi 2. I installed Csound from source, following the instructions listed here: http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi

Csound and Python are both running fine on my Pi. However, when I try to use the Csound Python API, I can't import csnd6. Is there a step I'm missing that is necessary to get these APIs working on the Pi.

Any advice would be appreciated. Thanks!

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here




Date2015-05-03 00:34
FromPaul Batchelor
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
AttachmentsNone  None  
Just solved this with Alex off-list, but I thought I'd share our steps in case someone in the future has similar issues.

In addition to following the steps at http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi, python-dev and swig needed to be installed with "sudo apt-get install python-dev swig". 





On Sat, May 2, 2015 at 7:04 PM, Paul Batchelor <ralphbluecoat@gmail.com> wrote:
correction:

cmake -g "Unix Makefiles" | grep i python 



On Sat, May 2, 2015 at 5:15 PM, Paul Batchelor <ralphbluecoat@gmail.com> wrote:
Could you send the error message you get when you try importing csnd6 into python?

A few general things I'd check for:

When you run cmake, grep for python and see what comes up, something like:

cmake ../ -g "Unix Makefiles"  | grep -i python

Make sure BUILD_PYTHON_INTERFACE is enabled.

Also make sure that you have the python development packages installed. On raspbian, it should be something like "sudo apt-get install python-dev" or "sudo apt-get install libpython-dev". 

On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Did you build the python module for Csound? That is needed to use the API from
python. 

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

On 2 May 2015, at 20:20, Alexander Tape <alexanderstape@gmail.com> wrote:

Hello list,

I am working on a Csound project using a Raspberry Pi 2. I installed Csound from source, following the instructions listed here: http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi

Csound and Python are both running fine on my Pi. However, when I try to use the Csound Python API, I can't import csnd6. Is there a step I'm missing that is necessary to get these APIs working on the Pi.

Any advice would be appreciated. Thanks!

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here





Date2015-05-03 12:15
Fromjoachim heintz
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
hi paul -

should we add something to 
https://github.com/csound/csound/blob/develop/BUILD.md#raspian ?

or should we add a new item?  i think it'd be best to collect this here.

regards -
	joachim


Am 03.05.2015 um 01:34 schrieb Paul Batchelor:
> Just solved this with Alex off-list, but I thought I'd share our steps
> in case someone in the future has similar issues.
>
> In addition to following the steps at
> http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi, python-dev
> and swig needed to be installed with "sudo apt-get install python-dev
> swig".
>
>
>
>
>
> On Sat, May 2, 2015 at 7:04 PM, Paul Batchelor  > wrote:
>
>     correction:
>
>     cmake -g "Unix Makefiles" | grep i python
>
>
>
>     On Sat, May 2, 2015 at 5:15 PM, Paul Batchelor
>     > wrote:
>
>         Could you send the error message you get when you try importing
>         csnd6 into python?
>
>         A few general things I'd check for:
>
>         When you run cmake, grep for python and see what comes up,
>         something like:
>
>         cmake ../ -g "Unix Makefiles"  | grep -i python
>
>         Make sure BUILD_PYTHON_INTERFACE is enabled.
>
>         Also make sure that you have the python development packages
>         installed. On raspbian, it should be something like "sudo
>         apt-get install python-dev" or "sudo apt-get install
>         libpython-dev".
>
>         On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini
>         > wrote:
>
>             Did you build the python module for Csound? That is needed
>             to use the API from
>             python.
>
>             Victor Lazzarini
>             Dean of Arts, Celtic Studies, and Philosophy
>             Maynooth University
>             Ireland
>
>             On 2 May 2015, at 20:20, Alexander Tape
>             >
>             wrote:
>
>>             Hello list,
>>
>>             I am working on a Csound project using a Raspberry Pi 2. I
>>             installed Csound from source, following the instructions
>>             listed here:
>>             http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi
>>
>>             Csound and Python are both running fine on my Pi. However,
>>             when I try to use the Csound Python API, I can't import
>>             csnd6. Is there a step I'm missing that is necessary to
>>             get these APIs working on the Pi.
>>
>>             Any advice would be appreciated. Thanks!
>>
>>             ------------------------------------------------------------------------------
>>             One dashboard for servers and applications across
>>             Physical-Virtual-Cloud
>>             Widest out-of-the-box monitoring support with 50+ applications
>>             Performance metrics, stats and reports that give you
>>             Actionable Insights
>>             Deep dive visibility with transaction tracing using APM
>>             Insight.
>>             http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>             _______________________________________________
>>             Csound-users mailing list
>>             Csound-users@lists.sourceforge.net
>>             
>>             https://lists.sourceforge.net/lists/listinfo/csound-users
>>             Send bugs reports to
>>             https://github.com/csound/csound/issues
>>             Discussions of bugs and features can be posted here
>
>             ------------------------------------------------------------------------------
>             One dashboard for servers and applications across
>             Physical-Virtual-Cloud
>             Widest out-of-the-box monitoring support with 50+ applications
>             Performance metrics, stats and reports that give you
>             Actionable Insights
>             Deep dive visibility with transaction tracing using APM Insight.
>             http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>             _______________________________________________
>             Csound-users mailing list
>             Csound-users@lists.sourceforge.net
>             
>             https://lists.sourceforge.net/lists/listinfo/csound-users
>             Send bugs reports to
>             https://github.com/csound/csound/issues
>             Discussions of bugs and features can be posted here
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-03 21:50
FromDavid Worrall
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
AttachmentsNone  None  
It is an excellent idea to have (accurate) examples of how to build csound in various configuration on different platforms.
SWIG (http://www.swig.org/ is used to build python wrappers around csound no matter what the target system is. 

D.


On 03.05.2015, at 13:15, joachim heintz <jh@joachimheintz.de> wrote:

hi paul -

should we add something to
https://github.com/csound/csound/blob/develop/BUILD.md#raspian ?

or should we add a new item?  i think it'd be best to collect this here.

regards -
joachim


Am 03.05.2015 um 01:34 schrieb Paul Batchelor:
Just solved this with Alex off-list, but I thought I'd share our steps
in case someone in the future has similar issues.

In addition to following the steps at
http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi, python-dev
and swig needed to be installed with "sudo apt-get install python-dev
swig".





On Sat, May 2, 2015 at 7:04 PM, Paul Batchelor <ralphbluecoat@gmail.com
<mailto:ralphbluecoat@gmail.com>> wrote:

   correction:

   cmake -g "Unix Makefiles" | grep i python



   On Sat, May 2, 2015 at 5:15 PM, Paul Batchelor
   <ralphbluecoat@gmail.com <mailto:ralphbluecoat@gmail.com>> wrote:

       Could you send the error message you get when you try importing
       csnd6 into python?

       A few general things I'd check for:

       When you run cmake, grep for python and see what comes up,
       something like:

       cmake ../ -g "Unix Makefiles"  | grep -i python

       Make sure BUILD_PYTHON_INTERFACE is enabled.

       Also make sure that you have the python development packages
       installed. On raspbian, it should be something like "sudo
       apt-get install python-dev" or "sudo apt-get install
       libpython-dev".

       On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini
       <Victor.Lazzarini@nuim.ie <mailto:Victor.Lazzarini@nuim.ie>> wrote:

           Did you build the python module for Csound? That is needed
           to use the API from
           python.

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

           On 2 May 2015, at 20:20, Alexander Tape
           <alexanderstape@gmail.com <mailto:alexanderstape@gmail.com>>
           wrote:

           Hello list,

           I am working on a Csound project using a Raspberry Pi 2. I
           installed Csound from source, following the instructions
           listed here:
           http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi

           Csound and Python are both running fine on my Pi. However,
           when I try to use the Csound Python API, I can't import
           csnd6. Is there a step I'm missing that is necessary to
           get these APIs working on the Pi.

           Any advice would be appreciated. Thanks!


...______________________________________
Prof. Dr. David Worrall
Emerging Audio Research (EAR)
Audio Department
International Audio Laboratories Erlangen
Fraunhofer-Institut für Integrierte Schaltungen IIS
Am Wolfsmantel 33, 91058 Erlangen
www: iis.fraunhofer.de 
---
Adjunct Senior Research Fellow
School of Music, Australian National University







Date2015-05-03 22:11
FromVictor Lazzarini
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
AttachmentsNone  None  
I agree. It's the kind of thing the community can contribute to. Github's pull request system is just right for this.

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

On 3 May 2015, at 21:50, David Worrall <david.worrall@iis.fraunhofer.de> wrote:

It is an excellent idea to have (accurate) examples of how to build csound in various configuration on different platforms.
SWIG (http://www.swig.org/ is used to build python wrappers around csound no matter what the target system is. 

D.


On 03.05.2015, at 13:15, joachim heintz <jh@joachimheintz.de> wrote:

hi paul -

should we add something to
https://github.com/csound/csound/blob/develop/BUILD.md#raspian ?

or should we add a new item?  i think it'd be best to collect this here.

regards -
joachim


Am 03.05.2015 um 01:34 schrieb Paul Batchelor:
Just solved this with Alex off-list, but I thought I'd share our steps
in case someone in the future has similar issues.

In addition to following the steps at
http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi, python-dev
and swig needed to be installed with "sudo apt-get install python-dev
swig".





On Sat, May 2, 2015 at 7:04 PM, Paul Batchelor <ralphbluecoat@gmail.com
<mailto:ralphbluecoat@gmail.com>> wrote:

   correction:

   cmake -g "Unix Makefiles" | grep i python



   On Sat, May 2, 2015 at 5:15 PM, Paul Batchelor
   <ralphbluecoat@gmail.com <mailto:ralphbluecoat@gmail.com>> wrote:

       Could you send the error message you get when you try importing
       csnd6 into python?

       A few general things I'd check for:

       When you run cmake, grep for python and see what comes up,
       something like:

       cmake ../ -g "Unix Makefiles"  | grep -i python

       Make sure BUILD_PYTHON_INTERFACE is enabled.

       Also make sure that you have the python development packages
       installed. On raspbian, it should be something like "sudo
       apt-get install python-dev" or "sudo apt-get install
       libpython-dev".

       On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini
       <Victor.Lazzarini@nuim.ie <mailto:Victor.Lazzarini@nuim.ie>> wrote:

           Did you build the python module for Csound? That is needed
           to use the API from
           python.

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

           On 2 May 2015, at 20:20, Alexander Tape
           <alexanderstape@gmail.com <mailto:alexanderstape@gmail.com>>
           wrote:

           Hello list,

           I am working on a Csound project using a Raspberry Pi 2. I
           installed Csound from source, following the instructions
           listed here:
           http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi

           Csound and Python are both running fine on my Pi. However,
           when I try to use the Csound Python API, I can't import
           csnd6. Is there a step I'm missing that is necessary to
           get these APIs working on the Pi.

           Any advice would be appreciated. Thanks!


...______________________________________
Prof. Dr. David Worrall
Emerging Audio Research (EAR)
Audio Department
International Audio Laboratories Erlangen
Fraunhofer-Institut für Integrierte Schaltungen IIS
Am Wolfsmantel 33, 91058 Erlangen
www: iis.fraunhofer.de 
---
Adjunct Senior Research Fellow
School of Music, Australian National University






------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-04 18:59
FromPaul Batchelor
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
AttachmentsNone  None  
Joachim,

Since Python is a very popular language of choice on the Pi, perhaps there should be a side note explicitly mentioning that enabling the Python Bindings requires swig and python-dev packages to be installed with "sudo apt-get install swig python-dev"? The information is already there in the document if you know what you are looking for, but doing this would remove any confusion for newcomers to both Csound *and* Linux. 

-P

On Sun, May 3, 2015 at 5:11 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I agree. It's the kind of thing the community can contribute to. Github's pull request system is just right for this.

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

On 3 May 2015, at 21:50, David Worrall <david.worrall@iis.fraunhofer.de> wrote:

It is an excellent idea to have (accurate) examples of how to build csound in various configuration on different platforms.
SWIG (http://www.swig.org/ is used to build python wrappers around csound no matter what the target system is. 

D.


On 03.05.2015, at 13:15, joachim heintz <jh@joachimheintz.de> wrote:

hi paul -

should we add something to
https://github.com/csound/csound/blob/develop/BUILD.md#raspian ?

or should we add a new item?  i think it'd be best to collect this here.

regards -
joachim


Am 03.05.2015 um 01:34 schrieb Paul Batchelor:
Just solved this with Alex off-list, but I thought I'd share our steps
in case someone in the future has similar issues.

In addition to following the steps at
http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi, python-dev
and swig needed to be installed with "sudo apt-get install python-dev
swig".





On Sat, May 2, 2015 at 7:04 PM, Paul Batchelor <ralphbluecoat@gmail.com
<mailto:ralphbluecoat@gmail.com>> wrote:

   correction:

   cmake -g "Unix Makefiles" | grep i python



   On Sat, May 2, 2015 at 5:15 PM, Paul Batchelor
   <ralphbluecoat@gmail.com <mailto:ralphbluecoat@gmail.com>> wrote:

       Could you send the error message you get when you try importing
       csnd6 into python?

       A few general things I'd check for:

       When you run cmake, grep for python and see what comes up,
       something like:

       cmake ../ -g "Unix Makefiles"  | grep -i python

       Make sure BUILD_PYTHON_INTERFACE is enabled.

       Also make sure that you have the python development packages
       installed. On raspbian, it should be something like "sudo
       apt-get install python-dev" or "sudo apt-get install
       libpython-dev".

       On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini
       <Victor.Lazzarini@nuim.ie <mailto:Victor.Lazzarini@nuim.ie>> wrote:

           Did you build the python module for Csound? That is needed
           to use the API from
           python.

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

           On 2 May 2015, at 20:20, Alexander Tape
           <alexanderstape@gmail.com <mailto:alexanderstape@gmail.com>>
           wrote:

           Hello list,

           I am working on a Csound project using a Raspberry Pi 2. I
           installed Csound from source, following the instructions
           listed here:
           http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi

           Csound and Python are both running fine on my Pi. However,
           when I try to use the Csound Python API, I can't import
           csnd6. Is there a step I'm missing that is necessary to
           get these APIs working on the Pi.

           Any advice would be appreciated. Thanks!


...______________________________________
Prof. Dr. David Worrall
Emerging Audio Research (EAR)
Audio Department
International Audio Laboratories Erlangen
Fraunhofer-Institut für Integrierte Schaltungen IIS
Am Wolfsmantel 33, 91058 Erlangen
www: iis.fraunhofer.de 
---
Adjunct Senior Research Fellow
School of Music, Australian National University






------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



Date2015-05-04 22:00
Fromjoachim heintz
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
ok; i added this note. perhaps you can have a look whether the 
description at 
https://github.com/csound/csound/blob/develop/BUILD.md#raspian is ok?  i 
think it is different from 
http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi, 
but i don't know which one is to prefer.

	joachim


Am 04.05.2015 um 19:59 schrieb Paul Batchelor:
> Joachim,
>
> Since Python is a very popular language of choice on the Pi, perhaps
> there should be a side note explicitly mentioning that enabling the
> Python Bindings requires swig and python-dev packages to be installed
> with "sudo apt-get install swig python-dev"? The information is already
> there in the document if you know what you are looking for, but doing
> this would remove any confusion for newcomers to both Csound *and* Linux.
>
> -P
>
> On Sun, May 3, 2015 at 5:11 PM, Victor Lazzarini
> > wrote:
>
>     I agree. It's the kind of thing the community can contribute to.
>     Github's pull request system is just right for this.
>
>     Victor Lazzarini
>     Dean of Arts, Celtic Studies, and Philosophy
>     Maynooth University
>     Ireland
>
>     On 3 May 2015, at 21:50, David Worrall
>          > wrote:
>
>>     It is an excellent idea to have (accurate) examples of how to
>>     build csound in various configuration on different platforms.
>>     SWIG (http://www.swig.org/ is used to build python wrappers around
>>     csound no matter what the target system is.
>>
>>     D.
>>
>>
>>     On 03.05.2015, at 13:15, joachim heintz >     > wrote:
>>
>>>     hi paul -
>>>
>>>     should we add something to
>>>     https://github.com/csound/csound/blob/develop/BUILD.md#raspian ?
>>>
>>>     or should we add a new item?  i think it'd be best to collect
>>>     this here.
>>>
>>>     regards -
>>>     joachim
>>>
>>>
>>>     Am 03.05.2015 um 01:34 schrieb Paul Batchelor:
>>>>     Just solved this with Alex off-list, but I thought I'd share our
>>>>     steps
>>>>     in case someone in the future has similar issues.
>>>>
>>>>     In addition to following the steps at
>>>>     http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi,
>>>>     python-dev
>>>>     and swig needed to be installed with "sudo apt-get install
>>>>     python-dev
>>>>     swig".
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>     On Sat, May 2, 2015 at 7:04 PM, Paul Batchelor
>>>>     
>>>>     > wrote:
>>>>
>>>>        correction:
>>>>
>>>>        cmake -g "Unix Makefiles" | grep i python
>>>>
>>>>
>>>>
>>>>        On Sat, May 2, 2015 at 5:15 PM, Paul Batchelor
>>>>        
>>>>     > wrote:
>>>>
>>>>            Could you send the error message you get when you try
>>>>     importing
>>>>            csnd6 into python?
>>>>
>>>>            A few general things I'd check for:
>>>>
>>>>            When you run cmake, grep for python and see what comes up,
>>>>            something like:
>>>>
>>>>            cmake ../ -g "Unix Makefiles"  | grep -i python
>>>>
>>>>            Make sure BUILD_PYTHON_INTERFACE is enabled.
>>>>
>>>>            Also make sure that you have the python development packages
>>>>            installed. On raspbian, it should be something like "sudo
>>>>            apt-get install python-dev" or "sudo apt-get install
>>>>            libpython-dev".
>>>>
>>>>            On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini
>>>>            >>>     
>>>>     > wrote:
>>>>
>>>>                Did you build the python module for Csound? That is
>>>>     needed
>>>>                to use the API from
>>>>                python.
>>>>
>>>>                Victor Lazzarini
>>>>                Dean of Arts, Celtic Studies, and Philosophy
>>>>                Maynooth University
>>>>                Ireland
>>>>
>>>>                On 2 May 2015, at 20:20, Alexander Tape
>>>>                >>>      >
>>>>                wrote:
>>>>
>>>>>                Hello list,
>>>>>
>>>>>                I am working on a Csound project using a Raspberry
>>>>>     Pi 2. I
>>>>>                installed Csound from source, following the instructions
>>>>>                listed here:
>>>>>     http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi
>>>>>
>>>>>                Csound and Python are both running fine on my Pi.
>>>>>     However,
>>>>>                when I try to use the Csound Python API, I can't import
>>>>>                csnd6. Is there a step I'm missing that is necessary to
>>>>>                get these APIs working on the Pi.
>>>>>
>>>>>                Any advice would be appreciated. Thanks!
>>>>>
>>
>>     ...______________________________________
>>     Prof. Dr. David Worrall
>>     Emerging Audio Research (EAR)
>>     Audio Department
>>     International Audio Laboratories Erlangen
>>     Fraunhofer-Institut für Integrierte Schaltungen IIS
>>     Am Wolfsmantel 33, 91058 Erlangen
>>     www: iis.fraunhofer.de 
>>     audiolabs-erlangen.de/research/emerging-audio-research
>>     
>>     ---
>>     Adjunct Senior Research Fellow
>>     School of Music, Australian National University
>>     david.worrall@anu.edu.au 
>>
>>
>>
>>
>>
>>
>>     ------------------------------------------------------------------------------
>>     One dashboard for servers and applications across
>>     Physical-Virtual-Cloud
>>     Widest out-of-the-box monitoring support with 50+ applications
>>     Performance metrics, stats and reports that give you Actionable
>>     Insights
>>     Deep dive visibility with transaction tracing using APM Insight.
>>     http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>     _______________________________________________
>>     Csound-users mailing list
>>     Csound-users@lists.sourceforge.net
>>     
>>     https://lists.sourceforge.net/lists/listinfo/csound-users
>>     Send bugs reports to
>>     https://github.com/csound/csound/issues
>>     Discussions of bugs and features can be posted here
>
>     ------------------------------------------------------------------------------
>     One dashboard for servers and applications across Physical-Virtual-Cloud
>     Widest out-of-the-box monitoring support with 50+ applications
>     Performance metrics, stats and reports that give you Actionable Insights
>     Deep dive visibility with transaction tracing using APM Insight.
>     http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>     _______________________________________________
>     Csound-users mailing list
>     Csound-users@lists.sourceforge.net
>     
>     https://lists.sourceforge.net/lists/listinfo/csound-users
>     Send bugs reports to
>     https://github.com/csound/csound/issues
>     Discussions of bugs and features can be posted here
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-04 22:56
FromPaul Batchelor
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
AttachmentsNone  None  
Yup. The update looks fine by me! Thanks.

I like the fact that they both exist. Redundancy is a very nice thing when you are trying to google how to do stuff. 

-P

On Mon, May 4, 2015 at 5:00 PM, joachim heintz <jh@joachimheintz.de> wrote:
ok; i added this note. perhaps you can have a look whether the
description at
https://github.com/csound/csound/blob/develop/BUILD.md#raspian is ok?  i
think it is different from
http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi,
but i don't know which one is to prefer.

        joachim


Am 04.05.2015 um 19:59 schrieb Paul Batchelor:
> Joachim,
>
> Since Python is a very popular language of choice on the Pi, perhaps
> there should be a side note explicitly mentioning that enabling the
> Python Bindings requires swig and python-dev packages to be installed
> with "sudo apt-get install swig python-dev"? The information is already
> there in the document if you know what you are looking for, but doing
> this would remove any confusion for newcomers to both Csound *and* Linux.
>
> -P
>
> On Sun, May 3, 2015 at 5:11 PM, Victor Lazzarini
> <Victor.Lazzarini@nuim.ie <mailto:Victor.Lazzarini@nuim.ie>> wrote:
>
>     I agree. It's the kind of thing the community can contribute to.
>     Github's pull request system is just right for this.
>
>     Victor Lazzarini
>     Dean of Arts, Celtic Studies, and Philosophy
>     Maynooth University
>     Ireland
>
>     On 3 May 2015, at 21:50, David Worrall
>     <david.worrall@iis.fraunhofer.de
>     <mailto:david.worrall@iis.fraunhofer.de>> wrote:
>
>>     It is an excellent idea to have (accurate) examples of how to
>>     build csound in various configuration on different platforms.
>>     SWIG (http://www.swig.org/ is used to build python wrappers around
>>     csound no matter what the target system is.
>>
>>     D.
>>
>>
>>     On 03.05.2015, at 13:15, joachim heintz <jh@joachimheintz.de
>>     <mailto:jh@joachimheintz.de>> wrote:
>>
>>>     hi paul -
>>>
>>>     should we add something to
>>>     https://github.com/csound/csound/blob/develop/BUILD.md#raspian ?
>>>
>>>     or should we add a new item?  i think it'd be best to collect
>>>     this here.
>>>
>>>     regards -
>>>     joachim
>>>
>>>
>>>     Am 03.05.2015 um 01:34 schrieb Paul Batchelor:
>>>>     Just solved this with Alex off-list, but I thought I'd share our
>>>>     steps
>>>>     in case someone in the future has similar issues.
>>>>
>>>>     In addition to following the steps at
>>>>     http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi,
>>>>     python-dev
>>>>     and swig needed to be installed with "sudo apt-get install
>>>>     python-dev
>>>>     swig".
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>     On Sat, May 2, 2015 at 7:04 PM, Paul Batchelor
>>>>     <ralphbluecoat@gmail.com <mailto:ralphbluecoat@gmail.com>
>>>>     <mailto:ralphbluecoat@gmail.com>> wrote:
>>>>
>>>>        correction:
>>>>
>>>>        cmake -g "Unix Makefiles" | grep i python
>>>>
>>>>
>>>>
>>>>        On Sat, May 2, 2015 at 5:15 PM, Paul Batchelor
>>>>        <ralphbluecoat@gmail.com <mailto:ralphbluecoat@gmail.com>
>>>>     <mailto:ralphbluecoat@gmail.com>> wrote:
>>>>
>>>>            Could you send the error message you get when you try
>>>>     importing
>>>>            csnd6 into python?
>>>>
>>>>            A few general things I'd check for:
>>>>
>>>>            When you run cmake, grep for python and see what comes up,
>>>>            something like:
>>>>
>>>>            cmake ../ -g "Unix Makefiles"  | grep -i python
>>>>
>>>>            Make sure BUILD_PYTHON_INTERFACE is enabled.
>>>>
>>>>            Also make sure that you have the python development packages
>>>>            installed. On raspbian, it should be something like "sudo
>>>>            apt-get install python-dev" or "sudo apt-get install
>>>>            libpython-dev".
>>>>
>>>>            On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini
>>>>            <Victor.Lazzarini@nuim.ie
>>>>     <mailto:Victor.Lazzarini@nuim.ie>
>>>>     <mailto:Victor.Lazzarini@nuim.ie>> wrote:
>>>>
>>>>                Did you build the python module for Csound? That is
>>>>     needed
>>>>                to use the API from
>>>>                python.
>>>>
>>>>                Victor Lazzarini
>>>>                Dean of Arts, Celtic Studies, and Philosophy
>>>>                Maynooth University
>>>>                Ireland
>>>>
>>>>                On 2 May 2015, at 20:20, Alexander Tape
>>>>                <alexanderstape@gmail.com
>>>>     <mailto:alexanderstape@gmail.com> <mailto:alexanderstape@gmail.com>>
>>>>                wrote:
>>>>
>>>>>                Hello list,
>>>>>
>>>>>                I am working on a Csound project using a Raspberry
>>>>>     Pi 2. I
>>>>>                installed Csound from source, following the instructions
>>>>>                listed here:
>>>>>     http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi
>>>>>
>>>>>                Csound and Python are both running fine on my Pi.
>>>>>     However,
>>>>>                when I try to use the Csound Python API, I can't import
>>>>>                csnd6. Is there a step I'm missing that is necessary to
>>>>>                get these APIs working on the Pi.
>>>>>
>>>>>                Any advice would be appreciated. Thanks!
>>>>>
>>
>>     ...______________________________________
>>     Prof. Dr. David Worrall
>>     Emerging Audio Research (EAR)
>>     Audio Department
>>     International Audio Laboratories Erlangen
>>     Fraunhofer-Institut für Integrierte Schaltungen IIS
>>     Am Wolfsmantel 33, 91058 Erlangen
>>     www: iis.fraunhofer.de <http://iis.fraunhofer.de>
>>     audiolabs-erlangen.de/research/emerging-audio-research
>>     <http://audiolabs-erlangen.de/research/emerging-audio-research>
>>     ---
>>     Adjunct Senior Research Fellow
>>     School of Music, Australian National University
>>     david.worrall@anu.edu.au <mailto:david.worrall@anu.edu.au>
>>
>>
>>
>>
>>
>>
>>     ------------------------------------------------------------------------------
>>     One dashboard for servers and applications across
>>     Physical-Virtual-Cloud
>>     Widest out-of-the-box monitoring support with 50+ applications
>>     Performance metrics, stats and reports that give you Actionable
>>     Insights
>>     Deep dive visibility with transaction tracing using APM Insight.
>>     http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>     _______________________________________________
>>     Csound-users mailing list
>>     Csound-users@lists.sourceforge.net
>>     <mailto:Csound-users@lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/csound-users
>>     Send bugs reports to
>>     https://github.com/csound/csound/issues
>>     Discussions of bugs and features can be posted here
>
>     ------------------------------------------------------------------------------
>     One dashboard for servers and applications across Physical-Virtual-Cloud
>     Widest out-of-the-box monitoring support with 50+ applications
>     Performance metrics, stats and reports that give you Actionable Insights
>     Deep dive visibility with transaction tracing using APM Insight.
>     http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>     _______________________________________________
>     Csound-users mailing list
>     Csound-users@lists.sourceforge.net
>     <mailto:Csound-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/csound-users
>     Send bugs reports to
>     https://github.com/csound/csound/issues
>     Discussions of bugs and features can be posted here
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Date2015-05-04 23:38
FromDavid Worrall
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
AttachmentsNone  None  
Hi Joachim,Yours looks more thorough - esp for novices.
What i often miss in this type of guideline is an up-front date or version number so in a year-or-or so when someone stumbles across it - will they be easily able to judge the likelihood of it still being relevant? 

I look forward to getting into csnd on the pie with py!

D.

On 04.05.2015, at 23:00, joachim heintz <jh@joachimheintz.de> wrote:

ok; i added this note. perhaps you can have a look whether the
description at
https://github.com/csound/csound/blob/develop/BUILD.md#raspian is ok?  i
think it is different from
http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi,
but i don't know which one is to prefer.

joachim


Am 04.05.2015 um 19:59 schrieb Paul Batchelor:
Joachim,

Since Python is a very popular language of choice on the Pi, perhaps
there should be a side note explicitly mentioning that enabling the
Python Bindings requires swig and python-dev packages to be installed
with "sudo apt-get install swig python-dev"? The information is already
there in the document if you know what you are looking for, but doing
this would remove any confusion for newcomers to both Csound *and* Linux.

-P

On Sun, May 3, 2015 at 5:11 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie <mailto:Victor.Lazzarini@nuim.ie>> wrote:

   I agree. It's the kind of thing the community can contribute to.
   Github's pull request system is just right for this.

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

   On 3 May 2015, at 21:50, David Worrall
   <david.worrall@iis.fraunhofer.de
   <mailto:david.worrall@iis.fraunhofer.de>> wrote:

   It is an excellent idea to have (accurate) examples of how to
   build csound in various configuration on different platforms.
   SWIG (http://www.swig.org/ is used to build python wrappers around
   csound no matter what the target system is.

   D.


   On 03.05.2015, at 13:15, joachim heintz <jh@joachimheintz.de
   <mailto:jh@joachimheintz.de>> wrote:

   hi paul -

   should we add something to
   https://github.com/csound/csound/blob/develop/BUILD.md#raspian ?

   or should we add a new item?  i think it'd be best to collect
   this here.

   regards -
   joachim


   Am 03.05.2015 um 01:34 schrieb Paul Batchelor:
   Just solved this with Alex off-list, but I thought I'd share our
   steps
   in case someone in the future has similar issues.

   In addition to following the steps at
   http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi,
   python-dev
   and swig needed to be installed with "sudo apt-get install
   python-dev
   swig".





   On Sat, May 2, 2015 at 7:04 PM, Paul Batchelor
   <ralphbluecoat@gmail.com <mailto:ralphbluecoat@gmail.com>
   <mailto:ralphbluecoat@gmail.com>> wrote:

      correction:

      cmake -g "Unix Makefiles" | grep i python



      On Sat, May 2, 2015 at 5:15 PM, Paul Batchelor
      <ralphbluecoat@gmail.com <mailto:ralphbluecoat@gmail.com>
   <mailto:ralphbluecoat@gmail.com>> wrote:

          Could you send the error message you get when you try
   importing
          csnd6 into python?

          A few general things I'd check for:

          When you run cmake, grep for python and see what comes up,
          something like:

          cmake ../ -g "Unix Makefiles"  | grep -i python

          Make sure BUILD_PYTHON_INTERFACE is enabled.

          Also make sure that you have the python development packages
          installed. On raspbian, it should be something like "sudo
          apt-get install python-dev" or "sudo apt-get install
          libpython-dev".

          On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini
          <Victor.Lazzarini@nuim.ie
   <mailto:Victor.Lazzarini@nuim.ie>
   <mailto:Victor.Lazzarini@nuim.ie>> wrote:

              Did you build the python module for Csound? That is
   needed
              to use the API from
              python.

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

              On 2 May 2015, at 20:20, Alexander Tape
              <alexanderstape@gmail.com
   <mailto:alexanderstape@gmail.com> <mailto:alexanderstape@gmail.com>>
              wrote:

              Hello list,

              I am working on a Csound project using a Raspberry
   Pi 2. I
              installed Csound from source, following the instructions
              listed here:
   http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi

              Csound and Python are both running fine on my Pi.
   However,
              when I try to use the Csound Python API, I can't import
              csnd6. Is there a step I'm missing that is necessary to
              get these APIs working on the Pi.

              Any advice would be appreciated. Thanks!


   ...______________________________________
   Prof. Dr. David Worrall
   Emerging Audio Research (EAR)
   Audio Department
   International Audio Laboratories Erlangen
   Fraunhofer-Institut für Integrierte Schaltungen IIS
   Am Wolfsmantel 33, 91058 Erlangen
   www: iis.fraunhofer.de <http://iis.fraunhofer.de>
   audiolabs-erlangen.de/research/emerging-audio-research
   <http://audiolabs-erlangen.de/research/emerging-audio-research>
   ---
   Adjunct Senior Research Fellow
   School of Music, Australian National University
   david.worrall@anu.edu.au <mailto:david.worrall@anu.edu.au>






   ------------------------------------------------------------------------------
   One dashboard for servers and applications across
   Physical-Virtual-Cloud
   Widest out-of-the-box monitoring support with 50+ applications
   Performance metrics, stats and reports that give you Actionable
   Insights
   Deep dive visibility with transaction tracing using APM Insight.
   http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
   _______________________________________________
   Csound-users mailing list
   Csound-users@lists.sourceforge.net
   <mailto:Csound-users@lists.sourceforge.net>
   https://lists.sourceforge.net/lists/listinfo/csound-users
   Send bugs reports to
   https://github.com/csound/csound/issues
   Discussions of bugs and features can be posted here

   ------------------------------------------------------------------------------
   One dashboard for servers and applications across Physical-Virtual-Cloud
   Widest out-of-the-box monitoring support with 50+ applications
   Performance metrics, stats and reports that give you Actionable Insights
   Deep dive visibility with transaction tracing using APM Insight.
   http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
   _______________________________________________
   Csound-users mailing list
   Csound-users@lists.sourceforge.net
   <mailto:Csound-users@lists.sourceforge.net>
   https://lists.sourceforge.net/lists/listinfo/csound-users
   Send bugs reports to
   https://github.com/csound/csound/issues
   Discussions of bugs and features can be posted here




------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y



_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

______________________________________
Prof. Dr. David Worrall
Emerging Audio Research (EAR)
Audio Department
International Audio Laboratories Erlangen
Fraunhofer-Institut für Integrierte Schaltungen IIS
Am Wolfsmantel 33
91058 Erlangen
E-Mail: david.worrall@iis.fraunhofer.de
www: iis.fraunhofer.de 
---
Adjunct Senior Research Fellow
School of Music, Australian National University







Date2015-05-05 06:08
Fromjoachim heintz
SubjectRe: Trying to get Csound Python API to work on Raspberry Pi 2
well, it's not mine, but thanks for the feedback -
	j


Am 05.05.2015 um 00:38 schrieb David Worrall:
> Hi Joachim,Yours looks more thorough - esp for novices.
> What i often miss in this type of guideline is an up-front date or
> version number so in a year-or-or so when someone stumbles across it -
> will they be easily able to judge the likelihood of it still being
> relevant?
>
> I look forward to getting into csnd on the pie with py!
>
> D.
>
> On 04.05.2015, at 23:00, joachim heintz  > wrote:
>
>> ok; i added this note. perhaps you can have a look whether the
>> description at
>> https://github.com/csound/csound/blob/develop/BUILD.md#raspian is ok?  i
>> think it is different from
>> http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi,
>>
>> but i don't know which one is to prefer.
>>
>> joachim
>>
>>
>> Am 04.05.2015 um 19:59 schrieb Paul Batchelor:
>>> Joachim,
>>>
>>> Since Python is a very popular language of choice on the Pi, perhaps
>>> there should be a side note explicitly mentioning that enabling the
>>> Python Bindings requires swig and python-dev packages to be installed
>>> with "sudo apt-get install swig python-dev"? The information is already
>>> there in the document if you know what you are looking for, but doing
>>> this would remove any confusion for newcomers to both Csound *and* Linux.
>>>
>>> -P
>>>
>>> On Sun, May 3, 2015 at 5:11 PM, Victor Lazzarini
>>> 
>>> > wrote:
>>>
>>>    I agree. It's the kind of thing the community can contribute to.
>>>    Github's pull request system is just right for this.
>>>
>>>    Victor Lazzarini
>>>    Dean of Arts, Celtic Studies, and Philosophy
>>>    Maynooth University
>>>    Ireland
>>>
>>>    On 3 May 2015, at 21:50, David Worrall
>>>    >> 
>>>    > wrote:
>>>
>>>>    It is an excellent idea to have (accurate) examples of how to
>>>>    build csound in various configuration on different platforms.
>>>>    SWIG (http://www.swig.org/ is used to build python wrappers around
>>>>    csound no matter what the target system is.
>>>>
>>>>    D.
>>>>
>>>>
>>>>    On 03.05.2015, at 13:15, joachim heintz >>> 
>>>>    > wrote:
>>>>
>>>>>    hi paul -
>>>>>
>>>>>    should we add something to
>>>>> https://github.com/csound/csound/blob/develop/BUILD.md#raspian ?
>>>>>
>>>>>    or should we add a new item?  i think it'd be best to collect
>>>>>    this here.
>>>>>
>>>>>    regards -
>>>>>    joachim
>>>>>
>>>>>
>>>>>    Am 03.05.2015 um 01:34 schrieb Paul Batchelor:
>>>>>>    Just solved this with Alex off-list, but I thought I'd share our
>>>>>>    steps
>>>>>>    in case someone in the future has similar issues.
>>>>>>
>>>>>>    In addition to following the steps at
>>>>>> http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi,
>>>>>>    python-dev
>>>>>>    and swig needed to be installed with "sudo apt-get install
>>>>>>    python-dev
>>>>>>    swig".
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>    On Sat, May 2, 2015 at 7:04 PM, Paul Batchelor
>>>>>>    
>>>>>> 
>>>>>>    > wrote:
>>>>>>
>>>>>>       correction:
>>>>>>
>>>>>>       cmake -g "Unix Makefiles" | grep i python
>>>>>>
>>>>>>
>>>>>>
>>>>>>       On Sat, May 2, 2015 at 5:15 PM, Paul Batchelor
>>>>>>       
>>>>>> 
>>>>>>    > wrote:
>>>>>>
>>>>>>           Could you send the error message you get when you try
>>>>>>    importing
>>>>>>           csnd6 into python?
>>>>>>
>>>>>>           A few general things I'd check for:
>>>>>>
>>>>>>           When you run cmake, grep for python and see what comes up,
>>>>>>           something like:
>>>>>>
>>>>>>           cmake ../ -g "Unix Makefiles"  | grep -i python
>>>>>>
>>>>>>           Make sure BUILD_PYTHON_INTERFACE is enabled.
>>>>>>
>>>>>>           Also make sure that you have the python development packages
>>>>>>           installed. On raspbian, it should be something like "sudo
>>>>>>           apt-get install python-dev" or "sudo apt-get install
>>>>>>           libpython-dev".
>>>>>>
>>>>>>           On Sat, May 2, 2015 at 3:26 PM, Victor Lazzarini
>>>>>>           
>>>>>>    
>>>>>>    > wrote:
>>>>>>
>>>>>>               Did you build the python module for Csound? That is
>>>>>>    needed
>>>>>>               to use the API from
>>>>>>               python.
>>>>>>
>>>>>>               Victor Lazzarini
>>>>>>               Dean of Arts, Celtic Studies, and Philosophy
>>>>>>               Maynooth University
>>>>>>               Ireland
>>>>>>
>>>>>>               On 2 May 2015, at 20:20, Alexander Tape
>>>>>>               >>>>> 
>>>>>>    
>>>>>> >
>>>>>>               wrote:
>>>>>>
>>>>>>>               Hello list,
>>>>>>>
>>>>>>>               I am working on a Csound project using a Raspberry
>>>>>>>    Pi 2. I
>>>>>>>               installed Csound from source, following the
>>>>>>> instructions
>>>>>>>               listed here:
>>>>>>> http://ikenberrypi.tumblr.com/post/90967171834/compiling-csound-6-on-the-raspberry-pi
>>>>>>>
>>>>>>>               Csound and Python are both running fine on my Pi.
>>>>>>>    However,
>>>>>>>               when I try to use the Csound Python API, I can't import
>>>>>>>               csnd6. Is there a step I'm missing that is necessary to
>>>>>>>               get these APIs working on the Pi.
>>>>>>>
>>>>>>>               Any advice would be appreciated. Thanks!
>>>>>>>
>>>>
>>>>    ...______________________________________
>>>>    Prof. Dr. David Worrall
>>>>    Emerging Audio Research (EAR)
>>>>    Audio Department
>>>>    International Audio Laboratories Erlangen
>>>>    Fraunhofer-Institut für Integrierte Schaltungen IIS
>>>>    Am Wolfsmantel 33, 91058 Erlangen
>>>>    www: iis.fraunhofer.de 
>>>> 
>>>> audiolabs-erlangen.de/research/emerging-audio-research
>>>> 
>>>>    
>>>>    ---
>>>>    Adjunct Senior Research Fellow
>>>>    School of Music, Australian National University
>>>> david.worrall@anu.edu.au 
>>>> 
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>    ------------------------------------------------------------------------------
>>>>    One dashboard for servers and applications across
>>>>    Physical-Virtual-Cloud
>>>>    Widest out-of-the-box monitoring support with 50+ applications
>>>>    Performance metrics, stats and reports that give you Actionable
>>>>    Insights
>>>>    Deep dive visibility with transaction tracing using APM Insight.
>>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>>>    _______________________________________________
>>>>    Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> 
>>>>    
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>    Send bugs reports to
>>>> https://github.com/csound/csound/issues
>>>>    Discussions of bugs and features can be posted here
>>>
>>>    ------------------------------------------------------------------------------
>>>    One dashboard for servers and applications across
>>> Physical-Virtual-Cloud
>>>    Widest out-of-the-box monitoring support with 50+ applications
>>>    Performance metrics, stats and reports that give you Actionable
>>> Insights
>>>    Deep dive visibility with transaction tracing using APM Insight.
>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>>    _______________________________________________
>>>    Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> 
>>>    
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>    Send bugs reports to
>>> https://github.com/csound/csound/issues
>>>    Discussions of bugs and features can be posted here
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> One dashboard for servers and applications across Physical-Virtual-Cloud
>>> Widest out-of-the-box monitoring support with 50+ applications
>>> Performance metrics, stats and reports that give you Actionable Insights
>>> Deep dive visibility with transaction tracing using APM Insight.
>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>>
>>>
>>>
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>         https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>>
>>
>> ------------------------------------------------------------------------------
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
> ______________________________________
> Prof. Dr. David Worrall
> Emerging Audio Research (EAR)
> Audio Department
> International Audio Laboratories Erlangen
> Fraunhofer-Institut für Integrierte Schaltungen IIS
> Am Wolfsmantel 33
> 91058 Erlangen
> E-Mail: david.worrall@iis.fraunhofer.de
> 
> www: iis.fraunhofer.de 
> audiolabs-erlangen.de/research/emerging-audio-research
> 
> ---
> Adjunct Senior Research Fellow
> School of Music, Australian National University
> david.worrall@anu.edu.au 
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here