Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generatePatternSeqs features #21

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
comments
  • Loading branch information
colinsullivan committed Sep 11, 2020
commit 0d1f5c92cc11645244e318f00c76a1fc1c2ac758
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ Note that the first track in a SimpleMIDIFile often contains no note events if i

Parameters:

* withVelocity: Instead of a 2-element tuple (as above), returns a 3-element
with a velocity value [0.0 - 1.0]. Velocity is 0.0 for rests.
* withVelocity: Instead of a 2-element tuple (as above), returns a 3-element with a velocity value [0.0 - 1.0]. Velocity is 0.0 for rests.
* padStart: If the MIDI file starts with a gap, inserts a rest into the pattern filling the gap from the start of the file until the first note.
* totalDurationForPadEnd: In order to create perfect looping patterns, a duration can be specified here. If there is a gap between the end of the last note event and this duration, a rest will be inserted at the end of the pattern to ensure the pattern is this duration in total.

*/
arg withVelocity = false, padStart = false, totalDurationForPadEnd = false;
Expand Down