forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_spatialsampleplayer
reduz edited this page Apr 10, 2014
·
9 revisions
####Inherits: SpatialPlayer ####Category: Core
- void set_sample_library ( SampleLibrary library )
- SampleLibrary get_sample_library ( ) const
- void set_polyphony ( int voices )
- int get_polyphony ( ) const
- int play ( String sample, int voice=-2 )
- void voice_set_pitch_scale ( int voice, float ratio )
- void voice_set_volume_scale_db ( int voice, float db )
- bool is_voice_active ( int voice ) const
- void stop_voice ( int voice )
- void stop_all ( )
- INVALID_VOICE = -1
- NEXT_VOICE = -2