Giter Site home page Giter Site logo

nicross / syngen Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 1.0 1.11 MB

A spatial sound and synthesis toolkit for game development.

Home Page: https://syngen.shiftbacktick.io

License: The Unlicense

JavaScript 96.58% HTML 3.42%
data-structures game-engine procedural-generation synthesis web-audio

syngen's Introduction

Hi there ๐Ÿ‘‹

I'm a web developer and accessibility advocate with a degree in computer music. I make games at the intersection of my passions. Primarily I leverage real-time synthesis and procedural generation to craft interactive audio experiences. To achieve this I created syngen, a spatial sound and synthesis toolkit.

syngen's People

Contributors

nicross avatar

Stargazers

 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

Forkers

vestara

syngen's Issues

Add utilities for loading audio files into buffers

I've typically used this library for synthesizing pure sounds, but it could be useful for folks to have utilities that simplify loading audio assets into AudioBuffers (which could then be leveraged by syngen.audio.synth.createBuffer). In the next minor release I'd like to add a syngen.audio.load method (or namespace of methods) that asynchronously loads assets. It might return a Promise that resolves with an AudioBuffer filled with data.

Considering HTTP/2, I'm not concerned with providing an audio sprite interface. A better workflow might be defining any sprites when loading an asset, which returns a hash of AudioBuffer instances that result from splitting its data at certain points.

Let me know if you have any thoughts.

Finalize v2.0.0 release

There is a v2.0.0 branch currently in alpha. It has a simplified API and contains quite a few new useful utilities. Examples include:

  • syngen.sound replaces syngen.prop and syngen.props with a simpler interface
  • syngen.ephemera helps manage memory of objects like noise generators
  • Several namespace changes, like syngen.utility becoming syngen.fn and syngen.tool
  • Likewise, everything under syngen.audio has been moved down under the syngen global
  • syngen.tool.generatorNd and syngen.tool.streamerNd which generate and stream objects in chunks
  • Geometric shapes like syngen.tool.plane, syngen.tool.cone, and syngen.tool.sphere

I've been using it for Periphery Synthetic EP, most recently Fishyphus, and plan to use it for new projects moving forward. Therefore, I consider it stable enough to use in production.

However, I haven't found the time to finish documenting the new features. Once complete, it will then become the main branch and only supported release.

Unfortunately there's no ETA for manifesting this intention. The projects keep me very busy!

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.