node_modules/scratch-vm/src/virtual-machine.js
/**
     * Add a sound to the current editing target.
     * @param {!object} soundObject Object representing the costume.
     * @returns {?Promise} - a promise that resolves when the sound has been decoded and added
     */
Add a sound to the current editing target.
@param {!object} soundObject Object representing the costume.
@returns {?Promise} - a promise that resolves when the sound has been decoded and added
Add a sound to the current editing target . @param { !object } soundObject Object representing the costume . @returns { ?Promise } - a promise that resolves when the sound has been decoded and added
addSound (soundObject) {
        return loadSound(soundObject, this.runtime).then(() => {
            this.editingTarget.addSound(soundObject);
            this.emitTargetsUpdate();
        });
    }
addSound ( soundObject ) { return loadSound ( soundObject , this . runtime ) . then ( ( ) => { this . editingTarget . addSound ( soundObject ) ; this . emitTargetsUpdate ( ) ; } ) ; }
Add a sound to the current editing target.
Add a sound to the current editing target .