Thread: [Bluemusic-users] p-fields continuing on next line
Brought to you by:
kunstmusik
From: Mark V. P. <Mar...@te...> - 2009-09-21 20:47:31
|
Hi, I just noticed a problem with Blue when importing from a csd-file or an orc- and sco-file: Csound seems to accept that the p-fields of i-statements and f-statements continue on several lines after the line where it starts. But Blue only keeps what is on the first line. Therefore such files are not imported correctly. As an example, if a score file contains 3 lines like i01 0 .49 6.00 87 0 0 0 40 12 13 14 15 16 17 2 8000 3 8 4 6 10 9 11 2 they are all p-fields of one i-statement, but Blue will turn it into i01 0 .49 6.00 87 0 0 0 40 Regards, -- Mark _________________________________________ When you get lemons, you make lemonade. When you get hardware, you make software. |
From: Steven Yi <ste...@gm...> - 2009-09-21 20:54:01
|
Hi Mark, Please enter this as a bug in the tracker. I'll have this one fixed when 2.0 goes out. Shouldn't be too much work to update blue's note parser for this. Thanks! steven On Mon, Sep 21, 2009 at 4:47 PM, Mark Van Peteghem <Mar...@te...> wrote: > Hi, > > I just noticed a problem with Blue when importing from a csd-file or an > orc- and sco-file: Csound seems to accept that the p-fields of > i-statements and f-statements continue on several lines after the line > where it starts. But Blue only keeps what is on the first line. > Therefore such files are not imported correctly. > > As an example, if a score file contains 3 lines like > > i01 0 .49 6.00 87 0 0 0 40 > 12 13 14 15 16 17 2 8000 > 3 8 4 6 10 9 11 2 > > they are all p-fields of one i-statement, but Blue will turn it into > > i01 0 .49 6.00 87 0 0 0 40 > > > Regards, > > -- > Mark > _________________________________________ > When you get lemons, you make lemonade. > When you get hardware, you make software. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
From: Brian W. <bri...@ho...> - 2009-09-21 22:26:36
|
Is there a way to get text printing commands like print, printk, printf, etc. to work within blue? If not, is there another way to achieve similar functionality? _________________________________________________________________ Internet explorer 8 lets you browse the web faster. http://go.microsoft.com/?linkid=9655582 |
From: Brian W. <bri...@ho...> - 2009-09-21 23:09:19
|
Ok, I see. It gets tossed in the middle of the Csound Output dialog. Thanks! _________________________________________________________________ Internet explorer 8 lets you browse the web faster. http://go.microsoft.com/?linkid=9655582 |
From: Brian W. <bri...@ho...> - 2009-09-26 13:59:44
|
<blueData version='0.125.0'> <projectProperties> <title></title> <author>Brian Wong</author> <notes></notes> <sampleRate>44100</sampleRate> <ksmps>20</ksmps> <channels>2</channels> <diskSampleRate>48000</diskSampleRate> <diskKsmps>1</diskKsmps> <diskChannels>2</diskChannels> <useAudioOut>true</useAudioOut> <useAudioIn>false</useAudioIn> <useMidiIn>true</useMidiIn> <useMidiOut>false</useMidiOut> <noteAmpsEnabled>true</noteAmpsEnabled> <outOfRangeEnabled>true</outOfRangeEnabled> <warningsEnabled>true</warningsEnabled> <benchmarkEnabled>true</benchmarkEnabled> <advancedSettings></advancedSettings> <completeOverride>false</completeOverride> <fileName></fileName> <askOnRender>false</askOnRender> <diskNoteAmpsEnabled>true</diskNoteAmpsEnabled> <diskOutOfRangeEnabled>true</diskOutOfRangeEnabled> <diskWarningsEnabled>true</diskWarningsEnabled> <diskBenchmarkEnabled>true</diskBenchmarkEnabled> <diskAdvancedSettings></diskAdvancedSettings> <diskCompleteOverride>false</diskCompleteOverride> <diskAlwaysRenderEntireProject>false</diskAlwaysRenderEntireProject> <csladspaSettings> <name/> <maker/> <uniqueId>0</uniqueId> <copyright/> <portDefinitionList/> <enabled>false</enabled> </csladspaSettings> </projectProperties> <arrangement> <instrumentAssignment arrangementId='1' isEnabled='true'> <instrument type='blue.orchestra.BlueSynthBuilder' editEnabled='true'> <name>Addroid-3</name> <comment>Addroid-3 is an nine oscillator additive synth designed to use what I call "subpatches" which can be loaded on an per note basis, chosen by pfield values. This allows score control of all i-rate variables. - Subpatch concept sucessfully working for phase, partials, bends, waveforms - Shoot for 19 oscillator version. - Panning - LFO ;inst strt dur amp freq phs para parb parc bnda bndb wav nlx </comment> <globalOrc>;[once]( gi_sine_<INSTR_ID> ftgen 0, 0, 65536, 10, 1 gi_saw_<INSTR_ID> ftgen 0, 0, 65536, 7, 1, 65536, -1 gi_square_<INSTR_ID> ftgen 0, 0, 65536, 7, 1, 32768, -1, 32768 gi_tri_<INSTR_ID> ftgen 0, 0, 65536, 7, -1, 32768, 1, 32768, -1 gi_pulse_<INSTR_ID> ftgen 0, 0, 65536, 7, 1, 16384, 1, 0, -1, 49152, -1 gi_phs_<INSTR_ID> ftgen 0, 0, -9, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ; Default : all phase values = 0 gi_phs0_<INSTR_ID> ftgen 0, 0, -9, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ; All phase values = 0 gi_phs1_<INSTR_ID> ftgen 0, 0, -9, -2, 0, .11111, .22222, .33333, .44444, .55555, .66666, .77777, .88888 ; phases evenly spread out gi_para_<INSTR_ID> ftgen 0, 0, -8, -2, 1, 1, 1, 1, 1, 1, 1, 1 ; Default subpatch for para (no partials) gi_parh0_<INSTR_ID> ftgen 0, 0, -8, -2, 2, 3, 4, 5, 6, 7, 8, 9 ; Subpatch for para : 1st 8 harmonics gi_parh1_<INSTR_ID> ftgen 0, 0, -8, -2, 2, 4, 6, 8, 10, 12, 14, 16 ; Subpatch for para : 1st 8 even harmonics gi_parh2_<INSTR_ID> ftgen 0, 0, -8, -2, 3, 5, 7, 9, 11, 13, 15, 17 ; Subpatch for para : 1st 8 odd harmonics gi_parh3_<INSTR_ID> ftgen 0, 0, -8, -2, 2, 3, 5, 7, 11, 13, 17, 19 ; Subpatch for para : 1st 8 prime harmonics gi_parb_<INSTR_ID> ftgen 0, 0, -9, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1 ; Default subpatch for parb (same as para) gi_parx0_<INSTR_ID> ftgen 0, 0, -9, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1 ; = para gi_parx1_<INSTR_ID> ftgen 0, 0, -9, -2, .5, .5, .5, .5, .5, .5, .5, .5, .5 ; 1 octave down gi_parc_<INSTR_ID> ftgen 0, 0, -9, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1 ; Default subpatch for parc (same as para) gi_bnda_<INSTR_ID> ftgen 0, 0, -9, -2, .5, .5, .5, .5, .5, .5, .5, .5, .5 ; Default subpatch for bnda gi_bndx0_<INSTR_ID> ftgen 0, 0, -9, -2, .5, .5, .5, .5, .5, .5, .5, .5, .5 ; = default gi_bndx1_<INSTR_ID> ftgen 0, 0, -9, -2, .2, .2, .2, .2, .2, .2, .2, .2, .2 ; = default gi_bndb_<INSTR_ID> ftgen 0, 0, -9, -2, .5, .5, .5, .5, .5, .5, .5, .5, .5 ; Default subpatch for bndb gi_wav_<INSTR_ID> ftgen 0, 0, -9, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ; Default : all sine waves gi_wavsin_<INSTR_ID> ftgen 0, 0, -9, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ; all sine waves gi_wavsaw_<INSTR_ID> ftgen 0, 0, -9, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1 ; all saw waves gi_wavsqr_<INSTR_ID> ftgen 0, 0, -9, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1 ; all square waves gi_wavtri_<INSTR_ID> ftgen 0, 0, -9, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1 ; all triangle waves gi_wavpul_<INSTR_ID> ftgen 0, 0, -9, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1 ; all pulse waves ;)</globalOrc> <globalSco/> <instrumentText>if (p6 == 0) then ; load the phase subpatch tablecopy gi_phs_<INSTR_ID>, gi_phs0_<INSTR_ID> elseif (p6 == 1) then tablecopy gi_phs_<INSTR_ID>, gi_phs1_<INSTR_ID> endif iphs1 table 0, gi_phs_<INSTR_ID> ; Starting phase value for each oscillator (p6) iphs2 table 1, gi_phs_<INSTR_ID> iphs3 table 2, gi_phs_<INSTR_ID> iphs4 table 3, gi_phs_<INSTR_ID> iphs5 table 4, gi_phs_<INSTR_ID> iphs6 table 5, gi_phs_<INSTR_ID> iphs7 table 6, gi_phs_<INSTR_ID> iphs8 table 7, gi_phs_<INSTR_ID> iphs9 table 8, gi_phs_<INSTR_ID> if (p7 == 0) then ; Starting partials (p7) tablecopy gi_para_<INSTR_ID>, gi_parh0_<INSTR_ID> ; this 1st section loads the subpatch ftable chosen via p6 elseif (p7 == 1) then tablecopy gi_para_<INSTR_ID>, gi_parh1_<INSTR_ID> elseif (p7 == 2) then tablecopy gi_para_<INSTR_ID>, gi_parh2_<INSTR_ID> elseif (p7 == 3) then tablecopy gi_para_<INSTR_ID>, gi_parh3_<INSTR_ID> endif ipara1 table 0, gi_para_<INSTR_ID> ; starting partials (* p5) ipara2 table 1, gi_para_<INSTR_ID> ipara3 table 2, gi_para_<INSTR_ID> ipara4 table 3, gi_para_<INSTR_ID> ipara5 table 4, gi_para_<INSTR_ID> ipara6 table 5, gi_para_<INSTR_ID> ipara7 table 6, gi_para_<INSTR_ID> ipara8 table 7, gi_para_<INSTR_ID> if (p8 == 0) then tablecopy gi_parb_<INSTR_ID>, gi_parx0_<INSTR_ID> elseif (p8 == 1) then tablecopy gi_parb_<INSTR_ID>, gi_parx1_<INSTR_ID> endif iparb1 table 0, gi_parb_<INSTR_ID> ; middle partial (*iparan) iparb2 table 1, gi_parb_<INSTR_ID> iparb3 table 2, gi_parb_<INSTR_ID> iparb4 table 3, gi_parb_<INSTR_ID> iparb5 table 4, gi_parb_<INSTR_ID> iparb6 table 5, gi_parb_<INSTR_ID> iparb7 table 6, gi_parb_<INSTR_ID> iparb8 table 7, gi_parb_<INSTR_ID> iparb9 table 8, gi_parb_<INSTR_ID> if (p9 == 0) then tablecopy gi_parc_<INSTR_ID>, gi_parx0_<INSTR_ID> elseif (p9 == 1) then tablecopy gi_parc_<INSTR_ID>, gi_parx1_<INSTR_ID> endif iparc1 table 0, gi_parc_<INSTR_ID> ; end partial (*iparan) iparc2 table 1, gi_parc_<INSTR_ID> iparc3 table 2, gi_parc_<INSTR_ID> iparc4 table 3, gi_parc_<INSTR_ID> iparc5 table 4, gi_parc_<INSTR_ID> iparc6 table 5, gi_parc_<INSTR_ID> iparc7 table 6, gi_parc_<INSTR_ID> iparc8 table 7, gi_parc_<INSTR_ID> iparc9 table 8, gi_parc_<INSTR_ID> if (p10 == 0) then ; 1st bend time (0-1) tablecopy gi_bnda_<INSTR_ID>, gi_bndx0_<INSTR_ID> elseif (p10 == 1) then tablecopy gi_bnda_<INSTR_ID>, gi_bndx1_<INSTR_ID> endif ibnda1 table 0, gi_bnda_<INSTR_ID> ibnda2 table 1, gi_bnda_<INSTR_ID> ibnda3 table 2, gi_bnda_<INSTR_ID> ibnda4 table 3, gi_bnda_<INSTR_ID> ibnda5 table 4, gi_bnda_<INSTR_ID> ibnda6 table 5, gi_bnda_<INSTR_ID> ibnda7 table 6, gi_bnda_<INSTR_ID> ibnda8 table 7, gi_bnda_<INSTR_ID> ibnda9 table 8, gi_bnda_<INSTR_ID> if (p11 == 0) then ; 2nd bend time (0-1) tablecopy gi_bndb_<INSTR_ID>, gi_bndx0_<INSTR_ID> elseif (p10 == 1) then tablecopy gi_bndb_<INSTR_ID>, gi_bndx1_<INSTR_ID> endif ibndb1 table 0, gi_bndb_<INSTR_ID> ibndb2 table 1, gi_bndb_<INSTR_ID> ibndb3 table 2, gi_bndb_<INSTR_ID> ibndb4 table 3, gi_bndb_<INSTR_ID> ibndb5 table 4, gi_bndb_<INSTR_ID> ibndb6 table 5, gi_bndb_<INSTR_ID> ibndb7 table 6, gi_bndb_<INSTR_ID> ibndb8 table 7, gi_bndb_<INSTR_ID> ibndb9 table 8, gi_bndb_<INSTR_ID> if (p12 == 0) then ; wave subpatch tablecopy gi_wav_<INSTR_ID>, gi_wavsin_<INSTR_ID> elseif (p12 == 1) then tablecopy gi_wav_<INSTR_ID>, gi_wavsaw_<INSTR_ID> elseif (p12 == 2) then tablecopy gi_wav_<INSTR_ID>, gi_wavsqr_<INSTR_ID> elseif (p12 == 3) then tablecopy gi_wav_<INSTR_ID>, gi_wavtri_<INSTR_ID> elseif (p12 == 4) then tablecopy gi_wav_<INSTR_ID>, gi_wavpul_<INSTR_ID> endif inva1 = 1 ; 1st envelope point inva2 = .01 inva3 = .01 inva4 = .01 inva5 = .01 inva6 = .01 inva7 = .01 inva8 = .01 inva9 = .01 invb1 = .32 ; 1st envelope time invb2 = .32 invb3 = .32 invb4 = .32 invb5 = .32 invb6 = .32 invb7 = .32 invb8 = .32 invb9 = .32 invc1 = .25 ; 2nd envelope point invc2 = .25 invc3 = .25 invc4 = .25 invc5 = .25 invc6 = .25 invc7 = .25 invc8 = .25 invc9 = .25 invd1 = .35 ; 2nd envelope time invd2 = .35 invd3 = .35 invd4 = .35 invd5 = .35 invd6 = .35 invd7 = .35 invd8 = .35 invd9 = .35 inve1 = .0625 ; 3rd envelope point inve2 = .0625 inve3 = .0625 inve4 = .0625 inve5 = .0625 inve6 = .0625 inve7 = .0625 inve8 = .0625 inve9 = .0625 invf1 = .34 ; 3rd envelope time invf2 = .34 invf3 = .34 invf4 = .34 invf5 = .34 invf6 = .34 invf7 = .34 invf8 = .34 invf9 = .34 kamp1 expseg inva1, invb1, invc1, (p3-invb1-invf1)*invd1, inve1, invf1, 0.01 kamp1 = kamp1*p4 kfq1 expseg inva1, p3*ibnda1, iparb1, p3*ibndb1, iparc1 kfq1 = kfq1*p5 iwav table 0, gi_wav_<INSTR_ID> if (iwav == 0) then a1 poscil3 kamp1, kfq1, gi_sine_<INSTR_ID>, iphs1 elseif (iwav == 1) then a1 poscil3 kamp1, kfq1, gi_saw_<INSTR_ID>, iphs1 elseif (iwav == 2) then a1 poscil3 kamp1, kfq1, gi_square_<INSTR_ID>, iphs1 elseif (iwav == 3) then a1 poscil3 kamp1, kfq1, gi_tri_<INSTR_ID>, iphs1 elseif (iwav == 4) then a1 poscil3 kamp1, kfq1, gi_pulse_<INSTR_ID>, iphs1 endif kamp2 expseg inva2, invb2, invc2, (p3-invb2-invf2)*invd2, inve2, invf2, 0.01 kamp2 = kamp2*p4*.6 kfq2 expseg 1, p3*ibnda2, iparb2, p3*ibndb2, iparc2 kfq2 = kfq2*p5*ipara1 iwav table 1, gi_wav_<INSTR_ID> if (iwav == 0) then a2 poscil3 kamp2, kfq2, gi_sine_<INSTR_ID>, iphs2 elseif (iwav == 1) then a2 poscil3 kamp2, kfq2, gi_saw_<INSTR_ID>, iphs2 elseif (iwav == 2) then a2 poscil3 kamp2, kfq2, gi_square_<INSTR_ID>, iphs2 elseif (iwav == 3) then a2 poscil3 kamp2, kfq2, gi_tri_<INSTR_ID>, iphs2 elseif (iwav == 4) then a2 poscil3 kamp2, kfq2, gi_pulse_<INSTR_ID>, iphs2 endif kamp3 expseg inva3, invb3, invc3, (p3-invb3-invf3)*invd3, inve3, invf3, 0.01 kamp3 = kamp3*p4*.5 kfq3 expseg 1, p3*ibnda3, iparb3, p3*ibndb3, iparc3 kfq3 = kfq3*p5*ipara2 iwav table 2, gi_wav_<INSTR_ID> if (iwav == 0) then a3 poscil3 kamp3, kfq3, gi_sine_<INSTR_ID>, iphs3 elseif (iwav == 1) then a3 poscil3 kamp3, kfq3, gi_saw_<INSTR_ID>, iphs3 elseif (iwav == 2) then a3 poscil3 kamp3, kfq3, gi_square_<INSTR_ID>, iphs3 elseif (iwav == 3) then a3 poscil3 kamp3, kfq3, gi_tri_<INSTR_ID>, iphs3 elseif (iwav == 4) then a3 poscil3 kamp3, kfq3, gi_pulse_<INSTR_ID>, iphs3 endif kamp4 expseg inva4, invb4, invc4, (p3-invb4-invf4)*invd4, inve4, invf4, 0.01 kamp4 = kamp4*p4*.4 kfq4 expseg 1, p3*ibnda4, iparb4, p3*ibndb4, iparc4 kfq4 = kfq4*p5*ipara3 iwav table 3, gi_wav_<INSTR_ID> if (iwav == 0) then a4 poscil3 kamp4, kfq4, gi_sine_<INSTR_ID>, iphs4 elseif (iwav == 1) then a4 poscil3 kamp4, kfq4, gi_saw_<INSTR_ID>, iphs4 elseif (iwav == 2) then a4 poscil3 kamp4, kfq4, gi_square_<INSTR_ID>, iphs4 elseif (iwav == 3) then a4 poscil3 kamp4, kfq4, gi_tri_<INSTR_ID>, iphs4 elseif (iwav == 4) then a4 poscil3 kamp4, kfq4, gi_pulse_<INSTR_ID>, iphs4 endif kamp5 expseg inva5, invb5, invc5, (p3-invb5-invf5)*invd5, inve5, invf5, 0.01 kamp5 = kamp5*p4*.3 kfq5 expseg 1, p3*ibnda5, iparb5, p3*ibndb5, iparc5 kfq5 = kfq5*p5*ipara4 iwav table 4, gi_wav_<INSTR_ID> if (iwav == 0) then a5 poscil3 kamp5, kfq5, gi_sine_<INSTR_ID>, iphs5 elseif (iwav == 1) then a5 poscil3 kamp5, kfq5, gi_saw_<INSTR_ID>, iphs5 elseif (iwav == 2) then a5 poscil3 kamp5, kfq5, gi_square_<INSTR_ID>, iphs5 elseif (iwav == 3) then a5 poscil3 kamp5, kfq5, gi_tri_<INSTR_ID>, iphs5 elseif (iwav == 4) then a5 poscil3 kamp5, kfq5, gi_pulse_<INSTR_ID>, iphs5 endif kamp6 expseg inva6, invb6, invc6, (p3-invb6-invf6)*invd6, inve6, invf6, 0.01 kamp6 = kamp6*p4*.2 kfq6 expseg 1, p3*ibnda6, iparb6, p3*ibndb6, iparc6 kfq6 = kfq6*p5*ipara5 iwav table 5, gi_wav_<INSTR_ID> if (iwav == 0) then a6 poscil3 kamp6, kfq6, gi_sine_<INSTR_ID>, iphs6 elseif (iwav == 1) then a6 poscil3 kamp6, kfq6, gi_saw_<INSTR_ID>, iphs6 elseif (iwav == 2) then a6 poscil3 kamp6, kfq6, gi_square_<INSTR_ID>, iphs6 elseif (iwav == 3) then a6 poscil3 kamp6, kfq6, gi_tri_<INSTR_ID>, iphs6 elseif (iwav == 4) then a6 poscil3 kamp6, kfq6, gi_pulse_<INSTR_ID>, iphs6 endif kamp7 expseg inva7, invb7, invc7, (p3-invb7-invf7)*invd7, inve7, invf7, 0.01 kamp7 = kamp7*p4 kfq7 expseg inva7, p3*ibnda7, iparb7, p3*ibndb7, iparc7 kfq7 = kfq7*p5*ipara6 iwav table 6, gi_wav_<INSTR_ID> if (iwav == 0) then a7 poscil3 kamp7, kfq7, gi_sine_<INSTR_ID>, iphs7 elseif (iwav == 1) then a7 poscil3 kamp7, kfq7, gi_saw_<INSTR_ID>, iphs7 elseif (iwav == 2) then a7 poscil3 kamp7, kfq7, gi_square_<INSTR_ID>, iphs7 elseif (iwav == 3) then a7 poscil3 kamp7, kfq7, gi_tri_<INSTR_ID>, iphs7 elseif (iwav == 4) then a7 poscil3 kamp7, kfq7, gi_pulse_<INSTR_ID>, iphs7 endif kamp8 expseg inva8, invb8, invc8, (p3-invb8-invf8)*invd8, inve8, invf8, 0.01 kamp8 = kamp8*p4 kfq8 expseg inva8, p3*ibnda8, iparb8, p3*ibndb8, iparc8 kfq8 = kfq8*p5*ipara7 iwav table 7, gi_wav_<INSTR_ID> if (iwav == 0) then a8 poscil3 kamp8, kfq1, gi_sine_<INSTR_ID>, iphs8 elseif (iwav == 1) then a8 poscil3 kamp8, kfq8, gi_saw_<INSTR_ID>, iphs8 elseif (iwav == 2) then a8 poscil3 kamp8, kfq8, gi_square_<INSTR_ID>, iphs8 elseif (iwav == 3) then a8 poscil3 kamp8, kfq8, gi_tri_<INSTR_ID>, iphs8 elseif (iwav == 4) then a8 poscil3 kamp8, kfq8, gi_pulse_<INSTR_ID>, iphs8 endif kamp9 expseg inva9, invb9, invc9, (p3-invb9-invf9)*invd9, inve9, invf9, 0.01 kamp9 = kamp9*p4 kfq9 expseg inva9, p3*ibnda9, iparb9, p3*ibndb9, iparc9 kfq9 = kfq9*p5*ipara8 iwav table 8, gi_wav_<INSTR_ID> if (iwav == 0) then a9 poscil3 kamp9, kfq9, gi_sine_<INSTR_ID>, iphs9 elseif (iwav == 1) then a9 poscil3 kamp9, kfq9, gi_saw_<INSTR_ID>, iphs9 elseif (iwav == 2) then a9 poscil3 kamp9, kfq9, gi_square_<INSTR_ID>, iphs9 elseif (iwav == 3) then a9 poscil3 kamp9, kfq9, gi_tri_<INSTR_ID>, iphs9 elseif (iwav == 4) then a9 poscil3 kamp9, kfq9, gi_pulse_<INSTR_ID>, iphs9 endif aout = (a1+a2+a3+a4+a6+a7+a8+a9)/9 blueMixerOut aout,aout</instrumentText> <graphicInterface editEnabled='true'> <uniqueNameManager nameIndex='-1' defaultPrefix='bsbObj'/> </graphicInterface> <bsbParameterList/> <presetGroup name='Presets'/> <opcodeList/> </instrument> </instrumentAssignment> </arrangement> <mixer> <enabled>true</enabled> <extraRenderTime>0.0</extraRenderTime> <channelList list='channels'> <channel> <name>1</name> <outChannel>Master</outChannel> <level>8.7</level> <muted>false</muted> <solo>false</solo> <effectsChain bin='pre'/> <effectsChain bin='post'/> <parameter uniqueId='-627453245' name='Volume' label='dB' min='-96.0' max='12.0' resolution='-1.0' automationEnabled='false' value='8.7'> <line name='' version='2' max='12.0' min='-96.0' resolution='-1.0' color='-8355712' rightBound='false' endPointsLinked='false'> <linePoint x='0.0' y='8.7'/> </line> </parameter> </channel> </channelList> <channelList list='subChannels'/> <channel> <name>Master</name> <outChannel>Master</outChannel> <level>7.05</level> <muted>false</muted> <solo>false</solo> <effectsChain bin='pre'/> <effectsChain bin='post'/> <parameter uniqueId='-645951364' name='Volume' label='dB' min='-96.0' max='12.0' resolution='-1.0' automationEnabled='false' value='7.05'> <line name='' version='2' max='12.0' min='-96.0' resolution='-1.0' color='-8355712' rightBound='false' endPointsLinked='false'> <linePoint x='0.0' y='7.05'/> </line> </parameter> </channel> </mixer> <tables></tables> <soundObjectLibrary/> <globalOrcSco> <globalOrc></globalOrc> <globalSco></globalSco> </globalOrcSco> <opcodeList/> <liveData> <commandLine>csound -Wdo devaudio -L stdin</commandLine> <commandLineEnabled>false</commandLineEnabled> <commandLineOverride>false</commandLineOverride> </liveData> <soundObject type='blue.soundObject.PolyObject'> <subjectiveDuration>2.0</subjectiveDuration> <startTime>0.0</startTime> <name>root</name> <backgroundColor>-10066279</backgroundColor> <timeBehavior>0</timeBehavior> <noteProcessorChain/> <isRoot>true</isRoot> <pixelSecond>24</pixelSecond> <defaultHeightIndex>0</defaultHeightIndex> <snapEnabled>false</snapEnabled> <snapValue>1.0</snapValue> <timeDisplay>0</timeDisplay> <timeUnit>5</timeUnit> <soundLayer name='' muted='false' solo='false' heightIndex='0'> <noteProcessorChain/> <soundObject type='blue.soundObject.Comment'> <subjectiveDuration>4.0416665</subjectiveDuration> <startTime>0.0</startTime> <name>Comment</name> <backgroundColor>-12566464</backgroundColor> <commentText>Test project for the Addroid synth.</commentText> </soundObject> </soundLayer> <soundLayer name='' muted='false' solo='false' heightIndex='0'> <noteProcessorChain/> <soundObject type='blue.soundObject.PythonObject' onLoadProcessable='false'> <subjectiveDuration>32.0</subjectiveDuration> <startTime>0.0</startTime> <name>fmasgen 0</name> <backgroundColor>-12566464</backgroundColor> <timeBehavior>2</timeBehavior> <noteProcessorChain/> <pythonCode>from pmask import * # strt dur amp fq cf mf ndx phs instr = 1 # instrument number csta = 0 # start of score section cdur = 32 # end of score section phs = List([0,1], 'random') amp = Range(5999, 12999) fq = Range(20, 1000) dur = Range(.67,4.03) # duration of note para = List([0,1,2,3], 'random') parb = List([0,1], 'random') parc = List([0,1], 'random') bnda = List ([0,1], 'random') bndb = List ([0,1], 'random') wav = List ([0,1,2,3,4], 'random') len = dur myss = ScoreSection(csta, cdur, instr, dur, len, amp, fq, phs, para, parb, parc, bnda, bndb, wav) score = (str(myss)+'\n') # passes the string back to blue </pythonCode> </soundObject> </soundLayer> <soundLayer name='' muted='true' solo='false' heightIndex='0'> <noteProcessorChain/> <soundObject type='blue.soundObject.GenericScore'> <subjectiveDuration>10.0</subjectiveDuration> <startTime>0.0</startTime> <name>GenericScore</name> <backgroundColor>-12566464</backgroundColor> <timeBehavior>0</timeBehavior> <noteProcessorChain/> <score> ;inst strt dur amp freq phs para parb parc bnda bndb wav ;--------------------------------------------------------------------------------------------------- i1 0 1 12000 220 0 0 0 1 0 0 0 i1 1 1 10777 220 1 1 1 0 1 1 1 i1 2 1 11222 220 0 2 0 1 0 0 2 i1 3 1 11000 220 1 3 1 0 1 1 3 i1 4 1 10400 220 0 0 0 1 0 0 4 i1 5 1 12000 220 1 1 1 0 1 1 0 i1 6 1 13200 220 0 2 0 1 0 0 2 i1 7 1 14200 220 1 3 1 0 1 1 3 i1 8 1 15200 220 0 0 0 1 0 0 4 i1 9 1 16200 220 1 1 1 0 1 1 1 i1 10 1 17200 220 0 1 0 1 0 0 2 </score> </soundObject> </soundLayer> <soundLayer name='' muted='false' solo='false' heightIndex='1'> <noteProcessorChain/> </soundLayer> </soundObject> <scratchPadData> <isWordWrapEnabled>true</isWordWrapEnabled> <scratchText/> </scratchPadData> <noteProcessorChainMap/> <renderStartTime>0.0</renderStartTime> <renderEndTime>-1.0</renderEndTime> <markersList/> <loopRendering>false</loopRendering> <tempo> <enabled>true</enabled> <visible>false</visible> <line name='' version='2' max='240.0' min='30.0' resolution='-1.0' color='-8355712' rightBound='false' endPointsLinked='false'> <linePoint x='0.0' y='60.0'/> </line> </tempo> </blueData> |
From: Brian W. <bri...@ho...> - 2009-09-26 15:43:16
|
Dave, Apparently the problem is with my realtime render setup, no error occurs with disk render. I recently installed a new soundcard (Creative Audigy 4) and possibly may not have things setup correctly. I have tried various output devices, but the problem persists. The only options I have for Audio Driver that work are "PortAudio" and "pa_cb", and I was thinking perhaps the problem might lie with that. P. S. : I always liked "Aurora", and it really helped me learn how to use Scala with piano rolls back when I was starting out. :) BW > Date: Sat, 26 Sep 2009 10:38:42 -0400 > From: da...@su... > To: blu...@li... > Subject: Re: [Bluemusic-users] Error at end of render > > Hi Brian, > > This worked fine for me, both when I rendered to disk and in realtime. > I'm using different, though (a SoundBlaster Live external), so I > don't get the pm_winmm_term messages. Have you tried specifying a > different output device? I'm on WinXP. > > - Dave > > P.S. Thanks for the nice comment on my blog! > > Brian Wong wrote: > > I am having a problem with an instrument I am working on that I can't > > figure out. I get an error message popping up at the end of the > > performance. Here are the lines of text at the end of the Csound Output > > dialog : > > > > end of score. overall amps: 12426.6 12426.6 > > overall samples out of range: 0 0 > > 0 errors in performance > > Elapsed time at end of performance: real: 14.237s, CPU: 14.250s > > 108 16384-byte soundblks of shorts written to dac4 > > pm_winmm_term called > > pm_winmm_term exiting > > Csound tidy up: Segmentation violation > > pm_winmm_term called > > pm_winmm_term exiting > > > > I have attached a copy of the .blue project to this message. It is not a > > song, just a development project for the instrument (which is still > > uncompleted). Any suggestions or assistance would be much appreciated. > > > > Brian Wong > > -- > http://mysterybear.net > http://twitter.com/DaveSeidel > http://daveseidel.tumblr.com > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users _________________________________________________________________ Internet explorer 8 lets you browse the web faster. http://go.microsoft.com/?linkid=9655582 |
From: Dave S. <da...@su...> - 2009-09-21 22:56:38
|
Not sure what you mean -- I use these all the time in blue instruments, to print things out to the console when Csound renders the piece. - Dave Brian Wong wrote: > Is there a way to get text printing commands like *print, printk, > printf*, etc. to work within blue? If not, is there another way to > achieve similar functionality? -- http://mysterybear.net http://twitter.com/DaveSeidel http://daveseidel.tumblr.com |
From: Dave S. <da...@su...> - 2009-09-22 00:53:23
|
Yes, the Csound Output dialog just captures what you would normally see when running CSound from the command line in a console. - Dave Brian Wong wrote: > Ok, I see. It gets tossed in the middle of the Csound Output dialog. Thanks! |
From: Mark V. P. <Mar...@te...> - 2009-09-22 16:16:50
|
Ok, I just submitted it. Mark Steven Yi wrote: > Hi Mark, > > Please enter this as a bug in the tracker. I'll have this one fixed > when 2.0 goes out. Shouldn't be too much work to update blue's note > parser for this. > > Thanks! > steven > > On Mon, Sep 21, 2009 at 4:47 PM, Mark Van Peteghem > <Mar...@te...> wrote: > >> Hi, >> >> I just noticed a problem with Blue when importing from a csd-file or an >> orc- and sco-file: Csound seems to accept that the p-fields of >> i-statements and f-statements continue on several lines after the line >> where it starts. But Blue only keeps what is on the first line. >> Therefore such files are not imported correctly. >> >> As an example, if a score file contains 3 lines like >> >> i01 0 .49 6.00 87 0 0 0 40 >> 12 13 14 15 16 17 2 8000 >> 3 8 4 6 10 9 11 2 >> >> they are all p-fields of one i-statement, but Blue will turn it into >> >> i01 0 .49 6.00 87 0 0 0 40 >> >> >> Regards, >> >> -- >> Mark >> _________________________________________ >> When you get lemons, you make lemonade. >> When you get hardware, you make software. >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Bluemusic-users mailing list >> Blu...@li... >> https://lists.sourceforge.net/lists/listinfo/bluemusic-users >> >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > -- Mark _________________________________________ When you get lemons, you make lemonade. When you get hardware, you make software. |
From: Steven Yi <ste...@gm...> - 2009-09-22 16:31:43
|
Thanks! On 9/22/09, Mark Van Peteghem <Mar...@te...> wrote: > Ok, I just submitted it. > > Mark > > Steven Yi wrote: >> Hi Mark, >> >> Please enter this as a bug in the tracker. I'll have this one fixed >> when 2.0 goes out. Shouldn't be too much work to update blue's note >> parser for this. >> >> Thanks! >> steven >> >> On Mon, Sep 21, 2009 at 4:47 PM, Mark Van Peteghem >> <Mar...@te...> wrote: >> >>> Hi, >>> >>> I just noticed a problem with Blue when importing from a csd-file or an >>> orc- and sco-file: Csound seems to accept that the p-fields of >>> i-statements and f-statements continue on several lines after the line >>> where it starts. But Blue only keeps what is on the first line. >>> Therefore such files are not imported correctly. >>> >>> As an example, if a score file contains 3 lines like >>> >>> i01 0 .49 6.00 87 0 0 0 40 >>> 12 13 14 15 16 17 2 8000 >>> 3 8 4 6 10 9 11 2 >>> >>> they are all p-fields of one i-statement, but Blue will turn it into >>> >>> i01 0 .49 6.00 87 0 0 0 40 >>> >>> >>> Regards, >>> >>> -- >>> Mark >>> _________________________________________ >>> When you get lemons, you make lemonade. >>> When you get hardware, you make software. >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry® Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart your >>> developing skills, take BlackBerry mobile applications to market and stay >>> ahead of the curve. Join us from November 9-12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconf >>> _______________________________________________ >>> Bluemusic-users mailing list >>> Blu...@li... >>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users >>> >>> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Bluemusic-users mailing list >> Blu...@li... >> https://lists.sourceforge.net/lists/listinfo/bluemusic-users >> >> >> > > -- > Mark > _________________________________________ > When you get lemons, you make lemonade. > When you get hardware, you make software. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > -- Sent from my mobile device |
From: Dave S. <da...@su...> - 2009-09-26 14:39:14
|
Hi Brian, This worked fine for me, both when I rendered to disk and in realtime. I'm using different, though (a SoundBlaster Live external), so I don't get the pm_winmm_term messages. Have you tried specifying a different output device? I'm on WinXP. - Dave P.S. Thanks for the nice comment on my blog! Brian Wong wrote: > I am having a problem with an instrument I am working on that I can't > figure out. I get an error message popping up at the end of the > performance. Here are the lines of text at the end of the Csound Output > dialog : > > end of score. overall amps: 12426.6 12426.6 > overall samples out of range: 0 0 > 0 errors in performance > Elapsed time at end of performance: real: 14.237s, CPU: 14.250s > 108 16384-byte soundblks of shorts written to dac4 > pm_winmm_term called > pm_winmm_term exiting > Csound tidy up: Segmentation violation > pm_winmm_term called > pm_winmm_term exiting > > I have attached a copy of the .blue project to this message. It is not a > song, just a development project for the instrument (which is still > uncompleted). Any suggestions or assistance would be much appreciated. > > Brian Wong -- http://mysterybear.net http://twitter.com/DaveSeidel http://daveseidel.tumblr.com |
From: Dave S. <da...@su...> - 2009-09-26 16:01:09
|
You might consider posting a stripped down example (i.e., CSD only) to the Csound list. I'm delving more into realtime myself right now, but there are people there who know much more than I do along those lines. - Dave Brian Wong wrote: > Dave, > > Apparently the problem is with my realtime render setup, no error occurs > with disk render. I recently installed a new soundcard (Creative Audigy > 4) and possibly may not have things setup correctly. I have tried > various output devices, but the problem persists. The only options I > have for Audio Driver that work are "PortAudio" and "pa_cb", and I was > thinking perhaps the problem might lie with that. > > P. S. : I always liked "Aurora", and it really helped me learn how to > use Scala with piano rolls back when I was starting out. :) > > BW |
From: Brian W. <bri...@ho...> - 2009-09-26 16:15:08
|
Once I get the instrument closer to complete I will do that Dave, I was planning on creating a .orc version eventually in any case. The error message is really just an annoyance, I am more concerned that I get realtime rendering setup correctly. Thanks for your help! > Date: Sat, 26 Sep 2009 12:00:28 -0400 > From: da...@su... > To: blu...@li... > Subject: Re: [Bluemusic-users] Error at end of render > > You might consider posting a stripped down example (i.e., CSD only) to > the Csound list. I'm delving more into realtime myself right now, but > there are people there who know much more than I do along those lines. > > - Dave > > Brian Wong wrote: > > Dave, > > > > Apparently the problem is with my realtime render setup, no error occurs > > with disk render. I recently installed a new soundcard (Creative Audigy > > 4) and possibly may not have things setup correctly. I have tried > > various output devices, but the problem persists. The only options I > > have for Audio Driver that work are "PortAudio" and "pa_cb", and I was > > thinking perhaps the problem might lie with that. > > > > P. S. : I always liked "Aurora", and it really helped me learn how to > > use Scala with piano rolls back when I was starting out. :) > > > > BW > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users _________________________________________________________________ We are your photos. Share us now with Windows Live Photos. http://go.microsoft.com/?linkid=9666047 |