Skip to content

Commit

Permalink
0.5.21
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-bouffier committed Feb 17, 2018
1 parent cc3d24a commit f319653
Show file tree
Hide file tree
Showing 749 changed files with 187,852 additions and 713 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
build
dist
plugin.dll
/src/dep/bin
/src/dep/include
/src/dep/lib
/src/dep/mpg123-1.25.8
/src/dep/share
*.bz2
22 changes: 20 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
SLUG = Bidoo
VERSION = 0.5.20
VERSION = 0.5.21

FLAGS = -I./pffft -DPFFFT_SIMD_DISABLE
FLAGS += -I./pffft -DPFFFT_SIMD_DISABLE
FLAGS += -I./src/dep/include

include ../../arch.mk

ifeq ($(ARCH), lin)
LDFLAGS += -shared -L./src/dep/lib -lmpg123 -lcurl
endif

ifeq ($(ARCH), mac)
LDFLAGS += -shared -L./src/dep/lib -lmpg123 -lcurl
endif

ifeq ($(ARCH), win)
LDFLAGS += -shared -L./src/dep/lib -lmpg123 -lshlwapi -lcurl
endif

SOURCES = $(wildcard src/*.cpp src/dep/audiofile/*cpp src/dep/pffft/*c src/dep/filters/*cpp)

DISTRIBUTABLES += $(wildcard LICENSE*) res

include ../../plugin.mk

dep:
$(MAKE) -C src/dep
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Bidoo's plugins for [VCVRack](https://vcvrack.com)

<!-- Version and License Badges -->
![Version](https://img.shields.io/badge/version-0.5.20-green.svg?style=flat-square)
![Version](https://img.shields.io/badge/version-0.5.21-green.svg?style=flat-square)
![License](https://img.shields.io/badge/license-BSD3-blue.svg?style=flat-square)
![Language](https://img.shields.io/badge/language-C++-yellow.svg?style=flat-square)

Expand All @@ -13,11 +13,16 @@ You can find information on that plugins pack in the [wiki](https://github.com/s

## Last changes

0.5.20
0.5.21

ziNC displays MOD bands' peaks by turning knobs from blue to red.
TiARE can be switched from OSC mode to LFO via the right click menu.

bordL is dTrOY little brother. Added probability on each step, random on Pitch (output is V/o) and a new voltage line (output is V) not quantized named ACC like accent with its own random factor.
bordL and dTrOY where loosing gate time and slide params of the current pattern on close. Fixed.

New module still a little "buggy" but usable .... antN. This module can read mp3 streams over http/https. Paste the url in the text field and press LISTEN.
Little/Big endianness is not currently managed but it will be soon. Changing url sometime crashes due to my poor knowledge on threads/libcurl but I hope to fix it asap.

To compile first launch a "make dep" to retrieve mpg123 lib.

## License

Expand Down
Binary file modified images/pack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mpg123.dll
Binary file not shown.
195 changes: 195 additions & 0 deletions res/ANTN.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
215 changes: 215 additions & 0 deletions res/ANTNtemp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
602 changes: 602 additions & 0 deletions res/RADAR.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
728 changes: 728 additions & 0 deletions res/RADARtemp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 22 additions & 29 deletions src/ACNE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,14 @@ struct ACNE : Module {
int currentSnapshot = 0;
int copySnapshot = 0;
bool copyState = false;
float snapshots[ACNE_NB_SNAPSHOTS][ACNE_NB_OUTS][ACNE_NB_TRACKS] = {{{0}}};
float snapshots[ACNE_NB_SNAPSHOTS][ACNE_NB_OUTS][ACNE_NB_TRACKS] = {{{0.0f}}};
bool outMutes[ACNE_NB_OUTS] = {0};
bool inMutes[ACNE_NB_TRACKS] = {0};
bool inSolo[ACNE_NB_TRACKS] = {0};
SchmittTrigger outMutesTriggers[ACNE_NB_OUTS];
SchmittTrigger inMutesTriggers[ACNE_NB_TRACKS];
SchmittTrigger inSoloTriggers[ACNE_NB_TRACKS];
SchmittTrigger snapshotTriggers[ACNE_NB_SNAPSHOTS];
//bool updateWidget = false;


ACNE() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) { }

Expand Down Expand Up @@ -131,7 +129,7 @@ void ACNE::step() {
}

for (int i = 0; i < ACNE_NB_OUTS; i++) {
outputs[TRACKS_OUTPUTS + i].value = 0;
outputs[TRACKS_OUTPUTS + i].value = 0.0f;
if (!outMutes[i]) {
int sum = 0;
for (int s = 0; s < ACNE_NB_TRACKS; ++s) {
Expand Down Expand Up @@ -231,7 +229,7 @@ struct ACNECOPYPASTECKD6 : BlueCKD6 {
ACNEWidget::ACNEWidget() {
ACNE *module = new ACNE();
setModule(module);
box.size = Vec(15*34, 380);
box.size = Vec(15.0f*34.0f, 380.0f);

{
SVGPanel *panel = new SVGPanel();
Expand All @@ -240,42 +238,42 @@ ACNEWidget::ACNEWidget() {
addChild(panel);
}

addChild(createScrew<ScrewSilver>(Vec(15, 0)));
addChild(createScrew<ScrewSilver>(Vec(box.size.x-30, 0)));
addChild(createScrew<ScrewSilver>(Vec(15, 365)));
addChild(createScrew<ScrewSilver>(Vec(box.size.x-30, 365)));
addChild(createScrew<ScrewSilver>(Vec(15.0f, 0.0f)));
addChild(createScrew<ScrewSilver>(Vec(box.size.x-30.0f, 0.0f)));
addChild(createScrew<ScrewSilver>(Vec(15.0f, 365.0f)));
addChild(createScrew<ScrewSilver>(Vec(box.size.x-30.0f, 365.0f)));


addParam(createParam<BidooBlueKnob>(Vec(472, 39), module, ACNE::MAIN_OUT_GAIN_PARAM, 0, 10, 7));
addParam(createParam<BidooBlueKnob>(Vec(472.0f, 39.0f), module, ACNE::MAIN_OUT_GAIN_PARAM, 0.0f, 10.0f, 7.0f));

addParam(createParam<ACNECOPYPASTECKD6>(Vec(7, 39), module, ACNE::COPY_PARAM, 0, 1, 0.0));
addChild(createLight<SmallLight<GreenLight>>(Vec(18, 28), module, ACNE::COPY_LIGHT));
addParam(createParam<ACNECOPYPASTECKD6>(Vec(7.0f, 39.0f), module, ACNE::COPY_PARAM, 0.0f, 1.0f, 0.0f));
addChild(createLight<SmallLight<GreenLight>>(Vec(18.0f, 28.0f), module, ACNE::COPY_LIGHT));

addInput(createInput<TinyPJ301MPort>(Vec(58, 30), module, ACNE::SNAPSHOT_INPUT));
addInput(createInput<TinyPJ301MPort>(Vec(58.0f, 30.0f), module, ACNE::SNAPSHOT_INPUT));

for (int i = 0; i < ACNE_NB_OUTS; i++) {
addOutput(createOutput<TinyPJ301MPort>(Vec(482, 79+i*27), module, ACNE::TRACKS_OUTPUTS + i));
addOutput(createOutput<TinyPJ301MPort>(Vec(482.0f, 79.0f+i*27.0f), module, ACNE::TRACKS_OUTPUTS + i));

addParam(createParam<LEDButton>(Vec(10, 77+i*27), module, ACNE::OUT_MUTE_PARAMS + i, 0.0, 1.0, 0));
addChild(createLight<SmallLight<RedLight>>(Vec(16, 82+i*27), module, ACNE::OUT_MUTE_LIGHTS + i));
addParam(createParam<LEDButton>(Vec(10.0f, 77.0f+i*27.0f), module, ACNE::OUT_MUTE_PARAMS + i, 0.0f, 1.0f, 0.0f));
addChild(createLight<SmallLight<RedLight>>(Vec(16.0f, 82.0f+i*27.0f), module, ACNE::OUT_MUTE_LIGHTS + i));
}

for (int i = 0; i < ACNE_NB_TRACKS; i++) {
addParam(createParam<ACNEChoseSceneLedButton>(Vec(43+i*27, 49), module, ACNE::SNAPSHOT_PARAMS + i, 0.0, 1.0, 0));
addChild(createLight<SmallLight<BlueLight>>(Vec(49+i*27, 55), module, ACNE::SNAPSHOT_LIGHTS + i));
addParam(createParam<ACNEChoseSceneLedButton>(Vec(43.0f+i*27.0f, 49.0f), module, ACNE::SNAPSHOT_PARAMS + i, 0.0f, 1.0f, 0.0f));
addChild(createLight<SmallLight<BlueLight>>(Vec(49.0f+i*27.0f, 55.0f), module, ACNE::SNAPSHOT_LIGHTS + i));

addInput(createInput<TinyPJ301MPort>(Vec(45+i*27, 338), module, ACNE::TRACKS_INPUTS + i));
addInput(createInput<TinyPJ301MPort>(Vec(45.0f+i*27.0f, 338.0f), module, ACNE::TRACKS_INPUTS + i));

addParam(createParam<LEDButton>(Vec(43+i*27, 292), module, ACNE::IN_MUTE_PARAMS + i, 0.0, 1.0, 0));
addChild(createLight<SmallLight<RedLight>>(Vec(49+i*27, 297), module, ACNE::IN_MUTE_LIGHTS + i));
addParam(createParam<LEDButton>(Vec(43.0f+i*27.0f, 292.0f), module, ACNE::IN_MUTE_PARAMS + i, 0.0f, 1.0f, 0.0f));
addChild(createLight<SmallLight<RedLight>>(Vec(49.0f+i*27.0f, 297.0f), module, ACNE::IN_MUTE_LIGHTS + i));

addParam(createParam<LEDButton>(Vec(43+i*27, 314), module, ACNE::IN_SOLO_PARAMS + i, 0.0, 1.0, 0));
addChild(createLight<SmallLight<GreenLight>>(Vec(49+i*27, 320), module, ACNE::IN_SOLO_LIGHTS + i));
addParam(createParam<LEDButton>(Vec(43.0f+i*27.0f, 314.0f), module, ACNE::IN_SOLO_PARAMS + i, 0.0f, 1.0f, 0.0f));
addChild(createLight<SmallLight<GreenLight>>(Vec(49.0f+i*27.0f, 320.0f), module, ACNE::IN_SOLO_LIGHTS + i));
}

for (int i = 0; i < ACNE_NB_OUTS; i++) {
for (int j = 0; j < ACNE_NB_TRACKS; j++) {
faders[i][j] = createParam<ACNETrimPot>(Vec(43+j*27, 77+i*27), module, ACNE::FADERS_PARAMS + j + i * (ACNE_NB_TRACKS), 0.0, 10, 0);
faders[i][j] = createParam<ACNETrimPot>(Vec(43.0f+j*27.0f, 77.0f+i*27.0f), module, ACNE::FADERS_PARAMS + j + i * (ACNE_NB_TRACKS), 0.0f, 10.0f, 0.0f);
addParam(faders[i][j]);
}
}
Expand All @@ -293,10 +291,5 @@ void ACNEWidget::UpdateSnapshot(int snapshot) {
}

void ACNEWidget::step() {
// ACNE *module = dynamic_cast<ACNE*>(this->module);
// if (module->updateWidget) {
// UpdateSnapshot(module->currentSnapshot);
// module->updateWidget = false;
// }
ModuleWidget::step();
}
Loading

0 comments on commit f319653

Please sign in to comment.