Git Product home page Git Product logo

nodesynth's Introduction

Website: ifndefjosh.github.io

Josh Jeppson

Languages

  • Fluent in C++, Java, Python, HTML/CSS, JavaScript, POSIX shell scripts, and SQL
  • Experience in Kotlin, Haskell, Scheme, Matlab/Octave, PHP, Raku/Perl, Rust
  • Done a tiny bit in: D, Lua, Common Lisp

nodesynth's People

Contributors

ifndefjosh avatar

Stargazers

 avatar  avatar

Watchers

 avatar

nodesynth's Issues

Linker Error on Compile

Probably an issue with the CMakeLists, but ld can't seem to find the library files for <fftw> or <jack/jack.h>

/usr/bin/ld: CMakeFiles/nodesynth.dir/src/core/NodeGraph.cpp.o: in function `nodesynth::NodeGraph::NodeGraph()':
<PATH_TO_REPO>/nodesynth/src/core/NodeGraph.cpp:13: undefined reference to `nodesynth::TimeDomainAudioStream::TimeDomainAudioStream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeGraph.cpp:14: undefined reference to `nodesynth::TimeDomainAudioStream::TimeDomainAudioStream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/usr/bin/ld: CMakeFiles/nodesynth.dir/src/core/NodeGraph.cpp.o: in function `std::thread::thread<std::function<void ()>&, , void>(std::function<void ()>&)':
/usr/include/c++/11.1.0/bits/std_thread.h:136: undefined reference to `pthread_create'
/usr/bin/ld: CMakeFiles/nodesynth.dir/src/core/NodeSynth.cpp.o: in function `inprocess(unsigned int, nodesynth::port_pair_t*)':
<PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:16: undefined reference to `jack_port_get_buffer'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:18: undefined reference to `jack_port_get_buffer'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:20: undefined reference to `jack_port_get_buffer'
/usr/bin/ld: CMakeFiles/nodesynth.dir/src/core/NodeSynth.cpp.o: in function `jack_initialize(_jack_client*, char const*)':
<PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:39: undefined reference to `jack_port_register'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:47: undefined reference to `jack_port_register'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:55: undefined reference to `jack_port_register'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:64: undefined reference to `jack_activate'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:67: undefined reference to `jack_port_name'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:67: undefined reference to `jack_connect'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:72: undefined reference to `jack_port_name'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:72: undefined reference to `jack_connect'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:73: undefined reference to `jack_port_name'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:73: undefined reference to `jack_connect'
/usr/bin/ld: CMakeFiles/nodesynth.dir/src/core/NodeSynth.cpp.o: in function `nodesynth::NodeSynth::setOptions()':
<PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:133: undefined reference to `jack_get_sample_rate'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/core/NodeSynth.cpp:134: undefined reference to `jack_get_buffer_size'
/usr/bin/ld: CMakeFiles/nodesynth.dir/src/node/PrimitiveOscillatorNode.cpp.o: in function `nodesynth::PrimitiveOscillatorNode::createSawToothWave(double, double, unsigned char)':
<PATH_TO_REPO>/nodesynth/src/node/PrimitiveOscillatorNode.cpp:40: undefined reference to `fftw_plan_dft_1d'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/node/PrimitiveOscillatorNode.cpp:47: undefined reference to `fftw_execute'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/node/PrimitiveOscillatorNode.cpp:48: undefined reference to `fftw_destroy_plan'
/usr/bin/ld: CMakeFiles/nodesynth.dir/src/node/PrimitiveOscillatorNode.cpp.o: in function `nodesynth::PrimitiveOscillatorNode::createSquareWave(double, double, unsigned char)':
<PATH_TO_REPO>/nodesynth/src/node/PrimitiveOscillatorNode.cpp:77: undefined reference to `fftw_plan_dft_1d'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/node/PrimitiveOscillatorNode.cpp:84: undefined reference to `fftw_execute'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/node/PrimitiveOscillatorNode.cpp:85: undefined reference to `fftw_destroy_plan'
/usr/bin/ld: CMakeFiles/nodesynth.dir/src/node/PrimitiveOscillatorNode.cpp.o: in function `nodesynth::PrimitiveOscillatorNode::createTriangleWave(double, double, unsigned char)':
<PATH_TO_REPO>/nodesynth/src/node/PrimitiveOscillatorNode.cpp:140: undefined reference to `fftw_plan_dft_1d'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/node/PrimitiveOscillatorNode.cpp:147: undefined reference to `fftw_execute'
/usr/bin/ld: <PATH_TO_REPO>/nodesynth/src/node/PrimitiveOscillatorNode.cpp:148: undefined reference to `fftw_destroy_plan'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/nodesynth.dir/build.make:593: nodesynth] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/nodesynth.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Nodesynth won't build with FFTW3

This is a bug with FFTW3--not with nodesynth (see FFTW/fftw3#130 )--but it's still an issue with nodesynth. The way I see it, there are a couple of solutions:

  • Write my own tiny FFT library (fairly easy) with just fft and ifft functionality.
  • Use KISS FFT
  • Manually grab FFTW3's library depends for every nodesynth include (not ideal), or rewrite the cmake to include FFTW3 by cloning and building it with cmake

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.