csound / manual

Csound Reference Manual (English)
Other
45 stars 29 forks source link

named instr and fractionals #674

Open tjingboem opened 1 year ago

tjingboem commented 1 year ago

Sleepy Young Boy — 4 july 2023 Quick question, was support for instantiating names instruments with fractional numbers appended ever added? Have been out of the loop for a bit and thought I remembered this being mentioned as something that would be added if not obviously not a big deal, as I could just use an enum in the frontend, just one less thing to manage though haha Steven Yi — Today at 7:02 AM The release notes for 6.16 mentions:

An instance of a named instrument can have a decimal fraction added to the name to allow for tied notes and other facilities that were only avaliable for numbered instruments.

I haven't used it so I'm not sure what the exact syntax is. If doing something programmatically in orc code, could always use nstrnum("nameOfInstr") + .01 or something like that to manually create a numbered fractional instrument.

jpffitch commented 1 year ago

I think it works correctly.

⁣​

On 4 Jul 2023, 07:37, at 07:37, Menno Knevel @.***> wrote:

Sleepy Young Boy — 4 july 2023 Quick question, was support for instantiating names instruments with fractional numbers appended ever added? Have been out of the loop for a bit and thought I remembered this being mentioned as something that would be added if not obviously not a big deal, as I could just use an enum in the frontend, just one less thing to manage though haha Steven Yi — Today at 7:02 AM The release notes for 6.16 mentions:

An instance of a named instrument can have a decimal fraction added to the name to allow for tied notes and other facilities that were only avaliable for numbered instruments.

I haven't used it so I'm not sure what the exact syntax is. If doing something programmatically in orc code, could always use nstrnum("nameOfInstr") + .01 or something like that to manually create a numbered fractional instrument.

-- Reply to this email directly or view it on GitHub: https://github.com/csound/manual/issues/674 You are receiving this because you are subscribed to this thread.

Message ID: @.***>