[FREE] Native Audio Tool

This is a nodeJS project to convert MP3 files to the specific standard to be used as FiveM native audio, and prepare XMLs for conversion with CodeWalk. Essentially, it automates the SimpleAudio process outlined in this repo from @ChatDisabled, which also includes a sample resource with usage. In addition, the script also prepares the radio station and track data to be used with Chat’s Custom Native Radio Stations resource.

Included, is also a script to convert all those OGG files that are used in xsound and interact-sound so that you can use them, without the need for those resources. Check out the below function for more information on usage:

Features

  • Converts MP3s to properly formatted WAVs for OpenIV conversion
  • Prepares the necessary XMLs for OpenIV conversion
  • Includes script to convert OGGs to MP3s, to be used in the generation tool.

Dependencies

nodeJS
CodeWalker the outputted WAV and XML data is imported into CodeWalker, to create the AWC and REL information

Free

Github

28 Likes

Nice release, Joe! <3

1 Like

Hey, really nice stuff, I just gonna test it! Keep it up man!

1 Like

Thanks for the kind words. To be clear, this is merely an automation the research @ChatDisabled and others did. Please go support them, buy the radio resource, donate.

3 Likes

Thanks For Release Joe Good Stuff :heart: :heart: :green_heart: :green_heart:

awesome release joe shicksemfisoshswish

Great release!

I can personally say that this is a really easy tool to convert songs to add them for radiostations. Opposed to having to do it manually, this saved me a LOT of time spent. Thanks @joeszymkowicz for allowing me to beta test this.

3 Likes

I’m kinda confused how to use this, where do i put the mp3 to get it converted ? Followed the commands

npm run makeWavs --file=deadofnight.mp3 --samplerate=48000 --trackid=5000 --type=radio

And nothing happens.

I think theres a bug in the file list method; try importing a folder. I will try to take a look at that later.

1 Like

This should be fixed now.

1 Like