Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: Re: Re: Re: PortAudio in 5.09 Windows Installer

Date2008-09-25 02:13
FromMichael Gogins
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: PortAudio in 5.09 Windows Installer
I get load errors with stdutil.dll on both float and double csound, and with minmax.dll with float csound. So there does seem to be some kind of a binary problem.

I am rebuilding Csound with debugging information so that I can debug the load process. I already see that I get an exception during the load.

But for both float and double, PortAudio (rtpa.dll and portaudio_x86.dll) both work fine for me.

Regards,
Mike

-----Original Message-----
>From: Art Hunkins 
>Sent: Sep 24, 2008 5:53 PM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] Re: Re: Re: Re: Re: Re: PortAudio in 5.09 Windows Installer
>
>Mike,
>
>As a first try, this is what I get when I open csound.exe within 'depends'.
>
>No reference to rtpa.dll (or portaudio) at all.
>
>Can you tell anything from the attached screenshot?
>
>This is from a 5.09.0 install that can't load 3-4 modules including 
>rtpa.dll.
>
>Art Hunkins
>
>----- Original Message ----- 
>From: "Michael Gogins" 
>To: 
>Sent: Tuesday, September 23, 2008 9:38 PM
>Subject: [Csnd] Re: Re: Re: Re: Re: PortAudio in 5.09 Windows Installer
>
>
>> What version of Windows, and what processor, are you running? This may be 
>> relevant.
>>
>> Also, please try this. Install the "depends" program and run Csound in it. 
>> Then search in the output log for "Audio" and "rtpa". Let me know what you 
>> find. The program can be found at http://www.dependencywalker.com.
>>
>> Hope this helps,
>> Mike
>>
>> -----Original Message-----
>>>From: Art Hunkins 
>>>Sent: Sep 23, 2008 8:10 PM
>>>To: csound@lists.bath.ac.uk
>>>Subject: [Csnd] Re: Re: Re: Re: PortAudio in 5.09 Windows Installer
>>>
>>>Mike,
>>>
>>>I'm still drawing a blank.
>>>
>>>I deleted my PATH variable (a long one indeed), then rebooted, went to
>>>csound\bin (as shown below) and ran (commandline) a .csd located there. 
>>>Same
>>>result.
>>>
>>>I *do* have a number of portaudio .dll's on my machine, including several
>>>rtpa.dll's in 5.07 and 5.08 directories. These, however, are unique
>>>installations, with no remaining environment variables to my knowledge 
>>>(I've
>>>gone through my system variables rather thoroughly).
>>>
>>>Here's the complete console output again:
>>>--------------
>>>Microsoft Windows XP [Version 5.1.2600]
>>>(C) Copyright 1985-2001 Microsoft Corp.
>>>
>>>C:\Documents and Settings\Art Hunkins>cd\program files\csound\bin
>>>
>>>C:\Program Files\Csound\bin>csound pantest.csd
>>>time resolution is 279.365 ns
>>>PortMIDI real time MIDI plugin for Csound
>>>virtual_keyboard real time MIDI plugin for Csound
>>>0dBFS level = 32768.0
>>>Csound version 5.09 beta (float samples) Sep 13 2008
>>>libsndfile-1.0.18pre22
>>>Reading options from $CSOUNDRC: C:\Program Files\Csound\.csoundrc
>>>WARNING: could not open library 'C:\Program Files\Csound\plugins\rtpa.dll'
>>>(-1)
>>>WARNING: could not open library 'C:\Program Files\Csound\plugins\csnd.dll'
>>>(-1)
>>>WARNING: could not open library 'C:\Program
>>>Files\Csound\plugins\fluidOpcodes.dl
>>>l' (-1)
>>>UnifiedCSD:  pantest.csd
>>>STARTING FILE
>>>Creating options
>>>Creating orchestra
>>>Creating score
>>>orchname:  C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs34.orc
>>>scorename: C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs35.sco
>>>rtmidi: PortMIDI module enabled
>>>orch compiler:
>>>38 lines read
>>>        instr   1
>>>        instr   2
>>>sorting score ...
>>>        ... done
>>>Csound version 5.09 beta (float samples) Sep 13 2008
>>>displays suppressed
>>>0dBFS level = 32768.0
>>>orch now loaded
>>>audio buffered in 128 sample-frame blocks
>>> *** error: unknown rtaudio module: 'pa'
>>>Failed to initialise real time audio output
>>>Csound tidy up: Segmentation violation
>>>inactive allocs returned to freespace
>>>end of score.              overall amps:      0.0      0.0
>>>           overall samples out of range:        0        0
>>>1 errors in performance
>>>
>>>C:\Program Files\Csound\bin>
>>>----------
>>>
>>>Art Hunkins
>>>
>>>----- Original Message ----- 
>>>From: "Michael Gogins" 
>>>To: 
>>>Sent: Tuesday, September 23, 2008 6:44 PM
>>>Subject: [Csnd] Re: Re: Re: PortAudio in 5.09 Windows Installer
>>>
>>>
>>>>I double-checked with the "depends" program. As I thought, no DLLs are
>>>>loaded except from Windows and the Csound installation directory.
>>>>
>>>> I also do not see any of these warning messages.
>>>>
>>>> I suggest you check your PATH environment variable. You may have older
>>>> DLLs lying around somewhere that are not compatible, e.g. an older
>>>> PortAudio dll or something of that sort. You could try running Csound 
>>>> from
>>>> the command line and set the PATH environment variable to nothing. It
>>>> should still work if you run Csound from the installation or bin
>>>> directory. I.e., first "set PATH=" and then "bin\csound
>>>> examples\trapped.csd" or something.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> -----Original Message-----
>>>>>From: Art Hunkins 
>>>>>Sent: Sep 23, 2008 3:49 PM
>>>>>To: csound@lists.bath.ac.uk
>>>>>Subject: [Csnd] Re: Re: PortAudio in 5.09 Windows Installer
>>>>>
>>>>>I checked one thing further:
>>>>>
>>>>>I copied rtpa.dll, csnd.dll and fluidOpcodes.dll from \plugins to \bin, 
>>>>>so
>>>>>they are in both locations. (Actually, csnd.dll is already in both.)
>>>>>
>>>>>Csound still can't find any of the three (same warnings).
>>>>>
>>>>>Art Hunkins
>>>>>
>>>>>----- Original Message ----- 
>>>>>From: "Michael Gogins" 
>>>>>To: 
>>>>>Sent: Tuesday, September 23, 2008 1:46 PM
>>>>>Subject: [Csnd] Re: PortAudio in 5.09 Windows Installer
>>>>>
>>>>>
>>>>>> Are these DLLs in the bin directory (where they should be)? Perhaps 
>>>>>> the
>>>>>> installer is putting them in the wrong place. I'll check that too...
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>> -----Original Message-----
>>>>>>>From: Art Hunkins 
>>>>>>>Sent: Sep 23, 2008 12:59 PM
>>>>>>>To: csound@lists.bath.ac.uk
>>>>>>>Subject: [Csnd] PortAudio in 5.09 Windows Installer
>>>>>>>
>>>>>>>Mike,
>>>>>>>
>>>>>>>A bit more info about the "pa" problem in the 5.09 Windows installer.
>>>>>>>
>>>>>>>I should think the problem relates to the warning messages below. 
>>>>>>>(This,
>>>>>>>with installation in the default directory.)
>>>>>>>
>>>>>>>Indeed all three .dll's are present where they should be.
>>>>>>>
>>>>>>>I tried installs in these locations (all without Python):
>>>>>>>C:\Program Files\Csound (the default)
>>>>>>>C:\Csound5.09
>>>>>>>C:\Csound509
>>>>>>>
>>>>>>>All gave the same result. I had thought perhaps that the default
>>>>>>>location
>>>>>>>might be required, or that the dot or space in the directory path 
>>>>>>>might
>>>>>>>be
>>>>>>>giving some problem. It seems not.
>>>>>>>
>>>>>>>Art Hunkins
>>>>>>>--------------------
>>>>>>>
>>>>>>>0dBFS level = 32768.0
>>>>>>>Csound version 5.09 beta (float samples) Sep 13 2008
>>>>>>>libsndfile-1.0.18pre22
>>>>>>>Reading options from $CSOUNDRC: C:\Program Files\Csound\.csoundrc
>>>>>>>WARNING: could not open library 'C:\Program
>>>>>>>Files\Csound\plugins\rtpa.dll'
>>>>>>>(-1)
>>>>>>>WARNING: could not open library 'C:\Program
>>>>>>>Files\Csound\plugins\csnd.dll'
>>>>>>>(-1)
>>>>>>>WARNING: could not open library 'C:\Program
>>>>>>>Files\Csound\plugins\fluidOpcodes.dl
>>>>>>>l' (-1)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>Send bugs reports to this list.
>>>>>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>>>>"unsubscribe
>>>>>>>csound"
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to this list.
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>
>>>>>
>>>>>
>>>>>Send bugs reports to this list.
>>>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>>>csound"
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>
>>>
>>>
>>>Send bugs reports to this list.
>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>>>csound"
>>
>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>> csound" 
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"