[Csnd] Wave Terrain with Superformula
Date | 2020-06-22 21:37 |
From | docB <000005d2745f1ec0-dmarc-request@LISTSERV.HEANET.IE> |
Subject | [Csnd] Wave Terrain with Superformula |
hi, i have decided to make an extra opcode for wave terrain synthesis where the curves are produced with the super formula. due to the fact that the speed of the point on such curves can vary dramatically some different sounds can be produced. the opcode is be here: https://github.com/docb/csnd/tree/master/opcodes sterr.c usage: aout sterr 0.5, kcps, kx, ky, krx, kry, krot, ktab0, ktab1, km1, km2, kn1,kn2,kn3, ka, kb, kperiod see https://en.wikipedia.org/wiki/Superformula for the parameters km1 (casted to integer), km2 (casted to integer), kn1,kn2,kn3, ka, kb kperiod is for retuning e.g. if km1 = km2 the the period should also be km1 the following ranges i have found to make a start: km1, km2 integer 1-8 ( note that the curve is not on all combinations closed and has a pole if there exists an n,m in Z with 2*km1/km2 = 2m+1/n e.g. 6 and 4 has a pole which you will hear. this is also the reason not to take km1 and km2 rational as it gets too chaotic) all others parameter should be >0 and may be up to 8 and continous. i have done a small ad hoc demo https://youtu.be/E75xakCueA8 including a parallel visualization of the curve. the demo is with one note and sin waves and some reverbsc (note that using waves with a rich spektrum may cause far earlier aliases when going up) the visualization gives a little inside about the speed of the point as the curve is striped. -christian 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 |
Date | 2020-06-22 23:12 |
From | John ff |
Subject | Re: [Csnd] Wave Terrain with Superformula |
What does steer mean?
On 22 Jun 2020, at 21:38, docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote: hi, |
Date | 2020-06-22 23:24 |
From | docB <000005d2745f1ec0-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Wave Terrain with Superformula |
sorry, https://github.com/docb/csnd/blob/master/opcodes/sterr.c On 6/23/20 12:12 AM, John ff wrote:
|
Date | 2020-06-23 10:25 |
From | Andreas Bergsland |
Subject | Re: [Csnd] Wave Terrain with Superformula |
Very cool! Will this be included in the standard Csound installer from next release? Or will it be a plugin? Best, Andreas From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of docB <000005d2745f1ec0-dmarc-request@LISTSERV.HEANET.IE>
sorry, https://github.com/docb/csnd/blob/master/opcodes/sterr.c On 6/23/20 12:12 AM, John ff wrote:
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 |
Date | 2020-06-23 15:35 |
From | Richard van Bemmelen |
Subject | Re: [Csnd] Wave Terrain with Superformula |
Excellent! What do you use for the GUI and graph? Richard Op di 23 jun. 2020 om 11:25 schreef Andreas Bergsland <andreas.bergsland@ntnu.no>:
|
Date | 2020-06-23 17:20 |
From | docB <000005d2745f1ec0-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Wave Terrain with Superformula |
On 6/23/20 4:35 PM, Richard van
Bemmelen wrote:
the GUI is done with openstagecontrol which sends osc to csound. The graph is done with ffmpeg (ffplay) but with an own
filterplugin. for this demo i tried sucessfully to start a liblo osc server
inside the plugin for setting the curve parameters sent from
openstagecontrol. -christian
|
Date | 2020-06-23 17:25 |
From | Joseph Hughes |
Subject | Re: [Csnd] Wave Terrain with Superformula |
If I wanted to use these opcodes and try them out on my own machine what would that take? When I write my own opcodes I use the `opcode` opcode and include the files in my csd. That's obviously not what's happening here. Would I need to put these somewhere in the csound source and buildfrom there? I've never done that and I've just started looking at plugins that would require that kind of thing. Sorry this is kind of a novice question and not exactly on the topic of this awesome instrument you've made. On Tue, Jun 23, 2020 at 12:20 PM docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote:
|
Date | 2020-06-23 17:42 |
From | docB <000005d2745f1ec0-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Wave Terrain with Superformula |
On 6/23/20 6:25 PM, Joseph Hughes
wrote:
the opcode is written in C so it must be build for your platform
and put in the plugin lib directory of your csound installation see e.g. http://floss.booktype.pro/csound/extending-csound/ i have agreed that these opcodes can be part of future csound
releases so until this happens some programming/build knowhow is
nescessary to make it work.
|
Date | 2020-06-23 17:52 |
From | Joseph Hughes |
Subject | Re: [Csnd] Wave Terrain with Superformula |
Thanks a lot, that should get me started! On Tue, Jun 23, 2020 at 12:42 PM docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote:
|
Date | 2020-06-23 18:04 |
From | John ff |
Subject | Re: [Csnd] Wave Terrain with Superformula |
It is a high priority task for me to include this code. Just got some documentation to write first
==John ff
On 23 Jun 2020, at 17:43, docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote:
|