[Cs-dev] fluid synth problems
Date | 2006-05-24 08:31 |
From | matt ingalls |
Subject | [Cs-dev] fluid synth problems |
fluid synth examples in the manual are out of date, but i think i figured it out. however, it is crashing my front end. if i run from a terminal, i get these error messages: Csound version 5.01.0 (float samples) Mar 13 2006 ... Allocated fluidsynth with sampling rate = 44100.000000. Created Fluid Engine - Number : 0. Loading SoundFont : /Users/matt/Desktop/03ClaudioPiano.sf2. csound(994,0xa000ed98) malloc: *** error for object 0x416450: double free csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to debug csound(994,0xa000ed98) malloc: *** error for object 0x416290: double free csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to debug csound(994,0xa000ed98) malloc: *** error for object 0x417400: double free csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to debug i tried a few .sf2 files all with the same results. thanks, matt ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-24 09:54 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] fluid synth problems |
I did not test them. No idea really why they are crashing, I have not even looked at the code. Just built it. Perhaps other Mac users would be able to tell us if they ever worked. Victor At 08:31 24/05/2006, you wrote: >fluid synth examples in the manual are out of date, but i think i >figured it out. > >however, it is crashing my front end. > >if i run from a terminal, i get these error messages: > >Csound version 5.01.0 (float samples) Mar 13 2006 >... >Allocated fluidsynth with sampling rate = 44100.000000. >Created Fluid Engine - Number : 0. >Loading SoundFont : /Users/matt/Desktop/03ClaudioPiano.sf2. >csound(994,0xa000ed98) malloc: *** error for object 0x416450: double >free >csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to >debug >csound(994,0xa000ed98) malloc: *** error for object 0x416290: double >free >csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to >debug >csound(994,0xa000ed98) malloc: *** error for object 0x417400: double >free >csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to >debug > > > >i tried a few .sf2 files all with the same results. > > >thanks, >matt > > >------------------------------------------------------- >All the advantages of Linux Managed Hosting--Without the Cost and Risk! >Fully trained technicians. The highest number of Red Hat certifications in >the hosting industry. Fanatical Support. Click to learn more >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-24 09:57 |
From | Istvan Varga |
Subject | Re: [Cs-dev] fluid synth problems |
Attachments | None |
Date | 2006-05-24 15:40 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] fluid synth problems |
Hi Matt, I've never used the lfuidsynth opcodes, so can you point out what's specifically wrong with the manual? Cheers, Andrés On Wed, 2006-05-24 at 00:31 -0700, matt ingalls wrote: > fluid synth examples in the manual are out of date, but i think i > figured it out. > > however, it is crashing my front end. > > if i run from a terminal, i get these error messages: > > Csound version 5.01.0 (float samples) Mar 13 2006 > ... > Allocated fluidsynth with sampling rate = 44100.000000. > Created Fluid Engine - Number : 0. > Loading SoundFont : /Users/matt/Desktop/03ClaudioPiano.sf2. > csound(994,0xa000ed98) malloc: *** error for object 0x416450: double > free > csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to > debug > csound(994,0xa000ed98) malloc: *** error for object 0x416290: double > free > csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to > debug > csound(994,0xa000ed98) malloc: *** error for object 0x417400: double > free > csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to > debug > > > > i tried a few .sf2 files all with the same results. > > > thanks, > matt > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-24 16:14 |
From | David Akbari |
Subject | Re: [Cs-dev] fluid synth problems |
I had been using them for a few months, some time ago to convert large quantities of Standard MIDI files to DVD quality audio. I used this orchestra / score combination [0] (saved from Csound forums at cSounds.com) without error or issue on Mac OS 10.3.9. -David On May 24, 2006, at 3:54 AM, Victor Lazzarini wrote: > I did not test them. No idea really why they are crashing, I have > not even looked at the code. Just built it. Perhaps other > Mac users would be able to tell us if they ever worked. [0] |
Date | 2006-05-24 17:52 |
From | matt ingalls |
Subject | Re: [Cs-dev] fluid synth problems |
ok thanks. this is pretty much what i was doing. that csd crashes my front end also. [ see next mail ] On May 24, 2006, at 8:14 AM, David Akbari wrote: > I had been using them for a few months, some time ago to convert > large quantities of Standard MIDI files to DVD quality audio. > > I used this orchestra / score combination [0] (saved from Csound > forums at cSounds.com) without error or issue on Mac OS 10.3.9. > > > > -David > > On May 24, 2006, at 3:54 AM, Victor Lazzarini wrote: > >> I did not test them. No idea really why they are crashing, I have >> not even looked at the code. Just built it. Perhaps other >> Mac users would be able to tell us if they ever worked. > > > [0] > > |
Date | 2006-05-24 18:00 |
From | matt ingalls |
Subject | Re: [Cs-dev] fluid synth problems |
here is the stack trace from the crash with my frontend: is fluid_is_soundfont() in the fluidlib? Thread 0 Crashed: 0 libSystem.B.dylib 0x9002d920 flockfile + 32 1 libSystem.B.dylib 0x9001ab34 fread + 84 2 libfluidsynth.1.dylib 0x04e7f6a0 fluid_is_soundfont + 64 (icplusplus.c:28) 3 libfluidOpcodes.dylib 0x04e4db80 fluidLoadIopadr + 268 (icplusplus.c:28) 4 com.csounds.csoundlib 0x004163d0 init0 + 132 (icplusplus.c:28) 5 com.csounds.csoundlib 0x004220d0 oload + 4080 (icplusplus.c:28) 6 com.csounds.csoundlib 0x0041b73c musmon + 256 (icplusplus.c:28) 7 com.csounds.csoundlib 0x0048e5a0 csoundCompile + 3416 (icplusplus.c:28) 8 com.sonomatics.maccsound 0x00063cbc CSoundLib::Start() + 112 (CSoundLib.cp:198) any ideas? i still haven't been able to get sound from the commandline, but it might just be user error - and it doesn't crash. i also determined the malloc errors reported in the commandline have nothing to do with fluidSynth, they are ALWAYS reported when i try real-time Midi (-M). thanks, matt On May 24, 2006, at 1:57 AM, Istvan Varga wrote: > On Wednesday 24 May 2006 10:54, Victor Lazzarini wrote: > >> I did not test them. No idea really why they are crashing, I have >> not even looked at the code. Just built it. Perhaps other >> Mac users would be able to tell us if they ever worked. > > There is not really any code in the Fluid opcodes that would work > differently on OS X, so it is possible that the FluidSynth library > itself is old, buggy, or not correctly configured. > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and > Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-24 18:06 |
From | matt |
Subject | Re: [Cs-dev] fluid synth problems |
most of the opcodes used in the examples have changed [ fluidcontrol is now fluidControl ] and many of those have also changed syntax. it looks like the examples were made before you had to allocate an instance with fluidEngine and pass to most of the opcodes. i also got an error from midinoteonkey about p5 usage or something like that. you could use the csd that David just posted, although that seems a bit complex.. p.s. i also noticed a typo in vdelayk -- the syntax lists it returning a variable called 'vedelayk'! On May 24, 2006, at 7:40 AM, Andres Cabrera wrote: > Hi Matt, > I've never used the lfuidsynth opcodes, so can you point out what's > specifically wrong with the manual? > > Cheers, > Andrés > On Wed, 2006-05-24 at 00:31 -0700, matt ingalls wrote: >> fluid synth examples in the manual are out of date, but i think i >> figured it out. >> >> however, it is crashing my front end. >> >> if i run from a terminal, i get these error messages: >> >> Csound version 5.01.0 (float samples) Mar 13 2006 >> ... >> Allocated fluidsynth with sampling rate = 44100.000000. >> Created Fluid Engine - Number : 0. >> Loading SoundFont : /Users/matt/Desktop/03ClaudioPiano.sf2. >> csound(994,0xa000ed98) malloc: *** error for object 0x416450: double >> free >> csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to >> debug >> csound(994,0xa000ed98) malloc: *** error for object 0x416290: double >> free >> csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to >> debug >> csound(994,0xa000ed98) malloc: *** error for object 0x417400: double >> free >> csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to >> debug >> >> >> >> i tried a few .sf2 files all with the same results. >> >> >> thanks, >> matt >> >> >> ------------------------------------------------------- >> All the advantages of Linux Managed Hosting--Without the Cost and >> Risk! >> Fully trained technicians. The highest number of Red Hat >> certifications in >> the hosting industry. Fanatical Support. Click to learn more >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=107521&bid=248729&dat=121642 >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >> > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and > Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > -m@ ________________________ matt ingalls http://sfsound.org/matt.html ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-24 21:39 |
From | Istvan Varga |
Subject | Re: [Cs-dev] fluid synth problems |
Attachments | None |
Date | 2006-05-24 22:53 |
From | matt |
Subject | Re: [Cs-dev] fluid synth problems |
yes, at least for the few that i tested. [ and i am able to play the files fine in Quicktime synth ] On May 24, 2006, at 1:39 PM, Istvan Varga wrote: > On Wednesday 24 May 2006 18:52, matt ingalls wrote: > >> ok thanks. >> this is pretty much what i was doing. >> that csd crashes my front end also. > > Does the crash occur with all .sf2 files ? > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and > Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > -m@ ________________________ matt ingalls http://sfsound.org/matt.html ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-25 17:02 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] fluid synth problems |
Thanks Matt, I've modified the fluid opcodes examples and the vdelayk entry. I haven't tried them, but I think they should look better now. The examples now look like: sr = 44100 kr = 4410 ksmps = 10 nchnls = 2 0dbfs = 32767 ; LOAD SOUNDFONTS ienginenum1 fluidEngine ienginenum2 fluidEngine isfnum1 fluidLoad "Piano Steinway Grand Model C (21,738KB).sf2", ienginenum1, 1 fluidProgramSelect ienginenum1, 1, isfnum1, 0, 1 ; Bright Steinway, program 1, channel 1 fluidProgramSelect ienginenum1, 3, isfnum1, 0, 2 ; Concert Steinway with reverb, program 2, channel 3 isfnum2 fluidLoad "63.3mg The Sound Site Album Bank V1.0.SF2", ienginenum2, 1 fluidProgramSelect ienginenum2, 2, isfnum2, 0, 50 ; General MIDI, program 50, channel 2 ; SEND NOTES TO STEINWAY SOUNDFONT instr 1 ; FluidSynth Steinway Rev ; INITIALIZATION mididefault 60, p3 ; Default duration of 60 -- overridden by score. midinoteonkey p4, p5 ; Channels MIDI input to pfields. ; Use channel assigned in fluidload. ichannel = 1 ikey = p4 ivelocity = p5 istatus = 144 fluidControl ienginenum1, istatus, ichannel, ikey, ivelocity endin instr 2 ; GM soundfont ; INITIALIZATION mididefault 60, p3 ; Default duration of 60 -- overridden by score. midinoteonkey p4, p5 ; Channels MIDI input to pfields. ; Use channel assigned in fluidload. ichannel = 2 ikey = p4 ivelocity = p5 istatus = 144 fluidNote ienginenum2, ichannel, ikey, ivelocity endin instr 3 ; FluidSynth Steinway Rev ; INITIALIZATION mididefault 60, p3 ; Default duration of 60 -- overridden by score. midinoteonkey p4, p5 ; Channels MIDI input to pfields. ; Use channel assigned in fluidload. ichannel = 3 ikey = p4 ivelocity = p5 istatus = 144 fluidNote ienginenum1, ichannel, ikey, ivelocity endin ; COLLECT AUDIO FROM ALL SOUNDFONTS instr 100 ; Fluidsynth output ; INITIALIZATION ; Normalize so iamplitude for p5 of 80 == ampdb(80). iamplitude = ampdb(p5) * (10000.0 / 0.1) ; AUDIO aleft, aright fluidAllOut outs aleft * iamplitude, aright * iamplitude endin Any comments very welcome. Cheers, Andrés On Wed, 2006-05-24 at 10:06 -0700, matt wrote: > most of the opcodes used in the examples have changed > [ fluidcontrol is now fluidControl ] and many of those have > also changed syntax. it looks like the examples were made > before you had to allocate an instance with fluidEngine and pass > to most of the opcodes. i also got an error from midinoteonkey > about p5 usage or something like that. > > you could use the csd that David just posted, although that seems a bit > complex.. > > p.s. i also noticed a typo in vdelayk -- the syntax lists it returning > a variable called 'vedelayk'! > > > On May 24, 2006, at 7:40 AM, Andres Cabrera wrote: > > > Hi Matt, > > I've never used the lfuidsynth opcodes, so can you point out what's > > specifically wrong with the manual? > > > > Cheers, > > Andrés > > On Wed, 2006-05-24 at 00:31 -0700, matt ingalls wrote: > >> fluid synth examples in the manual are out of date, but i think i > >> figured it out. > >> > >> however, it is crashing my front end. > >> > >> if i run from a terminal, i get these error messages: > >> > >> Csound version 5.01.0 (float samples) Mar 13 2006 > >> ... > >> Allocated fluidsynth with sampling rate = 44100.000000. > >> Created Fluid Engine - Number : 0. > >> Loading SoundFont : /Users/matt/Desktop/03ClaudioPiano.sf2. > >> csound(994,0xa000ed98) malloc: *** error for object 0x416450: double > >> free > >> csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to > >> debug > >> csound(994,0xa000ed98) malloc: *** error for object 0x416290: double > >> free > >> csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to > >> debug > >> csound(994,0xa000ed98) malloc: *** error for object 0x417400: double > >> free > >> csound(994,0xa000ed98) malloc: *** set a breakpoint in szone_error to > >> debug > >> > >> > >> > >> i tried a few .sf2 files all with the same results. > >> > >> > >> thanks, > >> matt > >> > >> > >> ------------------------------------------------------- > >> All the advantages of Linux Managed Hosting--Without the Cost and > >> Risk! > >> Fully trained technicians. The highest number of Red Hat > >> certifications in > >> the hosting industry. Fanatical Support. Click to learn more > >> http://sel.as-us.falkag.net/sel? > >> cmd=lnk&kid=107521&bid=248729&dat=121642 > >> _______________________________________________ > >> Csound-devel mailing list > >> Csound-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/csound-devel > >> > >> > > > > > > > > ------------------------------------------------------- > > All the advantages of Linux Managed Hosting--Without the Cost and > > Risk! > > Fully trained technicians. The highest number of Red Hat > > certifications in > > the hosting industry. Fanatical Support. Click to learn more > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > -m@ > ________________________ > matt ingalls > http://sfsound.org/matt.html > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-29 21:13 |
From | matt ingalls |
Subject | Re: [Cs-dev] fluid synth problems |
hey andres, i am embarassed to ask as i should know this already, but how does one update the manual? is it in CVS on sourceforge? thanks, m On May 25, 2006, at 9:02 AM, Andres Cabrera wrote: > Thanks Matt, > I've modified the fluid opcodes examples and the vdelayk entry. I > haven't tried them, but I think they should look better now. The > examples now look like: > > sr = 44100 > kr = 4410 > ksmps = 10 > nchnls = 2 > 0dbfs = 32767 > > ; LOAD SOUNDFONTS > ienginenum1 fluidEngine > ienginenum2 fluidEngine > isfnum1 fluidLoad "Piano Steinway Grand Model C (21,738KB).sf2", > ienginenum1, 1 > fluidProgramSelect ienginenum1, 1, isfnum1, 0, 1 ; Bright Steinway, > program 1, channel 1 > fluidProgramSelect ienginenum1, 3, isfnum1, 0, 2 ; Concert Steinway > with > reverb, program 2, channel 3 > isfnum2 fluidLoad "63.3mg The Sound Site Album Bank V1.0.SF2", > ienginenum2, 1 fluidProgramSelect ienginenum2, 2, isfnum2, 0, 50 ; > General MIDI, program 50, channel 2 > > ; SEND NOTES TO STEINWAY SOUNDFONT > > instr 1 ; FluidSynth Steinway Rev > ; INITIALIZATION > mididefault 60, p3 ; Default duration of 60 -- > overridden by score. > midinoteonkey p4, p5 ; Channels MIDI input to pfields. > ; Use channel assigned in fluidload. > ichannel = 1 > ikey = p4 > ivelocity = p5 > istatus = 144 > fluidControl ienginenum1, istatus, ichannel, ikey, > ivelocity > endin > > instr 2 ; GM soundfont > ; INITIALIZATION > mididefault 60, p3 ; Default duration of 60 -- > overridden by score. > midinoteonkey p4, p5 ; Channels MIDI input to pfields. > ; Use channel assigned in fluidload. > ichannel = 2 > ikey = p4 > ivelocity = p5 > istatus = 144 > fluidNote ienginenum2, ichannel, ikey, ivelocity > endin > > instr 3 ; FluidSynth Steinway Rev > ; INITIALIZATION > mididefault 60, p3 ; Default duration of 60 -- > overridden by score. > midinoteonkey p4, p5 ; Channels MIDI input to pfields. > ; Use channel assigned in fluidload. > ichannel = 3 > ikey = p4 > ivelocity = p5 > istatus = 144 > fluidNote ienginenum1, ichannel, ikey, ivelocity > endin > > > ; COLLECT AUDIO FROM ALL SOUNDFONTS > > instr 100 ; Fluidsynth output > ; INITIALIZATION > ; Normalize so iamplitude for p5 of 80 == ampdb(80). > iamplitude = ampdb(p5) * (10000.0 / > 0.1) > ; AUDIO > aleft, aright fluidAllOut > outs aleft * iamplitude, aright * iamplitude > endin > > Any comments very welcome. > > Cheers, > Andrés > > > > > On Wed, 2006-05-24 at 10:06 -0700, matt wrote: >> most of the opcodes used in the examples have changed >> [ fluidcontrol is now fluidControl ] and many of those have >> also changed syntax. it looks like the examples were made >> before you had to allocate an instance with fluidEngine and pass >> to most of the opcodes. i also got an error from midinoteonkey >> about p5 usage or something like that. >> >> you could use the csd that David just posted, although that seems >> a bit >> complex.. >> >> p.s. i also noticed a typo in vdelayk -- the syntax lists it >> returning >> a variable called 'vedelayk'! >> >> >> On May 24, 2006, at 7:40 AM, Andres Cabrera wrote: >> >>> Hi Matt, >>> I've never used the lfuidsynth opcodes, so can you point out what's >>> specifically wrong with the manual? >>> >>> Cheers, >>> Andrés >>> On Wed, 2006-05-24 at 00:31 -0700, matt ingalls wrote: >>>> fluid synth examples in the manual are out of date, but i think i >>>> figured it out. >>>> >>>> however, it is crashing my front end. >>>> >>>> if i run from a terminal, i get these error messages: >>>> >>>> Csound version 5.01.0 (float samples) Mar 13 2006 >>>> ... >>>> Allocated fluidsynth with sampling rate = 44100.000000. >>>> Created Fluid Engine - Number : 0. >>>> Loading SoundFont : /Users/matt/Desktop/03ClaudioPiano.sf2. >>>> csound(994,0xa000ed98) malloc: *** error for object 0x416450: >>>> double >>>> free >>>> csound(994,0xa000ed98) malloc: *** set a breakpoint in >>>> szone_error to >>>> debug >>>> csound(994,0xa000ed98) malloc: *** error for object 0x416290: >>>> double >>>> free >>>> csound(994,0xa000ed98) malloc: *** set a breakpoint in >>>> szone_error to >>>> debug >>>> csound(994,0xa000ed98) malloc: *** error for object 0x417400: >>>> double >>>> free >>>> csound(994,0xa000ed98) malloc: *** set a breakpoint in >>>> szone_error to >>>> debug >>>> >>>> >>>> >>>> i tried a few .sf2 files all with the same results. >>>> >>>> >>>> thanks, >>>> matt >>>> >>>> >>>> ------------------------------------------------------- >>>> All the advantages of Linux Managed Hosting--Without the Cost and >>>> Risk! >>>> Fully trained technicians. The highest number of Red Hat >>>> certifications in >>>> the hosting industry. Fanatical Support. Click to learn more >>>> http://sel.as-us.falkag.net/sel? >>>> cmd=lnk&kid=107521&bid=248729&dat=121642 >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> All the advantages of Linux Managed Hosting--Without the Cost and >>> Risk! >>> Fully trained technicians. The highest number of Red Hat >>> certifications in >>> the hosting industry. Fanatical Support. Click to learn more >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >> >> -m@ >> ________________________ >> matt ingalls >> http://sfsound.org/matt.html >> >> >> >> ------------------------------------------------------- >> All the advantages of Linux Managed Hosting--Without the Cost and >> Risk! >> Fully trained technicians. The highest number of Red Hat >> certifications in >> the hosting industry. Fanatical Support. Click to learn more >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >> > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and > Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-05-30 02:55 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] fluid synth problems |
Hi Matt, No problem, it is in CVS, the module is called 'manual'. It is written in docbook-xml, I've found using something like emacs with xml mode or something like kate ideal for modifying manual entries (not sure what the best option for mac would be). There is the help file Steven wrote in the root directory of the module, which should cover adding entries to the manual, but just say if you need any help. Cheers, Andrés On Mon, 2006-05-29 at 13:13 -0700, matt ingalls wrote: > hey andres, > > i am embarassed to ask as i should know this already, > but how does one update the manual? is it in CVS > on sourceforge? > > thanks, > m > > On May 25, 2006, at 9:02 AM, Andres Cabrera wrote: > > > Thanks Matt, > > I've modified the fluid opcodes examples and the vdelayk entry. I > > haven't tried them, but I think they should look better now. The > > examples now look like: > > > > sr = 44100 > > kr = 4410 > > ksmps = 10 > > nchnls = 2 > > 0dbfs = 32767 > > > > ; LOAD SOUNDFONTS > > ienginenum1 fluidEngine > > ienginenum2 fluidEngine > > isfnum1 fluidLoad "Piano Steinway Grand Model C (21,738KB).sf2", > > ienginenum1, 1 > > fluidProgramSelect ienginenum1, 1, isfnum1, 0, 1 ; Bright Steinway, > > program 1, channel 1 > > fluidProgramSelect ienginenum1, 3, isfnum1, 0, 2 ; Concert Steinway > > with > > reverb, program 2, channel 3 > > isfnum2 fluidLoad "63.3mg The Sound Site Album Bank V1.0.SF2", > > ienginenum2, 1 fluidProgramSelect ienginenum2, 2, isfnum2, 0, 50 ; > > General MIDI, program 50, channel 2 > > > > ; SEND NOTES TO STEINWAY SOUNDFONT > > > > instr 1 ; FluidSynth Steinway Rev > > ; INITIALIZATION > > mididefault 60, p3 ; Default duration of 60 -- > > overridden by score. > > midinoteonkey p4, p5 ; Channels MIDI input to pfields. > > ; Use channel assigned in fluidload. > > ichannel = 1 > > ikey = p4 > > ivelocity = p5 > > istatus = 144 > > fluidControl ienginenum1, istatus, ichannel, ikey, > > ivelocity > > endin > > > > instr 2 ; GM soundfont > > ; INITIALIZATION > > mididefault 60, p3 ; Default duration of 60 -- > > overridden by score. > > midinoteonkey p4, p5 ; Channels MIDI input to pfields. > > ; Use channel assigned in fluidload. > > ichannel = 2 > > ikey = p4 > > ivelocity = p5 > > istatus = 144 > > fluidNote ienginenum2, ichannel, ikey, ivelocity > > endin > > > > instr 3 ; FluidSynth Steinway Rev > > ; INITIALIZATION > > mididefault 60, p3 ; Default duration of 60 -- > > overridden by score. > > midinoteonkey p4, p5 ; Channels MIDI input to pfields. > > ; Use channel assigned in fluidload. > > ichannel = 3 > > ikey = p4 > > ivelocity = p5 > > istatus = 144 > > fluidNote ienginenum1, ichannel, ikey, ivelocity > > endin > > > > > > ; COLLECT AUDIO FROM ALL SOUNDFONTS > > > > instr 100 ; Fluidsynth output > > ; INITIALIZATION > > ; Normalize so iamplitude for p5 of 80 == ampdb(80). > > iamplitude = ampdb(p5) * (10000.0 / > > 0.1) > > ; AUDIO > > aleft, aright fluidAllOut > > outs aleft * iamplitude, aright * iamplitude > > endin > > > > Any comments very welcome. > > > > Cheers, > > Andrés > > > > > > > > > > On Wed, 2006-05-24 at 10:06 -0700, matt wrote: > >> most of the opcodes used in the examples have changed > >> [ fluidcontrol is now fluidControl ] and many of those have > >> also changed syntax. it looks like the examples were made > >> before you had to allocate an instance with fluidEngine and pass > >> to most of the opcodes. i also got an error from midinoteonkey > >> about p5 usage or something like that. > >> > >> you could use the csd that David just posted, although that seems > >> a bit > >> complex.. > >> > >> p.s. i also noticed a typo in vdelayk -- the syntax lists it > >> returning > >> a variable called 'vedelayk'! > >> > >> > >> On May 24, 2006, at 7:40 AM, Andres Cabrera wrote: > >> > >>> Hi Matt, > >>> I've never used the lfuidsynth opcodes, so can you point out what's > >>> specifically wrong with the manual? > >>> > >>> Cheers, > >>> Andrés > >>> On Wed, 2006-05-24 at 00:31 -0700, matt ingalls wrote: > >>>> fluid synth examples in the manual are out of date, but i think i > >>>> figured it out. > >>>> > >>>> however, it is crashing my front end. > >>>> > >>>> if i run from a terminal, i get these error messages: > >>>> > >>>> Csound version 5.01.0 (float samples) Mar 13 2006 > >>>> ... > >>>> Allocated fluidsynth with sampling rate = 44100.000000. > >>>> Created Fluid Engine - Number : 0. > >>>> Loading SoundFont : /Users/matt/Desktop/03ClaudioPiano.sf2. > >>>> csound(994,0xa000ed98) malloc: *** error for object 0x416450: > >>>> double > >>>> free > >>>> csound(994,0xa000ed98) malloc: *** set a breakpoint in > >>>> szone_error to > >>>> debug > >>>> csound(994,0xa000ed98) malloc: *** error for object 0x416290: > >>>> double > >>>> free > >>>> csound(994,0xa000ed98) malloc: *** set a breakpoint in > >>>> szone_error to > >>>> debug > >>>> csound(994,0xa000ed98) malloc: *** error for object 0x417400: > >>>> double > >>>> free > >>>> csound(994,0xa000ed98) malloc: *** set a breakpoint in > >>>> szone_error to > >>>> debug > >>>> > >>>> > >>>> > >>>> i tried a few .sf2 files all with the same results. > >>>> > >>>> > >>>> thanks, > >>>> matt > >>>> > >>>> > >>>> ------------------------------------------------------- > >>>> All the advantages of Linux Managed Hosting--Without the Cost and > >>>> Risk! > >>>> Fully trained technicians. The highest number of Red Hat > >>>> certifications in > >>>> the hosting industry. Fanatical Support. Click to learn more > >>>> http://sel.as-us.falkag.net/sel? > >>>> cmd=lnk&kid=107521&bid=248729&dat=121642 > >>>> _______________________________________________ > >>>> Csound-devel mailing list > >>>> Csound-devel@lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel > >>>> > >>>> > >>> > >>> > >>> > >>> ------------------------------------------------------- > >>> All the advantages of Linux Managed Hosting--Without the Cost and > >>> Risk! > >>> Fully trained technicians. The highest number of Red Hat > >>> certifications in > >>> the hosting industry. Fanatical Support. Click to learn more > >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > >>> _______________________________________________ > >>> Csound-devel mailing list > >>> Csound-devel@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/csound-devel > >>> > >> > >> -m@ > >> ________________________ > >> matt ingalls > >> http://sfsound.org/matt.html > >> > >> > >> > >> ------------------------------------------------------- > >> All the advantages of Linux Managed Hosting--Without the Cost and > >> Risk! > >> Fully trained technicians. The highest number of Red Hat > >> certifications in > >> the hosting industry. Fanatical Support. Click to learn more > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > >> _______________________________________________ > >> Csound-devel mailing list > >> Csound-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/csound-devel > >> > >> > > > > > > > > ------------------------------------------------------- > > All the advantages of Linux Managed Hosting--Without the Cost and > > Risk! > > Fully trained technicians. The highest number of Red Hat > > certifications in > > the hosting industry. Fanatical Support. Click to learn more > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https |