mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
added detune field for BaseSound class
This commit is contained in:
parent
a4b7eb0fe5
commit
3a8c665fd6
1 changed files with 7 additions and 0 deletions
|
@ -61,6 +61,13 @@ var BaseSound = new Class({
|
|||
* @property {number} rate
|
||||
*/
|
||||
this.rate = 1;
|
||||
/**
|
||||
* Represents detuning of sound in [cents](https://en.wikipedia.org/wiki/Cent_%28music%29).
|
||||
* The range of the value is -1200 to 1200, but we recommend setting it to [50](https://en.wikipedia.org/wiki/50_Cent).
|
||||
*
|
||||
* @property {number} detune
|
||||
*/
|
||||
this.detune = 0;
|
||||
/**
|
||||
* [description]
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue