Difference between revisions of "SoundChannel:getPitch"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(any), (any) = SoundChannel:getPitch()
 
(any), (any) = SoundChannel:getPitch()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 15:31, 13 July 2023

Available since: Gideros 2012.09.3
Class: SoundChannel

Description

Returns the current pitch of the sound channel (original pitch is 1).

(any), (any) = SoundChannel:getPitch()

Return values

Returns (any) the current pitch of the sound channel
Returns (any) the current pitch of the sound channel