Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Module loading (was Default file locations)

Date2007-12-18 02:47
From"Art Hunkins"
SubjectRe: [Cs-dev] Module loading (was Default file locations)
To pursue the general idea of putting much of the opening message output of 
Csound into a --verbose flag, I've another request.

In 5.06 (realtime Windows XP), with a CsOption of -m0, the following is 
typically printed:

Csound version 5.06 (float samples) Jul  1 2007
libsndfile-1.0.18pre10
UnifiedCSD:  C:\LettuceFinal\tempfile.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname:  C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs5.orc
scorename: C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs6.sco
rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled
orch compiler:
261 lines read
 instr 1
 instr 2
 instr 3
 instr 4
sorting score ...
 ... done
Csound version 5.06 (float samples) Jul  1 2007
displays suppressed
0dBFS level = 32768.0
Seeding from current time 3436198381
orch now loaded
audio buffered in 1024 sample-frame blocks
PortAudio V19-devel
PortAudio: available output devices:
   0: Microsoft Sound Mapper - Output
   1: Avance Sound
   2: VIA AC'97 Audio (WAVE)
   3: Primary Sound Driver
   4: Avance Sound
   5: VIA AC'97 Audio (WAVE)
   6: GIGAPort AG ASIO driver
PortAudio: selected output device 'Microsoft Sound Mapper - Output'
writing 4096-byte blks of shorts to dac0
SECTION 1:

------------
Most of the above I consider relevent information. 5.07.2, however (same 
.csd with -m0) prints the following (!!!! - with apologies):

Csound version 5.07 (float samples) Nov  8 2007
libsndfile-1.0.17
UnifiedCSD:  name3asc.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname:  C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs5.orc
scorename: C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs6.sco
rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled
orch compiler:
130 lines read
        instr   1
        instr   2
        instr   3
        instr   4
sorting score ...
        ... done
Csound version 5.07 (float samples) Nov  8 2007
displays suppressed
0dBFS level = 32768.0
Seeding from current time 272564296
orch now loaded
audio buffered in 1024 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 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 US-428 (16 bit)
ASIO names[1]:ASIO US-428 (24 bit)
ASIO names[2]:GIGAPort AG ASIO driver
PaAsio_Initialize: drv:2 name = GIGAPort AG ASIO driver
PaAsio_Initialize: drv:2 inputChannels       = 2
PaAsio_Initialize: drv:2 outputChannels      = 2
PaAsio_Initialize: drv:2 bufferMinSize       = 256
PaAsio_Initialize: drv:2 bufferMaxSize       = 256
PaAsio_Initialize: drv:2 bufferPreferredSize = 256
PaAsio_Initialize: drv:2 bufferGranularity   = -1
PaAsio_Initialize: drv:2 defaultSampleRate = 44100.000000
PaAsio_Initialize: drv:2 defaultLowInputLatency = 0.005805
PaAsio_Initialize: drv:2 defaultLowOutputLatency = 0.005805
PaAsio_Initialize: drv:2 defaultHighInputLatency = 0.005805
PaAsio_Initialize: drv:2 defaultHighOutputLatency = 0.005805
after paHostApiInitializers[2].
before paHostApiInitializers[3].
Setup called
Enum called
noError = 0
Enum called
noError = 1
Device 1 has render alias
Device 1 has capture alias
Enum called
noError = 1
Device 2 has render alias
Enum called
noError = 0
Enum called
noError = 1
Device 4 has render alias
Device 4 has capture alias
Enum called
noError = 1
Device 5 has render alias
Device 5 has capture alias
Enum called
noError = 0
Enum called
noError = 0
Enum called
noError = 0
Enum called
noError = 0
Enum called
noError = 0
Enum called
noError = 0
Enum called
Interfaces found: 4
Device 1 has render alias
Device 1 has capture alias
Interface 1, Name: VIA AC'97 Audio (WAVE)
Creating pin 0:
DR major format 73647561
MaxChannel: 0
Format 16 bit supported
48kHz supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
Pin created successfully
Creating pin 1:
Not source/sink
Creating pin 2:
DR major format 73647561
MaxChannel: 0
Format 16 bit supported
48kHz supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
Pin created successfully
Creating pin 3:
Not source/sink
Filter created
Device 2 has render alias
Interface 2, Name: Avance FM Synth
Creating pin 0:
DR major format e725d360
Creating pin 1:
Not source/sink
Filter NOT created
Device 4 has render alias
Device 4 has capture alias
Interface 4, Name: Avance MPU-401
Creating pin 0:
DR major format e725d360
Creating pin 1:
Not source/sink
Creating pin 2:
DR major format e725d360
Creating pin 3:
Not source/sink
Filter NOT created
Device 5 has render alias
Device 5 has capture alias
Interface 5, Name: Avance Sound
Creating pin 0:
DR major format 73647561
MaxChannel: 0
Format 16 bit supported
48kHz supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
Pin created successfully
Creating pin 1:
Not source/sink
Creating pin 2:
DR major format 73647561
MaxChannel: 0
Format 16 bit supported
48kHz supported
DR major format 73647561
MaxChannel: 2
Format 16 bit supported
Pin created successfully
Creating pin 3:
Not source/sink
Filter created
Device found name: VIA AC'97 Audio (WAVE)
Device found name: Avance Sound
after paHostApiInitializers[3].
before paHostApiInitializers[4].
after paHostApiInitializers[4].
PortAudio V19-devel (built Nov  8 2007)
PortAudio: available output devices:
   0: Microsoft Sound Mapper - Output
   1: Avance Sound
   2: VIA AC'97 Audio (WAVE)
   3: Primary Sound Driver
   4: Avance Sound
   5: VIA AC'97 Audio (WAVE)
   6: GIGAPort AG ASIO driver
   7: VIA AC'97 Audio (WAVE)
   8: Avance Sound
PortAudio: selected output device 'Microsoft Sound Mapper - Output'
writing 4096-byte blks of shorts to dac0
SECTION 1:

---------
Please, can all that extra be put in --verbose, or whatever - so it will be 
hidden from the average user? (The only things I really need are the list of 
audio out devices, and (if relevent) MIDI input devices.)

Art Hunkins

----- Original Message ----- 
From: "jpff" 
To: 
Sent: Sunday, December 16, 2007 6:00 AM
Subject: [Cs-dev] Module loading (was Default file locations)


>I have a version that delays printing the warnings about unloadable
> modules until the end of loading.  This could be delayed until later,
> and so controlled by command-line options.
> ==John ffitch 


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net