for (let i = 0; i < pattern.channel(1).rawNotes.models.length; i++) {
pattern.channel(1).rawNotes.remove(pattern.channel(1).rawNotes.models[0].cid);
}
2/ Is it possible to create a note obj ? change his position and auto refresh the pattern ?
3/ when I remove all notes with my loop, I add note to my pattern pattern.channel(1).add() note cid are start from the last cid (I have 4 notes but first cid is note-124…), I am doing something wrong ?
4/ I will make a small French tutorial in few weeks ;¬)
Hi,
1/ How can I remove all notes without a for() ?
2/ Is it possible to create a note obj ? change his position and auto refresh the pattern ?
3/ when I remove all notes with my loop, I add note to my pattern
pattern.channel(1).add()
note cid are start from the last cid (I have 4 notes but first cid is note-124…), I am doing something wrong ?4/ I will make a small French tutorial in few weeks ;¬)