Skip to content

Latest commit

 

History

History
115 lines (77 loc) · 4.14 KB

proposal-audio-system.md

File metadata and controls

115 lines (77 loc) · 4.14 KB

<< Back to main page Blender Audio Research - uriel Deveaud @2022


NEW Blender Audio System Preferences

🔈 Outputs Channels Options

By DEFAULT, when the user is selecting the channels option in the Preferences panel, these Audio Routings will apply:

  • IF #channel_config = "Mono": Channel > Outputs 1 OR 2
  • IF #channel_config = "Stereo": Channels > Outputs 1 AND 2
  • IF #channel_config = "Stereo LFE": Channels > Outputs 1/2 AND 3
  • IF #channel_config = "4 Channels": Channels > Outputs 1/2 AND 3/4
  • IF #channel_config = "Surround 5": Channels > Outputs 1/2 AND 3/4 AND 5
  • IF #channel_config = "Surround 5.1": Channels > Outputs 1/2 AND 3/4 AND 5/6
  • IF #channel_config = "Surround 7": Channels > Outputs 1/2 AND 3/4 AND 5/6 AND 7
  • IF #channel_config = "Surround 7.1": Channels > Outputs 1/2 AND 3/4 AND 5/6 AND 7/8
  • IF #channel_config = "Custom": Channels > Outputs "SELECT" (up to 8)

Mix

Note: Depends on Channels "Device" settings (Driver Selection), user can select outputs configuration, based on soundcard specifications.

🔈 Custom Channels

This is where it becomes interesting, the custom option offers a 1-to-1 channels configuration.

Channels Settings Available Properties Options
Up to 8 Stereo Mode Dual-Mono

In this configuration, the user can create/Edit/Delete channels and apply a customized outputs routing. Also, if the user has an option selected (e.g. surround 5.1), and if he delete or add a channel, the option becomes automatically a "custom" type.

🔈 Inputs Channels Options

By DEFAULT, when the user is selecting the channels option in the Preferences panel, these Audio Routings will apply:

  • IF #channel_config = "None": Channel > No Inputs
  • IF #channel_config = "Mono IN": Channels > Outputs 1 OR 2
  • IF #channel_config = "Stereo IN": Channels > Outputs 1 AND 2

🔈 Channels Outputs Configuration

Mix

🔈 GUI Implementation

1/ New GUI Properties User Preferences Device options: Soundcard, Outputs settings

Mix

Notes: In this exemple, the channels configuration is set to "STEREO", so the sub-panel area shows 2 "audio Ports" available. We can select the device outputs to be routed to.

  • ADD Channels Configuration Options > SELECT SOUND CARD HARDWARE (INT, STR)
  • ADD Channels Configuration Options > SELECT SOUND CARD OUTPUTS (INT)
  • ADD Mixbuses Configuration Options > USE NODES (BOOL)
  • ADD Sound Clips Configuration Options > USE MODIFIERS IN CLIP EDIT MODE (BOOL)
  • ADD Mixer Configuration Options > USE REAL-TIME VUMETERS (BOOL)
  • ADD MixBuses Configuration Options > NUMBER OF MIXBUSES (INT)

Files:

2/ New GUI Properties Scene Properties: Sound, Mix Buses Configuration Panel

  • ADD New Property > (Set_AudBus_Volume)
  • ADD New Property > (Set_AudBus_count up to 16)
  • ADD Default Property > (Set_AudBus_count[0] Stereo !!!cannot be removed!!!)
  • ADD Fonction > Vu-meter(sample_level, sync_channels, buffer_read)

The Scene Panel includes options,regarding the channels count and preferences (Vu-meters, Volume Sliders).

Files:

3/ New GUI Properties Sequencer Audio Strip: Audio Mix Bus routing(Default)

  • ADD MixBus Input Selection > TYPES (INT, STR, ...)

Link: TEST: Short presentation video

IMAGE ALT TEXT HERE


Updated on 24.05.22