Audio and Video Functions
This article is an overview of all audio and sound related functions. The audio functions are perfect for using emitters and can be used to create track lists. The audio and sound functions both work together and can be used simultaneously.
- audio_exists
- audio_system
- audio_add
- audio_delete
- audio_channel_num
- audio_is_paused
- audio_is_playing
- audio_play_sound
- audio_play_sound_at
- audio_play_sound_on
- audio_pause_sound
- audio_pause_all
- audio_resume_sound
- audio_resume_all
- audio_stop_sound
- audio_stop_all
- audio_sound_seek
- audio_sound_offset
- audio_listener_orientation
- audio_listener_position
- audio_listener_velocity
- audio_falloff_set_model
- audio_master_gain
- audio_sound_gain
- audio_sound_length
- audio_sound_pitch
- audio_emitter_create
- audio_emitter_exists
- audio_emitter_falloff
- audio_emitter_free
- audio_emitter_gain
- audio_emitter_pitch
- audio_emitter_position
- audio_emitter_velocity
These sound functions are provided for compatibility with old versions of Game Maker and for quick short hand typing.
- sound_add
- sound_background_tempo
- sound_delete
- sound_discard
- sound_exists
- sound_fade
- sound_get_kind
- sound_get_name
- sound_get_preload
- sound_get_volume
- sound_get_pitch
- sound_get_position
- sound_get_length
- sound_get_samplerate
- sound_get_channels
- sound_seek
- sound_seek_all
- sound_isplaying
- sound_ispaused
- sound_loop
- sound_pan
- sound_play
- sound_replace
- sound_restore
- sound_set_search_directory
- sound_pause
- sound_pause_all
- sound_resume_all
- sound_stop
- sound_stop_all
- sound_global_volume
- sound_volume
- sound_pitch
The following functions are used to create sound effects, they are deprecated and we only offer them in our DirectSound audio system for compatibility with really old games.
- sound_3d_set_sound_cone
- sound_3d_set_sound_distance
- sound_3d_set_sound_position
- sound_3d_set_sound_velocity
- sound_effect_chorus
- sound_effect_compressor
- sound_effect_echo
- sound_effect_equalizer
- sound_effect_flanger
- sound_effect_gargle
- sound_effect_reverb
- sound_effect_set
The following functions can be used to load video files supported by Microsoft Windows Media Player and play them back. They can currently only be used on Windows when the DirectShow extension is enabled under Build->Settings.
- video_add
- video_delete
- video_exists
- video_start
- video_pause
- video_stop
- video_set_seek
- video_set_rate
- video_set_fullscreen
- video_set_window_region
- video_set_destination_region
- video_set_source_region
- video_set_scale
- video_get_seek
- video_get_rate
- video_get_duration
- video_get_width
- video_get_height
- video_get_frame_rate
- video_get_frame_time