Talk:Console Commands: Difference between revisions

m
 
Line 6: Line 6:


The code snippet given does not work:
The code snippet given does not work:
for (const marker of selection.markers) {
for (const marker of selection.markers) {
  if (marker.setting == kMarkerSettingInstrumentDetune) {
  if (marker.setting == kMarkerSettingInstrumentDetune) {
    marker.value = 2400;
    marker.value = 2400;
  }
  }
}
}