commit 9762547d774da7a19fe50a077095923ec3d55928
Author: spesk <spesk@pm.me>
Date: Mon Mar 21 17:01:45 2022 -0400
Adding modules
diff --git a/module_lib/a-110-4.module b/module_lib/a-110-4.module
new file mode 100644
index 0000000..0f9fe74
--- /dev/null
+++ b/module_lib/a-110-4.module
@@ -0,0 +1,16 @@
+Manufacturer: Doepfer
+Module: QZVCOA1104
+Rev: 1
+- Input: 1VOct
+- Input: XFM
+- Input: LFM
+- Output: Sine
+- Output: Cosine
+- Knob: Xtune
+-- Position: [1,12]
+- Knob: XFM
+-- Position: [1,12]
+- Knob: LFrq
+-- Position: [1,12]
+- Knob: LFM
+-- Position: [1,12]
\ No newline at end of file
diff --git a/module_lib/a-156.module b/module_lib/a-156.module
new file mode 100644
index 0000000..cc0deae
--- /dev/null
+++ b/module_lib/a-156.module
@@ -0,0 +1,18 @@
+Manufacturer: Doepfer
+Module: QNTA156
+Rev: 1
+- Input: CVIn1
+- Input: TrigIn1
+- Input: CVIn2
+- Input: TrigIn2
+- Input: Transpose
+- Output: CVOut1
+- Output: TrigOut1
+- Output: CVOut2
+- Output: TrigOut2
+- Button: QuantizerState
+-- Position: [0,1,2]
+- Button: Scale
+-- Position: [0,1,2]
+- Button: Chord
+-- Position: [0,1,2]
\ No newline at end of file
diff --git a/module_lib/tempi.module b/module_lib/tempi.module
new file mode 100644
index 0000000..99ecac0
--- /dev/null
+++ b/module_lib/tempi.module
@@ -0,0 +1,16 @@
+# A lot of this modules features are
+# digitally encoded and are as such "out of scope"
+# of this definition
+Manufacturer: MakeNoise
+Module: Tempi
+Rev: 1
+- Input: SelectGate
+- Input: SelectCV
+- Input: Tempo
+- Input: ModGate
+- Output: Ch1
+- Output: Ch2
+- Output: Ch3
+- Output: Ch4
+- Output: Ch5
+- Output: Ch6
diff --git a/module_lib/wmd_quad_atten.module b/module_lib/wmd_quad_atten.module
new file mode 100644
index 0000000..8607263
--- /dev/null
+++ b/module_lib/wmd_quad_atten.module
@@ -0,0 +1,19 @@
+Manufacturer: WMD
+Module: QuadAtten
+Rev: 1
+- Input: 1
+- Input: 2
+- Input: 3
+- Input: 4
+- Output: 1
+- Output: 2
+- Output: 3
+- Output: 4
+- Knob: Knob1
+-- Position: [1,12]
+- Knob: Knob2
+-- Position: [1,12]
+- Knob: Knob3
+-- Position: [1,12]
+- Knob: Knob4
+-- Position: [1,12]
\ No newline at end of file
diff --git a/module_lib/wmd_ultrafold.module b/module_lib/wmd_ultrafold.module
new file mode 100644
index 0000000..6eb8221
--- /dev/null
+++ b/module_lib/wmd_ultrafold.module
@@ -0,0 +1,16 @@
+Manufacturer: WMD
+Module: Ultrafold
+Rev: 1
+- Input: FdbkInput
+- Input: FdbkCV
+- Input: ShiftCV
+- Input: FoldCV
+- Input: In
+- Knob: WaveFold
+-- Position: [1,12]
+- Knob: WaveShift
+-- Position: [1,12]
+- Knob: Feedback
+-- Position: [1,12]
+- Knob: InputDrive
+-- Position: [1,12]
diff --git a/module_lib/woggle_bug.module b/module_lib/woggle_bug.module
new file mode 100644
index 0000000..328eaa1
--- /dev/null
+++ b/module_lib/woggle_bug.module
@@ -0,0 +1,25 @@
+Manufacturer: MakeNoise
+Module: Wogglebug
+Rev: 2
+- Input: External
+- Input: Influence
+- Input: Speed
+- Input: Clock
+- Knob: Ego
+-- Position: [1,12]
+- Knob: Woggle
+-- Position: [1,12]
+- Knob: Burst
+-- Position: [1,12]
+- Knob: Clock
+-- Position: [1,12]
+- Output: SmoothAudio
+- Output: RingModAudio
+- Output: WoggleAudio
+- Output: Stepped
+- Output: Smooth
+- Output: Woggle
+- Output: Burst
+- Output: IntClk
+- Button: Freeze
+-- Position: [0,1]
\ No newline at end of file
diff --git a/patches/self_ref.modmark b/patches/self_ref.modmark
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/patches/self_ref.modmark
@@ -0,0 +1 @@
+
diff --git a/pl_proto.pl b/pl_proto.pl
index b571f58..1376449 100755
--- a/pl_proto.pl
+++ b/pl_proto.pl
@@ -360,7 +360,14 @@ sub line_parse($) {
}
}
-# MAIN - split the input and parse it
+# For testing module definitions
+if ( $ARGV[1] eq "--import-test" ) {
+ my $mod_ref = parse_module_file($src_content);
+ print Dumper $mod_ref;
+ exit 0;
+}
+
+# MAIN starts here - split the input and parse it
foreach my $line ( split("\n", $src_content) ) {
chomp $line;
if ( $line eq "" ) {