tentando resolver conflitos do tone no mmpCreator
Deploy / Deploy (push) Successful in 2m3s
Details
Deploy / Deploy (push) Successful in 2m3s
Details
This commit is contained in:
parent
94343c6326
commit
cb2479be0c
|
|
@ -17,7 +17,7 @@ import {
|
|||
|
||||
import { getPixelsPerSecond } from "../utils.js";
|
||||
// 🔊 ADIÇÃO: usar a MESMA instância do Tone que o projeto usa
|
||||
import * as Tone from "https://esm.sh/tone@14.7.77";
|
||||
import * as Tone from "https://esm.sh/tone";
|
||||
|
||||
// --- Configurações do Scheduler ---
|
||||
const LOOKAHEAD_INTERVAL_MS = 25.0;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
import { DEFAULT_VOLUME, DEFAULT_PAN } from "../config.js";
|
||||
import { renderAudioEditor } from "./audio_ui.js";
|
||||
import { getMainGainNode, getAudioContext } from "../audio.js";
|
||||
import * as Tone from "https://esm.sh/tone@14.7.77";
|
||||
import * as Tone from "https://esm.sh/tone";
|
||||
|
||||
export let audioState = {
|
||||
tracks: [],
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import { renderAll, getSamplePathMap } from "./ui.js";
|
|||
import { DEFAULT_PAN, DEFAULT_VOLUME, NOTE_LENGTH } from "./config.js";
|
||||
import { initializeAudioContext, getMainGainNode } from "./audio.js";
|
||||
import { DEFAULT_PROJECT_XML, getSecondsPerStep, SAMPLE_SRC } from "./utils.js";
|
||||
import * as Tone from "https://esm.sh/tone@14.7.77";
|
||||
import * as Tone from "https://esm.sh/tone";
|
||||
import { sendAction } from "./socket.js";
|
||||
|
||||
// ⚠️ vem do módulo de áudio (o mesmo que audio_ui usa)
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import { sendAction, joinRoom, setUserName } from "./socket.js";
|
|||
import { renderActivePatternToBlob } from "./pattern/pattern_audio.js";
|
||||
import { showToast } from "./ui.js";
|
||||
import { toggleRecording } from "./recording.js"
|
||||
import * as Tone from "https://esm.sh/tone@14.7.77";
|
||||
import * as Tone from "https://esm.sh/tone"; // Adicione o Tone aqui se não estiver global
|
||||
|
||||
const ROOM_NAME = new URLSearchParams(window.location.search).get("room");
|
||||
window.ROOM_NAME = ROOM_NAME;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// js/pattern_audio.js
|
||||
import * as Tone from "https://esm.sh/tone@14.7.77";
|
||||
import * as Tone from "https://esm.sh/tone";
|
||||
|
||||
import { appState } from "../state.js";
|
||||
import { highlightStep } from "./pattern_ui.js";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// js/pattern/pattern_state.js
|
||||
import * as Tone from "https://esm.sh/tone@14.7.77";
|
||||
import * as Tone from "https://esm.sh/tone";
|
||||
import { TripleOscillator } from "../../audio/plugins/TripleOscillator.js";
|
||||
import { Kicker } from "../../audio/plugins/Kicker.js";
|
||||
import { Lb302 } from "../../audio/plugins/Lb302.js";
|
||||
|
|
|
|||
Loading…
Reference in New Issue