dwChannelMask is a special kind of wave file metadata which allows to determine the roles of your audio channels. This is especially useful in a multi-channel workflow, where you can explicitly mark channels speakers positions in a surround environment, for eg, channel 1 as Left speaker, channel 2 as Right speaker etc.
Contrary to other softwares, REAPER doesn’t handle this metadata at render. This means that all your channel as mark as simple “mono/center”. This prevent good interoperability between softwares which can take advantage of this metadata, like Adobe Audition.
The purpose of this script pack it to allows display and injection of dwChannelMask right from REAPER. This also means that REAPER can now behave like a cross-platform tool to see/inject dwChannelMask.
|X-Raym_Display selected items source wav file dwChannelMask metadata in the console.lua||Metadata||Screenshot||2020-09-10||1.0|
|X-Raym_Inject dwChannelMask metadata to selected wav files according to their channel count.lua||Metadata||Screenshot||2020-09-10||1.0|
|X-Raym_Wave file dwChannelMask metadata_functions.lua||Metadata||2020-09-10||1.0.2|
Display selected items source wav file dwChannelMask metadata in the console
Inject dwChannelMask metadata to selected wav files according to their channel count
This script allows to add dwChannelMask metadata into wav files. It is destructive, which means it alters your original files. As this is early release phase, please make backups of your files before trying.
This particular script works by selecting files in a Browse File window. I think this would be good enough for most cases, as this is meant to be used post-render. Other method of selection could be imagine like “all files in a directory and subdirectory”, “active take source file of selected items” etc… I may add new scripts based on demand.
At this moment, the script has no GUI to choose channel role, as it would involve a lot of dev time and I’m not sure if tehre is a demand for it yet, though you can of course customize it to your need, simply by creating a preset script using the following variables (one line per number of channel):
On the left, speaker_presets corresponds to a certain number of channel, and on the right, channel_bits corresponds to a certain speaker positions. It could be pre-dedefined lauout (like Quad), or an addition of several speakers in the right order. Available list of speakers and presets are right in the script files.
Let me know if you have any trouble setting your preset file.
Miss a function? Let me know!
By buying this product, you are supporting my free scripting. Thanks!
And Thanks to mrlimbic @Vordio for all the doc about this complex subject, and for the Audition screenshot!