Options (Affects News & Product results only):

 OS: Any Format: Any Include: ProductsDevelopersNewsForumsVideos
Quick Search KVR

"Quick Search" KVR Audio's Product Database, News Items, Developer Listings, Forum Topics and videos here. For advanced Product Database searching please use the full product search. For the forum you can use the phpBB forum search.

To utilize the power of Google you can use the integrated Google Site Search.

Products 0

Developers 0

News 0

Forum 0

Videos 0

Search

## P-modelling: Coupling K with W models - e.g. waveguide with spring

DSP, Plug-in and Host development discussion.
KVRist

38 posts since 3 Sep, 2009, from Austria
I'm trying to model a brass instrument using pure physical simulation: single lip mass-spring and a bore waveguide. Has anybody had any success with coupling them? I've seen several papers on this, but there is only some higher-level math without a discrete time numerical solution. Is KW converter junction suitable for this? What quantity is coupled then?
giq
KVRian

585 posts since 1 Dec, 2004
Personally I just feed the pipe output into the lip simulation, and then the driver output calculated from the lip back into the pipe, while making sure that they stay in phase so that it doesn't go out of tune (so that the 1st harmonic has the same phase after being transformed by the lip+driver than what was in the pipe).
KVRist

38 posts since 3 Sep, 2009, from Austria
MadBrain wrote:Personally I just feed the pipe output into the lip simulation, and then the driver output calculated from the lip back into the pipe, while making sure that they stay in phase so that it doesn't go out of tune (so that the 1st harmonic has the same phase after being transformed by the lip+driver than what was in the pipe).

(input pressure) <-> MASS -(pressure)<-> pipe
MASS (spring) <-> "wall"

Is it like this? no problems with spring part.. but how to calculate pipe interaction? and back? If a pipe was another spring, the force would be easily calculated by spring compression. but MASS creates pressure that is "processed" by a pipe and fed back, so it seems that some input and output variables need to be integrated..
giq
KVRian

585 posts since 1 Dec, 2004
I think the way your lip/reed mass behaves is not so important, as long as it's in the right phase so that the model is in tune. So it's just a kind of bandpass, that takes the complex signal from the pipe, and turns it into something simple (a sinewave) for controlling your airflow. It's not particularly important to feed the lip/reed movement back into the pipe (it's just a sinewave, which is kinda boring).

The real magic is that the flow of air depends on the position of your lips/reed in a non-linear way. This takes your sinewave and waveshapes it into the instrument's real waveshape, and it's where all your harmonics come from. So for instance, if your instrument is a bassoon, you need something that will take a sinewave (your reed position) and turn it into the kind of pulse-wave-ish-resonant-ish waveform you get from a bassoon.
KVRist

38 posts since 3 Sep, 2009, from Austria
I know these models, like squared and clipped biquad in brass.cpp from STK. It's nice, however it lacks realism in many situations.. it's just an approximation. The waveshaped signal needs to be clipped in order to assure stability (kind of workarround?). With coupled models, the amount of energy is preserved and the flow is natural (lips vibration is no more a pure sine wave).

Nevertheless coupling iterative K-models (like mass-springs systems) and waveguides open so many possibilities..
giq
KVRian

585 posts since 1 Dec, 2004
How do you keep a coupled model in tune?
Mr Entertainment

10332 posts since 29 Apr, 2002, from i might peeramid
you don't, which is desirable haven't said anything because when i put aerophone together i embarassingly hadn't discerned how to tune a m-s algo yet. iirc i had another go since but no bell model so no release, and also iirc staying in tune depends on the reflectivity and the k of the m-s.. yes at equal to or lower than (to some extent, maybe half an octave or so?) the frequency of the waveguide.
you come and go, you come and go. amitabha xoxos.net free vst. neither a follower nor a leader be