786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
|
s = s.next
while (s && s.time < tim)
s = s.ts_next
if (!s) {
//fixme: insert at the end
} else {
// put the P: and/or Q: on a note or rest
while (s.time == tim && s.ts_next
&& !s.dur)
s = s.ts_next
if (e.part) {
// if (s.time != tim) {
// // fixme: insert a part (?)
// }
s.part = e.part
}
|
|
|
|
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
|
s = s.next
while (s && s.time < tim)
s = s.ts_next
if (!s) {
//fixme: insert at the end
} else {
// put the P: and/or Q: on a note, a rest or a space
while (s.time == tim && s.ts_next
&& !s.dur && s.type != C.SPACE)
s = s.ts_next
if (e.part) {
// if (s.time != tim) {
// // fixme: insert a part (?)
// }
s.part = e.part
}
|