> On Thu, Jul 9, 2009 at 10:43 AM, Rory Walsh<
rorywalsh@...>
> wrote:> As far as I'm aware you can do it by including a file
> with the UDO
> > too, as Charles did. He had a syntax error, from looking at
> the code I
> > wonder if it was caused by an L instead of a 1 in the score section,
> > as in il instead of i1? Either way the UDO was recognised so the
> > problem wasn't with that.
>
> Yes, changing to i1 did, of course, fix it. Thank you
> both! FYI,
> while both instruments work as advertised (thank you Rory!), I
> do get
> an error message from both the example and Rory's instrument
> . In
> case it is important:
>
> WARNING: table.a: table index type inconsistent with output
>
>
> Full log:
>
> PortMIDI real time MIDI plugin for Csound
> PortMIDI real time MIDI plugin for Csound
> PortAudio real-time audio module for Csound
> PortAudio real-time audio module for Csound
> virtual_keyboard real time MIDI plugin for Csound
> virtual_keyboard real time MIDI plugin for Csound
> 0dBFS level = 32768.0
> 0dBFS level = 32768.0
> Csound version 5.10 (double samples) Jan 9 2009
> Csound version 5.10 (double samples) Jan 9 2009
> libsndfile-1.0.18pre24
> libsndfile-1.0.18pre24
> Reading options from $CSOUNDRC: C:\Csound\.csoundrc
> Reading options from $CSOUNDRC: C:\Csound\.csoundrc
> UnifiedCSD: SigRec-test.csd
> UnifiedCSD: SigRec-test.csd
> STARTING FILE
> STARTING FILE
> Creating options
> Creating options
> Creating orchestra
> Creating orchestra
> Creating score
> Creating score
> orchname: c:\temp\cs707.orc
> orchname: c:\temp\cs707.orc
> scorename: c:\temp\cs714.sco
> scorename: c:\temp\cs714.sco
> rtaudio: PortAudio module enabled ... rtaudio: PortAudio module
> enabled ... using callback interface
> using callback interface
> rtmidi: PortMIDI module enabled
> rtmidi: PortMIDI module enabled
> orch compiler:
> orch compiler:
> 66 lines read
> 66 lines read
> opcode opcode SigRec SigRec a a akkiii akkiii
>
> instr instr 1 1
>
> LABELS list is full...extending to 10
> LABELS list is full...extending to 10
> LABELS list is full...extending to 15
> LABELS list is full...extending to 15
> Elapsed time at end of orchestra compile: real: 0.086s, CPU: 0.093s
> Elapsed time at end of orchestra compile: real: 0.086s, CPU: 0.093s
> sorting score ...
> sorting score ...
> ... done
> ... done
> Elapsed time at end of score sort: real: 0.087s, CPU: 0.093s
> Elapsed time at end of score sort: real: 0.087s, CPU: 0.093s
> Csound version 5.10 (double samples) Jan 9 2009
> Csound version 5.10 (double samples) Jan 9 2009
> displays suppressed
> displays suppressed
> 0dBFS level = 32768.0
> 0dBFS level = 32768.0
> orch now loaded
> orch now loaded
> audio buffered in 64 sample-frame blocks
> audio buffered in 64 sample-frame blocks
> reading 128-byte blks of shorts from adc4 (RAW)
> reading 128-byte blks of shorts from adc4 (RAW)
> PortAudio V19-devel (built Jan 6 2009 21:14:14)
> PortAudio V19-devel (built Jan 6 2009 21:14:14)
> PortAudio: available input devices:
> PortAudio: available input devices:
> 0: Microsoft Sound Mapper - Input
> 0: Microsoft Sound Mapper - Input
> 1: E-DSP Wave [EC00]
> 1: E-DSP Wave [EC00]
> 2: Primary Sound Capture Driver
> 2: Primary Sound Capture Driver
> 3: E-DSP Wave [EC00]
> 3: E-DSP Wave [EC00]
> 4: E-MU ASIO
> 4: E-MU ASIO
> PortAudio: selected input device 'E-MU ASIO'
> PortAudio: selected input device 'E-MU ASIO'
> PortAudio: available output devices:
> PortAudio: available output devices:
> 0: Microsoft Sound Mapper - Output
> 0: Microsoft Sound Mapper - Output
> 1: E-DSP Wave [EC00]
> 1: E-DSP Wave [EC00]
> 2: Primary Sound Driver
> 2: Primary Sound Driver
> 3: E-DSP Wave [EC00]
> 3: E-DSP Wave [EC00]
> 4: E-MU ASIO
> 4: E-MU ASIO
> PortAudio: selected output device 'E-MU ASIO'
> PortAudio: selected output device 'E-MU ASIO'
> writing 128-byte blks of shorts to dac4writing 128-byte blks of
> shorts to dac4
>
> SECTION 1:
> SECTION 1:
> ftable 1:
> ftable 1:
> B 0.000 .. 2.000 T 2.000 TT 2.000
> M:B 0.000 .. 2.000 T 2.000 TT
> 2.000 M:
> 0.0 0.0
>
> new alloc for instr 1:
> new alloc for instr 1:
> WARNING: table.a: table index type inconsistent with output
> B 2.000 .. 62.000 T 62.000 TT 62.000 M:B 2.000 ..
> 62.000 T 62.000 TT
> 62.000 M: 7700.8 7700.8
>
> Score finished in csoundPerform().
> Score finished in csoundPerform().
> inactive allocs returned to freespace
> inactive allocs returned to freespace
> end of
> score. overall amps:end of score. overall amps: 7700.8 7700.8
>
> overall samples out of range:
>
> overall samples out of
> range: 0 0
> 0 errors in performance
>
> 0 errors in performance
> Elapsed time at end of performance: real: 63.332s, CPU: 63.328s
> Elapsed time at end of performance: real: 63.332s, CPU: 63.328s
> 42722 128-byte soundblks of shorts written to dac442722 128-byte
> soundblks of shorts written to dac4
>
>
> Send bugs reports to this list.
> To unsubscribe, send email
sympa@... with body
> "unsubscribe csound"