fixing some of the current issues with pat

This commit is contained in:
2024-05-14 15:21:50 +02:00
parent 6f61558ffb
commit 74642bd1f4
6 changed files with 151 additions and 73 deletions

View File

@ -54,9 +54,9 @@ EventShortener {
if (type !== 'midi', {
if (pattern.includes('i') || pattern.includes('instrument') == false, {
new_pattern = new_pattern ++ [
sp: Pfunc { |e| e.str ? "kick" },
nb: Pfunc { |e| e.num ? 0 },
instrument: Pfunc { |e| e.str.isNil && e.num.isNil ? "default" },
sp: Pfunc { |e| e.str ? 'default' },
nb: Pfunc(\num),
instrument: 'default',
fast: 1,
];
});