| I think expseg does not ike a zero vaue
On Thu, 18 Jun 2015, Gabriele Battaglia wrote:
> Hello.
> Just doing exercise with CSound, I wrote this one:
>
>
>
> -odac
>
>
>
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 2
> 0dbfs = 1.0
> instr 1
> ;idea:creating an instrument that glisses from note to note and from pan
> to pan
>
> ; glissing notes
> in1 = cpspch(p4)
> in2 = cpspch(p5)
> kf expseg in1, p3, in2
> ; creating envelope
> kamp expseg 0.01, p3-.01, 0
> ; stereo stuff...
>
> a1 poscil kamp, kf, 1
> outs a1, a1
> endin
>
>
> f1 0 16385 10 1 1 1
> i1 0 2 8.00 8.04
> i1 + 4 9.06 9.02
>
>
>
> But I got no sound and the following output:
>
> virtual_keyboard real time MIDI plugin for Csound
> 0dBFS level = 32768.0
> Csound version 6.05 (double samples) Apr 24 2015
> libsndfile-1.0.25
> UnifiedCSD: secondo.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.002s, CPU: 0.000s
> sorting score ...
> ... done
> Elapsed time at end of score sort: real: 0.002s, CPU: 0.000s
> --Csound version 6.05 (double samples) Apr 24 2015
> graphics suppressed, ascii substituted
> 0dBFS level = 1.0
> orch now loaded
> audio buffered in 4096 sample-frame blocks
> PortAudio V19-devel (built Nov 27 2014 14:01:19)
> 0: dac0 (Microsoft Sound Mapper - Output)
> 1: dac1 (Altoparlanti (Realtek High Defi)
> 2: dac2 (Driver audio principale)
> 3: dac3 (Altoparlanti (Realtek High Definition Audio))
> PortAudio: selected output device 'Altoparlanti (Realtek High Defi'
> writing 8192 sample blks of 64-bit floats to dac
> SECTION 1:
> ftable 1:
> ftable 1: 16384 points, scalemax 1.000
> _-''-_
> _ .
> .
> ' _
> .
> '
> - '
> - _.--._
> ' - _- -_
> ___________________-________-__________-______________.-'''-____________________
> '.___.- '. .' '_
> '. .' .
> .
> '-..-' .
> _
> .
>
> '
> '
> '
> .
> -
> _
> - _
> '.__.
> new alloc for instr 1:
> kamp expseg 0.01 #i2 0
> B 0.000B 0.000 .. 2.000 T 2.000 TT 2.000 M: 0.00000 0.00000
> kamp expseg 0.01 #i2 0
> B 2.000Score finished in csoundPerform().
> inactive allocs returned to freespace
> end of score. overall amps: 0.00000 0.00000
> overall samples out of range: 0 0
> 2 errors in performance
> Elapsed time at end of performance: real: 2.157s, CPU: 2.151s
> closing device
> 22 8192 sample blks of 64-bit floats written to dac
>
> Probably the error is: kamp expseg 0.01 #i2 0
> But I can't understand what does it mean.
> Thanks for help.
> Gabriel.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |