fix: piano roll và main session play

This commit is contained in:
2026-07-23 21:05:26 +07:00
parent f0210dd019
commit 1a28ebabee
6 changed files with 78 additions and 19 deletions
+1
View File
@@ -64,6 +64,7 @@ window.API_BASE_URL = window.API_BASE_URL || window.location.origin;
listPlugins: () => apiRequest('/api/v1/plugins/available', { method: 'GET' }),
listDefaultSoundfonts: () => apiRequest('/api/v1/plugins/default-soundfonts', { method: 'GET' }),
listSoundfontInstruments: (sfId) => apiRequest(`/api/v1/plugins/soundfont-instruments/${sfId}`, { method: 'GET' }),
renderProject: (projectJson, outputFilename) => apiRequest('/api/v1/plugins/render', { method: 'POST', body: JSON.stringify({ project_json: projectJson, output_filename: outputFilename }) }),
uploadSoundFont: async (file) => {
const formData = new FormData();