Documentation ¶
Overview ¶
Package speaker provides various sounds and effects.
Example ¶
fmt.Println(BehindTheWall.Apply("Hello") + Chainsaw1 + " world!")
Output: <speaker effect="behind_the_wall">Hello<speaker effect="-"><speaker audio="alice-sounds-game-win-1.opus"> world!
Index ¶
Examples ¶
Constants ¶
View Source
const ( BehindTheWall = Effect("behind_the_wall") Hamster = Effect("hamster") Megaphone = Effect("megaphone") PitchDown = Effect("pitch_down") Psychodelic = Effect("psychodelic") Pulse = Effect("pulse") TrainAnnounce = Effect("train_announce") )
Those contants define various effects.
View Source
const (
Chainsaw1 = `<speaker audio="alice-sounds-game-win-1.opus">`
)
Those contants define various sounds. See https://yandex.ru/dev/dialogs/alice/doc/sounds/things-docpage/ and subpages.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.