Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] 5.07 Windows float installer issues

Date2007-11-02 22:03
From"Art Hunkins"
SubjectRe: [Cs-dev] 5.07 Windows float installer issues
Thanks, Michael and Oeyvind, for your responses.

I've tried the following:

1) copied rtpa.dll from \plugins to \bin; no change. Deleted rtpa.dll in
\plugins; no change. Renamed rtpa.dll in \plugins to three different names;
no change, except that the "open error" referred to the newly changed name.

2) copied portaudio.dll to portaudio_x86.dll (both identically present); no
change. Copied both from \bin to \plugins; no change.

3) deleted portaudio.dll, portaudio_x86.dll, rtpa.dll and fluidOpcodes.dll
from \plugins and got rid of all "open error" messages. Problem:
 *** error: unknown rtaudio module: 'PortAudio'
    Failed to initialise real time audio input
error remains, aborting run.

Wait.... I see the problem: it says audio *input* - which I'm not using. And
that comes from the default adc in CsoundGUI. When I remove the adc setting,
the error message seems to disappear (but see further below). "So far, so
good."

*However*, now my run goes into never-never land. With CsoundGUI, the
performance window and output printout completely vanishes. In Winsound, the
output printout says "Permission denied" and throws up a "MS has encountered
a problem window." Running from the command line, a brief "DOS" display
appears but quickly closes before I can read anything.

Incidentally, the .csd being run is Mark's wiimote and OSC demo from his
nice Csound Journal article, with only -odac0 substituted for CsOptions.
I've tested and seen that symptoms are no different when running the
GlovePIE script and when not.

Just now, I've noticed that in CsoundGUI, I'm unable to remove "adc" as the
audio input selection. It reappears as soon as I hit OK and look again to
see that it is (not) removed. Perhaps something somewhere else is
mandating -iadc, though I don't see where it could be. (One thing I've
noticed is that in the current Windows installation, the filename .csoundrc
does not appear under its icon in the Csound directory, though it does when
you edit it and change it - but it never displays its name. If you try to
type in a filename of .csoundrc, a window pops up saying "that's not a valid
filename." Probably this has nothing to do with anything, though.)

Sorry to go on so long. I'm stumped and at a standstill. Thanks for any
help.

And Michael: FWIW, during Csound installation, if you choose Python install,
it does seem to be copying the Python .msi to hard disk, though I can't be
sure. It gives the appearance of copying it, but perhaps not going ahead to
install it. However, I may be *completely* wrong about this.

Take care, all. (I'm sure there are more productive days ahead.)

Art Hunkins

----- Original Message ----- 
From: "Michael Gogins" 
To: "Art Hunkins" ; "Developer discussions"

Sent: Friday, November 02, 2007 12:06 PM
Subject: Re: [Cs-dev] 5.07 Windows float installer issues


> Thanks for the information. I'm not sure what to do about Python and the
installer, but I'll look at it. It's time-consuming because to get it to
work right, I'll probably have to uninstall Python on my computer, which is
a real drag because there are tons of libraries that I have installed into
Python.
>
> About rtpa, you copy portaudio.dll to portaudio_x86.dll so that you have
both files with the identical contents. This will be fixed in an incremental
version of the installer that I will upload soon.
>
> Hope this helps,
> Mike
>
> -----Original Message-----
> >From: Art Hunkins 
> >Sent: Nov 2, 2007 1:41 AM
> >To: csound-devel@lists.sourceforge.net
> >Subject: [Cs-dev] 5.07 Windows float installer issues
> >
> >Have just got around to doing a binary install of 5.07 Windows float, and
> >encountered the following:
> >1) said I didn't want Python installed; running a .csd Csound complained
it
> >couldn't find Python25 (indeed Python25 is not on the machine, though
> >Python23 is);
> >2) (reinstall) said I wanted Python25 installed; running a .csd Csound
again
> >complained it couldn't find Python25 (still not installed on the
machine);
> >3) went to python.org and manually installed Python25; everything "good"
as
> >long as I had the Python environment variable correct (/bin).
> >4) I get the following error messages still while running Csound; this in
> >spite of the fact that indeed the two .dll's are where they're supposed
to
> >be. Of course, not finding rtpa.dll aborts the run.
> >5) (All this in addition to renaming the portaudio.dll, as I recall.)
> >
> >
> >WARNING: could not open library 'C:\Csound5.07\plugins\fluidOpcodes.dll'
> >(-1)
> >PortMIDI real time MIDI plugin for Csound
> >WARNING: could not open library 'C:\Csound5.07\plugins\rtpa.dll' (-1)
> >virtual_keyboard real time MIDI plugin for Csound
> >0dBFS level = 32768.0
> >Csound version 5.07 (float samples) Oct 11 2007
> >libsndfile-1.0.17
> >UnifiedCSD:  C:/Csound5.07/bin/wiimote.csd
> >STARTING FILE
> >Creating options
> >Creating orchestra
> >Creating score
> >orchname:  C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs2.orc
> >scorename: C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs3.sco
> >rtmidi: PortMIDI module enabled
> >orch compiler:
> >107 lines read
> > instr 1
> > instr 2
> > instr 3
> > instr 4
> >Elapsed time at end of orchestra compile: real: 0.005s, CPU: 0.000s
> >sorting score ...
> > ... done
> >Elapsed time at end of score sort: real: 0.006s, CPU: 0.000s
> >Csound version 5.07 (float samples) Oct 11 2007
> >displays suppressed
> >0dBFS level = 32768.0
> >OSC listener #0 started on port 50000
> >orch now loaded
> >audio buffered in 1024 sample-frame blocks
> > *** error: unknown rtaudio module: 'PortAudio'
> >Failed to initialise real time audio input
> >inactive allocs returned to freespace
> >end of score.     overall amps:      0        0
> >    overall samples out of range:        0        0
> >1 errors in performance
> >Elapsed time at end of performance: real: 0.015s, CPU: 0.015s
> >
> >
> >I'd appreciate some help on this. I should mention that I ran both
csoundGUI
> >and winsound achieving these results, though winsound crashed without
> >leaving me with this nice set of messages. My system is Windows XP.
> >
> >Art Hunkins
> >
> >
> >-------------------------------------------------------------------------
> >This SF.net email is sponsored by: Splunk Inc.
> >Still grepping through log files to find problems?  Stop.
> >Now Search log events and configuration files using AJAX and a browser.
> >Download your FREE copy of Splunk now >> http://get.splunk.com/
> >_______________________________________________
> >Csound-devel mailing list
> >Csound-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel