Is zero-delay only for filters?
- KVRAF
- Topic Starter
- 3417 posts since 28 Jan, 2006 from Phoenix, AZ
Is zero-delay only for filters?
How about zero-delay feedback FM?
How about one of these patches?
Osc A --> Osc B Frq CV
Osc B--> Osc A Frq CV
Osc A --> Osc B hard sync input
Osc B --> Osc A hard sync input
Osc A --> Osc B Frq CV
How about zero-delay feedback FM?
How about one of these patches?
Osc A --> Osc B Frq CV
Osc B--> Osc A Frq CV
Osc A --> Osc B hard sync input
Osc B --> Osc A hard sync input
Osc A --> Osc B Frq CV
- u-he
- 28063 posts since 8 Aug, 2002 from Berlin
FM may benefit a lot from zero delay feedback. However, it's probably not as obvious as in filters. In filters, an artificially added unit delay in the feedback path can make the algorithm instable. That's probably not as likely in oscillators. Not sure.
-
- KVRAF
- 1607 posts since 12 Apr, 2002
The preferred discretization method will be most probably different. Not trapezoidal integration, which is used for filters because it results in nice transformation of the frequency response. For the oscillators the best is probably just to sample the analytic solution of the differential equation system and apply antialiasing. Besides zero delay, this also means that the modulation will not be applied sample-by-sample, but continuously.
-
Music Engineer Music Engineer https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=15959
- KVRAF
- 4291 posts since 8 Mar, 2004 from Berlin, Germany
why would i have to deal with a differential equation (system)? if i consider just a single feedback-fm oscillator, i would think, i have just a regular (albeit implicit) equation for my output signal y(t), like:Z1202 wrote:For the oscillators the best is probably just to sample the analytic solution of the differential equation system and apply antialiasing.
Code: Select all
y(t) = sin(w*t + k*y(t))
Code: Select all
y1 = sin(w1*t + k11*y1 + k12*y2)
y2 = sin(w2*t + k21*y1 + k22*y2)
-
- KVRAF
- 1607 posts since 12 Apr, 2002
This is phase modulation. For frequency modulation you'll need to integrate the frequency to obtain the phase, hence differential equations.Music Engineer wrote: why would i have to deal with a differential equation (system)? if i consider just a single feedback-fm oscillator, i would think, i have just a regular (albeit implicit) equation for my output signal y(t), like:Code: Select all
y(t) = sin(w*t + k*y(t))
-
- KVRAF
- 3080 posts since 17 Apr, 2005 from S.E. TN
Not about oscillators, but at least two recent threads were about non-filter problems which might benefit from zero-delay feedback. One thread about feedback compression, and the other about global feedback surrounding "a very complicated process" (specific details about the process not discussed).
-
Music Engineer Music Engineer https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=15959
- KVRAF
- 4291 posts since 8 Mar, 2004 from Berlin, Germany
ah - yes, thanks. i'm spoiled by the sloppy usage of the term in the industry - and now i was perpetuating such sloppiness myself - shame on me.Z1202 wrote:This is phase modulation. For frequency modulation you'll need to integrate the frequency to obtain the phase, hence differential equations.Music Engineer wrote: why would i have to deal with a differential equation (system)? if i consider just a single feedback-fm oscillator, i would think, i have just a regular (albeit implicit) equation for my output signal y(t), like:Code: Select all
y(t) = sin(w*t + k*y(t))
- KVRAF
- Topic Starter
- 3417 posts since 28 Jan, 2006 from Phoenix, AZ
how about my famous chaos patch? Edit: Also, I think phase modulation is more useful for everything, but I am using FM because it was simple to code.
osc a --> lowpass filter --> highpass filter --> osc b frq cv
osc b --> optional highpass filter --> osc a frq cv
*all filters are non-resonant, all osc are sine.
here's a demo of this setup (skips to the more exciting parts):
https://www DOT youtube.com/watch?v=qBN5GHBd-jM&feature=youtu.be&t=1m20s
https://www DOT youtube.com/watch?v=mxozhdDjUAM&feature=youtu.be&t=2m10s
(suppressing kvr big f***ing video window, replace DOT with .)
of course it's using a 1-sample delay which causes a limitation in usefulness (since it sounds different at different sample rates and I think also suffers from instability due to the delay which limits its usable parameter ranges).
osc a --> lowpass filter --> highpass filter --> osc b frq cv
osc b --> optional highpass filter --> osc a frq cv
*all filters are non-resonant, all osc are sine.
here's a demo of this setup (skips to the more exciting parts):
https://www DOT youtube.com/watch?v=qBN5GHBd-jM&feature=youtu.be&t=1m20s
https://www DOT youtube.com/watch?v=mxozhdDjUAM&feature=youtu.be&t=2m10s
(suppressing kvr big f***ing video window, replace DOT with .)
of course it's using a 1-sample delay which causes a limitation in usefulness (since it sounds different at different sample rates and I think also suffers from instability due to the delay which limits its usable parameter ranges).