[Csnd-dev] Looking towards the next release.
Date | 2020-01-08 14:12 |
From | John |
Subject | [Csnd-dev] Looking towards the next release. |
I would like to make a new release this month; I was looking at 17Jan but it could be delayed a little. There are some significant changes as well as a bunch of bug fixes and oddity removals. Draft release notes below. ==John ffitch =================================================================================== ======== DRAFT ======== DRAFT ======== DRAFT ======== DRAFT ======== DRAFT ======== # CSOUND VERSION 6.14 RELEASE NOTES A number of bug fixes and enhancements, but also potentially significant changes are included. For live coders the orchestra macros are now remembered between calls to compilerstr. This should not change the behaviour of current valid orchestras but could be useful in live coding. MIDI devices now include mapping multiple devices to higher channels. The details are in the manual MIDI section. -- The Developers ## USER-LEVEL CHANGES ### New opcodes - randc is like randi but uses a cubic interpolation. - mp3out is an experimental implementation of writing an mp3 file. It may be replaced by the current work in libsndfile to deal with MPEG files. - metro2 is like metro but with added controllable swing. - ftexists reports whether a numbered ftable exists. - schedulek is a k-time opcode just like schedule. ### New Gen and Macros ### Orchestra - The conditional expression syntax a?b:c incorrectly always calculated b and c before selecting which to return. This could give incorrect division by zero errors or cause unexpected multiple evaluations of opcodes. It now implements the common C-like semantics. - Orchestra macros are now persistent, so they apply in every compilation after they are defined until they are undefined. It has been changed because of the need of live coding in particular. A correct orchestra should not be affected. - Following a syntax error there were cases when Csound gave a segmentation error. This is now fixed. ### Score - ### Options - New option simple-sorted-score creates file score.srt in a more user-friendly format - Revise treatment of CsOptions wrt double quotes and spaces which need escaping. - Setting the 1024 bit in -m suppresses printing of messages about using deprecated opcodes. This option is itself deprecated. ### Modified Opcodes and Gens - squinewave now handles optional a or k rate argument. - pindex opcode handles string fields as well as numeric ones. - sflooper reworked to avoid a crash and provide warnings. - event_i and schedule can take fractional p1. - in sound font opcodes better checking. Also no longer will load multiple copies of a sound font, but reuses existing load. - fluidControl has a new optional argument to control printing messages. - bpf has an audio version now. - stsend/stecv can work with unmatched k-rates. - pvstrace has new optional arguments. - lpfreson checks number of poles. - syncloop had a small typing error that caused crashes. - bpfcs has new array versions. - zacl can omit second argument, defaults to clearing only the given channel. - outvalue attempted to use a k-rate value which could be invalid at the time. This is mainly a small performance problem, and its now eliminated. ### Utilities - lpanal now checks that sufficient poles are requested. ### Frontends - Belacsound: - CsoundQt: ### General Usage - // comments at the start of a line now accepted in CsOptions section of a csd file. ## Bugs Fixed - shiftin fixed. - exitnow delivers the return code as documented. - fixed bug in beosc, where gaussian noise generator was not being initialised. - OSCraw fixed. - ftkloadk could select incorrect internal code causing a crash. - GEN01 when used to read a single channel of a multi-channel file got the length incorrect. - ftgenonce had a fencepost problem so it could overwrite a table in use. - a race condition in Jacko opcodes improved (issue #1182). - syncloop had a small typing error that caused crashes. - lowresx was incomplete and did not work as intended; rewritten (issue #1199) - if outch was incorrectly given an odd number parameters it would give a segmentation error. This now gives an error message. # SYSTEM LEVEL CHANGES - ### System Changes - New plugin class for opcodes with no outputs written. perform time errors and init errors are also reported in the return code of the command line system. The new API function GetErrorCnt is available to do something similar in other variants. - ### Translations ### API - Function GetErrorCnt gives the number of perf-time errors, and adds in the init-time errors at the end of a rendering. - Function FTnp2Find no longer prints messages if the table is not found, but just returns NULL. Previous behaviour is available as FTnp2Finde. - csoundGetInstrument() added ### Platform Specific - WebAudio: - iOS - Android - Windows - stsend reworked for winsock library - MacOS - GNU/Linux - Haiku port - Bela ==END== ----------------------------------------------------------------------- ------------------------------------------------------------------------ Un documented changes..... commit ad5e171bb1e9c0a5e4d5419531344db0b32352dd Author: Steven Yi |
Date | 2020-01-08 17:43 |
From | Rory Walsh |
Subject | Re: [Csnd-dev] Looking towards the next release. |
Channel names for chnget and chnset opcodes can now be updated at k-rate so they can be called within a loop. There are some new channel opcodes waiting to be merged as a PR, but I guess they can be left till the next release if you prefer? On Wed, 8 Jan 2020 at 14:12, John <jpff@codemist.co.uk> wrote: I would like to make a new release this month; I was looking at 17Jan |
Date | 2020-01-08 18:25 |
From | john |
Subject | Re: [Csnd-dev] Looking towards the next release. |
I am happy to incorporate these. Will do asap On Wed, 8 Jan 2020, Rory Walsh wrote: > Channel names for chnget and chnset opcodes can now be updated at k-rate so > they can be called within a loop. > There are some new channel opcodes waiting to be merged as a PR, but I guess > they can be left till the next release if you prefer? > > On Wed, 8 Jan 2020 at 14:12, John |
Date | 2020-01-08 19:11 |
From | Rory Walsh |
Subject | Re: [Csnd-dev] Looking towards the next release. |
Then under ### New Opcodes you should add: - new array based channel opcodes: chngeti, chngetk, chngeta, chngets, chnseti, chnsetk, chnseta, chnsets P.S. I can't build the manually locally, so I hope my changes are Ok.. On Wed, 8 Jan 2020 at 18:25, john <jpff@codemist.co.uk> wrote: I am happy to incorporate these. Will do asap |
Date | 2020-01-08 20:08 |
From | john |
Subject | Re: [Csnd-dev] Looking towards the next release. |
incorporated channel changes |