Skip to content

Commit d4548d8

Browse files
authored
Add polyphony and Random Wrangler module (#18)
Added: Random Wrangler (RW) Added: Polyphony to simple oscillators (SIN, SAW, SQR, TRI), plus oscillators (SIN+, SAW+, SQR+, TRI+), Simplex Oscillator (SN-OSC), Wavetable Oscillator (WAVE), TT-A and TT-L. Huge thanks to @baconpaul for contributing with this! Behind the scenes: Refactored WAVE for performance improvements. Behind the scenes: Improved screenshot generation
1 parent 49033ec commit d4548d8

50 files changed

Lines changed: 6462 additions & 4216 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dir-locals.el

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
((nil . ((indent-tabs-mode . nil)))
2+
3+
(c-mode . ((c-file-style . "linux")
4+
(tab-width . 2)
5+
(c-basic-offset . 2)
6+
))
7+
8+
(c++-mode . ((c-file-style . "linux")
9+
(tab-width . 2)
10+
(c-basic-offset . 2)
11+
))
12+
)

Makefile

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ SOURCES += $(wildcard src/*.cpp src/utility/*.cpp)
1818
DISTRIBUTABLES += res
1919
DISTRIBUTABLES += $(wildcard LICENSE*)
2020

21+
install-run: install
22+
"/c/Program Files/VCV/Rack/Rack.exe"
23+
2124
river-bed-theme:
2225
mkdir -p res/panels-river-bed
2326
cp res/panels/* res/panels-river-bed/
@@ -82,7 +85,24 @@ updatethemes: allthemes install
8285
# Be sure to place this BEFORE `include` directives, if any.
8386
THIS_FILE := $(lastword $(MAKEFILE_LIST))
8487

85-
screenshots:
88+
screenshots: module-screenshot combined-screenshots
89+
90+
combined-screenshots:
91+
magick montage -density 300 -tile 0x2 -background none -geometry +5+5 module-screenshots/default/*.png combined-screenshots/default.png
92+
magick montage -density 300 -tile 0x2 -background none -geometry +5+5 module-screenshots/river-bed/*.png combined-screenshots/river-bed.png
93+
magick montage -density 300 -tile 0x2 -background none -geometry +5+5 module-screenshots/shark/*.png combined-screenshots/shark.png
94+
magick montage -density 300 -tile 0x2 -background none -geometry +5+5 module-screenshots/oxford-blue/*.png combined-screenshots/oxford-blue.png
95+
magick montage -density 300 -tile 0x2 -background none -geometry +5+5 module-screenshots/cod-gray/*.png combined-screenshots/cod-gray.png
96+
magick montage -density 300 -tile 0x2 -background none -geometry +5+5 module-screenshots/firefly/*.png combined-screenshots/firefly.png
97+
98+
convert combined-screenshots/default.png -resize 50%x50% combined-screenshots/default.png
99+
convert combined-screenshots/river-bed.png -resize 50%x50% combined-screenshots/river-bed.png
100+
convert combined-screenshots/shark.png -resize 50%x50% combined-screenshots/shark.png
101+
convert combined-screenshots/oxford-blue.png -resize 50%x50% combined-screenshots/oxford-blue.png
102+
convert combined-screenshots/cod-gray.png -resize 50%x50% combined-screenshots/cod-gray.png
103+
convert combined-screenshots/firefly.png -resize 50%x50% combined-screenshots/firefly.png
104+
105+
module-screenshots:
86106
# Clean up
87107
rm -f /C/Users/mail/Documents/Rack/screenshots/TinyTricks/*
88108
#Default theme
@@ -91,47 +111,41 @@ screenshots:
91111
mkdir -p module-screenshots/default
92112
cp /C/Users/mail/Documents/Rack/screenshots/TinyTricks/* module-screenshots/default/
93113
rm -f /C/Users/mail/Documents/Rack/screenshots/TinyTricks/*
94-
magick convert module-screenshots/default/*.png +append combined-screenshots/default.png
95114
# River bed
96115
sed -i 's/setSkin(0);/setSkin(1);/g' src/shared/shared.cpp
97116
@$(MAKE) -f $(THIS_FILE) install
98117
"/c/Program Files/VCV/Rack/Rack.exe" -t 2.f
99118
mkdir -p module-screenshots/river-bed
100119
cp /C/Users/mail/Documents/Rack/screenshots/TinyTricks/* module-screenshots/river-bed/
101120
rm -f /C/Users/mail/Documents/Rack/screenshots/TinyTricks/*
102-
magick convert module-screenshots/river-bed/*.png +append combined-screenshots/river-bed.png
103121
# Shark
104122
sed -i 's/setSkin(1);/setSkin(2);/g' src/shared/shared.cpp
105123
@$(MAKE) -f $(THIS_FILE) install
106124
"/c/Program Files/VCV/Rack/Rack.exe" -t 2.f
107125
mkdir -p module-screenshots/shark
108126
cp /C/Users/mail/Documents/Rack/screenshots/TinyTricks/* module-screenshots/shark/
109127
rm -f /C/Users/mail/Documents/Rack/screenshots/TinyTricks/*
110-
magick convert module-screenshots/shark/*.png +append combined-screenshots/shark.png
111128
# Oxford blue
112129
sed -i 's/setSkin(2);/setSkin(3);/g' src/shared/shared.cpp
113130
@$(MAKE) -f $(THIS_FILE) install
114131
"/c/Program Files/VCV/Rack/Rack.exe" -t 2.f
115132
mkdir -p module-screenshots/oxford-blue
116133
cp /C/Users/mail/Documents/Rack/screenshots/TinyTricks/* module-screenshots/oxford-blue/
117134
rm -f /C/Users/mail/Documents/Rack/screenshots/TinyTricks/*
118-
magick convert module-screenshots/oxford-blue/*.png +append combined-screenshots/oxford-blue.png
119135
# Cod gray
120136
sed -i 's/setSkin(3);/setSkin(4);/g' src/shared/shared.cpp
121137
@$(MAKE) -f $(THIS_FILE) install
122138
"/c/Program Files/VCV/Rack/Rack.exe" -t 2.f
123139
mkdir -p module-screenshots/cod-gray
124140
cp /C/Users/mail/Documents/Rack/screenshots/TinyTricks/* module-screenshots/cod-gray/
125141
rm -f /C/Users/mail/Documents/Rack/screenshots/TinyTricks/*
126-
magick convert module-screenshots/cod-gray/*.png +append combined-screenshots/cod-gray.png
127142
# Firefly
128143
sed -i 's/setSkin(4);/setSkin(5);/g' src/shared/shared.cpp
129144
@$(MAKE) -f $(THIS_FILE) install
130145
"/c/Program Files/VCV/Rack/Rack.exe" -t 2.f
131146
mkdir -p module-screenshots/firefly
132147
cp /C/Users/mail/Documents/Rack/screenshots/TinyTricks/* module-screenshots/firefly/
133148
rm -f /C/Users/mail/Documents/Rack/screenshots/TinyTricks/*
134-
magick convert module-screenshots/firefly/*.png +append combined-screenshots/firefly.png
135149
# Revert back to default
136150
sed -i 's/setSkin(5);/setSkin(0);/g' src/shared/shared.cpp
137151
@$(MAKE) -f $(THIS_FILE) install

README.md

Lines changed: 38 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![The current modules](https://github.com/thomassidor/tinytricks/blob/master/combined-screenshots/default.png?raw=true)
1+
![The current modules](/combined-screenshots/default.png?raw=true)
22

33
# Tiny Tricks VCV Rack modules
44

@@ -14,12 +14,13 @@ All the best, Thomas René Sidor
1414
* [Sample and Hold x16 (SH16)](/docs/sh16.md)
1515
* [Attenuator x8 (A8)](/docs/a8.md)
1616

17-
### Modulation sources/LFOs:
18-
* Modulation Generator (MG1)
19-
* Modulation Generator x8 (MG8)
20-
* Modulation Generator x16 (MG16)
17+
### Modulation sources, random generators, LFOs:
18+
* [Modulation Generator (MG1)](/docs/mg.md)
19+
* [Modulation Generator x8 (MG8)](/docs/mg.md)
20+
* [Modulation Generator x16 (MG16)](/docs/mg.md)
2121
* [Simplex Noise (SN1)](/docs/sn.md)
2222
* [Simplex Noise x8 (SN8)](/docs/sn.md)
23+
* [Random Wrangler (RW)](/docs/rw.md)
2324

2425
### Mixing and muting:
2526
* [Random Mute x8 (RM8)](/docs/rm8.md)
@@ -40,9 +41,14 @@ All the best, Thomas René Sidor
4041
* Simplex Oscillator (SN-OSC)
4142
* [Wavetable Oscillator (WAVE)](/docs/wave.md)
4243

44+
## Authors
45+
@thomassidor - Project owner.
4346

44-
### Color themes
45-
Several [color themes](#color-themes) are included for each module:
47+
@baconpaul - Added polyphony to oscillator, logic and arithmetic modules.
48+
49+
50+
## Color themes
51+
Several color themes are included for each module:
4652

4753
* Light (Default)
4854
* River Bed
@@ -54,15 +60,34 @@ Several [color themes](#color-themes) are included for each module:
5460

5561
For all themes you can force the input ports to use a light theme, if you prefer the increased contrast. The option is available via right clicking the modules.
5662

57-
![Default color theme](https://github.com/thomassidor/tinytricks/blob/master/combined-screenshots/default.png?raw=true)
58-
![River Bed](https://github.com/thomassidor/tinytricks/blob/master/combined-screenshots/river-bed.png?raw=true)
59-
![Oxford Blue](https://github.com/thomassidor/tinytricks/blob/master/combined-screenshots/oxford-blue.png?raw=true)
60-
![Shark](https://github.com/thomassidor/tinytricks/blob/master/combined-screenshots/shark.png?raw=true)
61-
![Cod Gray](https://github.com/thomassidor/tinytricks/blob/master/combined-screenshots/cod-gray.png?raw=true)
62-
![Firefly](https://github.com/thomassidor/tinytricks/blob/master/combined-screenshots/firefly.png?raw=true)
63+
#### Light (Default)
64+
![Default color theme](/combined-screenshots/default.png?raw=true)
65+
66+
#### River Bed
67+
![River Bed](/combined-screenshots/river-bed.png?raw=true)
68+
69+
#### Oxford Blue
70+
![Oxford Blue](/combined-screenshots/oxford-blue.png?raw=true)
71+
72+
#### Shark
73+
![Shark](/combined-screenshots/shark.png?raw=true)
74+
75+
#### Cod Gray
76+
![Cod Gray](/combined-screenshots/cod-gray.png?raw=true)
77+
78+
#### Firefly
79+
![Firefly](/combined-screenshots/firefly.png?raw=true)
80+
6381

6482

6583
## Changelog
84+
85+
Version 1.5.0
86+
* Added: [Random Wrangler (RW)](/docs/rw.md)
87+
* Added: Polyphony to simple oscillators (SIN, SAW, SQR, TRI), plus oscillators (SIN+, SAW+, SQR+, TRI+), Simplex Oscillator (SN-OSC), Wavetable Oscillator (WAVE), TT-A and TT-L. Huge thanks to @baconpaul for contributing with this!
88+
* Behind the scenes: Refactored WAVE for performance improvements.
89+
* Behind the scenes: Improved screenshot generation
90+
6691
Version 1.4.2
6792
* Added: Dark ports for dark themes.
6893
* Added: Option to force light ports on dark themes.

0 commit comments

Comments
 (0)