Coder Social home page Coder Social logo

vcvrack-simple's Introduction

Modules for VCVRack.

Clock divider image Clock image Wav Recorder Button trigger image

More infos and user manuals: https://iohannrabeson.github.io/VCVRack-Simple/

Building from sources

Clone this repository into the Rack's plugins directory then build using Make:

cd Rack/plugins/
git clone https://github.com/IohannRabeson/VCVRack-Simple.git
cd VCVRack-Simple
make

Linux

Compilation is tested on Linux with gcc-7.

Osx

Compilation is tested on Osx with clang.

Windows

Compilation is tested with the recommended setup for Rack, using MSys2.

Website

The website use Jekyll. You can start a local server using:

make serve 

vcvrack-simple's People

Contributors

cschol avatar iohannrabeson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vcvrack-simple's Issues

bug: clock module

OS: win 8.1
Simple module pack version: 0.5.0
Module concerned: clock
Description: runtime error
Steps to reproduce: insert the clock module then try to duplicate it

Updates for VCV 0.6.0 ???

OS: OSX
Simple module pack version: (git SHA1 if builded from sources)
Module concerned: Clock Divider and the rest
Description: Update to new VCV version
Steps to reproduce:

Clock Divider incompatible with latest dev Rack

Hi Iohann ! The latest changes in Rack have left your Clock Divider in a bit of a puzzle. Here's the problem I've hit :

[dlphilp@The6300 VCVRack-Simple]$ make
g++ -I"." -fPIC -I../../include -I../../dep/include -MMD -g -O3 -march=nocona -ffast-math -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -std=c++11 -c -o build/src/ClockDivider.cpp.o src/ClockDivider.cpp
src/ClockDivider.cpp:147:7: error: virtual function ‘virtual void ClockDivider::initialize()’
void initialize() override
^
In file included from ../../include/rack.hpp:6:0,
from src/Simple.hpp:3,
from src/ClockDivider.cpp:1:
../../include/engine.hpp:62:15: error: overriding final function ‘virtual void rack::Module::initialize()’
virtual void initialize() final {}
^
../../compile.mk:52: recipe for target 'build/src/ClockDivider.cpp.o' failed
make: *** [build/src/ClockDivider.cpp.o] Error 1

The latest Rack code has dropped initialize() and is now using reset(), which causes a problem with the Clock Divider code. I'm not a programmer, and I have almost no experience debugging C++, so I'm open to any suggestions you might have for a fix to the problem. I like your plugins. :)

0.6 display issue

OS: MacOS X 10.11.6 (El Capitan)
Simple module pack version: 0.6.0
Module concerned: Clock Divider, Clock
Description: Display issue, missing and misaligned text and buttons and plugs
Steps to reproduce: see attached image
simpleproblem

Setup Appveyor

This will be useful to make builds on Windows.
Currently I'm stuck with RTMidi -> #8

Clock

Inputs:

  • frequency
  • reset
  • run

Outputs:

  • 8 clock
  • reset
  • run

Params:

  • menu button -> see Module FSM
  • unique knob

States:

  • main clock frequency
  • main clock BPM
  • main swing ratio
  • gate time (time) for each outputs
  • divisor for each outputs
  • delay (ticks) for each outputs

Module FSM
When the current state change, the LED panel should display during 1 second a code such as CLK0, CLK1, CLK N, SWG, etc...

Installation on Windows 10

OS: Windows 10
Simple module pack version: (git SHA1 if builded from sources)
Module concerned: All

Description: This is probably a dumb newbie question: How do I install VCVRack-Simple? I copied the VCVRack-Simple folder from the Zip file to my Rack/plugins folder. When I load VCV Rack, I get an error dialog "Could not load plugin". In the log it says "[0.079 warn] Failed to load library C:\Users\mike\Documents/Rack/plugins/VCVRack-Simple/plugin.dll: code 127". Other modules installed from the VCV Rack plugin page load as expected.

What am I missing?

Thanks, Mike

Recorder (2 channels)

I will use this portaudio code for the Wav writer (like the dekstop Recorder).

  • Inputs:

    • start / stop
    • inputs Left / Right
  • Params:

    • Record arm
    • Start recording
    • Input volume
  • Outputs:

    • Record start (for recorder chain)
  • Mode to record many WAV in row. In this mode the defined output file name will be suffixed by a number, and when a recording start the number will be incremented. Maybe this mode should be the normal behavior?

Clock Output 4 options not available (duplicated options for output 3)

OS: Mac OSX 10.12.6
Simple module pack version: 0.5.0
Module concerned: Simple Clock
Description: When cycling through the clock output options, the Divisor, Gate Time Etc for output 4 aren't listed. instead you get two copies of output 3 that mirror each other. then jump to output 5's options.
Steps to reproduce: Add Module to an instance of Rack 0.5.1

Using Gcc with Travis

GCC is a compiler used by somes users, so it can be nice to use it with Travis in addition of Clang.

Runtime Error

Just tried to run vcvrack with the most recent version of vcvrack-simple. It made fine, but it gave a runtime error when I tried to make run. That is, the program opened, but then a window popped up that said something along the lines of "This application has requested the Runtime to terminate it in an unusual way."

It is a problem with something in FiniteStateMachine.hxx in the utils folder of the plugin, I think.

Here's what it said in the terminal when I closed the window and the program:

Program: C:\msys64\home\Henry\Rack\Rack.exe
File: ./utils/FiniteStateMachine.hxx, Line 88

Expression: creatorIt != m_creators.end()
make: *** [Makefile:56: run] Error 3

Edit: I probably should mention, i am using the a094a0c commit of vcv rack, one of the more recent dev versions.

Recorder not working

OS: 10.11
Simple module pack version: (git SHA1 if builded from sources) 0.5.9
Module concerned: Recorder
Description: Followed the instructions - set left and right from some module outputs (which work fine going straight to regular outs), which is reading on the Recorder VU's. Set the destination which puts on the green light, arm the track and get the blinking red light, then whenever I hit record the red button switches off. Any ideas here? Literally can't get it to record at all
Steps to reproduce: As above

Build is broken on windows

FLAGS isn't take into account when launching make command.
Apparently it should be set before including plugin.mk.

Patch:
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,9 @@
SOURCES = $(wildcard src/*.cpp)
utils/PulseGate.cpp

-include ../../plugin.mk
+FLAGS += -I.

-FLAGS += -I"./"
+include ../../plugin.mk

dist: all
mkdir -p dist/Simple

[ButtonTrigger]: remake

The current module is obsolete since Rack 0.4.0 and the stackable wire feature.
So this module need to be improved:

  • one button per output
  • one label per output (require to implement a new widget?)
  • one knob to define the value for per output
  • one button to select the mode (continuous / trigger)

The old SVG panel is ugly and the DPI should be adjusted (see API change thread).

Compiler ERror

OS:
Simple module pack version: (git SHA1 if builded from sources)
Module concerned: ClockDivider
Description: Compiler Error
Steps to reproduce: make
This is on Centos7 with G++ 4.8.5

g++ -I"." -fPIC -I../../include -I../../dep/include -MMD -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -std=c++11 -c -o build/src/ClockDivider.cpp.o src/ClockDivider.cpp
In file included from src/ClockDivider.cpp:3:0:
./utils/Algorithm.hpp: In instantiation of ‘constexpr const T& clamp(const T&, const T&, const T&, Compare) [with T = float; Compare = std::less]’:
./utils/Algorithm.hpp:16:42: required from ‘constexpr const T& clamp(const T&, const T&, const T&) [with T = float]’
src/ClockDivider.cpp:190:141: required from here
./utils/Algorithm.hpp:11:1: error: body of constexpr function ‘constexpr const T& clamp(const T&, const T&, const T&, Compare) [with T = float; Compare = std::less]’ not a return-statement
}
^
make: *** [build/src/ClockDivider.cpp.o] Error 1

Clock divider

  • Functional bases
  • Lights for each clock outputs
  • Decent SVG panel
  • Write/read json settings
  • Initialize function
  • Randomize function
  • Reset out and clock out (for chaining)

Recorder not working: pressing RECORD turns red blinking light off

OS: MacOS 10.13.2
Simple module pack version: (git SHA1 if builded from sources)
Module concerned: Recorder 0.5
Description: As per an earlier issue, I cannot get the recorder to work. I reduced a complicated setup to the following core modules: a VCO-1 that feeds into a VCF, whose frequency is modified by an ADSR that is triggered by an LFO-1: the output of the VCF feeds to a VCA and from there into the recorder (and also to the audio driver).

I press SELECT, which gives me the option to save the output to a file, and then the green light appears to the left of the file name. I press ARM (sometimes I have to press twice) and get the red blinking light. The I press RECORD and the red blinking light goes off. I've tried quitting VCV Rack and the results are still the same. See the attached screenshot.

Steps to reproduce: As per above. I realise you couldn't reproduce the earlier issue which was the same as this one.
vcv recorder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.