[Csnd] gen27 problems
Date | 2014-07-29 19:25 |
From | Ben Hackbarth |
Subject | [Csnd] gen27 problems |
hello all, i'm experiencing some problems with gen 27 with lots of values detailed by the following csd: http://pastebin.com/EaNzQyBc each table's data should be x=y, but this stops working properly with a table length of 2048 (with 4096 arguments given to gen27). is there a limit to the number of numerical values one can supply to gen27? does anyone have alternative method to importing large sets of breakpoint information into csound? thanks as always, – ben _ . - _' . _- . - _' . _-______________ _ _.- _.- _.- _.- _.- _.- _.- _.- _.- _.-_____________________________ _ __.--' __.--' _..--' _..-'' __..-'' __.--' __.--' _..--' _..-'' __..-''_________________________________________________________ _ __.--' _..--' _..-'' __.--'' __.--' _..-'' __..-'' __.--' _..--' __..-''_________________________________________________________ _..-'' __.--'' __.--' _..-'' __.--'' _..--' _..-'' __.--'' _..--' __..-''_________________________________________________________ __..--' __.--'' __..--'' __..--' __..-'' _..--'' __..--'' __..--' __.--'' __..--''__________________________________________________________________ WARNING: using extended arguments ftable 7: 1024 points, scalemax 1.000 __..--'' __.--'' __..--'' __..--'' __..-'' __..--'' __..--'' __..--' __..--'' __..--''_____________________________________________________________________-- WARNING: using extended arguments ftable 8: 2048 points, scalemax 1.000 ''-..__ ''--.._ ''--..__ '--..__ ''--.__ __..-- '''' __..--'' __..--'' __..--'' ___..--''______________________________________________________________________ WARNING: using extended arguments ftable 9: 4096 points, scalemax 1.000 -_ -. '. '-_ -_ '. ___...---''' '._ ___...---''' -_ ___...---''' ___...-- --''' ___...---'''___________________________________________________________________ WARNING: using extended arguments ftable 10: 8192 points, scalemax 14391.000 - - ' ' ' ' ____...----''' ' ____...----''' ' ____...----''' '_ ____...----''' ____...---__________-'''________________________________________________________ |
Date | 2014-07-29 19:29 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd] gen27 problems |
You allocate 4096 memory indices but fill the table with 10.000+ values, exceeding 4timesfold the maximum capacity of indices? 2014-07-29 18:25 GMT+00:00 Ben Hackbarth <hackbarth@gmail.com>: hello all, |
Date | 2014-07-29 19:30 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd] gen27 problems |
Maybe you didn't notice, many values duplicate. 2014-07-29 18:29 GMT+00:00 Hlöðver Sigurðsson <hlolli@gmail.com>:
|
Date | 2014-07-29 19:43 |
From | Ben Hackbarth |
Subject | Re: [Csnd] gen27 problems |
the 4096-point table has 8192 arguments, which should be ok since gen27's arguments are breakpoints requiring a x-y pair.
x=y just for testing purposes. – ben
On Jul 29, 2014, at 7:29 PM, Hlöðver Sigurðsson wrote:
|
Date | 2014-07-29 19:48 |
From | Victor Lazzarini |
Subject | Re: [Csnd] gen27 problems |
Can you open a ticket on github so we can investigate it? 2048 does sound very low for a limit. ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 29 Jul 2014, at 19:43, Ben Hackbarth |
Date | 2014-07-29 19:53 |
From | Ben Hackbarth |
Subject | Re: [Csnd] gen27 problems |
done, cheers victor. – ben
On Jul 29, 2014, at 7:48 PM, Victor Lazzarini wrote:
|
Date | 2014-07-29 19:58 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: gen27 |
Attachments | None |
Date | 2014-07-29 20:48 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Csnd] Re: gen27 |
Attachments | None |
Date | 2014-07-30 11:41 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Csnd] Re: gen27 |
Attachments | None |
Date | 2014-07-30 15:21 |
From | Ben Hackbarth |
Subject | Re: [Csnd] gen27 |
thanks John. I can confirm that my test csd now works (i'm compiling git develop on OSX). however, there are still some oddities that I can't seem to explain. the following table is well formed (that is to say that the x coordinates are always incrementing), yet csound complains otherwise and the data fails to load properly. sorry if it is a mistake on my part! http://pastebin.com/Fgjy8HM2 ftable 99: x coordinates must all be in increasing order: f 99 0.00 4096.00 -27.00 0.00 ... cheers, – ben On Jul 30, 2014, at 11:41 AM, jpff@cs.bath.ac.uk wrote: > Fixed in git > > There were two largely unrelated issues; > > 1: Use of arguments in excess of 1998 caused two values to be lost totally, re 1998th and the last. This is generically true for score events > > 2: Naive coding in gen27 was erroneous in a number of ways > > I would like to thank Ben Hackbarth for drawing this to my attention. Please if anyone has oddities with large numbers of arguments let us know; the code has not been vigourously tested since it was written five years ago. > > ==John ff > > > > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > > > |
Date | 2014-07-30 16:07 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: |
Attachments | None |
Date | 2014-08-01 12:35 |
From | Ben Hackbarth |
Subject | Re: [Csnd] |
Just a followup to say the John has fixed this and now long score lines (exceeding the PMAX of 1998 arguments) for both ftables and instrument calls work. I've tested ftables up to 11000 arguments with the latest in git. thanks john! – ben
On Jul 30, 2014, at 4:07 PM, jpff@cs.bath.ac.uk wrote:
|