ONLY AVAILABLE FOR alt:V 15.xx version
BETTER alt:V Radio resource replaces the default GTA V vehicle radio with custom online radio stations.
I'm using the vehicle as audio emitter
3d AUDIO Volume Control
Previews: https://streamable.com/9eejd6
Download the resource and add it to resources folder of your server and
add it to the server.toml
.
There are currently some default stations loaded into the radio. If you
wish to change them and add yours, go to /server/config.mjs
. There
you will find an array of radio stations.
Audio API requires 2 channels, 16 bit, 48000 Hz audio format
You can edit maximum audio range in client.mjs line 17
category.volume =30;
For QWERTY keyboard, replace "eu" by "us" in radio.html line 139 and 147
{
name: 'Name of the radio station',
url: 'Radio station\'s stream url',
image: 'Radio station\'s logo image',
volume: 60 // This is optional, default volume is 40
}
Key bindings
Add filters when doors closed/open, windows up/down
Sync radio with near players
While in a vehicle, scroll the mouse wheel while holding the A key. Up volume using , (; for EU) INPUT_VEH_PREV_RADIO Down volume using . (: for EU) INPUT_VEH_NEXT_RADIO
Only one station is available
https://github.com/jovanivanovic/altv-radio for the menu
alt:V team for the wonderful audio API and platform
Thanks to splak for the optimization help
Thanks to BluePeer for multistream help
Jlawster for the improvements