Giter Site home page Giter Site logo

v7b1 / mi-ugens Goto Github PK

View Code? Open in Web Editor NEW
172.0 12.0 19.0 6.01 MB

some mutable instruments eurorack modules ported to SuperCollider

CMake 0.36% C++ 98.64% Python 0.16% C 0.59% SuperCollider 0.10% Makefile 0.15%
mutable-instruments supercollider supercollider-ugens

mi-ugens's People

Contributors

madskjeldgaard avatar mossheim avatar v7b1 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  avatar  avatar  avatar  avatar

mi-ugens's Issues

Quark

Hi, thanks for the great work with this library, would be nice to publish a quark to install directly into supercollider.

Implemention of the Grid Sequencer

Hello,

Just a question :
Is there a plan to implement the topographic sequencer Grids in SuperCollider,
either as a Ugen or pattern ?

I think it could be great!

Error in build.sh

Hi there!

Thanks for everybody involved in this beautiful project.

Trying to build i got this error: ./build.sh: 6: Syntax error: "(" unexpected

I thought I could simply change parenthesis for brackets. This make it pass the error, but will result in ./build.sh: 21: Bad substitution

MSVC compatibility

I noticed these UGens do not compile under Windows MSVC 2019. Would you have any interest in accepting a PR to add support for that compiler? I played with it a bit last night and got a few of the components in this repo compiling without too many changes.

missing header ?

Greetings ! Very cool project, looks like fun, but I'm hitting a wall with this error:

/home/dlphilp/src/mi-UGens/MiBraids/MiBraids.cpp:45:10: fatal error: Accelerate/Accelerate.h: No such file or directory
 #include "Accelerate/Accelerate.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

and this error:

/home/dlphilp/src/mi-UGens/MiPlaits/MiPlaits.cpp: In function ‘void MiPlaits_Ctor(MiPlaits*)’:
/home/dlphilp/src/mi-UGens/MiPlaits/MiPlaits.cpp:84:9: error: ‘printf’ was not declared in this scope
         printf("mem alloc failed!");
         ^~~~~~

Any suggestions ? I'm building on Linux, Ubuntu 18.04, with GCC 7.5.0.

Best regards,

Dave Phillips

mi-UGens for windows are 32bit

It could be nice to have these wonderfull ugens in 64Bit.
I'm okay to try to do that but I need some help, where should I config CMake to build in 64bit?
If I understand correctly, we need to do something is in the CMakeLists.txt files ?

Normalizing pitch to frequency parameters

Hi

First of all thanks for the great work here. These are awesome!

I have a small feature request: It would be really nice if the pitch arguments were expressed in hertz (as a frequency parameter) instead of midi notes to conform with the standard of many other SC uGens to allow more flexibility. The midi note conversion can be done easily outside of the ugen but with the parameter as frequency the user has more of a choice.

Again thank you very much!

best

miRipples missing from v0.0.1

Hello

Thanks for this port ! It's an awesome addition to SC !
I downloaded the release v0.0.1 for MacOSX and it looks like MiRipples is missing.
I'm getting this error when running the examples :
exception in GraphDef_Recv: UGen 'MiRipples' not installed.

all the best

Geoffroy

Braids build on linux does not work anymore

I get this error:

Building libsamplerate
mkdir: cannot create directory ‘build’: File exists
CMake Error: The source directory "/home/andrea/Code/livecoding/mi-UGens/MiBraids/libsamplerate" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found.  Stop.
Building MiBraids
mkdir: cannot create directory ‘build’: File exists
-- Configuring done
-- Generating done
-- Build files have been written to: /home/andrea/Code/livecoding/mi-UGens/MiBraids/build
make[1]: Entering directory '/home/andrea/Code/livecoding/mi-UGens/MiBraids/build'
make[2]: Entering directory '/home/andrea/Code/livecoding/mi-UGens/MiBraids/build'
make[2]: Leaving directory '/home/andrea/Code/livecoding/mi-UGens/MiBraids/build'
make[2]: Entering directory '/home/andrea/Code/livecoding/mi-UGens/MiBraids/build'
[ 10%] Building CXX object CMakeFiles/MiBraids.dir/MiBraids.cpp.o
/home/andrea/Code/livecoding/mi-UGens/MiBraids/MiBraids.cpp:51:10: fatal error: samplerate.h: No such file or directory
   51 | #include "samplerate.h"
      |          ^~~~~~~~~~~~~~

MiGrids fails to build due to incorrect AVRLIB_PATH

Building on Arch Linux (kernel 6.3.1-arch1-1) fails with:

CMake Error at CMakeLists.txt:40 (add_library):
  Cannot find source file:

    /home/[REDACTED]/packages/custom-vcs/supercollider-mi-ugens-git/src/eurorack/avrlib/base.h

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc


CMake Error at CMakeLists.txt:40 (add_library):
  No SOURCES given to target: MiGrids


CMake Generate step failed.  Build files cannot be regenerated correctly.

It seems that this is due to the change to line 7 of CMakeLists.txt in 783e8d8. Reverting from:

set(MUTABLE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../eurorack")

to:

set(MUTABLE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../eurorack")

Appears to resolve the issue.

0.0.4 release non-functional (on Linux/SC 3.11.2)

Hi,
Thanks for all your work on these, I've been testing the v0.0.4 release on Linux and it seems to be non-functional

I have a working v0.0.3 release in my SC Extensions folder, if I update it in-place with v0.0.4 and restart the modules don't load.

The first difference between the two is the unix file permissions differ (v0.0.3 has the executable bit set on *.so files). Updating this permission did not fix it though

I'm running a (relatively old) 3.11.2 build on ubuntu 20.04, could it be an SC version issue?

Memory issues, ugens not being freed

Issue

Scynth server crashes after a while of using Plaits in a PmonoArtic pattern. Similarly, clouds crashes when running for a little while. Sometimes an error message pops up saying the server failed to allocate memory. Other times it simply crashes with error code 0.

Details

When the ugens are running the cpu memory usage and numUgens seems to keep increasing without ever going down. For plaits the number of ugens goes up with every trigger. My assumption is that the exciter creates a few ugens but these are never freed and I assume something similar is happening in Clouds with every grain.

OS: M1 Mac (Monterey)
Plugins: Compiled locally from v0.0.4 using CMake

Example code

(
SynthDef(\mallet,  { arg out=0, amp=1.0, midinote=40, gate=1.0;
    var sig;
    sig = MiElements.ar(gate: gate, pit:midinote, strength: 0.4, strike_level: 0.5);
    Out.ar(out, sig*amp);
}).add
)

(
PmonoArtic(\mallet, \midinote, 60, \dur, 0.25).play();
)

`

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.