How to get the notes from a pattern #129
Answered
by
demberto
curtistornade
asked this question in
Q&A
-
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
demberto
Apr 12, 2023
Replies: 1 comment 1 reply
-
All "model" classes in PyFLP are proxy classes. They are just a better representation of the underlying event data. You cannot yet add notes, but you can remove or modify existing ones: import pyflp
project = pyflp.parse("/path/to/flp.flp")
for pattern in project.patterns:
for note in pattern.notes:
print(note)
# You can do whatever modifications you need to here. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
curtistornade
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All "model" classes in PyFLP are proxy classes. They are just a better representation of the underlying event data.
You cannot yet add notes, but you can remove or modify existing ones: