[Csnd] Table Size Limitation in grain opcode
Date | 2018-11-21 08:23 |
From | Alex Weiss |
Subject | [Csnd] Table Size Limitation in grain opcode |
Hi all,
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
How hard would it be to remove the non-deferred table length and non-power-of-two limitation of the grain opcode? It's a great opcode, but the limitations make it somewhat annoying to work with sampled sounds... Thanks, Alex |
Date | 2018-11-21 09:04 |
From | Rory Walsh |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
This would be great. I was thinking the same myself recently. On Wed 21 Nov 2018, 08:23 Alex Weiss <alexweiss86@gmail.com wrote:
|
Date | 2018-11-21 09:21 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
We can look into this, but there are much better granular synthesis opcodes. Grain is very basic. ======================== Prof. 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 21 Nov 2018, at 08:23, Alex Weiss |
Date | 2018-11-21 09:32 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
I looked at the code and grain uses integer indexing maths (like oscil/oscili/oscil3), therefore the limitation cannot be removed without modifying the code substantially. Since we are not considering changing oscil etc, I think we should keep grain as is. best ======================== Prof. 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 21 Nov 2018, at 09:21, Victor Lazzarini |
Date | 2018-11-21 09:37 |
From | Alex Weiss |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
Ah but see, it's the simplicity of it I like! But I'll just go back to using the closest power of 2. Thanks for checking. Alex
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
On Wed, Nov 21, 2018, 01:21 Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: We can look into this, but there are much better granular synthesis opcodes. Grain is very basic. |
Date | 2018-11-21 09:41 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
Just had an idea: we could make a version that uses floating-point instead of fixed-point maths if the table is found to be non-power-of-two, therefore leaving the original as is, but supporting other tables. Leave it with me. ======================== Prof. 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 21 Nov 2018, at 09:37, Alex Weiss |
Date | 2018-11-21 11:11 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
Done. seems to work (minimal testing). ======================== Prof. 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 21 Nov 2018, at 09:41, Victor Lazzarini |
Date | 2018-11-21 15:10 |
From | Rory Walsh |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
Nice one Victor. On Wed, 21 Nov 2018 at 11:11, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: Done. seems to work (minimal testing). |
Date | 2018-11-21 19:57 |
From | Alex Weiss |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
Amazing! Thanks so much. None of the commercial software packages I use have such great support... On Wed, Nov 21, 2018, 07:10 Rory Walsh <rorywalsh@ear.ie> wrote:
|
Date | 2018-11-21 20:15 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
I'm most obliged, hope it does the trick. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2018-11-21 20:41 |
From | Alex Weiss |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
So Rory, how soon are we going to see a GrainFilePlayer in Cabbage? :) On Wed, Nov 21, 2018, 12:16 Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
|
Date | 2018-11-21 22:39 |
From | Rory Walsh |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
You should ask Iain 🤣 On Wed 21 Nov 2018, 20:41 Alex Weiss <alexweiss86@gmail.com wrote: So Rory, how soon are we going to see a GrainFilePlayer in Cabbage? :) |
Date | 2018-11-21 23:27 |
From | Alex Weiss |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
If I pull from GitHub and build it, will that include your changes, Victor? Still new to this... On Wed, Nov 21, 2018, 12:16 Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
|
Date | 2018-11-21 23:34 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Table Size Limitation in grain opcode |
yes, from the develop branch.
Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|