[Csnd] problem with midi performance
Date | 2009-08-31 16:56 |
From | Stefan Thomas |
Subject | [Csnd] problem with midi performance |
Attachments | 12tet.cps |
Dear community, I have a problem with the following csd-file. I want to use it for live-midi performance. But when I play, I don't hear anything. And (what I don't understand) an file test.wav is produced too, but it is silent. I can't find any mistake! Here the file: <CsoundSynthesizer> ;Fm-modulation with one carrier, modulated by two different modulators ;first trial with this Stuff by myself, 31.august 2009 ;<CsOptions> -odevaudio -M1 -b400 -m0d ;</CsOptions> ; ============================================== <CsInstruments> sr = 48000 kr = 2400 ksmps = 20 nchnls = 2 massign 0, 1 ; assign all midi events to instr 1, pgmassign 0, 1 ; also all program changes ipch = 8.02 iequal = 12 instr 1 ituningtable = 10 ; the number of the f-table inum notnum indx = inum * 2 + 1 ; values in table alternate between ; Midi note nums and frequencies icps table indx, ituningtable iamp ampmidi 10000 icarfrq = icps imodratio1 = 1 imodratio2 = 2 ifmindex1 = 1 ifmindex2 = 1 imodfrq1 = icarfrq * imodratio1 imodamp1 = imodfrq1 * ifmindex1 imodfrq2 = icarfrq * imodratio2 imodamp2 = imodfrq2 * ifmindex2 kfrq_mod_1 oscili imodamp1, imodfrq1, 1 kfrq_mod_2 oscili imodamp2, imodfrq2, 1 asig oscili iamp , icarfrq + kfrq_mod_1 + kfrq_mod_2, 1 outs asig, asig endin </CsInstruments> ; ============================================== <CsScore> f1 0 2048 10 1 ; a sinewave f 10 0 256 -23 "12tet.cps" i1 0 20 </CsScore> </CsoundSynthesizer > |
Date | 2009-08-31 17:47 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: problem with midi performance |
Just as a matter of interest, which platform are you using? > Dear community, > I have a problem with the following csd-file. > I want to use it for live-midi performance. But when I play, I don't hear > anything. > And (what I don't understand) an file test.wav is produced too, but it is > silent. > I can't find any mistake! > Here the file: > |
Date | 2009-09-01 06:34 |
From | Stefan Thomas |
Subject | [Csnd] Re: Re: problem with midi performance |
I'm using Kubuntu and XP. This patch I want to use in XP. 2009/8/31 <jpff@cs.bath.ac.uk> Just as a matter of interest, which platform are you using? |
Date | 2009-09-01 08:26 |
From | victor |
Subject | [Csnd] Re: problem with midi performance |
The CsOptions tag seems to be commented
out:
;<CsOptions>
-odevaudio -M1 -b400 -m0d ;</CsOptions>
|
Date | 2009-09-01 08:28 |
From | Oeyvind Brandtsegg |
Subject | [Csnd] Re: Re: Re: problem with midi performance |
It looks like you have commented out the |
Date | 2009-09-01 10:58 |
From | Stefan Thomas |
Subject | [Csnd] Re: Re: Re: Re: problem with midi performance |
Yes, off course! I didn't see the ";" before the <CsOptions>, too stupid! 2009/9/1 Oeyvind Brandtsegg <obrandts@gmail.com> It looks like you have commented out the <CsOptions> tag in your csd, like this |
Date | 2009-09-01 11:18 |
From | Oeyvind Brandtsegg |
Subject | [Csnd] Re: Re: Re: Re: Re: problem with midi performance |
Don't worry, this kind of thing happens to everyone once in a while ;-) 2009/9/1 Stefan Thomas |