Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Current State of OLPC (XO) and Sugar on a Stick

Date2009-07-30 22:42
From"Art Hunkins"
SubjectRe: [Cs-dev] Current State of OLPC (XO) and Sugar on a Stick
*Revised* comprehensive test - working with Csound materials
in the context of the OLPC (XO) and Sugar on a Stick. Here are the results.
I'd appreciate continued help to resolve the outstanding issues.

Three tests:
Test 1: Running a .csd file from the terminal. ALSA driver specified
Test 2: Running a .csd file from python from the terminal. No audio driver
specified.
Test 3: Running a .csd file as part of an Activity (python script) within
Sugar. No driver specified.

Context 1: On the OLPC (XO) computer (OLPCsound - 5.08.91) - out of the box
Test 1: ran fine; ALSA driver used
Test 2: ran fine; ALSA driver used
Test 3: ran fine; ALSA driver used
  Obviously no problems here - except the limitation to OLPCsound (5.08)

I configured a completely new USB stick (in Windows) to run the remaining
tests.

Context 2: Sugar on a Stick - out of the box (OLPCsound - 5.08.91) - no
updates
Test 1: ran fine; ALSA driver used
Test 2: fails - cannot import csnd (note: csound-python is not present)
Test 3: fails - during import _csnd; in libcsnd.so.5.1: undefined symbol:
csoundGetInputBuffer
  Note: csnd.py, _csnd.so etc. *are* present in the /site-packages folder

Context 3: SoaS with updates-testing update csound (to 5.10.1-9.fc11),
and updates-testing install csound-python (to same version):
Test 1: ran fine; ALSA driver used
Test 1 rerun, with *no driver specified*: fails - "unknown rtaudio module:
"PortAudio"
  This is the new audio driver glitch I referred to in a previous mail.
  Note that the original (OLPCsound [5.08]) install doesn't suffer this 
problem.
Test 2: fails - error in csnd.py: import _csnd. No module named _csnd
Test 3: fails - error in csnd.py: import _csnd. No module named _csnd

Notes:
*The Context 3 "upgrade" requires the following (revised) commands to get
the right (latest) builds of both Csound and csound-python installed*:
su
yum --enablerepo=updates-testing update csound
yum --enablerepo=updates-testing install csound-python

Thanks to Peter for correcting me on this, and for his ongoing efforts to 
get this all working.

Art Hunkins 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-07-31 11:01
FromVictor Lazzarini
SubjectRe: [Cs-dev] Current State of OLPC (XO) and Sugar on a Stick



>Context 3: SoaS with updates-testing update csound (to 5.10.1-9.fc11),
>and updates-testing install csound-python (to same version):
>Test 1: ran fine; ALSA driver used
>Test 1 rerun, with *no driver specified*: fails - "unknown rtaudio module:
>"PortAudio"
>   This is the new audio driver glitch I referred to in a previous mail.
>   Note that the original (OLPCsound [5.08]) install doesn't suffer this
>problem.

This one is easy: olpcsound has csound looking for the alsa IO
by default. Whereas csound by default looks for portaudio.

There might be a csound-portaudio package that can be installed
(not sure, you will need to ask peter robinson).




>------------------------------------------------------------------------------
>Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>trial. Simplify your report design, integration and deployment - and focus on
>what you do best, core application coding. Discover what's new with
>Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net