| As a side not, moving the event system to use data structures that the
Orchestra side understands might be a good step to take. It would
allow us to do higher-order events, as we could then use opcode
instances as arguments to events. (It'd also allow arrays and any
other types). I don't know what the impact of that would be in terms
of performance, but worth investigating for Csound 8.
On Wed, Sep 16, 2015 at 11:33 AM, Victor Lazzarini
wrote:
> Ah, I remember, it’s line events size. It should be dynamic if at all possible.
> The minimum size of string channels was changed as well (probably before 6.05),
> because invalue cannot resize strings.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 16 Sep 2015, at 16:07, Steven Yi wrote:
>>
>> I did a grep and found:
>>
>> (trusty)steven@localhost:~/work/csound/csound$ grep SSTRSIZ * -n -r
>> Engine/linevent.c:271: e.strarg = csound->Malloc(csound,
>> strsiz=SSTRSIZ);
>> Engine/linevent.c:283: e.strarg =
>> csound->ReAlloc(csound, e.strarg, strsiz+=SSTRSIZ);
>> Engine/fgens.c:2404: char strarg[SSTRSIZ];
>> Engine/fgens.c:2561: strncpy(ftp->gen01args.strarg, ff->e.strarg,
>> SSTRSIZ-1);
>> Engine/fgens.c:3020: strncpy(ftp->gen01args.strarg, ff->e.strarg,
>> SSTRSIZ-1);
>> Engine/fgens.c:3031: char strarg[SSTRSIZ];
>> Engine/rdscor.c:70: sstrp = csound->sstrbuf =
>> csound->Malloc(csound, csound->strsiz=SSTRSIZ);
>> Engine/rdscor.c:79:
>> csound->strsiz+=SSTRSIZ);
>> Opcodes/ftgen.c:271: n = fread(&header, sizeof(FUNC) -
>> sizeof(MYFLT) - SSTRSIZ, 1, file);
>> Opcodes/ftgen.c:277: memcpy(ftp, &header, sizeof(FUNC) -
>> sizeof(MYFLT*) - SSTRSIZ);
>> Opcodes/ftgen.c:482: n = fwrite(ftp, sizeof(FUNC) -
>> sizeof(MYFLT) - SSTRSIZ, 1, file);
>> include/csoundCore.h:153:#define SSTRSIZ 1024
>> include/csoundCore.h:611: char strarg[SSTRSIZ];
>>
>> It looks like it's mostly f-tables and score events that are still
>> using SSTRSIZ. I don't think it's used by channels at all. Perhaps we
>> can add a todo to see if we can't get rid of SSTRSIZ altogether and
>> just using STRINGDAT everywhere.
>>
>> On Wed, Sep 16, 2015 at 10:45 AM, Victor Lazzarini
>> wrote:
>>> Not really, string variables in orchestra are dynamic. I think this refers to the initial size of
>>> strings in channels, but I am not quite sure.
>>>
>>> ========================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>
>>>> On 16 Sep 2015, at 00:45, Andres Cabrera wrote:
>>>>
>>>> I think the change in maximum string length refers not to the score but to string variables in the orchestra.
>>>>
>>>> Cheers,
>>>> Andrés
>>>>
>>>> On Mon, Sep 14, 2015 at 3:07 PM, jpff wrote:
>>>> As before, comments welcome
>>>> ==John ffitch
>>>> ========================================================================
>>>>
>>>> ============================
>>>> CSOUND VERSION 6.06
>>>> RELEASE NOTES VERSION 6.06
>>>> ============================
>>>>
>>>> A number of bug fixes, some quite major, are included, as well as some
>>>> new facilities and extensions
>>>>
>>>> The Developers
>>>>
>>>>
>>>>
>>>> USER-LEVEL CHANGES
>>>> ==================
>>>>
>>>> New opcodes:
>>>>
>>>> o getseed reads the state of the PRN generator; opposite of
>>>> seed opcode.
>>>>
>>>> o tabifd — Instantaneous Frequency Distribution, magnitude and
>>>> phase analysis.
>>>>
>>>> o websocket — Read and write signals and arrays using a
>>>> websocket connection.
>>>>
>>>> o framebuffer — Read audio signals into 1 dimensional k-rate
>>>> arrays and vice-versa with a specified buffer size.
>>>>
>>>> o olabuffer — Sum overlapping frames of audio as k-rate arrays
>>>> and read as an audio signal
>>>>
>>>> New Gen and Macros:
>>>>
>>>> o
>>>>
>>>> Orchestra:
>>>>
>>>> o Labels are allowed in instrument 0
>>>>
>>>> Score:
>>>>
>>>> o Maximum string length in scores increased to 1024
>>>>
>>>> Options:
>>>>
>>>> o
>>>>
>>>>
>>>> Modified Opcodes and Gens:
>>>>
>>>> o diskin2 array version uses array size to give number of
>>>> channels in raw file form
>>>>
>>>> o Vibrato f-table in wgflute and wgcar optional, defaulting to
>>>> sine wave
>>>>
>>>> o schedule now accept string arguments
>>>>
>>>> o urandom now available on OSX platforms
>>>>
>>>> o GEN18 had fencepost problem; largely rewritten
>>>>
>>>> o In poscil family of opcodes it is possible to skip initialisation
>>>> of phase
>>>>
>>>> o svfilter now can skip initialisation
>>>>
>>>> o When opening an input file nchncls_i is used rather than nchnls
>>>>
>>>> o rtjack module now reports the sampling rate
>>>>
>>>> o The opcodes rfft, rifft, fft, fftinv, r2c and c2r now
>>>> have i-rate array versions
>>>>
>>>> o New optional threshhold parameter in opcodes tradsyn, sinsyn
>>>> and resyn
>>>>
>>>> o New thresholding option for partials
>>>>
>>>> Utilities:
>>>>
>>>> o extract fixed
>>>>
>>>> o src_conv improved and integrated with -U options
>>>>
>>>> o fixes in atsa, and heti
>>>>
>>>> Frontends:
>>>>
>>>> pnacl:
>>>> Support for 48000 sample rate fixed
>>>>
>>>> icsound:
>>>>
>>>> csound~:
>>>> Changes to the threading system
>>>> String channel initialisation fixed
>>>> A number of other bugs were fixed
>>>>
>>>> Emscripten:
>>>> Csound Javascript object can now receive data from the outvalue
>>>> opcode.
>>>>
>>>> csdebugger:
>>>>
>>>> HTML5:
>>>> Integrate HTML, JavaScript, and other features of HTML5 with
>>>> Csound, either by embedding a Web page as an element in
>>>> the CSD file for CsoundQt or Csound for Android, or by hosting
>>>> Csound in the JavaScript context of a standalone Web browser
>>>> (Emscripten, PNaCl) or embedded Web browser (csound.node).
>>>>
>>>> General usage:
>>>>
>>>> o Ill-formatted macros in the orchestra now trapped
>>>>
>>>> Bugs fixed:
>>>>
>>>> o Use of Windows-style environments for INCDIR etc now works with
>>>> device numbers.
>>>>
>>>> o vibrato opcode fixed
>>>>
>>>> o clicking in real-time sample accurate case fixed
>>>>
>>>> o Copying of strings now correct; did confuse memory sometimes
>>>>
>>>> o Bug in pvstanal fixed
>>>>
>>>> o Rounding error in cpspch fixed
>>>>
>>>> o Removed crash on recompiling a named instrument
>>>>
>>>> o Fix interpolation bug in tablexkt
>>>>
>>>> 0 Fix to plltrack when ksmps is 1
>>>>
>>>> ====================
>>>> SYSTEM LEVEL CHANGES
>>>> ====================
>>>>
>>>> System changes:
>>>>
>>>> o The "error" message from STK plugin is now a warning
>>>>
>>>> o
>>>>
>>>>
>>>> Internal changes:
>>>>
>>>> *
>>>>
>>>> API
>>>> ===
>>>> * Redefinition of opcodes and UDOs fixed
>>>>
>>>>
>>>> Platform Specific
>>>> =================
>>>>
>>>> iOS
>>>> ---
>>>>
>>>> *
>>>>
>>>>
>>>> Android
>>>> -------
>>>>
>>>> *
>>>>
>>>> Windows
>>>> -------
>>>>
>>>> OSX
>>>> ---
>>>> csnd6.jar added to installer
>>>>
>>>> Linux
>>>> -----
>>>>
>>>>
>>>>
>>>> ========================================================================
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>>> Get real-time metrics from all of your servers, apps and tools
>>> in one place.
>>> SourceForge users - Click here to start your Free Trial of Datadog now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>> Get real-time metrics from all of your servers, apps and tools
>> in one place.
>> SourceForge users - Click here to start your Free Trial of Datadog now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sour |