Coder Social home page Coder Social logo

compost's Introduction

DISCONTINUED

Compost is discontinued. Before starting to work with this library or thinking about forking it, please have a look at Vide, which is a successor of Compost.


compost

Compost is an F# interactive scripting library for sound generation and composition. It is part of my FsAdvent 2019 contribution. The blog post is located here (TODO).

Setup

  • Install paket: dotnet tool install --global Paket
  • Run paket install
  • Use VsCode, Visual Studio or Rider to execute the code in F# interactive

Playing around

Have a look at the examples:

  • src/0_localStateDemo.fsx
  • src/1_playSimpleSinus.fsx
  • src/MAIN_audioDemo.fsx

When you want to make your own experiments based on the core code (located in src/lib), you should add the following code to your own fsx file:

#load "./lib/playback.fsx"

open Core
open Blocks
open Playback
open Compose
open Notes

open Microsoft.FSharp.Data.UnitSystems.SI.UnitSymbols

// here you go...

Platforms

Currently, I use the CsCore library that depends on .Net Framework and Windows, so Mac and Linux users have to work around using something else (please excuse).

Have fun and Mery Christmas!

compost's People

Contributors

schlenkr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.