Coder Social home page Coder Social logo

madskjeldgaard / portedplugins Goto Github PK

View Code? Open in Web Editor NEW
177.0 8.0 10.0 446 KB

A collection of plugins for the SuperCollider sound environment, all of which are ported / remixed from elsewhere

License: GNU General Public License v3.0

CMake 6.97% C++ 85.89% SuperCollider 3.45% Shell 2.76% C 0.94%
supercollider supercollider-ugens dsp

portedplugins's Introduction

.github/workflows/cmake.yml

PortedPlugins

A collection of plugins for the SuperCollider sound environment, all of which are ported / remixed from elsewhere - including hardware synthesizers, research papers / demos, VST plugins, VCV rack and other programming environments.

Included plugins

See the PortedPlugins.schelp help file for an overview inside of SuperCollider and the respective help files for each plugin for more information about the particularities of each plugin.

Installation

Instructions for most systems:

  1. Download one of the prebuilt releases. Choose the one that fits your operating system.
  2. Unzip the contents in your extensions directory (If you don't know where this is, open up SuperCollider and evaluate Platform.userExtensionDir - the path will be posted in the post window).
  3. Recompile class library.

Building and installing from within SuperCollider

If you have Plugins.quark installed in your SuperCollider system, you can run the following line of code from SuperCollider. This will get the dependencies, build and install the plugins.

Plugins.installPlugin("portedplugins")

Arch Linux:

yay -S supercollider-portedplugins

RaspberryPi OS / ALARM:

See the accompanying script for downloading, building and installing the plugins.

Building

Requirements

  • CMake >= 3.5
  • SuperCollider source code

Preparations for a build

Clone the project:

git clone https://github.com/madskjeldgaard/portedplugins
cd portedplugins
git submodule update --init --recursive

This will get you the portedplugins.

Before continuing, you need two things:

First, the SuperCollider source code :

git clone https://github.com/supercollider/supercollider.git

Note where you placed this source code on your computer and copy the full path to it for use with CMake.

Secondly, you need the path to your SuperCollider extensions directory. This is where CMake will install the plugins.

You can get this by opening up SuperCollider and running this line of code

Platform.userExtensionDir

Note the path that it posts to your post window in SuperCollider, copy it and save it for the next part of the build process.

Actually Building

To build the plugins, run these commands. Note the two paths you need to put in to the CMake command, these are the ones you got from the preparatory steps above.

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE='Release' -DSC_PATH=/path/to/sc/source -DCMAKE_INSTALL_PREFIX=/path/to/extensions
cmake --build . --config Release
cmake --build . --config Release --target install

Building for Raspberry Pi

This repository includes a script for the Raspberry Pi users (Raspberry Pi OS- / ALARM based) that installs the prerequisites for building (cmake), downloads all of the source code needed and compiles and installs it.

Building for Rosetta on the Mac M1

If you are compiling these plugins on a Mac M1, it will detect your architecture as arm and install an arm version of the plugins. Chances are you've installed the x86 version of SuperCollider and if so you will get architecture mismatches between the two.

To explicitly build for a Mac M1 running SuperCollider under the Rosetta compatibility layer, run these commands:

# Location of SuperCollider source code
SC_LOCATION="/path/to/sc/source"

# Force this architecture:
OSX_ARCH="x86_64"

# Install here:
INSTALL_LOCATION="$HOME/Library/Application Support/SuperCollider/Extensions"

cmake .. -DCMAKE_BUILD_TYPE=Release -DSC_PATH="$SC_LOCATION" -DCMAKE_INSTALL_PREFIX="$INSTALL_LOCATION" -DCMAKE_OSX_ARCHITECTURES="$OSX_ARCH"
cmake --build . --config Release
cmake --build . --config Release --target install 

Contributing

Contributions are welcome!

If you experience any problems, post it as an issue or if you have the skills to fix it yourself you may open up a PR with a suggested change.

If you see any problems in the documentation, feel free to do the same here (please submit a PR if you can - otherwise feel free to post an issue).

See CONTRIBUTING.md for more information on how to contribute.

Credits

Thank you to Notam for the support.

Most of these plugins build on code, research and ideas of others, including:

A massive thank you to them and everyone who contributed to the sub projects this relies on for sharing knowledge and ideas and making new sounds possible!

You can find more information about sources of information and code in the help files for the plugins.

portedplugins's People

Contributors

lfsaw avatar madskjeldgaard avatar mossheim avatar sadguitarius avatar salkin-mada avatar schollz avatar sonoro1234 avatar whitegobo 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  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  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

portedplugins's Issues

BLOsc aliasing

Describe the bug
Audible aliasing artifacts above ~3kHz freq in all three waveforms of BLOsc

To Reproduce

{
BLOsc.ar(MouseX.kr(50, 5000, \exponential).poll, 0.5, 2) // also 0 and 1
}.play

Expected behavior
Vanilla band-limited oscillators:

  Saw.ar(MouseX.kr(50, 5000, \exponential))
  Pulse.ar(MouseX.kr(50, 5000, \exponential))

Desktop (please complete the following information):

  • OS: Mac os 10.11.6
  • Architecture: Intel
  • SC Version: 3.10.4
  • PortedPlugins Version: 0.3.1
  • 48k sample rate

Consider using semver for version tags

Right now the release tags mostly follow the pattern x.y.zA where A is an incrementing letter. First, I'd like to ask what the purpose for this extra letter is (why do this instead of increment the patch version?). Second, I'd like to ask you to consider using https://semver.org/ instead, since this is a widely-used and well-regarded versioning scheme.

AUR package cannot be installed using some aur helpers

Hi, great plugins!

I installed them a few weeks ago on my Manjaro system (kernel Linux 5.10.26-1) and worked great. But with the last major system upgrade, the package validity check now seems to fail. Here's the output to pamac update:

==> Making package: supercollider-mkplugins 0.2.0-1 (Wed Apr 14 12:55:12 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found MKPlugins-Linux.zip
==> Validating source files with md5sums...
    MKPlugins-Linux.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error: Failed to build supercollider-mkplugins

Just reckoned I should report it in case you weren't already aware of this.

Cheers!

[Feature request]: New name ?

I'd like to change the name of this repository and I am open to suggestions. Please post them here if you any ideas! (and also ideas on how to achieve a name change without breaking links? Is that possible?)

The repo started out as a few personal experiments but has quickly grown to something bigger and I'd like for it to be reflected in the name of it that it is a community project and not a personal project.

The general theme for these plugins is that they are ports (for the moment at least) of other people's work - maybe that's something that should be reflected in the name?

Rongs/Rongs examples broken?

Describe the bug
Rongs does not seem to generate audio as I would expect.

To Reproduce
Examples from Rongs' documentation:

(
Ndef(\c, {|pan=0.0, trigfreq=4|
    var trig = Dust2.kr(trigfreq);

    var sig = Rongs.ar(
        trig, 
        sustain: trig, 
        f0: [1.0,1.01] * TRand.kr(0.01,0.2, trig), 
        structure: TRand.kr(0.0,0.99,trig),
        brightness: TRand.kr(0.6,0.99,trig), 
        stretch: TRand.kr(0.1,0.99,trig), 
        damping: 0.7,
        //damping: TRand.kr(0.5,0.85, trig),
        accent: 0.99,
        loss: 0.1
    );

    Splay.ar(LeakDC.ar(sig), spread: 0.25, center: pan);
}).play;
)

(
SynthDef.new(\rongsinator, {|out, amp=0.25, pan=0, sustainTime=0.01, f0=0.05, structure=0.5, brightness=0.5, damping=0.75, accent=0.9, harmonicstretch=0.5, position=0.15, loss=0.15|
    var trig = Trig.kr(1, dur: sustainTime);

    var modeNum=2, cosFreq=0.025;
    var sig = Rongs.ar(
        trigger:trig, 
        sustain:trig, 
        f0:f0, 
        structure:structure, 
        brightness:brightness, 
        damping:damping, 
        accent:accent, 
        stretch:harmonicstretch, 
        position:position, 
        loss:loss, 
        modeNum:modeNum, 
        cosFreq:cosFreq
    );

    DetectSilence.ar(in: sig, amp: 0.0001, time: 0.1, doneAction: 2);
    sig = Pan2.ar(sig, pan);
    Out.ar(out, sig);
}).add;
)

// Trig it once
Synth(\rongsinator, [\damping, 0.5])

Neither of these seem to output any (or very quiet) audio for me. Even using Normalizer.ar doesn't give much in the way of any actual tones as I would expect. I can't get much out of it when playing around with the code either.

Expected behavior
Audio along the lines of Mutable Instruments Rings or similar.

Additional context
Using portedplugins v0.4.1 on SuperCollider 3.13.0 on Arch Linux.

SIMD status for these plugins?

I'm curious if these plugins are getting SIMD-optimized during compilation. I suspect not, as they are very CPU hungry (e.g. 2 instances of AnalogTape = 17-18% CPU). So, for instance, I might use the VA filters for a monophonic bass line but I would have to avoid too many of them at once.

I'm afraid my C++ skills are not good enough to review the plugins for this. Spacechild1 had pointed out to me on the SC forum that 8-sample loops can clue the compiler in to places where SIMD instructions could be used. This resulted in a massive speedup for me.

Cmake issue Error2

I'm trying to install this ported plugins on a Raspberry Pi4 with GUI.
I've already got the SuperCollider to work on the Rpi4.

I get this error when making the build.

echo "Starting build from $(pwd)"
cmake .. -DCMAKE_BUILD_TYPE='Release' -DSC_PATH="${SC_DIR}" -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}"
cmake --build . --config Release
cmake --build . --config Release --target install
Starting build from /tmp/portedplugins/build
-- Downloading CPM.cmake
-- Found SuperCollider: /tmp/supercollider
-- Building plugins for SuperCollider version: 3.14.0-dev
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Install directory set to: /home/quinten/local/share/SuperCollider/Extensions
-- Added server plugin target LPG_scsynth
-- Added server plugin target LPG_supernova
-- Added server plugin target Chen_scsynth
-- Added server plugin target Chen_supernova
-- Added server plugin target Rongs_scsynth
-- Added server plugin target Rongs_supernova
-- Added server plugin target AnalogPhaser_scsynth
-- Added server plugin target AnalogPhaser_supernova
-- Added server plugin target AnalogPhaserMod_scsynth
-- Added server plugin target AnalogPhaserMod_supernova
-- Added server plugin target PhasorModal_scsynth
-- Added server plugin target PhasorModal_supernova
-- Added server plugin target AnalogTape_scsynth
-- Added server plugin target AnalogTape_supernova
-- Added server plugin target AnalogVintageDistortion_scsynth
-- Added server plugin target AnalogVintageDistortion_supernova
-- Added server plugin target AnalogLoss_scsynth
-- Added server plugin target AnalogLoss_supernova
-- Added server plugin target AnalogDegrade_scsynth
-- Added server plugin target AnalogDegrade_supernova
-- Added server plugin target AnalogChew_scsynth
-- Added server plugin target AnalogChew_supernova
-- Added server plugin target AnalogFoldOsc_scsynth
-- Added server plugin target AnalogFoldOsc_supernova
-- Added server plugin target VadimFilter_scsynth
-- Added server plugin target VadimFilter_supernova
-- Added server plugin target LockhartWavefolder_scsynth
-- Added server plugin target LockhartWavefolder_supernova
-- Added server plugin target NonlinearFilter_scsynth
-- Added server plugin target NonlinearFilter_supernova
-- Added server plugin target VADiodeFilter_scsynth
-- Added server plugin target VADiodeFilter_supernova
-- Added server plugin target VAKorg35_scsynth
-- Added server plugin target VAKorg35_supernova
-- Added server plugin target VALadder_scsynth
-- Added server plugin target VALadder_supernova
-- Added server plugin target VASEM12_scsynth
-- Added server plugin target VASEM12_supernova
-- Added server plugin target VA1Pole_scsynth
-- Added server plugin target VA1Pole_supernova
-- Added server plugin target Fverb_scsynth
-- Added server plugin target Fverb_supernova
-- Adding DaisySP plugins
-- CPM: adding package daisysp@ (master)
-- Added server plugin target VarShapeOsc_scsynth
-- Added server plugin target VarShapeOsc_supernova
-- Linking VarShapeOsc with DaisySP library
-- Added server plugin target VosimOsc_scsynth
-- Added server plugin target VosimOsc_supernova
-- Linking VosimOsc with DaisySP library
-- Added server plugin target ZOsc_scsynth
-- Added server plugin target ZOsc_supernova
-- Linking ZOsc with DaisySP library
-- Added server plugin target AnalogBassDrum_scsynth
-- Added server plugin target AnalogBassDrum_supernova
-- Linking AnalogBassDrum with DaisySP library
-- Added server plugin target AnalogSnareDrum_scsynth
-- Added server plugin target AnalogSnareDrum_supernova
-- Linking AnalogSnareDrum with DaisySP library
-- Added server plugin target StringVoice_scsynth
-- Added server plugin target StringVoice_supernova
-- Linking StringVoice with DaisySP library
-- Added server plugin target NeoFormant_scsynth
-- Added server plugin target NeoFormant_supernova
-- Linking NeoFormant with DaisySP library
-- Added server plugin target Resonator_scsynth
-- Added server plugin target Resonator_supernova
-- Linking Resonator with DaisySP library
-- Added server plugin target NeoVarSawOsc_scsynth
-- Added server plugin target NeoVarSawOsc_supernova
-- Linking NeoVarSawOsc with DaisySP library
-- Added server plugin target OscBank_scsynth
-- Added server plugin target OscBank_supernova
-- Linking OscBank with DaisySP library
-- Added server plugin target HarmonicOsc_scsynth
-- Added server plugin target HarmonicOsc_supernova
-- Linking HarmonicOsc with DaisySP library
-- Added server plugin target BLOsc_scsynth
-- Added server plugin target BLOsc_supernova
-- Linking BLOsc with DaisySP library
-- Added server plugin target DCompressor_scsynth
-- Added server plugin target DCompressor_supernova
-- Linking DCompressor with DaisySP library
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/portedplugins/build
Scanning dependencies of target DaisySP
[  0%] Building CXX object _deps/daisysp-build/CMakeFiles/DaisySP.dir/Source/Control/adenv.cpp.o
[  1%] Building CXX object _deps/daisysp-build/CMakeFiles/DaisySP.dir/Source/Control/adsr.cpp.o
[  1%] Building CXX object _deps/daisysp-build/CMakeFiles/DaisySP.dir/Source/Control/phasor.cpp.o
[  2%] Building CXX object _deps/daisysp-build/CMakeFiles/DaisySP.dir/Source/Drums/analogbassdrum.cpp.o
/tmp/ccL73HNA.s: Assembler messages:
/tmp/ccL73HNA.s:52: Error: selected processor does not support `vmaxnm.f32 s14,s14,s15' in ARM mode
/tmp/ccL73HNA.s:55: Error: selected processor does not support `vmaxnm.f32 s13,s13,s15' in ARM mode
/tmp/ccL73HNA.s:58: Error: selected processor does not support `vminnm.f32 s14,s14,s9' in ARM mode
/tmp/ccL73HNA.s:61: Error: selected processor does not support `vminnm.f32 s13,s13,s10' in ARM mode
/tmp/ccL73HNA.s:144: Error: selected processor does not support `vminnm.f32 s18,s0,s13' in ARM mode
/tmp/ccL73HNA.s:247: Error: selected processor does not support `vmaxnm.f32 s16,s16,s0' in ARM mode
/tmp/ccL73HNA.s:250: Error: selected processor does not support `vminnm.f32 s16,s16,s22' in ARM mode
/tmp/ccL73HNA.s:427: Error: selected processor does not support `vmaxnm.f32 s0,s0,s14' in ARM mode
/tmp/ccL73HNA.s:430: Error: selected processor does not support `vminnm.f32 s0,s0,s15' in ARM mode
/tmp/ccL73HNA.s:462: Error: selected processor does not support `vmaxnm.f32 s15,s15,s13' in ARM mode
/tmp/ccL73HNA.s:465: Error: selected processor does not support `vminnm.f32 s15,s15,s14' in ARM mode
/tmp/ccL73HNA.s:495: Error: selected processor does not support `vmaxnm.f32 s0,s0,s14' in ARM mode
/tmp/ccL73HNA.s:498: Error: selected processor does not support `vminnm.f32 s0,s0,s15' in ARM mode
gmake[2]: *** [_deps/daisysp-build/CMakeFiles/DaisySP.dir/build.make:121: _deps/daisysp-build/CMakeFiles/DaisySP.dir/Source/Drums/analogbassdrum.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:2085: _deps/daisysp-build/CMakeFiles/DaisySP.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2
[  1%] Building CXX object _deps/daisysp-build/CMakeFiles/DaisySP.dir/Source/Drums/analogbassdrum.cpp.o
/tmp/ccgO47RL.s: Assembler messages:
/tmp/ccgO47RL.s:52: Error: selected processor does not support `vmaxnm.f32 s14,s14,s15' in ARM mode
/tmp/ccgO47RL.s:55: Error: selected processor does not support `vmaxnm.f32 s13,s13,s15' in ARM mode
/tmp/ccgO47RL.s:58: Error: selected processor does not support `vminnm.f32 s14,s14,s9' in ARM mode
/tmp/ccgO47RL.s:61: Error: selected processor does not support `vminnm.f32 s13,s13,s10' in ARM mode
/tmp/ccgO47RL.s:144: Error: selected processor does not support `vminnm.f32 s18,s0,s13' in ARM mode
/tmp/ccgO47RL.s:247: Error: selected processor does not support `vmaxnm.f32 s16,s16,s0' in ARM mode
/tmp/ccgO47RL.s:250: Error: selected processor does not support `vminnm.f32 s16,s16,s22' in ARM mode
/tmp/ccgO47RL.s:427: Error: selected processor does not support `vmaxnm.f32 s0,s0,s14' in ARM mode
/tmp/ccgO47RL.s:430: Error: selected processor does not support `vminnm.f32 s0,s0,s15' in ARM mode
/tmp/ccgO47RL.s:462: Error: selected processor does not support `vmaxnm.f32 s15,s15,s13' in ARM mode
/tmp/ccgO47RL.s:465: Error: selected processor does not support `vminnm.f32 s15,s15,s14' in ARM mode
/tmp/ccgO47RL.s:495: Error: selected processor does not support `vmaxnm.f32 s0,s0,s14' in ARM mode
/tmp/ccgO47RL.s:498: Error: selected processor does not support `vminnm.f32 s0,s0,s15' in ARM mode
gmake[2]: *** [_deps/daisysp-build/CMakeFiles/DaisySP.dir/build.make:121: _deps/daisysp-build/CMakeFiles/DaisySP.dir/Source/Drums/analogbassdrum.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:2085: _deps/daisysp-build/CMakeFiles/DaisySP.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2

  • OS: Raspberry Pi 4

More Chow tape plugins

Hi @madskjeldgaard , I absolutely love this project. Its been an excellent part of my process and I've really enjoyed using this plugins as part of norns via SuperCollider.

I am working on porting more of Jatin's tape plugins (namely Loss, Degrade, and Chew). I've got them working and I'm wondering if you would be interest in a PR with these to this repo? If so I can tidy them up and make a PR.

VarShapeOsc & LockhartWavefolder not working on Win

The VarShapeOsc & Lockhart.. are not working on Win. Both are for some reason thinking that the folder structure should be /portedplugins/plugins not /portedplugins/classes. Also both are missing the help file as probably it's querying it from the wrong place.

VarShapeOsc sync flag seems to be backward

Describe the bug
Sync flag seems reversed from documentation.

To Reproduce

a = {
	var sig = VarShapeOsc.ar(LFDNoise3.kr(2).exprange(100, 500), 0.5, 0.5, 0);
	(sig * 0.05).dup
}.play;

Expected behavior
With sync disabled (0), we should hear the frequency modulation.

Instead we hear a constant frequency matching the default sync frequency.

DCompressor printing 0.0000 to post window

Hi Mads THANK YOU FOR THESE !

here on mac Dcompressor is flooding the post window with 0.00000

also help for DCompressor wont display (using scnvim -> pandoc) I get:

ERROR: In /Users/michael/tank/super/Extensions/MKPlugins/HelpSource/Classes/DCompressor.schelp:
At line 46: syntax error, unexpected end of file

VA1Pole has DC == feedback coefficient at output in LPF mode

Describe the bug
In mode 0 (lpf), VA1Pole has a DC offset equal to its feedback coefficient at its output.

To Reproduce
Evaluate each example and observe the posted values.

{ VA1Pole.ar(Silent.ar, 500, MouseY.kr(-0.99, 0.99), 0).poll * 0 }.play // lpf
{ VA1Pole.ar(Silent.ar, 500, MouseY.kr(-0.99, 0.99), 1).poll * 0 }.play // hpf

Expected behavior
If any DC offset is present at the output of VA1Pole, it will be quite small, as in the HPF example above.

Desktop (please complete the following information):

  • OS: Arch Linux (5.14.9-arch2-1)
  • Architecture: x86
  • SC Version: 3.12.1
  • PortedPlugins Version: 0.3.0d-1 (from AUR)

[Feature request] Prebuilt Raspberry Pi plugins

I'd like to offer prebuilt raspberry pi compatible plugins as part of each release using the Github Actions runners targeting the Raspberry Pi 3 and 4(00) platforms especially and the equivalent non-RaspberryPi-branded single board computers out there.

The Github Actions runners are configured here and are run each time a new version tag is pushed to Github, which triggers them to build and release a new version of the plugin suite:
https://github.com/madskjeldgaard/mkplugins/blob/main/.github/workflows/cmake.yml

The workflow is explained further here:
https://madskjeldgaard.dk/posts/how-to-gh-action/

If anyone has any ideas on how to do this, let me know!

BLOsc error build and install on Linux

Hi,
I'm unable to install the plugins because CMake tells me that BLOsc was not declared during the building.
This is the text of the error:

In file included from /home/enrico/portedplugins/plugins/BLOsc/BLOsc.cpp:4: /home/enrico/portedplugins/plugins/BLOsc/BLOsc.hpp:26:18: error: ‘BlOsc’ in namespace ‘daisysp’ does not name a type 26 | daisysp::BlOsc blosc; | ^~~~~ /home/enrico/portedplugins/plugins/BLOsc/BLOsc.cpp: In constructor ‘BLOsc::BLOsc::BLOsc()’: /home/enrico/portedplugins/plugins/BLOsc/BLOsc.cpp:14:3: error: ‘blosc’ was not declared in this scope 14 | blosc.Init(samplerate); | ^~~~~ /home/enrico/portedplugins/plugins/BLOsc/BLOsc.cpp: In member function ‘void BLOsc::BLOsc::next(int)’: /home/enrico/portedplugins/plugins/BLOsc/BLOsc.cpp:32:5: error: ‘blosc’ was not declared in this scope 32 | blosc.SetFreq(slopedFreq.consume()); | ^~~~~ gmake[2]: *** [CMakeFiles/BLOsc_scsynth.dir/build.make:76: CMakeFiles/BLOsc_scsynth.dir/plugins/BLOsc/BLOsc.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:1898: CMakeFiles/BLOsc_scsynth.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2

Any solutions?
Thank you, Enrico :)

Desktop:

  • OS: Fedora Linux 39
  • Architecture: x86
  • SC Version: 3.14.0-dev
  • PortedPlugins Version: v0.4.1

Merge into sc3-plugins

Hi!

Thanks for this repo, excelent materials!

Are you thinking about merging it into the main sc3-plugins repo ? It would be great for beginners to have it there!

Ranges of filter parameters

I wouldn't mind to open a PR to document some of the expected parameter ranges, but I thought I'd ask first:

  • VAxxx filter resonance is 0.0 - 1.0?
  • VAxxx filter drive is 0.0 - 1.0?

I haven't checked other help files yet -- I think I'm guessing right, but the helpfiles don't really confirm it. Once confirmed, I'd be happy to add the ranges to the help files.

NonlinearFilter crashing server with exit code 0 on MacOS

Environment

  • SuperCollider version: 3.12.0
  • Operating system: Mac OS 10.13.6

Steps to reproduce

Run any of the examples code blocks from the help file. Here is the top one:

(
{
    var freq=550, q=0.5, gain=1, shape=5, saturation=4;
    var sig = PinkNoise.ar();
    NonlinearFilter.ar(sig, freq.poll, q, gain, shape, saturation)!2 * 0.5;
}.play
)

Expected vs. actual behavior

I expected the examples from the help file to work. Instead I get this error:

Server 'localhost' exited with exit code 0.
server 'localhost' disconnected shared memory interface

validity check error

hi mads
i got a validity check error trying to update mkplugins --

[igor@v410 code]$ yay -S supercollider-mkplugins
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] supercollider-mkplugins-0.1.7D-1

1 supercollider-mkplugins (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/igor/.cache/yay/supercollider-mkplugins
:: Downloaded PKGBUILD (1/1): supercollider-mkplugins
1 supercollider-mkplugins (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: supercollider-mkplugins
==> Making package: supercollider-mkplugins 0.1.7D-1 (Tue 23 Mar 2021 08:25:41 PM -03)
==> Retrieving sources...
-> Downloading MKPlugins-Linux.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 627 100 627 0 0 996 0 --:--:-- --:--:-- --:--:-- 996
100 230k 100 230k 0 0 238k 0 --:--:-- --:--:-- --:--:-- 8388k
==> Validating source files with md5sums...
MKPlugins-Linux.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!
error downloading sources: supercollider-mkplugins

Build problem on rpi

I tried to build/install the plugins (v.0.1.5) and got the following error on my rpi 4.

pi@raspberrypi:~/tmp/mkplugins/build $ cmake --build . --config Release
Scanning dependencies of target DaisySP
[  1%] Building CXX object DaisySP/CMakeFiles/DaisySP.dir/Source/Control/adenv.cpp.o
[  2%] Building CXX object DaisySP/CMakeFiles/DaisySP.dir/Source/Control/adsr.cpp.o
[  3%] Building CXX object DaisySP/CMakeFiles/DaisySP.dir/Source/Control/line.cpp.o
[  3%] Building CXX object DaisySP/CMakeFiles/DaisySP.dir/Source/Control/phasor.cpp.o
[  4%] Building CXX object DaisySP/CMakeFiles/DaisySP.dir/Source/Drums/analogbassdrum.cpp.o
/tmp/ccg5o02n.s: Assembler messages:
/tmp/ccg5o02n.s:65: Error: selected processor does not support `vminnm.f32 s20,s20,s15' in ARM mode
/tmp/ccg5o02n.s:179: Error: selected processor does not support `vmaxnm.f32 s0,s0,s16' in ARM mode
/tmp/ccg5o02n.s:182: Error: selected processor does not support `vminnm.f32 s16,s0,s22' in ARM mode
/tmp/ccg5o02n.s:355: Error: selected processor does not support `vmaxnm.f32 s0,s0,s15' in ARM mode
/tmp/ccg5o02n.s:358: Error: selected processor does not support `vminnm.f32 s0,s0,s14' in ARM mode
/tmp/ccg5o02n.s:390: Error: selected processor does not support `vmaxnm.f32 s0,s0,s14' in ARM mode
/tmp/ccg5o02n.s:393: Error: selected processor does not support `vminnm.f32 s0,s0,s15' in ARM mode
/tmp/ccg5o02n.s:423: Error: selected processor does not support `vmaxnm.f32 s0,s0,s15' in ARM mode
/tmp/ccg5o02n.s:426: Error: selected processor does not support `vminnm.f32 s0,s0,s14' in ARM mode
make[2]: *** [DaisySP/CMakeFiles/DaisySP.dir/build.make:134: DaisySP/CMakeFiles/DaisySP.dir/Source/Drums/analogbassdrum.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:983: DaisySP/CMakeFiles/DaisySP.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

Release 0.4.1 does not work on my Mac

Describe the bug
With new release 0.4.1, I am getting the following error on my Mac when booting scsynth

*** ERROR: dlopen '/Users/geoffroy/Library/Application Support/SuperCollider/Extensions/PortedPlugins/VASEM12_scsynth.scx' err 'dlopen(/Users/geoffroy/Library/Application Support/SuperCollider/Extensions/PortedPlugins/VASEM12_scsynth.scx, 2): no suitable image found. Did find:
/Users/geoffroy/Library/Application Support/SuperCollider/Extensions/PortedPlugins/VASEM12_scsynth.scx: cannot load 'VASEM12_scsynth.scx' (load command 0x80000034 is unknown)
/Users/geoffroy/Library/Application Support/SuperCollider/Extensions/PortedPlugins/VASEM12_scsynth.scx: cannot load 'VASEM12_scsynth.scx' (load command 0x80000034 is unknown)'

To Reproduce
Steps to reproduce the behavior:

  1. download release 0.4.1 for Mac
  2. unzip to SC Extensions folder
  3. start SC
  4. boot server

Expected behavior

I'd expect it to work as release 0.3.1

Desktop (please complete the following information):

  • OS: MacOS 10.14.6
  • Architecture: x86
  • SC Version: 3.13.0
  • PortedPlugins Version: 0.4.1

Thanks !

VAxx filters' frequency parameter not scaled properly

Describe the bug

Cutoff frequency of all the zdf filters is scaled too high

To Reproduce

{ VALadder.ar(Saw.ar(200), 50)}.freqscope

Screenshots
Schermafbeelding 2021-12-20 om 22 46 13

Desktop (please complete the following information):

  • OS: MacOS Big Sur 11.6.1
  • Architecture: M1 (rosetta)
  • SC Version: latest
  • PortedPlugins Version: latest

[Feature request]: Add oversampling to LPG

It might be a good idea to add oversampling to the LPG UGen (thanks for pointing out @LFSaw). Since this repo now has some of Jatin Chowdhury's wonderful code, it actually wouldn't be that hard to implement an oversampling in the LPG processor similar to AnalogTape and AnalogVintageDistortion.

CMake error

hi mads
I got a Cmake error trying to install mkplugins today:

[igor@v410 build]$ cmake .. -DCMAKE_BUILD_TYPE='Release' -DSC_PATH=/home/igor/code/SuperCollider/ -DCMAKE_INSTALL_PREFIX=/home/igor/.local/share/SuperCollider/Extensions/
CMake Error: The source directory "/home/igor/code/mkplugins" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

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.