mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 14:02:29 -05:00
update comments
This commit is contained in:
parent
bee8210764
commit
0742e8e0b0
1 changed files with 5 additions and 5 deletions
10
src/index.js
10
src/index.js
|
@ -17,7 +17,8 @@ var DrumPlayer = require('./DrumPlayer');
|
|||
/* Audio Engine
|
||||
|
||||
The Scratch runtime has a single audio engine that handles global audio properties and effects,
|
||||
and creates the instrument player and a drum player, used by all play note and play drum blocks
|
||||
loads all the audio buffers for sounds belonging to sprites, and creates a single instrument player
|
||||
and a drum player, used by all play note and play drum blocks
|
||||
|
||||
*/
|
||||
|
||||
|
@ -114,10 +115,9 @@ AudioEngine.prototype.createPlayer = function () {
|
|||
|
||||
/* Audio Player
|
||||
|
||||
Each sprite has an audio player
|
||||
Clones receive a reference to their parent's audio player
|
||||
the audio player currently handles sound loading and playback, sprite-specific effects
|
||||
(pitch and pan) and volume
|
||||
Each sprite or clone has an audio player
|
||||
the audio player handles sound playback and the sprite-specific audio effects
|
||||
pitch and pan, and volume
|
||||
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue