From c5fcf5a0fd54f88b7ef7190818cc83ad6f691a90 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Thu, 16 Jun 2022 18:58:31 +0100 Subject: [PATCH] update example configs update example configs --- README.md | 4 +-- configs/banana/config.toml | 35 ------------------- configs/banana/example.toml | 45 ++++++++++++++++++++++++ configs/basic/config.toml | 17 --------- configs/basic/example.toml | 23 ++++++++++++ configs/potato/config.toml | 42 ---------------------- configs/potato/example.toml | 70 +++++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 8 files changed, 141 insertions(+), 97 deletions(-) delete mode 100644 configs/banana/config.toml create mode 100644 configs/banana/example.toml delete mode 100644 configs/basic/config.toml create mode 100644 configs/basic/example.toml delete mode 100644 configs/potato/config.toml create mode 100644 configs/potato/example.toml diff --git a/README.md b/README.md index 465597a..8abd939 100644 --- a/README.md +++ b/README.md @@ -249,7 +249,7 @@ vm.vban.outstream[0].apply(on: true, name: 'streamname', bit: 24) ## Config Files -`vm.apply_config('config')` +`vm.apply_config()` You may load config files in TOML format. Three example profiles have been included with the package. Remember to save @@ -258,7 +258,7 @@ current settings before loading a profile. To set one you may do: ```python import voicemeeterlib with voicemeeterlib.api('banana') as vm: - vm.apply_config('config') + vm.apply_config('example') ``` will load a config file at configs/banana/config.toml for Voicemeeter Banana. diff --git a/configs/banana/config.toml b/configs/banana/config.toml deleted file mode 100644 index 02cde87..0000000 --- a/configs/banana/config.toml +++ /dev/null @@ -1,35 +0,0 @@ -[strip-0] -limit = 12 -label = "" - -[strip-1] -A1 = true -A2 = true -A3 = true -B1 = true -B2 = true -mono = true -solo = true -mute = true -limit = 12 -label = "" - -[strip-2] -limit = 12 -label = "" - -[strip-3] -limit = 12 -label = "" - -[strip-4] -A1 = false -A2 = false -A3 = false -B1 = false -B2 = false -k = false -solo = false -mute = false -limit = 12 -label = "" diff --git a/configs/banana/example.toml b/configs/banana/example.toml new file mode 100644 index 0000000..9f3d62e --- /dev/null +++ b/configs/banana/example.toml @@ -0,0 +1,45 @@ +[strip-0] +label = "PhysStrip0" +A1 = true +gain = -8.8 +comp = 3.2 + +[strip-1] +label = "PhysStrip1" +B1 = true +gate = 4.1 + +[strip-2] +label = "PhysStrip2" +gain = 1.1 +limit = -15 + +[strip-3] +label = "VirtStrip0" +bass = -3.2 +mid = 1.5 +treble = 2.1 + +[strip-4] +label = "VirtStrip1" +limit = -12 + +[bus-0] +label = "PhysBus0" +mute = true + +[bus-1] +label = "PhysBus1" +mono = true + +[bus-2] +label = "PhysBus2" +eq = true + +[bus-3] +label = "VirtBus0" +eq_ab = true + +[bus-4] +label = "VirtBus1" +gain = -22.8 diff --git a/configs/basic/config.toml b/configs/basic/config.toml deleted file mode 100644 index 06160a6..0000000 --- a/configs/basic/config.toml +++ /dev/null @@ -1,17 +0,0 @@ -[strip-0] -A1 = true -B1 = true -mono = true -solo = true -mute = true -limit = 12 -label = "" - -[strip-1] -A1 = false -B1 = false -mono = false -solo = false -mute = false -limit = 12 -label = "" diff --git a/configs/basic/example.toml b/configs/basic/example.toml new file mode 100644 index 0000000..edd2cf6 --- /dev/null +++ b/configs/basic/example.toml @@ -0,0 +1,23 @@ +[strip-0] +label = "PhysStrip0" +A1 = true +gain = -8.8 + +[strip-1] +label = "PhysStrip1" +B1 = true +audibility = 3.2 + +[strip-2] +label = "VirtStrip0" +bass = -3.2 +mid = 1.5 +treble = 2.1 + +[bus-0] +label = "PhysBus0" +mute = true + +[bus-1] +label = "PhysBus1" +mono = true diff --git a/configs/potato/config.toml b/configs/potato/config.toml deleted file mode 100644 index 5253d74..0000000 --- a/configs/potato/config.toml +++ /dev/null @@ -1,42 +0,0 @@ -[strip-0] -limit = 12 -label = "" - -[strip-1] -limit = 12 -label = "" - -[strip-2] -A1 = true -A2 = true -A3 = true -A4 = true -A5 = true -B1 = true -B2 = true -B3 = true -mono = true -solo = true -mute = true -limit = 12 -label = "" - -[strip-3] -limit = 12 -label = "" - -[strip-4] -limit = 12 -label = "" - -[strip-5] -limit = 12 -label = "" - -[strip-6] -limit = 12 -label = "" - -[strip-7] -limit = 12 -label = "" diff --git a/configs/potato/example.toml b/configs/potato/example.toml new file mode 100644 index 0000000..9c43f21 --- /dev/null +++ b/configs/potato/example.toml @@ -0,0 +1,70 @@ +[strip-0] +label = "PhysStrip0" +A1 = true +gain = -8.8 +comp = 3.2 + +[strip-1] +label = "PhysStrip1" +B1 = true +gate = 4.1 + +[strip-2] +label = "PhysStrip2" +gain = 1.1 +limit = -15 + +[strip-3] +label = "PhysStrip3" +B2 = false + +[strip-4] +label = "PhysStrip4" +B3 = true +gain = -8.8 + +[strip-5] +label = "VirtStrip0" +A3 = true +A5 = true +bass = -3.2 +mid = 1.5 +treble = 2.1 + +[strip-6] +label = "VirtStrip1" +limit = -12 +k = 3 + +[strip-7] +label = "VirtStrip2" +mc = true + +[bus-0] +label = "PhysBus0" +mute = true + +[bus-1] +label = "PhysBus1" +mono = true + +[bus-2] +label = "PhysBus2" +eq = true + +[bus-3] +label = "PhysBus3" + +[bus-4] +label = "PhysBus4" + +[bus-5] +label = "VirtBus0" +eq_ab = true + +[bus-6] +label = "VirtBus1" +gain = -22.8 + +[bus-7] +label = "VirtBus2" diff --git a/pyproject.toml b/pyproject.toml index 0f8d674..2efa8e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "voicemeeter-api" -version = "0.1.1" +version = "0.1.2" description = "A Python wrapper for the Voiceemeter API" authors = ["onyx-and-iris "] license = "MIT"