2006-08-17 Istvan Varga * Csound 5.1.00.0-beta1 release 2006-08-14 Istvan Varga * frontends/fltk_gui/main.cpp: allow for opening files specified on the command line * Engine/rdorch.cpp, H/csound.hpp, Top/csound.cpp, Top/main.cpp: made searching for #include files in directory of main file work with CSD files 2006-08-12 Istvan Varga * Opcodes/OSC.cpp: OSClisten: use new OENTRY flags for input args used as outputs * Opcodes/gab/vectorial.cpp: deal with the case of overlapping vectors * Opcodes/stk/stkOpcodes.cpp: fixed error (calling Instrmnt::noteoff() instead of Instrmnt::noteOff()) exposed by earlier fixes in OpcodeBase.hpp 2006-08-10 Istvan Varga * Opcodes/ugens9.cpp: pconvset: fixed overwriting of constants when the default partition size is used. Also changed the default partition size to the number of sample frames in the output buffer, rather than the number of samples as it was previously. * Opcodes/gab/vectorial.cpp, Opcodes/gab/vectorial.h: Made offset parameters k-rate. Also added optional flags for printing warnings on out of range index values; for now, no messages are actually printed. 2006-08-09 Istvan Varga * OOps/ugens1.cpp: fixed several incorrect uses of Csound::AuxAlloc() * Opcodes/sockrecv.cpp: initialize SOCKRECV structure before creating thread, to avoid race condition * Opcodes/ugmoss.cpp: dconvset(): always clear aux space to zero vcombset(): do not assume sizeof(MYFLT) == sizeof(long) 2006-08-08 Istvan Varga * Opcodes/gab/vectorial.cpp, Opcodes/gab/vectorial.h: New opcodes: vaddv_i, vsubv_i, vmultv_i, vdivv_i, vpowv_i, and vexpv_i. Added offset parameters to many of the vector opcodes. 2006-08-07 Istvan Varga * Engine/entry1.cpp, Engine/linevent.cpp, H/linevent.h, H/schedule.h, OOps/schedule.cpp, Opcodes/fout.cpp: Use new OENTRY flags for variable number of arguments and inputs used as outputs. Also fixed a bug in trigseq. * Opcodes/sndloop.cpp, Opcodes/sndwarp.cpp: fixed more incorrect uses of Csound::AuxAlloc() 2006-08-06 Istvan Varga * Opcodes/pvsbasic.cpp, Opcodes/pvsdemix.cpp: fixed some incorrect uses of Csound::AuxAlloc() * Opcodes/py/pycall-gen.py, Opcodes/py/pycall.auto.cpp: fixed a possible memory leak 2006-08-05 Istvan Varga * OOps/ugens1.cpp (linseg, expseg, etc.), Opcodes/pitch.cpp (mac, maca, transeg), Opcodes/uggab.cpp (sum, product): use new OENTRY flag for variable number of arguments * Opcodes/uggab.cpp: fixed randomh and randomi with a-rate 'cps' parameter 2006-08-04 Istvan Varga * Opcodes/midiops3.cpp: fixed bug in s32b14 opcode use templates instead of macros * Opcodes/minmax.cpp, Opcodes/oscbnk.cpp (denorm): use new OENTRY flag for variable number of arguments 2006-08-03 Istvan Varga * Opcodes/fout.cpp, Opcodes/metro.cpp: use new OENTRY flags to improve parsing of some opcodes that use input arguments as outputs (fin, fini, fink, splitrig, timedseq) 2006-07-31 Istvan Varga * Reorganized header files: csound.h and csoundCore.h are replaced with csound.hpp, and csdl.h is renamed to csdl.hpp. A number of headers that are no longer needed have been removed. 2006-07-30 Istvan Varga * Engine/rdorch.cpp: - changed format of Csound::TEXT::xincod, xoutcod, xincod_str, and xoutcod_str: - for args 1 to 30, bit N-1 is set if arg N is a-rate (xincod) or S-rate (xincod_str) - bit 30 is set if any of the arguments after the first 30 is a-rate (xincod) or S-rate (xincod_str) - bit 31 is set if all the arguments after the first 30 are a-rate (xincod) or S-rate (xincod_str) - bits 8 to 15 of Csound::OENTRY::flags can be set to indicate that some input arguments are actually used for output (bits 8 to 14 for args 1 to 7; if bit 15 is set, all input args after the first 7 are assumed to be outputs). This means that constants and expressions will be rejected by the orchestra parser. Additionally, if bit 3 is set, none of the input arguments that are flagged as being outputs need to be previously defined. * Engine/entry1.cpp: documented changes to OENTRY structure. * Added new command line options: --midi-key=N, --midi-key-cps=N, --midi-key-oct=N, --midi-key-pch=N, --midi-velocity=N, --midi-velocity-amp=N 2006-07-29 Istvan Varga * Changed version to 5.1.00.0 beta, and API version to 10.00. * Added S (string) type to user defined opcodes; string values are copied at i-time only. * Made argument space allocation dynamic in user defined opcodes, xin, xout, and subinstr. Removed .xin64, .xin256, .xout64, and .xout256. 2006-07-26 Istvan Varga * H/csoundCore.h, H/csdl.h, Opcodes/ftest.cpp, Top/csmodule.cpp: Renamed Csound::NGFENS to Csound::NFGENS (was apparently a typing error). * Opcodes/biquad.cpp: Assume 0dbfs as the scale parameter in moogvcf if it is set to zero. Use double precision internally in filter opcodes (bqrez, moogvcf, pareq, rezzy, tbvcf). Fixed some possible out of range indexing in use of a-rate signals. Added moogvcf2 opcode (same as moogvcf, but scale defaults to 0dbfs). * Opcodes/sndloop.cpp, Opcodes/syncgrain.cpp: Added "skip init" parameter to flooper2 and syncloop opcodes. 2006-07-22 Istvan Varga * Converted struct CSOUND to a C++ class. 2006-07-20 Istvan Varga * Opcodes/ugens9.cpp: cvset(): always call Csound::AuxAlloc() * Opcodes/sndloop.cpp: new opcode: flooper2 (by Victor Lazzarini) * Opcodes/syncgrain.cpp: new opcode: syncloop (by Victor Lazzarini) * frontends/tclcsound/commands.cpp: do not add -d flag 2006-07-19 Istvan Varga * Opcodes/partials.cpp: partials_init(): fixed bugs in aux space allocation 2006-07-18 Istvan Varga * frontends/csound/sched.cpp: removed check for root user * OOps/ugens4.cpp: fixed typing error in riset() * OOps/ugens6.cpp: delset(), cmbset(): do not assume sizeof(MYFLT) == sizeof(long) 2006-07-16 Istvan Varga * OOps/aops.cpp: fixed bug in logbasetwo 2006-07-15 Istvan Varga * Added new opcodes: pcount, pindex (written by John ffitch) * Top/one_file.cpp: fixed error on trailing whitespace in .csoundrc 2006-07-10 Istvan Varga * Started to convert the CSOUND structure to a C++ class. * Engine/fgens.cpp: fixed bug in GEN32 2006-07-09 Istvan Varga * util/atsa.cpp: peak_detection(): fixed phase interpolation 2006-07-07 Istvan Varga * Engine/entry1.cpp: corrected opcode data size for inh and ino * Opcodes/bilbar.cpp: play_pp(): use fabs() instead of abs() * Opcodes/biquad.cpp: nestedapset(): do not assume sizeof(MYFLT) == sizeof(long) 2006-07-05 Istvan Varga * Implemented pv_export and pv_import utilities. 2006-06-28 Istvan Varga * bug fixes in VST host opcodes