Hi Iain, I tested here on a 32-bit system using Csound compiled for doubles and your file ran without problems, so I'm guessing it's got something to do with the 64bit system. If you've got the time, I'd recommend compiling with noDebug=0 and running with gdb to find out where in the code the segfault is happening. steven On 4/7/06, Iain Duncan wrote: > > > I am also segfaulting on the vco2 opcode. I do not get any messages > > about the opcode not being found, just a segfault. The same csd without > > vco2 is working fine. > > I have done more tests on this and can't get vco2 to work anymore. I do > not think it is an opcodedir problem because vco and moogvcf are working > fine. I could not get vco2 to work with any settings, both for real time > output and rendering to wave file. Attached is my test csd file, I also > tested with a seperate orc/sco but got the same results. This is from a > fresh checkout and build today. System is Gentoo64 linux. My csound > output is below: > > Thanks > Iain > > Localisation of messages is disabled, using default language. > time resolution is 1000.000 ns > ALSA real-time audio and MIDI module for Csound by Istvan Varga > JACK real-time audio module for Csound by Istvan Varga > PortAudio real-time audio module for Csound > WARNING: '/csound5/_csnd.so' is not a Csound plugin library > WARNING: '/csound5/libcompress.so' is not a Csound plugin library > 0dBFS level = 32768.0 > Csound version 5.01.1 beta (float samples) Mar 16 2006 > libsndfile-1.0.11 > UnifiedCSD: vco2.csd > STARTING FILE > Creating options > Creating orchestra > Creating score > orchname: /tmp/filesFG033.orc > scorename: /tmp/fileBGSfja.sco > rtaudio: ALSA module enabled > orch compiler: > 21 lines read > instr 1 > Elapsed time at end of orchestra compile: real: 0.001s, CPU: 0.000s > sorting score ... > ... done > Elapsed time at end of score sort: real: 0.001s, CPU: 0.000s > Csound version 5.01.1 beta (float samples) Mar 16 2006 > displays suppressed > 0dBFS level = 32768.0 > orch now loaded > audio buffered in 128 sample-frame blocks > ALSA output: total buffer size: 512, period size: 128 > writing 512-byte blks of shorts to dac > SECTION 1: > ftable 1: > new alloc for instr 1: > Csound tidy up: Segmentation fault > inactive allocs returned to freespace > end of score. overall amps: 0.0 0.0 > overall samples out of range: 0 0 > 0 errors in performance > Elapsed time at end of performance: real: 0.268s, CPU: 0.010s > 0 512-byte soundblks of shorts written to dac > Removing temporary file /tmp/fileRh2zyg.srt ... > Removing temporary file /tmp/fileBGSfja.sco ... > Removing temporary file /tmp/filesFG033.orc ... > > > > ;* csd file for cs_simple_3.c > > > ;* change your OS specific csound flags here > ;-+rtaudio=alsa -d -o dac --expression-opt -b128 -B512 > -+rtaudio=alsa -d -o dac -b128 -B512 > ;-d -o hw:0,2 -b128 -B512 > > > > sr = 44100 > ksmps = 4 > nchnls = 2 > > instr 1 > > ;a_sig vco 1, 200, 1, 0.5 > a_sig vco2 1, 200, 4, 0.5 > ;a_sig vco2 1, 200, 0 > ;a_sig vco2 1, 200 > > a_filt moogvcf a_sig, 8000, 0.4 > > a_amp_env linseg 0, 0.01, 1, p3 - 0.02, 1, 0.01, 0 > > a_out = a_filt * a_amp_env * 20000 > > outs a_out, a_out > > endin > > > > > ;* sine wave table > f1 0 8192 10 1 > > i1 0 0.75 > i1 1 0.75 > i1 2 0.75 > i1 3 0.75 > i1 4 0.75 > 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