Difference between revisions of "love.audio (Français)"

m
Line 36: Line 36:
 
| ?PrettyRemoved
 
| ?PrettyRemoved
 
}}
 
}}
[[Category:Modules]]
+
[[Category:Modules (Français)]]
 
{{#set:Description=Fournit une interface pour créer des bruitages avec les haut-parleurs de l'utilisateur.}}
 
{{#set:Description=Fournit une interface pour créer des bruitages avec les haut-parleurs de l'utilisateur.}}
  
Line 42: Line 42:
 
* [[parent::love (Français)]]
 
* [[parent::love (Français)]]
 
* [[Tutorial:Audio (Français)]]
 
* [[Tutorial:Audio (Français)]]
* [[Audio Formats]]
+
* [[Audio Formats (Français)]]
 
{{#set:Since=000}}
 
{{#set:Since=000}}
  
 
== Autres Langues ==
 
== Autres Langues ==
 
{{i18n|love.audio}}
 
{{i18n|love.audio}}

Revision as of 16:58, 27 December 2020

Fournit une interface pour créer des bruitages avec les haut-parleurs de l'utilisateur.

Types

RecordingDevice Represents an audio input device capable of recording sounds. Added since 11.0
Source A Source represents audio you can play back.

Fonctions

love.audio.getActiveEffects Gets a list of the names of the currently enabled effects. Added since 11.0
love.audio.getActiveSourceCount Gets the current number of simultaneously playing sources. Added since 11.0
love.audio.getDistanceModel Returns the distance attenuation model. Added since 0.8.0
love.audio.getDopplerScale Gets the global scale factor for doppler effects. Added since 0.9.2
love.audio.getEffect Gets the settings associated with an effect. Added since 11.0
love.audio.getMaxSceneEffects Gets the maximum number of active effects. Added since 11.0
love.audio.getMaxSourceEffects Gets the maximum number of active Effects for each Source. Added since 11.0
love.audio.getNumSources Gets the current number of simultaneously playing sources. Removed in 0.9.0
love.audio.getOrientation Returns the orientation of the listener.
love.audio.getPlaybackDevice Gets the currently active playback device. Added since 12.0
love.audio.getPlaybackDevices Gets a list of playback devices on the system. Added since 12.0
love.audio.getPosition Returns the position of the listener.
love.audio.getRecordingDevices Gets a list of RecordingDevices on the system. Added since 11.0
love.audio.getSourceCount Gets the current number of simultaneously playing sources. Added since 0.9.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. Added since 11.0
love.audio.newQueueableSource Creates a new Source usable for real-time generated sound playback with Source:queue. Added since 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. Removed in 11.0
love.audio.rewind Rewinds all playing audio. Removed in 11.0
love.audio.setDistanceModel Sets the distance attenuation model. Added since 0.8.0
love.audio.setDopplerScale Sets a global scale factor for doppler effects. Added since 0.9.2
love.audio.setEffect Defines an effect that can be applied to a Source. Added since 11.0
love.audio.setMixWithSystem Sets whether the system should mix the audio with the system's audio. Added since 11.0
love.audio.setOrientation Sets the orientation of the listener.
love.audio.setPlaybackDevice Change or reconnect the audio device. Added since 12.0
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. Added since 0.8.0
EffectType Different types of audio effects. Added since 11.0
EffectWaveform Types of waveforms for ringmodulator effect. Added since 11.0
SourceType Types of audio sources.
StreamType Types of audio sources. Added since 12.0
TimeUnit Units that represent time. Added since 0.8.0


Voir Aussi


Autres Langues