| buona sera -
most important would be that you explain more than "it doesn't work".
what does not work?
what is the console output?
are you using csoundqt? which platform?
etc pp
best -
joachim
Am 13.03.2014 22:31, schrieb Gpp:
> Good evening,
>
> I am working on this orchestra but it doesn't work. I guess it's because of
> the table for the slider I use at the beginning. May you please help me?
> Shell I upload the complete csd file with the widget?
> Thanks,
> Gpp
>
>
>
>
>
>
> sr = 44100
> ksmps = 256
> nchnls = 2
> 0dbfs = 1
>
>
>
> giExp20000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 10000.0 ;TABLES FOR EXP
> SLIDER
>
>
> instr 1 ;GUI
>
>
> ktrig metro 10
> if (ktrig == 1) then
>
> ;===============Amp
> gkamposc1 invalue "amp_osc1"
> outvalue "amp_osc1_display", gkamposc1
> gkamp_min_osc1 invalue "rnd_amp_min_osc1"
> gkamp_max_osc1 invalue "rnd_amp_max_osc1"
> gkamp_rnd_cps_osc1 invalue "rnd_cps_amp_osc1"
> outvalue "rnd_amp_min_osc1_display", gkamp_min_osc1
> outvalue "rnd_amp_max_osc1_display", gkamp_max_osc1
> outvalue "rnd_cps_amp_osc1_display", gkamp_rnd_cps_osc1
>
> ;=============Freq
> kfreq_off_osc1 invalue "freq_off_osc1" ; offset freq
> gkfreq_off_osc1 tablei kfreq_off_osc1, giExp20000, 1
> outvalue "freq_off_osc1_display", gkfreq_off_osc1
>
> ;=============LFO Freq
> gkfreq_range_osc1 invalue "freq_range_osc1" ;range freq
> outvalue "freq_range_osc1_display", gkfreq_range_osc1
> gkfreq_cps_osc1 invalue "freq_cps_osc1" ;cps LFO per freq
> outvalue "freq_cps_osc1_display", gkfreq_cps_osc1
> gkfnz_freq_osc1 invalue "fnz_freq_osc1" ;funzione LFO per freq
>
> ;=============random Freq
> gkrnd_freq_min_osc1 invalue "rnd_freq_min_osc1"
> gkrnd_freq_max_osc1 invalue "rnd_freq_max_osc1"
> gkrnd_freq_cps_osc1 invalue "rnd_freq_cps_osc1"
> outvalue "rnd_freq_min_osc1_display", gkrnd_freq_min_osc1
> outvalue "rnd_freq_max_osc1_display", gkrnd_freq_max_osc1
> outvalue "rnd_cps_freq_osc1_display", gkrnd_freq_cps_osc1
>
> ;=============fase, pan, waveform
> gkfnzosc1 invalue "fnz_osc1" ;waveform oscillatore
> gkphosc1 invalue "ph_osc1" ;fase oscillatore
> gkpanosc1 invalue "panosc1" ; pan oscillatore
> outvalue "pan_osc1_display", gkpanosc1
>
> endif
> endin
>
> instr 2
>
> ;==============kontrol
> k_rand_amp1 randomi gkamp_min_osc1, gkamp_max_osc1, gkamp_rnd_cps_osc1
>
> kfreqrange1 = gkfreq_off_osc1 * gkfreq_range_osc1
> kfreqrange1 = kfreqrange1 /2
> kfreq1 oscilikt kfreqrange1, gkfreq_cps_osc1, gkfnz_freq_osc1
> kfreq1 = gkfreq_off_osc1 + kfreq1
> k_rand_freq randomi gkrnd_freq_min_osc1, gkrnd_freq_max_osc1,
> gkrnd_freq_cps_osc1
> k_rand_freq = kfreq1 * k_rand_freq
> kfreq1 = kfreq1 + k_rand_freq
>
> kamposc1 = gkamposc1 + k_rand_amp1
>
> ;========================Machine
> as1 osciliktp kfreq1, gkfnzosc1, gkphosc1
>
>
>
> aoutL1 = as1 * gkamposc1 * gkpanosc1
> aoutR1 = as1 * gkamposc1 * (1 - gkpanosc1)
>
>
> aL = aoutL1
> aR = aoutR1
>
>
>
> outs aL, aR
>
> endin
>
>
>
>
> f 1 0 16384 10 1
>
> f 2 0 1024 16 1 1024 1 0
> f 3 0 1024 16 1 1024 2 0
> f 4 0 1024 16 1 1024 3 0
> f 5 0 1024 16 1 1024 4 0
> f 6 0 1024 16 1 1024 5 0
> f 7 0 1024 16 1 1024 6 0
> f 8 0 1024 16 1 1024 7 0
> f 9 0 1024 16 1 1024 8 0
> f 10 0 1024 16 1 1024 9 0
> f 11 0 1024 16 1 1024 10 0
> f 12 0 1024 16 1 1024 -1 0
> f 13 0 1024 16 1 1024 -2 0
> f 14 0 1024 16 1 1024 -3 0
> f 15 0 1024 16 1 1024 -4 0
> f 16 0 1024 16 1 1024 -5 0
> f 17 0 1024 16 1 1024 -6 0
> f 18 0 1024 16 1 1024 -7 0
> f 19 0 1024 16 1 1024 -8 0
> f 20 0 1024 16 1 1024 -9 0
> f 21 0 1024 16 1 1024 -10 0
> f 22 0 1024 16 0 1024 1 1
> f 23 0 1024 16 0 1024 2 1
> f 24 0 1024 16 0 1024 3 1
> f 25 0 1024 16 0 1024 4 1
> f 26 0 1024 16 0 1024 5 1
> f 27 0 1024 16 0 1024 6 1
> f 28 0 1024 16 0 1024 7 1
> f 29 0 1024 16 0 1024 8 1
> f 30 0 1024 16 0 1024 9 1
> f 31 0 1024 16 0 1024 10 1
> f 32 0 1024 16 0 1024 -1 1
> f 33 0 1024 16 0 1024 -2 1
> f 34 0 1024 16 0 1024 -3 1
> f 35 0 1024 16 0 1024 -4 1
> f 36 0 1024 16 0 1024 -5 1
> f 37 0 1024 16 0 1024 -6 1
> f 38 0 1024 16 0 1024 -7 1
> f 39 0 1024 16 0 1024 -8 1
> f 40 0 1024 16 0 1024 -9 1
> f 41 0 1024 16 0 1024 -10 1
> i1 0 1000
> e
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Table-for-the-slider-tp5733194.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
> https://sourceforge.net/p/csound/tickets/
> csound5:
> https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>
|