Csound Csound-dev Csound-tekno Search About

[Cs-dev] PortAudio V19-devel

Date2015-07-14 14:11
Fromroberto_doati
Subject[Cs-dev] PortAudio V19-devel
Hi,

    please apologize if I missed any answer to my problem, but as far as I
was searching in the archive I wasn't able to find it.

    My problem is that Portaudio V19 doesn't always see my ASIO driver or,
better, it sees all my dac output devices at random. By "random" I means
that I compile my csd (CsOptions: -odac8 -M0 -Q2), if I see no dacs are
listed (and of course no sound is coming out from my dacs), I stop the
compilation and start again to compile. This until I get the list of dacs.
It could happen after 2 attempts, 5, 20, or 0.

    I'm running Csound 6.05 in winxound on a Windows 7 Home 64 bit with a
SCOPE pci card with its ASIO SCOPE PCI.

    This is the compile info when Portaudio doesn't see my dacs:
=========================================================

WinXound Commandline Info:
"C:\Program Files (x86)\Csound6\bin\csound.exe" -B4096 --displays
--asciidisplay "D:\IPCRESS\lestellesuggeriscononuoveopportunita_02.csd"

------- Compiler Start -------
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 6.05 (double samples) Jun 29 2015
libsndfile-1.0.25
UnifiedCSD:  D:\IPCRESS\lestellesuggeriscononuoveopportunita_02.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
rtaudio: PortAudio module enabled ... 
using callback interface
rtmidi: PortMIDI module enabled
Elapsed time at end of orchestra compile: real: 0.087s, CPU: 0.094s
sorting score ...
	... done
Elapsed time at end of score sort: real: 0.089s, CPU: 0.094s
0: Microsoft MIDI Mapper (portmidi)
1: Microsoft GS Wavetable Synth (portmidi)
2: Scope PCI MIDI 1 (portmidi)
3: Scope PCI MIDI 2 (portmidi)
PortMIDI: selected output device 2: 'Scope PCI MIDI 1' (MMSystem)
--Csound version 6.05 (double samples) Jun 29 2015
midi channel 1 using instr 1
midi channel 2 using instr 2
midi channel 3 using instr 3
midi channel 4 using instr 4
midi channel 5 using instr 5
midi channel 6 using instr 6
midi channel 7 using instr 7
midi channel 8 using instr 8
midi channel 9 using instr 9
midi channel 10 using instr 10
midi channel 11 using instr 11
midi channel 12 using instr 12
midi channel 13 using instr 13
midi channel 14 using instr 14
midi channel 15 using instr 15
midi channel 16 using instr 16
graphics suppressed, ascii substituted
0dBFS level = 32768.0
chnl 1 using instr 1
Strsets[10]: 'd:/IPCRESS/or_ipcress_01a5_512.pv'
Strsets[11]: 'd:/IPCRESS/voce_408.pv'
0: Scope PCI MIDI 1 (portmidi)
1: Scope PCI MIDI 2 (portmidi)
PortMIDI: Activated input device 0: 'Scope PCI MIDI 1' (MMSystem)
orch now loaded
audio buffered in 2048 sample-frame blocks
PortAudio V19-devel (built Nov 27 2014 14:01:19)
------- Compiler End -------
====================================


and this is the compile info when Portaudio sees my dacs:
====================================

WinXound Commandline Info:
"C:\Program Files (x86)\Csound6\bin\csound.exe" -B4096 --displays
--asciidisplay "D:\IPCRESS\lestellesuggeriscononuoveopportunita_02.csd"

------- Compiler Start -------
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 6.05 (double samples) Jun 29 2015
libsndfile-1.0.25
UnifiedCSD:  D:\IPCRESS\lestellesuggeriscononuoveopportunita_02.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
rtaudio: PortAudio module enabled ... 
using callback interface
rtmidi: PortMIDI module enabled
Elapsed time at end of orchestra compile: real: 0.083s, CPU: 0.078s
sorting score ...
	... done
Elapsed time at end of score sort: real: 0.085s, CPU: 0.094s
0: Microsoft MIDI Mapper (portmidi)
1: Microsoft GS Wavetable Synth (portmidi)
2: Scope PCI MIDI 1 (portmidi)
3: Scope PCI MIDI 2 (portmidi)
PortMIDI: selected output device 2: 'Scope PCI MIDI 1' (MMSystem)
--Csound version 6.05 (double samples) Jun 29 2015
midi channel 1 using instr 1
midi channel 2 using instr 2
midi channel 3 using instr 3
midi channel 4 using instr 4
midi channel 5 using instr 5
midi channel 6 using instr 6
midi channel 7 using instr 7
midi channel 8 using instr 8
midi channel 9 using instr 9
midi channel 10 using instr 10
midi channel 11 using instr 11
midi channel 12 using instr 12
midi channel 13 using instr 13
midi channel 14 using instr 14
midi channel 15 using instr 15
midi channel 16 using instr 16
graphics suppressed, ascii substituted
0dBFS level = 32768.0
chnl 1 using instr 1
Strsets[10]: 'd:/IPCRESS/or_ipcress_01a5_512.pv'
Strsets[11]: 'd:/IPCRESS/voce_408.pv'
0: Scope PCI MIDI 1 (portmidi)
1: Scope PCI MIDI 2 (portmidi)
PortMIDI: Activated input device 0: 'Scope PCI MIDI 1' (MMSystem)
orch now loaded
audio buffered in 2048 sample-frame blocks
PortAudio V19-devel (built Nov 27 2014 14:01:19)
   0: dac0 (Microsoft Sound Mapper - Output)
   1: dac1 (SCOPE (Sonic Core Pulsar2))
   2: dac2 (Altoparlanti (Sonic Core Pulsar)
   3: dac3 (Interfaccia SPDIF (Sonic Core P)
   4: dac4 (Interfaccia SPDIF (Sonic Core P)
   5: dac5 (Driver audio principale)
   6: dac6 (SCOPE (Sonic Core Pulsar2))
   7: dac7 (Altoparlanti (Sonic Core Pulsar2))
   8: dac8 (ASIO SCOPE PCI)
PortAudio: selected output device 'ASIO SCOPE PCI'
writing 4096 sample blks of 64-bit floats to dac8 
SECTION 1:
etc.
etc.
etc.
B  0.000 ..320.000 T320.000 TT320.000 M:   8073.0   8073.0
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score.		   overall amps:   8073.0   8073.0
	   overall samples out of range:        0        0
0 errors in performance
Elapsed time at end of performance: real: 320.511s, CPU: 320.527s
closing device
6891 4096 sample blks of 64-bit floats written to dac8
------- Compiler End -------

====================================

Thank you in advance to whom will have a possible explanation to that.


roberto doati


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net