mirror of
https://github.com/italicsjenga/ableton-rack-converter.git
synced 2024-11-22 07:01:30 +11:00
compressor for handmade test files
This commit is contained in:
parent
fd344e2547
commit
3f778cd3ab
17
src/bin/compressor.rs
Normal file
17
src/bin/compressor.rs
Normal file
|
@ -0,0 +1,17 @@
|
|||
use ableton_rack_converter;
|
||||
use std::{fs, path::PathBuf};
|
||||
|
||||
fn main() {
|
||||
let paths = fs::read_dir(".\\test_conversion\\").unwrap();
|
||||
for path in paths {
|
||||
let loadpath = path.unwrap().path();
|
||||
if loadpath.extension().expect("couldn't get extension") == "xml" {
|
||||
let mut path_str = String::from(".\\exported_files\\");
|
||||
path_str.push_str(loadpath.file_stem().unwrap().to_str().unwrap());
|
||||
path_str.push_str("-compressed.adg");
|
||||
let savepath = PathBuf::from(path_str);
|
||||
println!("{:?}", savepath);
|
||||
ableton_rack_converter::compress_file(loadpath, savepath);
|
||||
}
|
||||
}
|
||||
}
|
11
src/lib.rs
11
src/lib.rs
|
@ -2,6 +2,7 @@ use flate2::{read::GzDecoder, write::GzEncoder, Compression};
|
|||
use std::{
|
||||
fs::{self, File},
|
||||
io::{Read, Write},
|
||||
path::PathBuf,
|
||||
str,
|
||||
};
|
||||
use xml_dom::{level2::RefNode, parser};
|
||||
|
@ -38,6 +39,16 @@ pub fn save_uncompressed(dom: &RefNode, filename: &str) {
|
|||
fs::write(filename, xml.as_bytes()).expect("could not write file");
|
||||
}
|
||||
|
||||
pub fn compress_file(loadpath: PathBuf, savepath: PathBuf) {
|
||||
let mut contents = File::open(loadpath).expect("failed to load file");
|
||||
let mut loaded = String::new();
|
||||
contents
|
||||
.read_to_string(&mut loaded)
|
||||
.expect("failed to read file to string");
|
||||
let compressed = compress(&loaded);
|
||||
fs::write(savepath, compressed).expect("failed to write compressed file");
|
||||
}
|
||||
|
||||
fn compress(xml: &str) -> Vec<u8> {
|
||||
let mut encoder = GzEncoder::new(Vec::new(), Compression::default());
|
||||
encoder
|
||||
|
|
824
test_conversion/Utility11.xml
Normal file
824
test_conversion/Utility11.xml
Normal file
|
@ -0,0 +1,824 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Ableton MajorVersion="5" MinorVersion="11.0_433" Creator="Ableton Live 11.0.2" Revision="5b7f2a59a5595b4710f933f4c0063b9dc398917e">
|
||||
<GroupDevicePreset>
|
||||
<OverwriteProtectionNumber Value="2817" />
|
||||
<Device>
|
||||
<AudioEffectGroupDevice Id="0">
|
||||
<LomId Value="0" />
|
||||
<LomIdView Value="0" />
|
||||
<IsExpanded Value="true" />
|
||||
<On>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="true" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<MidiCCOnOffThresholds>
|
||||
<Min Value="64" />
|
||||
<Max Value="127" />
|
||||
</MidiCCOnOffThresholds>
|
||||
</On>
|
||||
<ModulationSourceCount Value="0" />
|
||||
<ParametersListWrapper LomId="0" />
|
||||
<Pointee Id="0" />
|
||||
<LastSelectedTimeableIndex Value="0" />
|
||||
<LastSelectedClipEnvelopeIndex Value="0" />
|
||||
<LastPresetRef>
|
||||
<Value>
|
||||
<AbletonDefaultPresetRef Id="0">
|
||||
<FileRef>
|
||||
<RelativePathType Value="5" />
|
||||
<RelativePath Value="Racks/Audio Effect Racks/Audio Effect Rack" />
|
||||
<Path Value="C:/ProgramData/Ableton/Live 11 Trial/Resources/Core Library/Racks/Audio Effect Racks/Audio Effect Rack" />
|
||||
<Type Value="1" />
|
||||
<LivePackName Value="Core Library" />
|
||||
<LivePackId Value="www.ableton.com/0" />
|
||||
<OriginalFileSize Value="0" />
|
||||
<OriginalCrc Value="0" />
|
||||
</FileRef>
|
||||
<DeviceId Name="AudioEffectGroupDevice" />
|
||||
</AbletonDefaultPresetRef>
|
||||
</Value>
|
||||
</LastPresetRef>
|
||||
<LockedScripts />
|
||||
<IsFolded Value="false" />
|
||||
<ShouldShowPresetName Value="true" />
|
||||
<UserName Value="" />
|
||||
<Annotation Value="" />
|
||||
<SourceContext>
|
||||
<Value />
|
||||
</SourceContext>
|
||||
<OverwriteProtectionNumber Value="2817" />
|
||||
<Branches />
|
||||
<IsBranchesListVisible Value="false" />
|
||||
<IsReturnBranchesListVisible Value="false" />
|
||||
<IsRangesEditorVisible Value="false" />
|
||||
<AreDevicesVisible Value="true" />
|
||||
<NumVisibleMacroControls Value="8" />
|
||||
<MacroControls.0>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.0>
|
||||
<MacroControls.1>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.1>
|
||||
<MacroControls.2>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.2>
|
||||
<MacroControls.3>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.3>
|
||||
<MacroControls.4>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.4>
|
||||
<MacroControls.5>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.5>
|
||||
<MacroControls.6>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.6>
|
||||
<MacroControls.7>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.7>
|
||||
<MacroControls.8>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.8>
|
||||
<MacroControls.9>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.9>
|
||||
<MacroControls.10>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.10>
|
||||
<MacroControls.11>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.11>
|
||||
<MacroControls.12>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.12>
|
||||
<MacroControls.13>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.13>
|
||||
<MacroControls.14>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.14>
|
||||
<MacroControls.15>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MacroControls.15>
|
||||
<MacroDisplayNames.0 Value="Macro 1" />
|
||||
<MacroDisplayNames.1 Value="Macro 2" />
|
||||
<MacroDisplayNames.2 Value="Macro 3" />
|
||||
<MacroDisplayNames.3 Value="Macro 4" />
|
||||
<MacroDisplayNames.4 Value="Macro 5" />
|
||||
<MacroDisplayNames.5 Value="Macro 6" />
|
||||
<MacroDisplayNames.6 Value="Macro 7" />
|
||||
<MacroDisplayNames.7 Value="Macro 8" />
|
||||
<MacroDisplayNames.8 Value="Macro 9" />
|
||||
<MacroDisplayNames.9 Value="Macro 10" />
|
||||
<MacroDisplayNames.10 Value="Macro 11" />
|
||||
<MacroDisplayNames.11 Value="Macro 12" />
|
||||
<MacroDisplayNames.12 Value="Macro 13" />
|
||||
<MacroDisplayNames.13 Value="Macro 14" />
|
||||
<MacroDisplayNames.14 Value="Macro 15" />
|
||||
<MacroDisplayNames.15 Value="Macro 16" />
|
||||
<MacroDefaults.0 Value="-1" />
|
||||
<MacroDefaults.1 Value="-1" />
|
||||
<MacroDefaults.2 Value="-1" />
|
||||
<MacroDefaults.3 Value="-1" />
|
||||
<MacroDefaults.4 Value="-1" />
|
||||
<MacroDefaults.5 Value="-1" />
|
||||
<MacroDefaults.6 Value="-1" />
|
||||
<MacroDefaults.7 Value="-1" />
|
||||
<MacroDefaults.8 Value="-1" />
|
||||
<MacroDefaults.9 Value="-1" />
|
||||
<MacroDefaults.10 Value="-1" />
|
||||
<MacroDefaults.11 Value="-1" />
|
||||
<MacroDefaults.12 Value="-1" />
|
||||
<MacroDefaults.13 Value="-1" />
|
||||
<MacroDefaults.14 Value="-1" />
|
||||
<MacroDefaults.15 Value="-1" />
|
||||
<MacroAnnotations.0 Value="" />
|
||||
<MacroAnnotations.1 Value="" />
|
||||
<MacroAnnotations.2 Value="" />
|
||||
<MacroAnnotations.3 Value="" />
|
||||
<MacroAnnotations.4 Value="" />
|
||||
<MacroAnnotations.5 Value="" />
|
||||
<MacroAnnotations.6 Value="" />
|
||||
<MacroAnnotations.7 Value="" />
|
||||
<MacroAnnotations.8 Value="" />
|
||||
<MacroAnnotations.9 Value="" />
|
||||
<MacroAnnotations.10 Value="" />
|
||||
<MacroAnnotations.11 Value="" />
|
||||
<MacroAnnotations.12 Value="" />
|
||||
<MacroAnnotations.13 Value="" />
|
||||
<MacroAnnotations.14 Value="" />
|
||||
<MacroAnnotations.15 Value="" />
|
||||
<ForceDisplayGenericValue.0 Value="false" />
|
||||
<ForceDisplayGenericValue.1 Value="false" />
|
||||
<ForceDisplayGenericValue.2 Value="false" />
|
||||
<ForceDisplayGenericValue.3 Value="false" />
|
||||
<ForceDisplayGenericValue.4 Value="false" />
|
||||
<ForceDisplayGenericValue.5 Value="false" />
|
||||
<ForceDisplayGenericValue.6 Value="false" />
|
||||
<ForceDisplayGenericValue.7 Value="false" />
|
||||
<ForceDisplayGenericValue.8 Value="false" />
|
||||
<ForceDisplayGenericValue.9 Value="false" />
|
||||
<ForceDisplayGenericValue.10 Value="false" />
|
||||
<ForceDisplayGenericValue.11 Value="false" />
|
||||
<ForceDisplayGenericValue.12 Value="false" />
|
||||
<ForceDisplayGenericValue.13 Value="false" />
|
||||
<ForceDisplayGenericValue.14 Value="false" />
|
||||
<ForceDisplayGenericValue.15 Value="false" />
|
||||
<AreMacroControlsVisible Value="true" />
|
||||
<IsAutoSelectEnabled Value="false" />
|
||||
<ChainSelector>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="127" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</ChainSelector>
|
||||
<ChainSelectorRelativePosition Value="-1073741824" />
|
||||
<ViewsToRestoreWhenUnfolding Value="4" />
|
||||
<ReturnBranches />
|
||||
<BranchesSplitterProportion Value="0.5" />
|
||||
<ShowBranchesInSessionMixer Value="false" />
|
||||
<MacroColor.0 Value="-1" />
|
||||
<MacroColor.1 Value="-1" />
|
||||
<MacroColor.2 Value="-1" />
|
||||
<MacroColor.3 Value="-1" />
|
||||
<MacroColor.4 Value="-1" />
|
||||
<MacroColor.5 Value="-1" />
|
||||
<MacroColor.6 Value="-1" />
|
||||
<MacroColor.7 Value="-1" />
|
||||
<MacroColor.8 Value="-1" />
|
||||
<MacroColor.9 Value="-1" />
|
||||
<MacroColor.10 Value="-1" />
|
||||
<MacroColor.11 Value="-1" />
|
||||
<MacroColor.12 Value="-1" />
|
||||
<MacroColor.13 Value="-1" />
|
||||
<MacroColor.14 Value="-1" />
|
||||
<MacroColor.15 Value="-1" />
|
||||
<LockId Value="0" />
|
||||
<LockSeal Value="0" />
|
||||
<ChainsListWrapper LomId="0" />
|
||||
<ReturnChainsListWrapper LomId="0" />
|
||||
<MacroVariations>
|
||||
<MacroSnapshots />
|
||||
</MacroVariations>
|
||||
<ExcludeMacroFromRandomization.0 Value="false" />
|
||||
<ExcludeMacroFromRandomization.1 Value="false" />
|
||||
<ExcludeMacroFromRandomization.2 Value="false" />
|
||||
<ExcludeMacroFromRandomization.3 Value="false" />
|
||||
<ExcludeMacroFromRandomization.4 Value="false" />
|
||||
<ExcludeMacroFromRandomization.5 Value="false" />
|
||||
<ExcludeMacroFromRandomization.6 Value="false" />
|
||||
<ExcludeMacroFromRandomization.7 Value="false" />
|
||||
<ExcludeMacroFromRandomization.8 Value="false" />
|
||||
<ExcludeMacroFromRandomization.9 Value="false" />
|
||||
<ExcludeMacroFromRandomization.10 Value="false" />
|
||||
<ExcludeMacroFromRandomization.11 Value="false" />
|
||||
<ExcludeMacroFromRandomization.12 Value="false" />
|
||||
<ExcludeMacroFromRandomization.13 Value="false" />
|
||||
<ExcludeMacroFromRandomization.14 Value="false" />
|
||||
<ExcludeMacroFromRandomization.15 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.0 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.1 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.2 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.3 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.4 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.5 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.6 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.7 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.8 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.9 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.10 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.11 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.12 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.13 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.14 Value="false" />
|
||||
<ExcludeMacroFromSnapshots.15 Value="false" />
|
||||
<AreMacroVariationsControlsVisible Value="false" />
|
||||
</AudioEffectGroupDevice>
|
||||
</Device>
|
||||
<PresetRef>
|
||||
<AbletonDefaultPresetRef Id="0">
|
||||
<FileRef>
|
||||
<RelativePathType Value="5" />
|
||||
<RelativePath Value="Racks/Audio Effect Racks/Audio Effect Rack" />
|
||||
<Path Value="C:/ProgramData/Ableton/Live 11 Trial/Resources/Core Library/Racks/Audio Effect Racks/Audio Effect Rack" />
|
||||
<Type Value="1" />
|
||||
<LivePackName Value="Core Library" />
|
||||
<LivePackId Value="www.ableton.com/0" />
|
||||
<OriginalFileSize Value="0" />
|
||||
<OriginalCrc Value="0" />
|
||||
</FileRef>
|
||||
<DeviceId Name="AudioEffectGroupDevice" />
|
||||
</AbletonDefaultPresetRef>
|
||||
</PresetRef>
|
||||
<BranchPresets>
|
||||
<AudioEffectBranchPreset Id="0">
|
||||
<Name Value="" />
|
||||
<IsSoloed Value="false" />
|
||||
<DevicePresets>
|
||||
<AbletonDevicePreset Id="0">
|
||||
<OverwriteProtectionNumber Value="2817" />
|
||||
<Device>
|
||||
<StereoGain Id="0">
|
||||
<LomId Value="0" />
|
||||
<LomIdView Value="0" />
|
||||
<IsExpanded Value="true" />
|
||||
<On>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="true" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<MidiCCOnOffThresholds>
|
||||
<Min Value="64" />
|
||||
<Max Value="127" />
|
||||
</MidiCCOnOffThresholds>
|
||||
</On>
|
||||
<ModulationSourceCount Value="0" />
|
||||
<ParametersListWrapper LomId="0" />
|
||||
<Pointee Id="0" />
|
||||
<LastSelectedTimeableIndex Value="0" />
|
||||
<LastSelectedClipEnvelopeIndex Value="0" />
|
||||
<LastPresetRef>
|
||||
<Value>
|
||||
<AbletonDefaultPresetRef Id="0">
|
||||
<FileRef>
|
||||
<RelativePathType Value="5" />
|
||||
<RelativePath Value="Devices/Audio Effects/Utility" />
|
||||
<Path Value="C:/ProgramData/Ableton/Live 11 Trial/Resources/Core Library/Devices/Audio Effects/Utility" />
|
||||
<Type Value="1" />
|
||||
<LivePackName Value="Core Library" />
|
||||
<LivePackId Value="www.ableton.com/0" />
|
||||
<OriginalFileSize Value="0" />
|
||||
<OriginalCrc Value="0" />
|
||||
</FileRef>
|
||||
<DeviceId Name="StereoGain" />
|
||||
</AbletonDefaultPresetRef>
|
||||
</Value>
|
||||
</LastPresetRef>
|
||||
<LockedScripts />
|
||||
<IsFolded Value="false" />
|
||||
<ShouldShowPresetName Value="true" />
|
||||
<UserName Value="" />
|
||||
<Annotation Value="" />
|
||||
<SourceContext>
|
||||
<Value />
|
||||
</SourceContext>
|
||||
<OverwriteProtectionNumber Value="2817" />
|
||||
<PhaseInvertL>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="false" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<MidiCCOnOffThresholds>
|
||||
<Min Value="64" />
|
||||
<Max Value="127" />
|
||||
</MidiCCOnOffThresholds>
|
||||
</PhaseInvertL>
|
||||
<PhaseInvertR>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="false" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<MidiCCOnOffThresholds>
|
||||
<Min Value="64" />
|
||||
<Max Value="127" />
|
||||
</MidiCCOnOffThresholds>
|
||||
</PhaseInvertR>
|
||||
<ChannelMode>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="1" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
</ChannelMode>
|
||||
<StereoWidth>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="1" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="4" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</StereoWidth>
|
||||
<MidSideBalance>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="1" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="2" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</MidSideBalance>
|
||||
<MidSideBalanceOn Value="false" />
|
||||
<Mono>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="false" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<MidiCCOnOffThresholds>
|
||||
<Min Value="64" />
|
||||
<Max Value="127" />
|
||||
</MidiCCOnOffThresholds>
|
||||
</Mono>
|
||||
<BassMono>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="false" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<MidiCCOnOffThresholds>
|
||||
<Min Value="64" />
|
||||
<Max Value="127" />
|
||||
</MidiCCOnOffThresholds>
|
||||
</BassMono>
|
||||
<BassMonoAudition Value="false" />
|
||||
<BassMonoFrequency>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="120" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="50" />
|
||||
<Max Value="500" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</BassMonoFrequency>
|
||||
<Balance>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="-1" />
|
||||
<Max Value="1" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</Balance>
|
||||
<Gain>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="1" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="56.2341309" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</Gain>
|
||||
<LegacyGain>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="-35" />
|
||||
<Max Value="35" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</LegacyGain>
|
||||
<Mute>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="false" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<MidiCCOnOffThresholds>
|
||||
<Min Value="64" />
|
||||
<Max Value="127" />
|
||||
</MidiCCOnOffThresholds>
|
||||
</Mute>
|
||||
<DcFilter>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="false" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<MidiCCOnOffThresholds>
|
||||
<Min Value="64" />
|
||||
<Max Value="127" />
|
||||
</MidiCCOnOffThresholds>
|
||||
</DcFilter>
|
||||
<LegacyMode Value="false" />
|
||||
</StereoGain>
|
||||
</Device>
|
||||
<PresetRef>
|
||||
<AbletonDefaultPresetRef Id="0">
|
||||
<FileRef>
|
||||
<RelativePathType Value="5" />
|
||||
<RelativePath Value="Devices/Audio Effects/Utility" />
|
||||
<Path Value="C:/ProgramData/Ableton/Live 11 Trial/Resources/Core Library/Devices/Audio Effects/Utility" />
|
||||
<Type Value="1" />
|
||||
<LivePackName Value="Core Library" />
|
||||
<LivePackId Value="www.ableton.com/0" />
|
||||
<OriginalFileSize Value="0" />
|
||||
<OriginalCrc Value="0" />
|
||||
</FileRef>
|
||||
<DeviceId Name="StereoGain" />
|
||||
</AbletonDefaultPresetRef>
|
||||
</PresetRef>
|
||||
</AbletonDevicePreset>
|
||||
</DevicePresets>
|
||||
<MixerPreset>
|
||||
<AbletonDevicePreset Id="0">
|
||||
<OverwriteProtectionNumber Value="2817" />
|
||||
<Device>
|
||||
<AudioBranchMixerDevice Id="0">
|
||||
<LomId Value="0" />
|
||||
<LomIdView Value="0" />
|
||||
<IsExpanded Value="true" />
|
||||
<On>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="true" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<MidiCCOnOffThresholds>
|
||||
<Min Value="64" />
|
||||
<Max Value="127" />
|
||||
</MidiCCOnOffThresholds>
|
||||
</On>
|
||||
<ModulationSourceCount Value="0" />
|
||||
<ParametersListWrapper LomId="0" />
|
||||
<Pointee Id="0" />
|
||||
<LastSelectedTimeableIndex Value="0" />
|
||||
<LastSelectedClipEnvelopeIndex Value="0" />
|
||||
<LastPresetRef>
|
||||
<Value />
|
||||
</LastPresetRef>
|
||||
<LockedScripts />
|
||||
<IsFolded Value="false" />
|
||||
<ShouldShowPresetName Value="true" />
|
||||
<UserName Value="" />
|
||||
<Annotation Value="" />
|
||||
<SourceContext>
|
||||
<Value />
|
||||
</SourceContext>
|
||||
<OverwriteProtectionNumber Value="2817" />
|
||||
<Speaker>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="true" />
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<MidiCCOnOffThresholds>
|
||||
<Min Value="64" />
|
||||
<Max Value="127" />
|
||||
</MidiCCOnOffThresholds>
|
||||
</Speaker>
|
||||
<Volume>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="1" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="0.0003162277571" />
|
||||
<Max Value="1.99526238" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</Volume>
|
||||
<Panorama>
|
||||
<LomId Value="0" />
|
||||
<Manual Value="0" />
|
||||
<MidiControllerRange>
|
||||
<Min Value="-1" />
|
||||
<Max Value="1" />
|
||||
</MidiControllerRange>
|
||||
<AutomationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</AutomationTarget>
|
||||
<ModulationTarget Id="0">
|
||||
<LockEnvelope Value="0" />
|
||||
</ModulationTarget>
|
||||
</Panorama>
|
||||
<SendInfos />
|
||||
<RoutingHelper>
|
||||
<Routable>
|
||||
<Target Value="AudioOut/None" />
|
||||
<UpperDisplayString Value="No Output" />
|
||||
<LowerDisplayString Value="" />
|
||||
</Routable>
|
||||
<TargetEnum Value="0" />
|
||||
</RoutingHelper>
|
||||
<SendsListWrapper LomId="0" />
|
||||
</AudioBranchMixerDevice>
|
||||
</Device>
|
||||
<PresetRef>
|
||||
<AbletonDefaultPresetRef Id="0">
|
||||
<FileRef>
|
||||
<RelativePathType Value="0" />
|
||||
<RelativePath Value="" />
|
||||
<Path Value="" />
|
||||
<Type Value="1" />
|
||||
<LivePackName Value="" />
|
||||
<LivePackId Value="" />
|
||||
<OriginalFileSize Value="0" />
|
||||
<OriginalCrc Value="0" />
|
||||
</FileRef>
|
||||
<DeviceId Name="AudioBranchMixerDevice" />
|
||||
</AbletonDefaultPresetRef>
|
||||
</PresetRef>
|
||||
</AbletonDevicePreset>
|
||||
</MixerPreset>
|
||||
<BranchSelectorRange>
|
||||
<Min Value="0" />
|
||||
<Max Value="0" />
|
||||
<CrossfadeMin Value="0" />
|
||||
<CrossfadeMax Value="0" />
|
||||
</BranchSelectorRange>
|
||||
<SessionViewBranchWidth Value="55" />
|
||||
<DocumentColorIndex Value="10" />
|
||||
<AutoColored Value="true" />
|
||||
<AutoColorScheme Value="0" />
|
||||
<SourceContext>
|
||||
<BranchSourceContext Id="0">
|
||||
<OriginalFileRef>
|
||||
<FileRef Id="0">
|
||||
<RelativePathType Value="5" />
|
||||
<RelativePath Value="Devices/Audio Effects/Utility" />
|
||||
<Path Value="C:/ProgramData/Ableton/Live 11 Trial/Resources/Core Library/Devices/Audio Effects/Utility" />
|
||||
<Type Value="1" />
|
||||
<LivePackName Value="Core Library" />
|
||||
<LivePackId Value="www.ableton.com/0" />
|
||||
<OriginalFileSize Value="0" />
|
||||
<OriginalCrc Value="0" />
|
||||
</FileRef>
|
||||
</OriginalFileRef>
|
||||
<BrowserContentPath Value="query:AudioFx#Utilities:Utility" />
|
||||
<PresetRef>
|
||||
<AbletonDefaultPresetRef Id="0">
|
||||
<FileRef>
|
||||
<RelativePathType Value="5" />
|
||||
<RelativePath Value="Devices/Audio Effects/Utility" />
|
||||
<Path Value="C:/ProgramData/Ableton/Live 11 Trial/Resources/Core Library/Devices/Audio Effects/Utility" />
|
||||
<Type Value="1" />
|
||||
<LivePackName Value="Core Library" />
|
||||
<LivePackId Value="www.ableton.com/0" />
|
||||
<OriginalFileSize Value="0" />
|
||||
<OriginalCrc Value="0" />
|
||||
</FileRef>
|
||||
<DeviceId Name="StereoGain" />
|
||||
</AbletonDefaultPresetRef>
|
||||
</PresetRef>
|
||||
<BranchDeviceId Value="device:ableton:audiofx:StereoGain" />
|
||||
</BranchSourceContext>
|
||||
</SourceContext>
|
||||
</AudioEffectBranchPreset>
|
||||
</BranchPresets>
|
||||
<ReturnBranchPresets />
|
||||
</GroupDevicePreset>
|
||||
</Ableton>
|
Loading…
Reference in a new issue