@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.js
CHANGED
|
@@ -1969,7 +1969,9 @@ function createToneAdapter(options) {
|
|
|
1969
1969
|
const endTime = Math.max(...audioClips.map(import_core5.clipEndTime));
|
|
1970
1970
|
const trackObj = {
|
|
1971
1971
|
id: track.id,
|
|
1972
|
-
|
|
1972
|
+
// The adapter is not given the track's name (a view field, core's
|
|
1973
|
+
// TRACK_VIEW_FIELDS); nothing in TonePlayout reads this one.
|
|
1974
|
+
name: track.id,
|
|
1973
1975
|
gain: track.volume,
|
|
1974
1976
|
muted: track.muted,
|
|
1975
1977
|
soloed: track.soloed,
|
|
@@ -2001,7 +2003,9 @@ function createToneAdapter(options) {
|
|
|
2001
2003
|
const trackId = track.id;
|
|
2002
2004
|
const trackObj = {
|
|
2003
2005
|
id: trackId,
|
|
2004
|
-
|
|
2006
|
+
// The adapter is not given the track's name (a view field, core's
|
|
2007
|
+
// TRACK_VIEW_FIELDS); nothing in TonePlayout reads this one.
|
|
2008
|
+
name: track.id,
|
|
2005
2009
|
gain: track.volume,
|
|
2006
2010
|
muted: track.muted,
|
|
2007
2011
|
soloed: track.soloed,
|
|
@@ -2033,7 +2037,7 @@ function createToneAdapter(options) {
|
|
|
2033
2037
|
} else {
|
|
2034
2038
|
if (_soundFontCache) {
|
|
2035
2039
|
console.warn(
|
|
2036
|
-
`[waveform-playlist] SoundFont not loaded for track "${track.
|
|
2040
|
+
`[waveform-playlist] SoundFont not loaded for track "${track.id}" \u2014 falling back to PolySynth.`
|
|
2037
2041
|
);
|
|
2038
2042
|
}
|
|
2039
2043
|
p.addMidiTrack({
|
|
@@ -2343,7 +2347,7 @@ function createToneAdapter(options) {
|
|
|
2343
2347
|
changed = true;
|
|
2344
2348
|
} catch (err) {
|
|
2345
2349
|
console.warn(
|
|
2346
|
-
`[waveform-playlist] SoundFont swap failed for track "${track.
|
|
2350
|
+
`[waveform-playlist] SoundFont swap failed for track "${track.id}": ` + String(err)
|
|
2347
2351
|
);
|
|
2348
2352
|
}
|
|
2349
2353
|
}
|