mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
added detune field to BaseSoundManager
This commit is contained in:
parent
8ede77ddce
commit
52cbffcf2e
1 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,13 @@ var BaseSoundManager = new Class({
|
|||
* @property {number} rate
|
||||
*/
|
||||
this.rate = 1;
|
||||
/**
|
||||
* Global detuning of all sounds 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;
|
||||
/**
|
||||
* Global amount of panning to apply.
|
||||
* The value can range between -1 (full left pan) and 1 (full right pan).
|
||||
|
|
Loading…
Reference in a new issue