-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from TheNytech/master
Add stream_audio_occlusion tutorial
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Stream Audio Occlusions | ||
|
||
In order to experience altV voice to its full contains, one needs to have certain files within their ressource (mainly MLOs) to enable Audio Occlusions for it. | ||
|
||
The purpose of the Audio Occlusion files is to accurately simulate sounds in consideration of obstacles or restrictions, such as rooms or portals. | ||
These files also allows the specific setting of sounds in rooms, such as echo. | ||
|
||
## The following files belong to Audio Occlusions: | ||
|
||
- a compiled meta file: `*.ymt` | ||
|
||
- a audio data fale: `*.dat151.rel` | ||
|
||
|
||
In order to have working Audio Occlusions, one has to also create a copy of the `*.dat151.rel` file and delete its `.rel` ending. | ||
|
||
In the end, the folder for the audio occlusion files should look like this: | ||
|
||
``` | ||
example_mlo/ | ||
|-> stream/ | ||
| |-> audio/ | ||
| | |-> 385481254354.ymt | ||
| | |-> altvoice_game.dat151 | ||
| | \-> altvoice_game.dat151.rel | ||
| |-> REST OF THE RESSOURCE | ||
``` | ||
|
||
*Note: It is not necessary to create a seperate folder within the stream folder for the Audio Occlusion files, but it's highly recommended due to the overview.* | ||
|
||
After importing the needed files into the stream folder, one has to add a line to the `stream.toml` for each pair of `*.dat151` and `*.dat151.rel` files. | ||
|
||
## stream.toml | ||
|
||
```toml | ||
files = [ 'stream/*' ] | ||
|
||
[meta] | ||
'stream/audio/altvoice_game.dat' = 'AUDIO_GAMEDATA' | ||
``` | ||
|
||
Of course, the `"altvoice"` of the `*.dat151` and `*.dat151.rel` file is the name of the files for the ressource. In this case, it's just used as an example. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters