@dawcore/components 0.0.39-next.16 → 0.0.39-next.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -177,7 +177,7 @@ This expands to a MIDI track, `<daw-track kind="midi">`, containing a `<daw-clip
|
|
|
177
177
|
</script>
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
A clip is treated as MIDI iff `clip.midiNotes != null`. MIDI clips skip audio fetch + decode + peak generation. Move drag
|
|
180
|
+
A clip is treated as MIDI iff `clip.midiNotes != null`. MIDI clips skip audio fetch + decode + peak generation. Move drag and split-at-playhead work on MIDI clips (a split keeps the clip's notes, channel and program on both halves, each half playing and drawing the notes inside its own range); trim handles are inert on them.
|
|
181
181
|
|
|
182
182
|
**Theming:** the piano-roll honors `--daw-piano-roll-note-color` (default `#2a7070`), `--daw-piano-roll-selected-note-color` (default `#3d9e9e`), and `--daw-piano-roll-background` (default `#1a1a2e`).
|
|
183
183
|
|
package/dist/index.js
CHANGED
|
@@ -82,7 +82,7 @@ __export(index_exports, {
|
|
|
82
82
|
module.exports = __toCommonJS(index_exports);
|
|
83
83
|
|
|
84
84
|
// <define:__INSTALL_SPECS__>
|
|
85
|
-
var define_INSTALL_SPECS_default = { "@dawcore/faust": "@dawcore/faust@^0.0.2-next.1", "@dawcore/midi": "@dawcore/midi@^0.0.6-next.
|
|
85
|
+
var define_INSTALL_SPECS_default = { "@dawcore/faust": "@dawcore/faust@^0.0.2-next.1", "@dawcore/midi": "@dawcore/midi@^0.0.6-next.11", "@dawcore/transport": "@dawcore/transport@^0.0.16-next.10", "@dawcore/wam": "@dawcore/wam@^0.0.5-next.0", "@waveform-playlist/core": "@waveform-playlist/core@^13.0.0-next.10", "@waveform-playlist/engine": "@waveform-playlist/engine@^14.0.0-next.8", "@waveform-playlist/worklets": "@waveform-playlist/worklets@^13.0.1-next.0", "@waveform-playlist/playout": "@waveform-playlist/playout@^13.0.0-next.10" };
|
|
86
86
|
|
|
87
87
|
// src/elements/daw-annotation.ts
|
|
88
88
|
var import_lit = require("lit");
|
|
@@ -6330,9 +6330,7 @@ function canSplitAtTime(host, time) {
|
|
|
6330
6330
|
if (!track) return false;
|
|
6331
6331
|
const atSample = Math.round(time * host.effectiveSampleRate);
|
|
6332
6332
|
const clip = findClipAtSample(track.clips, atSample);
|
|
6333
|
-
|
|
6334
|
-
if (clip.midiNotes != null) return false;
|
|
6335
|
-
return true;
|
|
6333
|
+
return clip !== void 0;
|
|
6336
6334
|
}
|
|
6337
6335
|
function performSplit(host, time) {
|
|
6338
6336
|
const { engine } = host;
|