UzeBeats 16 step sequencer

Use this forum to share and discuss Uzebox games and demos.
Post Reply
User avatar
schepers_cp
Posts: 125
Joined: Tue Feb 04, 2014 9:48 pm
Location: netherlands
Contact:

UzeBeats 16 step sequencer

Post by schepers_cp »

how it started:

first of all, i got the idea from the flash file called "source.zip"

i though, hmmm.. it might be possible for the uzebox..

so i started developing a fx triggerer based on user input, which was a fail to be honest (see my uzebeats demo topic)

now i have improved it with a full 16 step sequencer featuring 8 different instruments(!) to play with

screenshot:
screen.png
screen.png (7.32 KiB) Viewed 8451 times
instructions are below:
________________________

the SELECT button switches between these 2 modes, edit mode, and play mode.


in edit mode, you can navigate in the sequencer between rows and columns with the ARROW keys.

use button A to activate/deactivate the selected note.


in play mode, the red ball highlights which step is being played at the moment.


in all cases:

a blue block stands for an enabled note.

where a red one stands for a disabled note.

if you see the grey dot on one of the notes, you're in the edit mode.





todo:
edit mode:
use button B to switch to volume or pitch mode for the selected note, using X/Y to increase/decrease the values of them.


play mode:
you can edit one more thing, the play tempo of the sequencer, by using the ARROW UP/DOWN keys.
when the buttons: A/B/X or Y are pressed, fx's are triggered using the live pitch value.
A = bassline
B = piano
C = bell
D = hi hats
LEFT/RIGHT arrows change the live pitch value
UP/DOWN change master tempo

schepers cp
Attachments
uzebeats sequencer.zip
(18.05 KiB) Downloaded 399 times
source.zip
(86.96 KiB) Downloaded 376 times
User avatar
schepers_cp
Posts: 125
Joined: Tue Feb 04, 2014 9:48 pm
Location: netherlands
Contact:

Re: UzeBeats 16 step sequencer

Post by schepers_cp »

also, the row instruments are (for the current version):

1 = baseline
2 = baseline 2
3 = long piano
4 = wooden sticks
5 = wooden sticks (large reeverb)
6 = cowbell
7 = sawtooth
8 = cowbell (small reeverb)
hpglow
Posts: 269
Joined: Wed Apr 14, 2010 6:06 am

Re: UzeBeats 16 step sequencer

Post by hpglow »

6. Cowbell
If its one thing the Uzebox needs its more cowbell.
User avatar
Gosma
Posts: 68
Joined: Thu Oct 24, 2013 7:31 pm
Location: Santos, Brazil

Re: UzeBeats 16 step sequencer

Post by Gosma »

don't know what i did, but there's no sound for me. :cry:

I'm playing in uzem.
User avatar
Gosma
Posts: 68
Joined: Thu Oct 24, 2013 7:31 pm
Location: Santos, Brazil

Re: UzeBeats 16 step sequencer

Post by Gosma »

i pressed select ant there's sound now!

cool!
Gosma wrote:don't know what i did, but there's no sound for me. :cry:

I'm playing in uzem.
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: UzeBeats 16 step sequencer

Post by uze6666 »

Nice! So all sound comes from the PCM channel? Just like I had time, I looked if it would be possible to add a 4 channel PCM mixer. Seems to miss a couple cycles for an inline mixer but not that much that could not be retrieved with some clever optimization. That would allow cool things like a MOD player and...err...well probably just that! :P Having more flash it could have come handy for the Tempest sound track, which we have in MOD format.
User avatar
schepers_cp
Posts: 125
Joined: Tue Feb 04, 2014 9:48 pm
Location: netherlands
Contact:

Re: UzeBeats 16 step sequencer

Post by schepers_cp »

thanks~

i haven't worked on this since i posted it to be honest, and i don't feel like it at all (right now).

also, if you want a certain feature, please tell, i might consider adding it soon (tm) :P

oh, yeah, a small demo is in the first version: hold SELECT while booting the game (or rather sequencer), it waits a half of a second, if SELECT is still being held, it loads the demo. :)
User avatar
schepers_cp
Posts: 125
Joined: Tue Feb 04, 2014 9:48 pm
Location: netherlands
Contact:

Re: UzeBeats 16 step sequencer

Post by schepers_cp »

so, i found some time and was in the mood to modify some things:

changes for v 0.2 (this version):

instruments:
first few are static programmed pitch (for example, like a drum computer)
every other instrument has a modifyable pitch using 2 buttons in edit mode (button x: increase pitch, button y: decrease pitch)
all instruments have a channel volume (no volume per note anymore)
removed the 8th instrument

why i did this you guess? to add pages of instruments!

i currently have like 4 pages of instruments, and it works /almost/ as should, on init the pre loaded song doesn't draw it's notes on first page (happens only once), 7th instrument doesn't work due to my weird coding style :P

also, perhaps a few suggestions aside from the bugs (i won't implemtne this myself):
add a font to display info, like in editing mode, the current editing note's info (pitch, volume, ect)
move the sequencer to the right and add instrument names in front of them
show tempo and current/total pages
add more instruments/pages (requires use of the SPI FLASH though)
add basic control info on screen (for those new to work with uzebeats)

sample layout:
uzebeats 2.0.png
uzebeats 2.0.png (10.44 KiB) Viewed 7529 times
source code including demo compiled binaries:
Uzebeats.zip
(561.48 KiB) Downloaded 396 times
enjoy
Post Reply