Giter VIP home page Giter VIP logo

seqtoy's Introduction

Seqtoy

This is a tool for creating small music sequence loops to be used in small games. It's written in Nelua for RIV fantasy console.

You can try it in your browser here.

Screenshot

Sound loop examples

Here is a list of 10 sound loops created with this tool as examples, click on them to play in your browser, you can also mix them right-away.

Notes

Have in mind this is a sequencer toy, with emphasis on toy, it's NOT a goal to create a DAW (Digital Audio Workstation). However this tools is enough to create simple and interesting sound loops to be used in simple games.

As a toy, it has some intentional constraints to not make its users overwhelmed by so many options professional music sequencers have, these are some of them:

  • Sequence time span can have at most 112 notes
  • Only the notes in the D# Major Pentatonic are available to be played, so each note always sounds nice relative to another note
  • Can only have up to 4 pre-defined tracks with predefined instrument synthesizer (Strings, Lead, Bass and Drums)

Controls

You can only use the keyboard to use this tool. This is intentionally so it can be used with game pads and also on mobile in the future where there is no mouse.

The keyboard shortcuts are mapped in a way to be compatible with RIV gamepad mappings, so it can be a bit strange at first but it's a matter of getting used to it. You can view the controls by holding E or SELECT button gamepad button.

How it works

It plays simple audio waveforms (Sine, Square, Sawtooth, etc) for the instruments every frame, check the RIV documentation for more details about waveforms.

Compiling

First make sure you have the RIV SDK installed in your environment, then just type make to compile. You can also play it by typing make run.

seqtoy's People

Contributors

edubart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

brucelevis

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.