Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Toy music sequencer written in Nelua for RIV fantasy console

NotificationsYou must be signed in to change notification settings

edubart/seqtoy

Repository files navigation

This is a tool for creating small music sequence loops to be usedin small games.It's written inNelua forRIV fantasy console.

You can try it in your browserhere.

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 ontoy,it's NOT a goal to create a DAW (Digital Audio Workstation).However this tools is enough to create simple and interesting sound loopsto be used in simple games.

As a toy, it has some intentional constraints to not make its usersoverwhelmed 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 instrumentsevery 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 typemake to compile.You can also play it by typingmake run.

Using in RIV cartridges

Using in other RIV cartridges is easy, you just need to copyseqt.hto your project and use it.Checkseqt-example.c file for an example playing a music.

You can try this example with:

rivemu -workspace -exec riv-jit-c seqt-example.c

[8]ページ先頭

©2009-2025 Movatter.jp