Csound Csound-dev Csound-tekno Search About

[Csnd] more info about physical modelling opcodes

Date2025-05-09 00:44
FromMikoláš Štrajt
Subject[Csnd] more info about physical modelling opcodes
Hi,
where do I find more info about physical modelling opcodes?

Mostly things like parameters range and their useful values. Or what which parameter means (sometimes it's a bit mysterious).

For example I noticed in Cabbage's barmodel demo there is some mapping between barmodel stiffness and input MIDI notes but it's not said where do these magic values came from?

Also when experimented with wgluck2 opcode I realized it sounds good but in lower registers it has actually bit too long decay time unlike for example real lowest guitar string. Is there any way to fix this or it's just easier to slap some envelope on it?

Any help will be appreaciated.

-- 
Mikoláš Štrajt

Date2025-05-09 01:06
From"Jeanette C."
SubjectRe: [Csnd] more info about physical modelling opcodes
Hi Mikoláš,
I think my answer will not be too joyful. Physical models can be 
temperamental. I mostly used trial and error. With the pluck models, 
experiment with the damping/LPF parameters. The barmodel took a while to get 
right. I tuned it by ear.

Raw physical models are very open. they can explode or not sound at all. The 
magic happens in the "musical tuning" of the parameters. At least, that's my 
opinion.

Also, be aware that the orchestra's samplerate may influence especially the 
higher registers of physical modelling opcodes strongly.

Perhaps some of the wizard will have more to say.

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

There's a girl in the mirror
I wonder who she is
Sometimes I think I know her
Sometimes I really wish I did <3
(Britney Spears)

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

Date2025-05-09 08:17
FromIain McCurdy
SubjectRe: [Csnd] more info about physical modelling opcodes
Hi Mikoláš,

I wrote the Cabbage barmodel example; the mapping values were derived using a previous csd which iteratively searched for appropriate stiffness values using pitch tracking of the result. I'm sure there could be a more elegant way of going about this, but the results seemed acceptable and any remaining error added some colour I felt.

For string models, I would recommend building your own to facilitate more personalised exploration and improved tuning. The bass guitar Cabbage instrument is an example of this approach. Aaron Krister Johnson has done some great work in this area in designing PM harpsichords.

Iain


From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Mikoláš Štrajt <strajt9@SEZNAM.CZ>
Sent: 08 May 2025 23:44
To: CSOUND@LISTSERV.HEANET.IE <CSOUND@LISTSERV.HEANET.IE>
Subject: [Csnd] more info about physical modelling opcodes
 
Hi,
where do I find more info about physical modelling opcodes?

Mostly things like parameters range and their useful values. Or what which parameter means (sometimes it's a bit mysterious).

For example I noticed in Cabbage's barmodel demo there is some mapping between barmodel stiffness and input MIDI notes but it's not said where do these magic values came from?

Also when experimented with wgluck2 opcode I realized it sounds good but in lower registers it has actually bit too long decay time unlike for example real lowest guitar string. Is there any way to fix this or it's just easier to slap some envelope on it?

Any help will be appreaciated.

-- 
Mikoláš Štrajt
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

Date2025-05-09 19:32
FromPartev Sarkissian <0000060b2ef1338e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] more info about physical modelling opcodes

I don't mean to be picky about spelling, but isn't it wgpluck and not wgluck?


-Partev



On Friday, May 9, 2025 at 12:17:36 AM PDT, Iain McCurdy <i_mccurdy@hotmail.com> wrote:


Hi Mikoláš,

I wrote the Cabbage barmodel example; the mapping values were derived using a previous csd which iteratively searched for appropriate stiffness values using pitch tracking of the result. I'm sure there could be a more elegant way of going about this, but the results seemed acceptable and any remaining error added some colour I felt.

For string models, I would recommend building your own to facilitate more personalised exploration and improved tuning. The bass guitar Cabbage instrument is an example of this approach. Aaron Krister Johnson has done some great work in this area in designing PM harpsichords.

Iain


From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Mikoláš Štrajt <strajt9@SEZNAM.CZ>
Sent: 08 May 2025 23:44
To: CSOUND@LISTSERV.HEANET.IE <CSOUND@LISTSERV.HEANET.IE>
Subject: [Csnd] more info about physical modelling opcodes
 
Hi,
where do I find more info about physical modelling opcodes?

Mostly things like parameters range and their useful values. Or what which parameter means (sometimes it's a bit mysterious).

For example I noticed in Cabbage's barmodel demo there is some mapping between barmodel stiffness and input MIDI notes but it's not said where do these magic values came from?

Also when experimented with wgluck2 opcode I realized it sounds good but in lower registers it has actually bit too long decay time unlike for example real lowest guitar string. Is there any way to fix this or it's just easier to slap some envelope on it?

Any help will be appreaciated.

-- 
Mikoláš Štrajt
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
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