Softanza
DémarrerEnglish
Softanza
La bibliothèque se documente elle-même · Son

stzEarcons

50 méthodes propres · 3 formes avec extensions, rangées sous leur méthode

la source: base/sound/stzEarcons.ring(s'ouvre dans un nouvel onglet) · Toutes les classes · La référence du domaine : Son

Sous chaque méthode, ses extensions (Q CS XT Z ZZ IB W U) : en gras et cochée, elle existe ; barrée, elle n'existe pas. Les extensions et leur sens

Aucune méthode de cette classe n'est exécutée sur cette page : la classe touche aux fichiers, au réseau, aux processus, à l'horloge, au hasard ou au son, et un exemple exécuté ici ne serait que l'exemple de ses effets. Chaque méthode porte l'explication que la bibliothèque donne d'elle-même.

Méthode
Explication, telle que la source la porte
init
(sans commentaire dans la source : le nom se lit comme une phrase) initaucune extension
ToSoundOf
what a meaning sounds like (no device needed) ----------------------- The motif as DATA. Works with no audio hardware, which is what lets a CI machine assert the vocabulary.aucune extension
IsSilentValue
Muted is the one value whose rendering is nothing. Asking is legitimate.aucune extension
ToStepOf
(sans commentaire dans la source : le nom se lit comme une phrase) to step ofaucune extension
PriorityOf
(sans commentaire dans la source : le nom se lit comme une phrase) priority ofaucune extension
SetAmbientFloor
Colour's doctrine, transposed: a sound system that cannot fail an audibility check does not have one. The check is a MARGIN over the floor.aucune extension
DeclaredFloor
(sans commentaire dans la source : le nom se lit comme une phrase) declared flooraucune extension
MarginMetric
The margin now uses LoudnessOfSupport: the SAME K-weighting and the same -0.691 + 10log10(z) formula, over the sound's own length. It is not a standard LUFS figure and the metric name says so -- but it is the ear's own weighting rather than a flat average, which is the difference between a gate that models hearing and one that models arithmetic.aucune extension
LevelOf
(sans commentaire dans la source : le nom se lit comme une phrase) level ofaucune extension
AudibilityMarginOf
(sans commentaire dans la source : le nom se lit comme une phrase) audibility margin ofaucune extension
RequiredMarginOf
The gate. A cue needs 10 LU of headroom over the room; an alert needs 20.aucune extension
IsAudible
(sans commentaire dans la source : le nom se lit comme une phrase) is audibleaucune extension
WouldFireAt
THE DECISION IS A PURE FUNCTION of (state, meaning, now), so a guard can assert the contract on a machine with no audio device at all. Fire() calls exactly this, with the transport's clock.aucune extension
RecordFireAt
The state advance, separated from the decision so both the real path and a device-less guard drive the same code.aucune extension
CountDropAt
(sans commentaire dans la source : le nom se lit comme une phrase) count drop ataucune extension
DropsOf
(sans commentaire dans la source : le nom se lit comme une phrase) drops ofaucune extension
LastReason
(sans commentaire dans la source : le nom se lit comme une phrase) last reasonaucune extension
SetRefractory
(sans commentaire dans la source : le nom se lit comme une phrase) set refractoryaucune extension
Start
hearing itQCSXTZZZIBWU
Fire
(sans commentaire dans la source : le nom se lit comme une phrase) fireQCSXTZZZIBWU
SetDuckDepth
SS3: ducking -------------------------------------------------------- How deep, in dB. Declared, never inferred -- a caller who wants a different depth argues with a number.aucune extension
DuckDepthDb
(sans commentaire dans la source : le nom se lit comme une phrase) duck depth dbaucune extension
SetDuckRampMs
(sans commentaire dans la source : le nom se lit comme une phrase) set duck ramp msaucune extension
DuckRampMs
(sans commentaire dans la source : le nom se lit comme une phrase) duck ramp msaucune extension
SetDucking
(sans commentaire dans la source : le nom se lit comme une phrase) set duckingaucune extension
IsDucking
(sans commentaire dans la source : le nom se lit comme une phrase) is duckingaucune extension
DucksApplied
COUNTED, like everything else this plane does behind a listener's back. "Why did that get quiet" must have an answer that is a number.aucune extension
GainOf
The gain the RENDER is applying to a value's bus right now. During a ramp this is somewhere between the old value and the target, which is what lets a guard prove the ramp MOVES rather than jumps.aucune extension
DuckUnder
Duck every value QUIETER IN MEANING than this one, and leave the rest alone. Ramped, so it cannot click.aucune extension
Unduck
Everything back to unity, on the same ramp. Restoring with a JUMP would click exactly as ducking with one would.aucune extension
SetVoiceLanguage
VC4: SAY -- the earcon, then the phrase that says WHICH ------------- Which language the phrase is spoken in. REFUSED rather than substituted if the machine has no voice for it -- speaking French to an operator who asked for English is worse than saying nothing.aucune extension
VoiceLanguage
Which language it is actually speaking -- empty until one is set and ACCEPTED, so a caller can tell "not asked yet" from "asked and refused".aucune extension
CanSpeak
(sans commentaire dans la source : le nom se lit comme une phrase) can speakaucune extension
ToSoundOfSaying
Needs no audio device, which is what lets a guard measure the composition on a machine that cannot play it.aucune extension
Say
Say it: the earcon, then the phrase. Queued, not played immediately -- call TickSpeech() (or SpeakQueueToEnd()) to advance.QCSXTZZZIBWU
TickSpeech
One step. Starts the next phrase when nothing is speaking, and reaps the transport when it ends. Cheap; call it as often as you like.aucune extension
SpeakQueueToEnd
This method OCCUPIES THE THREAD. Nothing can call Say while it runs, so the queue it starts with is the queue it finishes with: there is nothing left to cancel, and rendering the whole of it into one buffer is not a loss of behaviour, only of churn. TickSpeech keeps the per-phrase transport precisely because a program that ticks CAN be interrupted, and there the ability to stop mid-sentence is the point.aucune extension
IsSpeaking
(sans commentaire dans la source : le nom se lit comme une phrase) is speakingaucune extension
SpeechQueueDepth
(sans commentaire dans la source : le nom se lit comme une phrase) speech queue depthaucune extension
SpeechDrops
(sans commentaire dans la source : le nom se lit comme une phrase) speech dropsaucune extension
SpeechSpoken
(sans commentaire dans la source : le nom se lit comme une phrase) speech spokenaucune extension
SpeechGapSeconds
The silence between a cue and its phrase, and between two announcements when a queue drains as one. Exposed because a guard has to be able to account for it rather than assume it.aucune extension
SetSpeechQueueMax
(sans commentaire dans la source : le nom se lit comme une phrase) set speech queue maxaucune extension
TriggerToEarMs
What a caller must not assume. Haro occupancy plus the measured device and OS floor -- see plan S.5 for where each number comes from.aucune extension
CanAcknowledgeWithin
Rule 18 allows 100 ms. This answers whether a sound can be the acknowledgement, and on this pipeline the answer is no.aucune extension
Stop
(sans commentaire dans la source : le nom se lit comme une phrase) stopaucune extension
Release
(sans commentaire dans la source : le nom se lit comme une phrase) releaseaucune extension
IsStarted
(sans commentaire dans la source : le nom se lit comme une phrase) is startedaucune extension
LastError
(sans commentaire dans la source : le nom se lit comme une phrase) last erroraucune extension
Refusals
(sans commentaire dans la source : le nom se lit comme une phrase) refusalsaucune extension