Hi All, I'm having a strange issue and wonder if it's a bug in Csound or in my own code. I've pasted in output from rendering and a CSD for testing. So far I'm seeing: -if I have one fluid note or two, Csound will stop at the end of that note, even though the instrument with fluidEngine should continue to render -if I have three or more fluid notes, Csound will stop rendering at the end of the second to last note (as in the example below) I've tried with a few different SoundFonts and don't believe it to be that. I have CS5 compiled from CVS on Fedora Core 4, gcc 4.0.2, and fluidSynth version 1.0.6. Oh, also, if I have other Csound notes from other instruments that are longer than the fluidEngine instrument note, things will continue to render as expected, so it seems to only happen when there's only fluid things going on. I'm still looking at fluidOpcodes.c but haven't found anything yet. Any ideas? Thanks, steven OUTPUT: [steven@localhost BSB_instruments]$ csound -d /work/blue/BSB_instruments/tempCsd61705.csd Localisation of messages is disabled, using default language. time resolution is 1.668 ns PortAudio real-time audio module for Csound PortMIDI real time MIDI plugin for Csound JACK real-time audio module for Csound by Istvan Varga ALSA real-time audio and MIDI module for Csound by Istvan Varga 0dBFS level = 32768.0 Csound version 5.00.1 beta (double samples) Feb 5 2006 libsndfile-1.0.11 UnifiedCSD: /work/blue/BSB_instruments/tempCsd61705.csd STARTING FILE Creating orchestra Creating score orchname: /tmp/filemuAcib.orc scorename: /tmp/filebt5qca.sco rtaudio: ALSA module enabled rtmidi: PortMIDI module enabled orch compiler: 29 lines read instr 1 instr 4 Elapsed time at end of orchestra compile: real: 0.069s, CPU: 0.010s sorting score ... ... done Elapsed time at end of score sort: real: 0.070s, CPU: 0.010s Csound version 5.00.1 beta (double samples) Feb 21 2006 displays suppressed 0dBFS level = 32768.0 Allocated fluidsynth with sampling rate = 44100.000000. Created Fluid Engine - Number : 0. Loading SoundFont : /work/audio/sf2/003.3mg GS Roland Sound Set 16 bit Bank.SF2.orch now loaded audio buffered in 1024 sample-frame blocks ALSA output: total buffer size: 8192, period size: 1024 writing 4096-byte blks of shorts to dac:hw:3,0 SECTION 1: new alloc for instr 1: new alloc for instr 4: B 0.000 .. 0.961 T 0.961 TT 0.961 M: 3312.6 3349.4 new alloc for instr 1: B 0.961 .. 3.177 T 3.177 TT 3.177 M: 3738.3 3779.7 B 3.177 .. 4.297 T 4.297 TT 4.297 M: 3278.1 3314.4 B 4.297 .. 5.959 T 5.959 TT 5.959 M: 3616.7 3656.8 Score finished in csoundPerform(). inactive allocs returned to freespace end of score. overall amps: 3738.3 3779.7 overall samples out of range: 0 0 0 errors in performance Elapsed time at end of performance: real: 7.176s, CPU: 1.730s 257 4096-byte soundblks of shorts written to dac:hw:3,0 Cleaning up Fluid Engines - Found: 1 Removing temporary file /tmp/fileNgfr88.srt ... Removing temporary file /tmp/filebt5qca.sco ... Removing temporary file /tmp/filemuAcib.orc ... CSD: sr=44100 ksmps=16 nchnls=2 gi_sfengine fluidEngine gi_soundfont_1 fluidLoad "/work/audio/sf2/003.3mg GS Roland Sound Set 16 bit Bank.SF2", gi_sfengine fluidProgramSelect gi_sfengine, gi_soundfont_1, gi_soundfont_1, 0.0, 0.0 instr 1 ;SoundFont Instrument fluidNote gi_sfengine, gi_soundfont_1, p4, p5 endin instr 4 ;FluidEngine Out aleft, aright fluidOut gi_sfengine aleft = aleft * 0dbfs aright = aright * 0dbfs outs aleft, aright endin i 4 0 8 i1 0.0 2.1935403 61 100 i1 0.9610873 2.7814996 62 100 i1 3.1772413 2.7814996 60 100 i1 4.2966256 2.7814996 62 100 e ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net