Csound Csound-dev Csound-tekno Search About

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

Date2008-09-24 02:08
From"Art Hunkins"
Subject[Csnd] Re: Re: Re: Re: Re: Re: PortAudio in 5.09 Windows Installer
Hi, Steven,

Thanks for the suggestion. I tried it. Same result.

Actually, the uninstall gets rid of *everything* in the Csound folder - 
deletes the whole mess (including any .csd's you might have inadvertently 
left in there).

This was from a clean PATH as well.

For now, I'll revert to my 5.08 install, which though it can't load three 
*other* modules, has no problem loading the portaudio module, and so 
realizes fine. Just for comparison, below is my console output for 5.08:
--------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Art Hunkins>cd\csound5.08\bin

C:\Csound5.08\bin>csound pantest.csd
time resolution is 279.365 ns
PortAudio real-time audio module for Csound
PortMIDI real time MIDI plugin for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.08 beta (float samples) Mar 16 2008
libsndfile-1.0.17
WARNING: could not open library 'C:\Csound5.08\plugins\csnd.dll' (-1)
WARNING: could not open library 'C:\Csound5.08\plugins\minmax.dll' (-1)
WARNING: could not open library 'C:\Csound5.08\plugins\py.dll' (-1)
UnifiedCSD:  pantest.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname:  C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs36.orc
scorename: C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs37.sco
rtmidi: PortMIDI module enabled
rtaudio: PortAudio module enabled ... using callback interface
orch compiler:
38 lines read
        instr   1
        instr   2
sorting score ...
        ... done
Csound version 5.08 beta (float samples) Mar 16 2008
displays suppressed
0dBFS level = 32768.0
orch now loaded
audio buffered in 128 sample-frame blocks
before paHostApiInitializers[0].
Pa_GetDeviceInfo: Num input channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num input channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num input channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num input channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num output channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num output channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num output channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num output channels reported as 65535! Changed to 2.
after paHostApiInitializers[0].
before paHostApiInitializers[1].
after paHostApiInitializers[1].
before paHostApiInitializers[2].
ASIO names[0]:ASIO for UF400e
ASIO names[1]:ASIO US-428 (16 bit)
ASIO names[2]:ASIO US-428 (24 bit)
ASIO names[3]:GIGAPort AG ASIO driver
PaAsio_Initialize: drv:3 name = GIGAPort AG ASIO driver
PaAsio_Initialize: drv:3 inputChannels       = 0
PaAsio_Initialize: drv:3 outputChannels      = 8
PaAsio_Initialize: drv:3 bufferMinSize       = 256
PaAsio_Initialize: drv:3 bufferMaxSize       = 256
PaAsio_Initialize: drv:3 bufferPreferredSize = 256
PaAsio_Initialize: drv:3 bufferGranularity   = -1
PaAsio_Initialize: drv:3 defaultSampleRate = 44100.000000
PaAsio_Initialize: drv:3 defaultLowInputLatency = 0.005805
PaAsio_Initialize: drv:3 defaultLowOutputLatency = 0.005805
PaAsio_Initialize: drv:3 defaultHighInputLatency = 0.005805
PaAsio_Initialize: drv:3 defaultHighOutputLatency = 0.005805
after paHostApiInitializers[2].
before paHostApiInitializers[3].
after paHostApiInitializers[3].
PortAudio V19-devel (built Feb 23 2008)
PortAudio: available output devices:
   0: Microsoft Sound Mapper - Output
   1: Avance Sound
   2: VIA AC'97 Audio (WAVE)
   3: Bluetooth AV Audio
   4: Bluetooth SCO Audio
   5: Primary Sound Driver
   6: Avance Sound
   7: VIA AC'97 Audio (WAVE)
   8: Bluetooth AV Audio
   9: Bluetooth SCO Audio
  10: GIGAPort AG ASIO driver
PortAudio: selected output device 'Microsoft Sound Mapper - Output'
writing 512-byte blks of shorts to dac0
SECTION 1:
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score.              overall amps:   4701.3   4700.9
           overall samples out of range:        0        0
0 errors in performance
WinMME AbortStream: waiting for background thread.
6891 512-byte soundblks of shorts written to dac0
TerminateHostApis in
TerminateHostApis out
Removing temporary file C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs38.srt ...
Removing temporary file C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs37.sco ...
Removing temporary file C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs36.orc ...

C:\Csound5.08\bin>
------------
Art Hunkins

----- Original Message ----- 
From: "Steven Yi" 
To: 
Sent: Tuesday, September 23, 2008 8:29 PM
Subject: [Csnd] Re: Re: Re: Re: Re: PortAudio in 5.09 Windows Installer


> Hi Art,
>
> I wonder if the dll's somehow in the plugins folder are old?  Could
> you maybe uninstall, making sure there are no dll's in plugins folder,
> then reinstall?
>
> steven
>
> On Tue, Sep 23, 2008 at 5:10 PM, Art Hunkins  wrote:
>> 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"