Difference between revisions of "love.audio"
m (Add PrettyDeprecated) |
Cardibro123 (talk | contribs) (→Enums) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | Provides | + | Provides of audio interface for playback/recording sound. |
== Types == | == Types == | ||
{{#ask: [[Category:Types]] [[parent::love.audio]] [[Concept:Current]] | {{#ask: [[Category:Types]] [[parent::love.audio]] [[Concept:Current]] | ||
Line 12: | Line 12: | ||
| ?PrettyDeprecated | | ?PrettyDeprecated | ||
}} | }} | ||
+ | |||
== Functions == | == Functions == | ||
{{#ask: [[Category:Functions]] [[parent::love.audio]] [[Concept:Current]] | {{#ask: [[Category:Functions]] [[parent::love.audio]] [[Concept:Current]] | ||
Line 37: | Line 38: | ||
}} | }} | ||
[[Category:Modules]] | [[Category:Modules]] | ||
− | {{#set:Description=Provides | + | {{#set:Description=Provides of audio interface for playback/recording sound.}} |
+ | |||
== See Also == | == See Also == | ||
* [[parent::love]] | * [[parent::love]] |
Latest revision as of 19:29, 2 December 2024
Provides of audio interface for playback/recording sound.
Contents
Types
RecordingDevice | Represents an audio input device capable of recording sounds. | 11.0 | |
Source | A Source represents audio you can play back. |
Functions
love.audio.getActiveEffects | Gets a list of the names of the currently enabled effects. | 11.0 | |
love.audio.getActiveSourceCount | Gets the current number of simultaneously playing sources. | 11.0 | |
love.audio.getDistanceModel | Returns the distance attenuation model. | 0.8.0 | |
love.audio.getDopplerScale | Gets the global scale factor for doppler effects. | 0.9.2 | |
love.audio.getEffect | Gets the settings associated with an effect. | 11.0 | |
love.audio.getMaxSceneEffects | Gets the maximum number of active effects. | 11.0 | |
love.audio.getMaxSourceEffects | Gets the maximum number of active Effects for each Source. | 11.0 | |
love.audio.getNumSources | Gets the current number of simultaneously playing sources. | 0.9.0 | |
love.audio.getOrientation | Returns the orientation of the listener. | ||
love.audio.getPosition | Returns the position of the listener. | ||
love.audio.getRecordingDevices | Gets a list of RecordingDevices on the system. | 11.0 | |
love.audio.getSourceCount | Gets the current number of simultaneously playing sources. | 0.9.0 | 11.0 |
love.audio.getVelocity | Returns the velocity of the listener. | ||
love.audio.getVolume | Returns the master volume. | ||
love.audio.isEffectsSupported | Gets whether Effects are supported in the system. | 11.0 | |
love.audio.newQueueableSource | Creates a new Source usable for real-time generated sound playback with Source:queue. | 11.0 | |
love.audio.newSource | Creates a new Source from a file, SoundData, or Decoder. | ||
love.audio.pause | Pauses specific or all currently played Sources. | ||
love.audio.play | Plays the specified Source. | ||
love.audio.resume | Resumes all audio. | 11.0 | |
love.audio.rewind | Rewinds all playing audio. | 11.0 | |
love.audio.setDistanceModel | Sets the distance attenuation model. | 0.8.0 | |
love.audio.setDopplerScale | Sets a global scale factor for doppler effects. | 0.9.2 | |
love.audio.setEffect | Defines an effect that can be applied to a Source. | 11.0 | |
love.audio.setMixWithSystem | Sets whether the system should mix the audio with the system's audio. | 11.0 | |
love.audio.setOrientation | Sets the orientation of the listener. | ||
love.audio.setPosition | Sets the position of the listener. | ||
love.audio.setVelocity | Sets the velocity of the listener. | ||
love.audio.setVolume | Sets the master volume. | ||
love.audio.stop | Stops currently played sources. |
Enums
DistanceModel | The different distance models. | 0.8.0 | |
EffectType | Different types of audio effects. | 11.0 | |
EffectWaveform | Types of waveforms for ringmodulator effect. | 11.0 | |
SourceType | Types of audio sources. | ||
TimeUnit | Units that represent time. | 0.8.0 |
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info