Skip to content

Add modified play_pattern_timed command #10

@rbnpi

Description

@rbnpi

Add modified play_patter_timed command

In order to code music with notes of a given duration the most obvious command is play_pattern_timed.
However to get the notes playing throughout their duration you need to use the "attack" paremter as well
e.g. play_pattern_timed [60,64,67],[0.25],"attack",0.25
This is fine if all the notes have the same duration. However if the durations are different, then this format
does not have sufficient flexibility as there is only one value for the attack.
What is needed is a command like
play_pattern_timed_attack [60,64,67],[0.25,0.5,0.25],[0.25,0.5,0.25] with three lists, one for the
note pitch, one for the duration and one for the attack value. Often you will want the attack value
and duration to be the same, in which case a command like
play_pattern_timed_autoattack [60,64,67],[0.25,0.5,0.25] could be used where the attack value is automatically put equal to the duration.The separate lists are useful where you want to get staccato notes e.g.
play_pattern_timed_attack [60,64,67],[0.25,0.5,0.25],[0.1,0.15,0.1] for example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions