Pular para o conteúdo

Navegador de Sons

Busque todos os nomes de som e sound sets conhecidos do GTA V, toque aqui mesmo e copie um snippet funcionando com PlaySoundFrontend ou PlaySoundFromCoord. Sem reiniciar o jogo para achar o bipe certo.

Por enquanto, esta ferramenta e as notas dela estão em inglês.

ReferênciasÁudio, NativesLer a documentação

How to use it

Search by sound name or sound set (beep, checkpoint, HUD_FRONTEND). Click a row to hear it, or use the arrow keys to step through the list and Space to play or stop. The panel on the right has the exact name and set to copy, plus a ready Lua call. The URL keeps your search, set and selected sound, so you can send someone a link to the exact beep you mean.

Playing a sound in FiveM

-- Fire and forget, only this client hears it
PlaySoundFrontend(-1, "SELECT", "HUD_FRONTEND_DEFAULT_SOUNDSET", true)

-- With a sound id you can stop it later (needed for looping sounds)
local soundId = GetSoundId()
PlaySoundFromEntity(soundId, "Beep_Red", PlayerPedId(), "DLC_HEIST_HACKING_SNAKE_SOUNDS", false, 0)
Wait(3000)
StopSound(soundId)
ReleaseSoundId(soundId)

PlaySoundFrontend plays a 2D sound. PlaySoundFromCoord andPlaySoundFromEntity place it in the world. Pass -1 as the sound id for one-shots. For anything that loops, get an id with GetSoundId, stop it with StopSound and always hand it back with ReleaseSoundId: the game only has a limited pool.

About the previews

The previews are close to what you hear in game, but some things a web page cannot copy exactly:

  • Variations. Many sounds pick a random wave each time. Those rows show a shuffle icon and the preview is one of the variations.
  • Synthesized sounds. A lot of HUD beeps are generated live by the game's modular synth. They have no recorded wave, so there is no preview. When only part of a sound is synthesized, you hear the recorded part.
  • Names without a set. Some names in the list were collected without their sound set. If the game has no standalone sound by that name there is no preview, and the panel links to the same name in other sets.
  • Levels. Clips are evened out so you can compare them. In game, volume also depends on the sound's category, distance and your audio settings.

If a sound is silent in game, check that the set exists in your game build (DLC sets needsv_enforceGameBuild), and that its wave bank is loaded (RequestScriptAudioBank; the panel shows the bank when it is not one of the always loaded ones).

Credits

Sound names and sets frommikigoalie/gta_sound_tester(a FiveM NUI for testing sounds in game), originally collected byPlebMasters. Thanks toCodeWalker by dexyfex.