removing stuff

This commit is contained in:
2023-08-17 13:04:45 +02:00
parent 8541d0c3ef
commit ab482b38b2
5 changed files with 9 additions and 9 deletions

View File

@ -1003,6 +1003,7 @@ export class UserAPI {
length: number,
rotate: number = 0
): boolean[] {
if (pulses == length) return Array.from({ length }, () => true);
function startsDescent(list: number[], i: number): boolean {
const length = list.length;
const nextIndex = (i + 1) % length;
@ -1199,7 +1200,7 @@ export class UserAPI {
sound = (sound: string) => {
return new Sound(sound);
return new Sound(sound, this.app);
}
samples = samples;