- Notifications
You must be signed in to change notification settings - Fork1
Toy music sequencer written in Nelua for RIV fantasy console
edubart/seqtoy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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.
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.
- 01.seqt.rivcard
- 02.seqt.rivcard
- 03.seqt.rivcard
- 04.seqt.rivcard
- 05.seqt.rivcard
- 06.seqt.rivcard
- 07.seqt.rivcard
- 08.seqt.rivcard
- 09.seqt.rivcard
- 10.seqt.rivcard
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)
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.
It plays simple audio waveforms (Sine, Square, Sawtooth, etc) for the instrumentsevery frame, check the RIV documentation for more details about waveforms.
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 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