The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!

SokkOS, new modified firmware

by Sokkan on Sun Sep 09, 2007 1:48 pm

I have just hacked fw 1.05 a bit and added some functions, is there somewhere to upload it(with source code) or can anyone host it?

edit: All versions up to 1.7 can be found on glitched's site:

http://www.glitched.org/box.html

1.9.1 is here, the whole package with source:

http://x0xb0x.co.uk/Sokkan/files/SokkOS.zip

and just the hex-file:

http://x0xb0x.co.uk/Sokkan/files/x0xb0x.hex.zip


The functions I added in 1.9(latest):

Tap-tempo moved to tempo knob. (it is removed from the DONE knob)

RAS-buttons in play-mode will only act when kept pressed.

Swing, basically you have 5 levels of swing(shuffle) and you press next and prev in play-mode to increment/decrement the amount of swing.

Save wherever you like. In edit-mode, to save, press DONE, choose location(bank + pattern no), press DONE again. To save in the same location as you are, just press DONE twice.

Loop-mode when playing. Press and hold DONE in play-mode, while pressed, choose your start- and end-point for the loop, the 13 note switches and the three RAS-switches are 1-16 in that order. If you only enter a start and no end, it will be ignored. If the start step is larger than the end step it will loop backwards. If you for example want to loop the whole pattern backwards just press and hold DONE, press S and then press low C, release DONE. The loop will start at the end of the loop/pattern currently playing. You cannot loop outside the pattern length. To exit loop-mode just press and release DONE.

Step-edit when playing in edit-mode(did that make sense...?) When in edit-mode and the sequencer is running, press next and you will enter step-edit but the pattern is still playing. Everything as in normal step-edit but with running sequencer. You will exit the mode by just pressing next past the last step in the sequence.

Pattern rotate forward in edit-mode. Hold PREV and press NEXT to rotate one step forward.

Pattern rotate backwards in edit-mode. Hold NEXT and press PREV to rotate one step backwards.
(This has the annoying quirk that you will enter step-edit mode when pressing the next button...)

Nudge in pattern-play. Hold PREV and press NEXT to skip a step, Hold NEXT and press PREV to stutter a step.

Restart a pattern/loop in pattern play. Just press and hold CHAIN and press PREV to restart the pattern/loop from the first step.

Pattern-edit now outputs MIDI when running.

MIDI rest bug fixed.

Live-edit: Just turn the function knob from any of the play(master, DIN-sync, MIDI-sync) functions to edit and you can edit the currently running pattern and save it where you like. If you stop it and the function knob has changed its position, it will then go to the new function.
(NOTE: you cannot start in edit and go to play when slaving. )

Pressing CHAIN in edit-mode will now re-shuffle the current pattern in a specific way. If you like the shuffle, save it where you like, otherwise just re-shuffle again! The algorithm used is:
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16] -> [7 8 9 12 13 14 15 16 2 3 4 5 6 1 10 11]

Press and hold CHAIN and press the TEMPO knob to completely erase a pattern in edit mode. It will be filled with EOP(end of pattern).

Press the TEMPO knob in edit mode to enter fast edit mode. When you press a note key, rest or change the transposition it will step forward by itself.

(NEW in 1.8 )
Hold DONE and press the TEMPO knob to half the tempo(ie play 8ths) in play mode. This will still keep stuff in sync and it will only affect whole patterns to keep things lined up properly. Same combination to go back to normal mode.

(NEWNEWNEW in 1.9)
MIDI pattern change, woohoo. Just send a MIDI patch change message on the MIDI-in channel and the 'b0x will act as if you pressed the corresponding button and twisted the bank knob.

The random mode is back in, there was space left, but it might get lost again.


BUGS(known...):

Pattern rotate backwards will make you enter step editing mode
(Tough one to fix.)

When hammering away furiously on the RAS-buttons one or more of them will sometimes get locket as if being pressed.


Wish list:

8ths in track play mode.

When saving a pattern, blink a LED if the chosen location is empty.

Saving to a new location with sequencer running and then going back to play mode should change the pattern no playing in play mode too.
(Hmmm, i am not sure about this, gets funny when running chains.)

Show triggered notes in MIDI play mode.

Transpose whole pattern in edit mode with e g PREV+UP, PREV+DOWN.

Transpose via MIDI(C4 = normal, C5 = up one octave etc), this would not affect MIDI play, only pattern play.


All of the functionality of 1.05 is left intact. (There are two notable changes; to save: press DONE + position(optional) + DONE; when turning the function knob and the sequencer is running, it will not stop anymore.) ((There are two not so notable changes also, you cannot anymore fill a pattern with "random" notes and the pattern edit with MIDI-sync in USER A is removed...))
Last edited by Sokkan on Thu Apr 23, 2009 3:49 pm, edited 17 times in total.
Sokkan
 
Posts: 240
Joined: Sat Sep 01, 2007 11:56 am
Location: Stockholm

by Ricco on Sun Sep 09, 2007 3:22 pm

Wow, I can't wait to trying those new functions, especially the backwards pattern play trick ! ;)

You may send a PM to Glitched, he may be happy to host the firmware, as he did with the other alternative firmwares for the x0xb0x : http://www.ladyada.net/forums/viewtopic ... t=firmware

Many thanks ! ;)
Ricco
 
Posts: 59
Joined: Mon Aug 27, 2007 11:39 pm
Location: Brittany, France

by Sokkan on Sun Sep 09, 2007 3:29 pm

Well, the looping and the step-edit while running is very useful. You can start with an empty pattern and edit while running and just adding steps until you are satisfied. :)

I actually send Glitched an email earlier asking if he could host the firmware. Maybe he could host the source code too as an archive...
Sokkan
 
Posts: 240
Joined: Sat Sep 01, 2007 11:56 am
Location: Stockholm

by Ricco on Sun Sep 09, 2007 3:33 pm

Yeah, that sounds great ! :)

Maybe you could host it online on someplace like www.mediafire.com at the moment ? ;)
Ricco
 
Posts: 59
Joined: Mon Aug 27, 2007 11:39 pm
Location: Brittany, France

by evilxsystems on Sun Sep 09, 2007 3:36 pm

cool...can you post a diff?
evilxsystems
 
Posts: 406
Joined: Thu Jul 07, 2005 9:23 pm
Location: seattle,wa

by glitched on Sun Sep 09, 2007 4:20 pm

I will gladly host it at x.glitched.org .

Just send me what you have and I'll put it up there, along with the others.

Thanks!

-d

ps. just sent a reply to your email.
glitched
 
Posts: 47
Joined: Fri Jun 15, 2007 7:30 pm

by elmacaco on Sun Sep 09, 2007 6:13 pm

Wow, this is almost perfect!!

Please add the Pattern Nudge from TrueVC's OS.

other than that, email that badboy to me! elmacaco 'at' hotmail . com

I love you guys!! ;)
elmacaco
 
Posts: 31
Joined: Tue Mar 07, 2006 2:43 am

by resonator on Sun Sep 09, 2007 6:15 pm

^^^^ yeah, "pattern nudge" is a must!
Image
User avatar
resonator
 
Posts: 102
Joined: Fri Dec 08, 2006 9:17 pm
Location: New York

by SineSurfer on Sun Sep 09, 2007 7:14 pm

+1 for Pattern Nudge (in both directions if it's posibble) :)
SineSurfer
 
Posts: 97
Joined: Thu Aug 24, 2006 1:57 am

by resonator on Sun Sep 09, 2007 7:32 pm

SineSurfer wrote:+1 for Pattern Nudge (in both directions if it's posibble) :)

definitely for both directions. 8)
Image
User avatar
resonator
 
Posts: 102
Joined: Fri Dec 08, 2006 9:17 pm
Location: New York

by Sokkan on Mon Sep 10, 2007 12:05 am

elmacaco wrote:Please add the Pattern Nudge from TrueVC's OS.


Hmmm, could someone describe what it does? Or send a relevant
diff or something? I was thinking of adding some sort of nudge to
the PREV/NEXT by holding one and pressing the other but I am not
sure exactly how people want it to work...

I have sent the hex and the source to Glitched in a zip for him to
post on his site. So now you can blame him when you get impatient. :wink:

/F
Sokkan
 
Posts: 240
Joined: Sat Sep 01, 2007 11:56 am
Location: Stockholm

by resonator on Mon Sep 10, 2007 12:17 am

pattern nudge (pattern rotate) is shifting notes from left to right (and vice versa) while in pattern edit mode.

this is in truvc's firmware (and i believe evilx has it too).

from the release notes in truvc's latest firmware, he states the following...

_ pattern rotate
hold [Chain] and press [Next] or [Prev] to shift the pattern data by one step, forward or backward.


http://glitch.tech.googlepages.com/x0xb0x_release1_truvc13.zip
Image
User avatar
resonator
 
Posts: 102
Joined: Fri Dec 08, 2006 9:17 pm
Location: New York

by evilxsystems on Mon Sep 10, 2007 12:27 am

yeah it's in mine...you just move the note counter forward or backward
evilxsystems
 
Posts: 406
Joined: Thu Jul 07, 2005 9:23 pm
Location: seattle,wa

by resonator on Mon Sep 10, 2007 12:39 am

^^^ there should be enough space for that code, right?
I have currently 164 bytes left to play with.
Image
User avatar
resonator
 
Posts: 102
Joined: Fri Dec 08, 2006 9:17 pm
Location: New York

by Sokkan on Mon Sep 10, 2007 1:53 am

evilxsystems wrote:yeah it's in mine...you just move the note counter forward or backward


Yes, that's what I suspected...
The loop-mode makes things a bit more complicated. Firstly nudging when playing backwards might be counterintuitive, secondly, nudging the first or last step in a loop would be weird. It can of course be solved, but I need more code than just a ++ and a -- in appropriate places. I'll look into it by the weekend latest.
Sokkan
 
Posts: 240
Joined: Sat Sep 01, 2007 11:56 am
Location: Stockholm