[Csnd] csound6: gausstrig
| Date | 2013-05-16 00:40 | 
| From | peiman khosravi | 
| Subject | [Csnd] csound6: gausstrig | 
| Hello, 
Any ideas why the following code doesn't produce 10 impulses per second? 'gausstrig' is the culprit. Best, Peiman  <CsoundSynthesizer> <CsOptions> -odac -d -+msg_color=0 ;-o test.aif -d -+msg_color=0 -A -3 </CsOptions> ; ============================================== <CsInstruments> sr = 96000 ksmps = 10 nchnls = 1 0dbfs = 1 instr 1 a1 expon 1,p3,0.0001 a2 oscil a1*.2, 3040, -1 out a2 endin event_i "i", 2, 0, -1 instr 2 ktrig gausstrig 1, 10, 0 printk2 ktrig schedkwhen ktrig, 0.001, 100, 1, 0, .03 endin </CsInstruments> ; ============================================== <CsScore> f0 3600 </CsScore> </CsoundSynthesizer> | 
| Date | 2013-05-16 02:08 | 
| From | Dave Seidel | 
| Subject | Re: [Csnd] csound6: gausstrig | 
| Is instr 2 ever going to get fired if event_i is outside of an instrument definition? On Wed, May 15, 2013 at 7:40 PM, peiman khosravi <peimankhosravi@gmail.com> wrote: 
 | 
| Date | 2013-05-16 02:24 | 
| From | peiman khosravi | 
| Subject | Re: [Csnd] csound6: gausstrig | 
| I didn't know until today. But at least in csound 6: yes!  www.peimankhosravi.co.uk || Subscribe to RSS Feed To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section. On 16 May 2013 02:08, Dave Seidel <dave.seidel@gmail.com> wrote: 
 | 
| Date | 2013-05-16 02:27 | 
| From | Rory Walsh | 
| Subject | Re: [Csnd] csound6: gausstrig | 
| I assume it's picked up by instr0 when Csound first starts? On 16 May 2013 02:24, peiman khosravi | 
| Date | 2013-05-16 02:43 | 
| From | peiman khosravi | 
| Subject | Re: [Csnd] csound6: gausstrig | 
| OK I got it. It must be a bug in gausstrig or csound6. It looks like the 'cps' parameter of gausstrig is internally devided by the ksmps value. So if ksmps is set to 10 then a frequency of one becomes 0.1. Can't be normal, right?  www.peimankhosravi.co.uk || Subscribe to RSS Feed To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section. On 16 May 2013 02:27, Rory Walsh <rorywalsh@ear.ie> wrote: I assume it's picked up by instr0 when Csound first starts? |