Giter Site home page Giter Site logo

labsoundgraphtoy's Introduction

LabSound GraphToy

Copyright 2020 Nick Porcino

License: MIT

The submodules are licensed under their respective terms.

LabSound GraphToy has moved here: https://github.com/LabSound/LabSoundGraphToy

LabSound GraphToy is a workspace for exploring LabSound nodes and their properties.

Example

Right click on the canvas to create new nodes. Drag wires from outputs to inputs. Click the fields to edit the parameters and settings.

Some nodes, such as the Oscillator must be started before they make sound. These nodes will have a "play" icon near their name which can be clicked to activate them.

Click a node's name to reveal a control that allows deleting a node. Click a wire to reveal an option to delete the connection.

Click and drag on an empty area in a node to move it around.

Mouse scroll zooms in and out at the cursor point.

Group nodes can be used to draw boxes around other nodes. They also contain nodes subsequently created. This functionality is a bit rough, because there's no way to go back to adding nodes to the global canvas once you've got a group node.

Getting Started

cd {source-location}
git clone --recursive {this-repo}
cd {build-location}
cmake -G {generator} -DCMAKE_INSTALL_PREFIX={install-location} {source-location}
{run build and install commands}

In Progress

  • Add a delete icon (red circle-x)
  • Replace delete dialog boxes with red-circle-x that appears when the cursor hovers in an appropriate spot
  • Add group selection
  • Make canvas recursive, with left edge ins, and right edge outs
  • Add function to turn group selection into a subgraph node
  • Add expand subgraph canvas, and collapse. Levels of recursion visible as bars with in/out wiring on left and right
  • Add breadcrumb in status bar to indicate canvas recursion level
  • Create a viable save file format
  • Load and parse a saved file
  • Implement File/New

Credits

LabSound https://github.com/LabSound/LabSound

ImGui https://github.com/ocornut/imgui.git

Sokol https://github.com/floooh/sokol.git

labsoundgraphtoy's People

Contributors

ddiakopoulos avatar meshula avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

labsound

labsoundgraphtoy's Issues

compiled on Window but do not opens…

Hello @meshula ,
sorry if here is not the right place,
but I compiled the project and get three .exe's.

image

but app windows do not open.
only there's some console window listing midi ports.

I just made cmake .. on build

I didn't used that below line bc I did not knew what to put into the all { }

cmake -G {generator} -DCMAKE_INSTALL_PREFIX={install-location} {source-location}
{run build and install commands}

I cloned from here https://github.com/LabSound/LabSoundGraphToy, but theres not enabled issues to ask on there...

thanks

cannot build project on MacOS

I tried to tinker with this repo but couldn't build project. Got the following error:


pz@ build % cmake -G Xcode ..
-- The C compiler identification is AppleClang 12.0.0.12000032
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - 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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Checking processor clipping capabilities...
-- Performing Test CPU_CLIPS_POSITIVE
-- Performing Test CPU_CLIPS_POSITIVE - Failed
-- Performing Test CPU_CLIPS_NEGATIVE
-- Performing Test CPU_CLIPS_NEGATIVE - Failed
-- Checking processor clipping capabilities... none
-- Performing Test HAVE_VISIBILITY
-- Performing Test HAVE_VISIBILITY - Success
-- Using RtAudio backend
CMake Error at CMakeLists.txt:247 (target_link_libraries):
  Cannot specify link libraries for target "usd_ms" which is not built by
  this project.


-- Configuring incomplete, errors occurred!
See also "/Users/patryk/Developer/compile/LabSoundGraphToy/build/CMakeFiles/CMakeOutput.log".
See also "/Users/patryk/Developer/compile/LabSoundGraphToy/build/CMakeFiles/CMakeError.log".

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.