UDO: Korg35 filters
Date | 2016-11-29 15:12 |
From | Steven Yi |
Subject | UDO: Korg35 filters |
Hi All, Continuing on in the work to translate Will Pirkle's filter code, I have done translations of the Korg35 low-pass and high-pass filters (found in the MS-10 and MS-20). They are available at: https://github.com/kunstmusik/libsyi/blob/master/k35.udo https://github.com/kunstmusik/libsyi/blob/master/tests/k35.csd These are based on the filter code presented in Pirkle's app notes: http://www.willpirkle.com/Downloads/AN-5Korg35_V3.pdf http://www.willpirkle.com/Downloads/AN-7Korg35HPF_V2.pdf The k35_lpf is a 12 dB/oct low pass filter and the k35_hpf is a 6 dB/oct high pass. Both can self-oscillate. The test CSD example starts with a demo filter sweep of both versions of both filters with high resonance (the filters have a-rate and k-rate versions of the cutoff). Afterwards, I did some live coding in Vim to put together a little bit of a beat. There are two instruments both using the k35 filters (ms20_drum and ms20_bass). The former uses a bit of tanh distortion to get a grittier sound, the latter is a little more straightforward. (The distortion is done outside of the filters; I haven't had a chance to explore the internal non-linear processing tanh distortion much, but the small bits I did yielded interesting sound using >= 2 for saturation.) There are two player instruments using temporal recursion to play the drum beat as well as a bass line that uses a bit of randomness. Enjoy! steven 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 | 2016-11-29 15:58 |
From | Rory Walsh |
Subject | Re: UDO: Korg35 filters |
Excellent work Steven. These are great. I would like to see them as opcodes too, just so we don't have to keep importing the UDOs into our projects. On 29 November 2016 at 15:12, Steven Yi <stevenyi@gmail.com> wrote: Hi All, |
Date | 2016-11-29 16:03 |
From | jpff |
Subject | Re: UDO: Korg35 filters |
Make an issue saying which filters. Not sure about the other developers but i need something to do over the Christmas break On Tue, 29 Nov 2016, Rory Walsh wrote: > Excellent work Steven. These are great. I would like to see them as opcodes > too, just so we don't have to keep importing the UDOs into our projects. > > On 29 November 2016 at 15:12, Steven Yi |
Date | 2016-11-29 17:11 |
From | Steven Yi |
Subject | Re: UDO: Korg35 filters |
I'd be happy to see these filters done in C, though I rather like being able to write, study, use these as Csound ORC code as well. I think if it does get put into C, it might be good to revisit all of the Q/Resonance settings between the filters and choose a single way to go about it (I think I might have used different ones for different filters). Also, the mapping of the argument might be good to revisit (i.e., check if a logarithmic value would be better, or just let that be a user thing to do). If these do get translated to C, I'd recommend whomever is doing it to double-check with Pirkle's C++ code (I've gone and checked a few times, but you never know!). Rory: perhaps file an issue and place it in the 6.0x milestone? On Tue, Nov 29, 2016 at 11:03 AM, jpff |
Date | 2016-11-29 19:08 |
From | Anton Kholomiov |
Subject | Re: UDO: Korg35 filters |
Thanks Steven! A filter is a vital part of any synthesizer. So every new hi-quality filter expands the power of the synth dramatically. 2016-11-29 20:11 GMT+03:00 Steven Yi <stevenyi@gmail.com>: I'd be happy to see these filters done in C, though I rather like |
Date | 2016-11-29 20:43 |
From | Rory Walsh |
Subject | Re: UDO: Korg35 filters |
I just filed an issue there Steven. I agree that it's great to have these as UDOs too, and they make great teaching tools. But I think they should also be in the main body of opcodes. What's next? You're on a roll! On 29 November 2016 at 19:08, Anton Kholomiov <anton.kholomiov@gmail.com> wrote:
|
Date | 2016-11-30 00:32 |
From | Aaron Krister Johnson |
Subject | Re: UDO: Korg35 filters |
Steven, this is sweet, nice work! On Tue, Nov 29, 2016 at 9:12 AM, Steven Yi <stevenyi@gmail.com> wrote: Hi All, |
Date | 2016-11-30 03:54 |
From | Steven Yi |
Subject | Re: UDO: Korg35 filters |
Thanks all! I have a few more filters to do within the zdf.udo file (should be apparent which ones near the end aren't yet implemented). After that, probably a bit of a break to spend time exploring using all these and perhaps getting back to some sample-related interests. :) On Tue, Nov 29, 2016 at 3:43 PM, Rory Walsh |
Date | 2017-01-09 18:56 |
From | Anton Kholomiov |
Subject | Re: UDO: Korg35 filters |
Quite nice timbres could be done with this and diode one but I wish they were less resource hungry. Just a couple of filters like this are enough to load my CPU up to 100-150% and I have very good pc.. Maybe it's worth to consider how to substitute trigonometric functions with table lookup.. 2016-11-30 6:54 GMT+03:00 Steven Yi <stevenyi@gmail.com>: Thanks all! |
Date | 2017-01-09 19:38 |
From | "Dr. Richard Boulanger" |
Subject | Re: UDO: Korg35 filters |
Steven, Awesome. I love this work you are doing! - That's the Korg sound for sure. Super. Can't wait to share all of these with my students when classes begin in 2 weeks. -dB On Tue, Nov 29, 2016 at 10:12 AM, Steven Yi <stevenyi@gmail.com> wrote: Hi All, _____________________________________________ Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Music Technology Division Berklee College of Music ______________________________________________ President of Boulanger Labs - http://boulangerlabs.com Author & Editor of The Csound Book - http://mitpress.mit.edu/books/csound-book Author & Editor of The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book ______________________________________________ about: http://www.boulangerlabs.com/about/richardboulanger/ about: http://www.csounds.com/community/developers/dr-richard-boulanger/ music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/ ______________________________________________ email: rboulanger@berklee.edu facebook: https://www.facebook.com/richard.boulanger.58 |
Date | 2017-01-09 20:24 |
From | Steven Yi |
Subject | Re: UDO: Korg35 filters |
Hi Anton, I've been reworking a Blue instrument and getting things to sound rather nice, but I'm also hitting up against some CPU limits. I don't think it's worth replacing anything with table lookups; rather, we should probably have these in C. That said, some of the filters are multi-mode filters. For those, would it be simpler to have as a k-rate flag that switches the output signal rather than to output all modes of the filter? steven On Mon, Jan 9, 2017 at 1:56 PM, Anton Kholomiov |
Date | 2017-01-10 05:33 |
From | Anton Kholomiov |
Subject | Re: UDO: Korg35 filters |
Personally I tend to use only low-pass mode 2017-01-09 23:24 GMT+03:00 Steven Yi <stevenyi@gmail.com>: Hi Anton, |
Date | 2017-01-11 15:16 |
From | Steven Yi |
Subject | Re: UDO: Korg35 filters |
Just to follow up, I'll look into translating these into C (I'll put it in a file called wpfilters.c, named for Will Pirkle who's code this is all based on). Once the code is in we can work on the opcode signatures together. On Tue, Jan 10, 2017 at 12:33 AM, Anton Kholomiov |
Date | 2017-01-11 16:53 |
From | Rory Walsh |
Subject | Re: UDO: Korg35 filters |
That's great Steven. I've been having some fun with these filters myself over the past few days. On 11 January 2017 at 15:16, Steven Yi <stevenyi@gmail.com> wrote: Just to follow up, I'll look into translating these into C (I'll put |
Date | 2017-01-12 06:05 |
From | "Dr. Richard Boulanger" |
Subject | Re: UDO: Korg35 filters |
I will love having them as opcodes and as UDOs. So great to learn from them in both formats. THANKS. -dB On Wed, Jan 11, 2017 at 10:16 AM, Steven Yi <stevenyi@gmail.com> wrote: Just to follow up, I'll look into translating these into C (I'll put _____________________________________________ Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Music Technology Division Berklee College of Music ______________________________________________ President of Boulanger Labs - http://boulangerlabs.com Author & Editor of The Csound Book - http://mitpress.mit.edu/books/csound-book Author & Editor of The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book ______________________________________________ about: http://www.boulangerlabs.com/about/richardboulanger/ about: http://www.csounds.com/community/developers/dr-richard-boulanger/ music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/ ______________________________________________ email: rboulanger@berklee.edu facebook: https://www.facebook.com/richard.boulanger.58 |
Date | 2017-01-12 10:01 |
From | Anton Kholomiov |
Subject | Re: UDO: Korg35 filters |
Good to know! 2017-01-12 9:05 GMT+03:00 Dr. Richard Boulanger <rboulanger@berklee.edu>:
|