| The CsoundVST application will fail if it cannot import the CsoundVST
Python extension module. This consists of CsoundVST.py and _CsoundVST.dll
(on Windows) or _CsoundVST.so (on Linux or Unix). These two files must be
in a directory specified in your PYTHONPATH environment variable.
Original Message:
-----------------
From: Dave Phillips dlphilp@bright.net
Date: Thu, 03 Feb 2005 10:04:56 -0500
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] report on useALSA=1
Hi Istvan:
I built and ran the latest CVS sources last night. With your command
options (as below) the rtaudio playback was flawless. However, without
su the sound was still choppy and reported many underruns.
Oyvindt's FLTK_test.csd worked perfectly. Running ImproSculpt (with
su-c) failed (still no audio) and totally locked up my machine,
requiring a hard reboot.
CsoundVST fails here:
[dlphilp@localhost csound5]$ ./CsoundVST
Starting CsoundVST...
PortAudio real-time audio module for Csound by John ffitch
ALSA real-time audio module for Csound by Istvan Varga
BEGAN Shell::runScript()...
============================================================================
==================================
============================================================================
==================================
PyRun_SimpleString returned 0.
ENDED Shell::runScript().
BEGAN Shell::runScript()...
============================================================================
==================================
Traceback (most recent call last):
File "", line 1, in ?
ImportError: No module named CsoundVST
============================================================================
==================================
PyRun_SimpleString returned -1.
ENDED Shell::runScript().
BEGAN Shell::runScript()...
============================================================================
==================================
AttributeError: 'module' object has no attribute 'csound'
============================================================================
==================================
PyRun_SimpleString returned -1.
ENDED Shell::runScript().
Segmentation fault
What am I missing ?
Best,
dp
Istvan Varga wrote:
> Dave Phillips wrote:
>
>> Last night I recompiled Cs5 with ALSA support instead of PortAudio.
>> Results were disappointing, with consistent buffer underruns and
>> stuttering sound. I used a variety of settings for -b and -B, got no
>> joy. I'm rebuilding the latest CVS sources again, this time with PA
>> instead of ALSA.
>
>
> Try the current CVS version. It has a new ALSA plugin, that may work
> better, as it now allows device selection, and the use of 16 bit and
> 32 bit integer samples in addition to floats.
> You do not need useALSA=1 (the plugin is built by default if ALSA
> is available), but the Csound command line option '-+rtaudio=alsa'
> is needed to select the ALSA audio module (otherwise, either PortAudio
> would be used if it is available, or there would be no sound).
>
> It is recommended to set the -B option at least 4 times higher than
> -b, for example:
>
> su -c './csound --sched -+rtaudio=alsa -d -m0 -H0 -s -h -b 64 -B 256 \
> -o dac orcfile.orc score.sco'
>
> These settings worked for me.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |