gh_audio LibraryDescriptiongh_audio is the module that manages sounds: creation, destruction, playing. The audio module follows FMOD principles. Number of functions: 14
gh_audio.updateDescriptionUpdates the sound system. Must be called once per frame. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesThis function has no return value(s). Code sample
gh_audio.sound_createDescriptionCreates a sound. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_audio.sound_killDescriptionDestroys a sound. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_audio.sound_playDescriptionPlays a sound. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_audio.sound_is_playingDescriptionChecks if a sound is currently playing. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_audio.sound_set_loop_stateDescriptionSets the loop state. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_audio.sound_set_volumeDescriptionSets the volume level of a particular sound instance. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_audio.sound_get_volumeDescriptionGets the volume level of a particular sound instance. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_audio.sound_get_duration_msDescriptionGets the duration of a sound in milli-seconds. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_audio.sound_get_position_msDescriptionGets the current position in a sound instance in milli-seconds. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_audio.sound_set_pausedDescriptionSets the paused state of a particular sound instance. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_audio.sound_spectrum_readDescriptionReads the audio buffer. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_audio.sound_spectrum_get_num_valuesDescriptionGets the number of entries in the audio buffer. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_audio.sound_spectrum_get_valueDescriptionGets a particular value from the audio buffer. LanguagesLua - Python ParametersReturn ValuesCode sample
2013-2015 Geeks3D. All Rights Reserved. .:- G3D Network -:. |