Skip to content

semnil/MixTrack2Source

Repository files navigation

Mix Track to Source

flowchart TB
    subgraph OBS Mix tracks
        T1["Any Track
        from 1 to 6"]
        T2@{ shape: procs, label: "Output Tracks" }
    end

    subgraph Mix Track to Source Plugin
        subgraph P1["mt2s_callback()"]
            P2["obs_source_output_audio()"]
        end

        subgraph OBS Audio Mixer
            S["Source"]
        end
        P2-->S
    end
    T1-->P1
    S-->T2
    S-.-x|"To avoid loopback,
    the input track
    cannot be output"|T1
Loading
  • Select an input mix track to create an audio source
  • The audio source uses the selected mix track as input and allows various filters to be applied
  • Allows selection of mix tracks as output, excluding the mix track selected as input
  • Buffering causes a minimum delay of 1024 samples (21 ms at 48 kHz)
    • If even greater delay is unacceptable, enable Low Latency Buffering Mode in OBS Settings > Audio > Advanced

Install

Please download the archive file from the Releases page.

Windows

After extracting the archive file, place the mix-track-to-source folder in the following location:

C:\ProgramData\obs-studio\plugins

macOS

Run the mix-track-to-source-<version>-macos-universal.pkg file to install it.

Ubuntu

Run the following command:

sudo dpkg -i mix-track-to-source-<version>-x86_64-linux-gnu.deb

Usage

  • Add Source > Mix Track to add an audio source
  • Select a mix track to use for input from Track 1 to Track 6
  • Select outputs for added audio track in the Advanced Audio Properties window
    • Cannot select the same track for both input and output
    • Deselect the output from other sources as needed

Usage example

After applying a limiter to the input on Track 1, the settings for outputting the audio to Track 6 for distribution are as follows:

  • When adding an audio source, set the input to Track 1
  • Add a limiter to the filter of that audio source
  • Enable the output of Track 6 for that audio source and disable the output to Track 6 for other audio sources
  • Select Track 6 in Settings > Output > Streaming > Streaming Settings > Audio Track

Information for development

Please refer to the template repository information.
https://github.com/obsproject/obs-plugintemplate

About

OBS plugin for routing to the mix track as the source

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors