@waveform-playlist/playout 13.0.0-next.5 → 13.0.0-next.6
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/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1961,7 +1961,9 @@ function createToneAdapter(options) {
|
|
|
1961
1961
|
const endTime = Math.max(...audioClips.map(clipEndTime));
|
|
1962
1962
|
const trackObj = {
|
|
1963
1963
|
id: track.id,
|
|
1964
|
-
|
|
1964
|
+
// The adapter is not given the track's name (a view field, core's
|
|
1965
|
+
// TRACK_VIEW_FIELDS); nothing in TonePlayout reads this one.
|
|
1966
|
+
name: track.id,
|
|
1965
1967
|
gain: track.volume,
|
|
1966
1968
|
muted: track.muted,
|
|
1967
1969
|
soloed: track.soloed,
|
|
@@ -1993,7 +1995,9 @@ function createToneAdapter(options) {
|
|
|
1993
1995
|
const trackId = track.id;
|
|
1994
1996
|
const trackObj = {
|
|
1995
1997
|
id: trackId,
|
|
1996
|
-
|
|
1998
|
+
// The adapter is not given the track's name (a view field, core's
|
|
1999
|
+
// TRACK_VIEW_FIELDS); nothing in TonePlayout reads this one.
|
|
2000
|
+
name: track.id,
|
|
1997
2001
|
gain: track.volume,
|
|
1998
2002
|
muted: track.muted,
|
|
1999
2003
|
soloed: track.soloed,
|
|
@@ -2025,7 +2029,7 @@ function createToneAdapter(options) {
|
|
|
2025
2029
|
} else {
|
|
2026
2030
|
if (_soundFontCache) {
|
|
2027
2031
|
console.warn(
|
|
2028
|
-
`[waveform-playlist] SoundFont not loaded for track "${track.
|
|
2032
|
+
`[waveform-playlist] SoundFont not loaded for track "${track.id}" \u2014 falling back to PolySynth.`
|
|
2029
2033
|
);
|
|
2030
2034
|
}
|
|
2031
2035
|
p.addMidiTrack({
|
|
@@ -2335,7 +2339,7 @@ function createToneAdapter(options) {
|
|
|
2335
2339
|
changed = true;
|
|
2336
2340
|
} catch (err) {
|
|
2337
2341
|
console.warn(
|
|
2338
|
-
`[waveform-playlist] SoundFont swap failed for track "${track.
|
|
2342
|
+
`[waveform-playlist] SoundFont swap failed for track "${track.id}": ` + String(err)
|
|
2339
2343
|
);
|
|
2340
2344
|
}
|
|
2341
2345
|
}
|