Re: Rendering note with dynamic low-pass filter by cross fading

2023-05-18 Thread Yisheng Jiang
@orastron.com> Date: Mon, May 1, 2023 at 12:53 AM Subject: Re: Rendering note with dynamic low-pass filter by cross fading To: <MUSIC-DSP@lists.columbia.edu>

Re: Rendering note with dynamic low-pass filter by cross fading

2023-05-12 Thread Yisheng Jiang
message - From: Stefano D'Angelo <stefano.dang...@orastron.com> Date: Mon, May 1, 2023 at 12:53 AM Subject: Re: Rendering note with dynamic low-pass filter by cross fading

Re: Rendering note with dynamic low-pass filter by cross fading

2023-05-10 Thread Sampo Syreeni
On 2023-04-25, Ariadne Lewis-Towbes wrote: That said, when modulating an IIR filter such as a biquad (as shown in your second email's link), you should not need to compute the z-transform. I'm wondering about that z-transform as well. How does it factor in, really? It's true you can utilize

Re: Rendering note with dynamic low-pass filter by cross fading

2023-05-10 Thread Sampo Syreeni
On 2023-04-25, Yisheng Jiang wrote: I’m trying to render a note that feed into a IIR filter (2-3 poles) whose cutoff frequency following an envelope generator, and it’s not possible for me to compute the z-transform parameters every rendering block.. Is it approximately the same to generate

Re: Fwd: Rendering note with dynamic low-pass filter by cross fading

2023-05-02 Thread Stefano D'Angelo
Forwarded message - From: *Stefano D'Angelo* Date: Mon, May 1, 2023 at 12:53 AM Subject: Re: Rendering note with dynamic low-pass filter by cross fading To: Il 26/04/23 05:39, Yisheng Jiang ha scritto: > To make concrete of what I’m trying to do, here’s a (wip) code example > ht

Re: Rendering note with dynamic low-pass filter by cross fading

2023-05-02 Thread Yisheng Jiang
ct it sounds much better than before, I can see the fft graph of the > piano move to the right and hear it. > > > -- Forwarded message - > From: Stefano D'Angelo > Date: Mon, May 1, 2023 at 12:53 AM > Subject: Re: Rendering note with dynamic low-pass filter b

Re: Rendering note with dynamic low-pass filter by cross fading

2023-05-01 Thread Stefano D'Angelo
Il 26/04/23 05:39, Yisheng Jiang ha scritto: To make concrete of what I’m trying to do, here’s a (wip) code example https://github.com/yishengjiang99/sf2rend/blob/bacca1bf2092dbd78b1affacac11155b70f1bc55/spin/mk_lpf_fade.js#L29 Sent from my iPhone On Apr 25, 2023, at 8:37 PM, Yisheng Jiang

Re: Rendering note with dynamic low-pass filter by cross fading

2023-05-01 Thread Yisheng Jiang
Hey Robert, I somehow missed this. The first link is over my head but the second one seems simple enough to try out. On Thu, Apr 27, 2023 at 10:24 PM robert bristow-johnson < r...@audioimagination.com> wrote: > > On 04/27/2023 5:51 PM EDT Yisheng Jiang wrote: > > > > > > It took a couple days

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-27 Thread robert bristow-johnson
> On 04/27/2023 5:51 PM EDT Yisheng Jiang wrote: > > > It took a couple days for your suggestion to sink it (possibly) > > > > > On Apr 25, 2023, at 9:19 PM, Ariadne Lewis-Towbes wrote: > > > > You won't be able to fade between two filtered blocks of complex > > (non-sinusoidal) input to

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-27 Thread B.J. Buchalter
> On Apr 27, 2023, at 6:14 PM, Ariadne Lewis-Towbes wrote: > > Hi, > > Not quite - you can’t iterate linearly through the biquad’s coefficients. > Instead you have to iterate through the frequency and repeatedly calculate > the coefficients (a1,2,3 and b1,2,3, depending). this is normally not

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-27 Thread Ariadne Lewis-Towbes
Hi, Not quite - you can’t iterate linearly through the biquad’s coefficients. Instead you have to iterate through the frequency and repeatedly calculate the coefficients (a1,2,3 and b1,2,3, depending). this is normally not ~too~ expensive an operation, although that’s all relative. Ariadne On

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-27 Thread Yisheng Jiang
It took a couple days for your suggestion to sink it (possibly) > On Apr 25, 2023, at 9:19 PM, Ariadne Lewis-Towbes wrote: > > Hi, > > You won't be able to fade between two filtered blocks of complex > (non-sinusoidal) input to the same effect as modulating an arbitrary single > filter's

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-26 Thread Yisheng Jiang
Yeah that’s a good way to look at it.Sent from my iPhoneOn Apr 26, 2023, at 11:16 AM, N G wrote:A less mathematical way to show why this doesn't quite work: If you have a resonant filter and you want to modulate it from frequency A to frequency B, you would expect that resonant peak to "sweep"

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-26 Thread N G
A less mathematical way to show why this doesn't quite work: If you have a resonant filter and you want to modulate it from frequency A to frequency B, you would expect that resonant peak to "sweep" from one frequency to the next. If you instead use two filters/streams and crossfade between them,

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-26 Thread Yisheng Jiang
Sorry I was unclear in my original email. This is separate from the amplitude envelope.. I’m talking about a modulating envelope that’s only connected to the resonant frequency of the filter.. it shifts it by about 1-semitone over the course of 1 second or so.. Sent from my iPhone > On Apr

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-26 Thread Yisheng Jiang
Hey thanks for the feedback. I was worried it might not be the same effect.. By recalc the transform function I meant computing the a0, a1, b0 etc, which takes a large chunk of my rendering cycle.. In any case I will generate some wav files and see what the outcome is.. Sent from my iPhone >

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-26 Thread Andy Farnell
Without time to listen to your example Yisheng I'm just voicing a theoretical/academic take; When it comes to LTI (linear time invariant) systems order doesn't matter. With time variant systems it does. As a very concrete practical example, I made some "rain" weather FX patches that employ short

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-25 Thread Ariadne Lewis-Towbes
Hi, You won't be able to fade between two filtered blocks of complex (non-sinusoidal) input to the same effect as modulating an arbitrary single filter's frequency. That said, when modulating an IIR filter such as a biquad (as shown in your second email's link), you should not need to

Re: Rendering note with dynamic low-pass filter by cross fading

2023-04-25 Thread Yisheng Jiang
To make concrete of what I’m trying to do, here’s a (wip) code example https://github.com/yishengjiang99/sf2rend/blob/bacca1bf2092dbd78b1affacac11155b70f1bc55/spin/mk_lpf_fade.js#L29 Sent from my iPhone > On Apr 25, 2023, at 8:37 PM, Yisheng Jiang wrote: > > I’m trying to render a note that

Rendering note with dynamic low-pass filter by cross fading

2023-04-25 Thread Yisheng Jiang
I’m trying to render a note that feed into a IIR filter (2-3 poles) whose cutoff frequency following an envelope generator, and it’s not possible for me to compute the z-transform parameters every rendering block.. Is it approximately the same to generate two pcm streams with the starting and