๐น Patterns#
- class pyflp.pattern.Patterns[source]#
- __getitem__(i: int | str | slice) Pattern [source]#
Returns the pattern with the specified index or
Pattern.name
.- Parameters:
i โ A zero-based index, its name or a slice of indexes.
- Raises:
ModelNotFound โ A
Pattern
with the specified name or index isnโt found.
- __len__() int [source]#
Returns the number of patterns found in the project.
- Raises:
NoModelsFound โ No patterns were found.