SokkOS 2.0, beta
Moderators: Altitude, adafruit_support_bill, adafruit, phono, mome rath

SokkOS 2.0, beta

by Sokkan on Sat Jan 22, 2011 1:11 pm

Notable added features:

MIDI transpose. Send a note between C2 and C4(C3 and C5 on some devices) to transpose the current running pattern in pattern play mode.

MIDI sysex. The x0xb0x can now send and receive pattern banks via MIDI sysex. In keyboard mode, press R/S and NEXT to dump the pattern bank the bank knob points to. Press R/S and PREV to load a bank into the pattern bank the bank knob point to. NOTE: turning the bank knob in keyboard mode will change the bank you want to send/receive to but also change the MIDI out channel. NOTE2: It is perfectly possible to royally screw up things with MIDI sysex receive, please dump your patterns via the excellent application available at the x0xb0x forum before you start experimenting.

Press the TEMPO knob in edit mode to toggle triplet mode. Triplet patterns can be maximum 15 notes long. (A regular pattern of 16 notes will be truncated to 15.)

Transpose a pattern in edit mode. Press PREV and UP or DOWN for transposing the pattern in half note steps. NOTE: a note can not be transposed out of range, be careful with patterns on the boundaries.

x0xb0x.hex.zip
Firmware
(15.81 KiB) Downloaded 1193 times


ReleaseNotes.pdf.zip
Release Notes
(19.41 KiB) Downloaded 1177 times


SokkOS.zip
Source Code
(81.61 KiB) Downloaded 869 times
Sokkan
 
Posts: 240
Joined: Sat Sep 01, 2007 12:56 pm
Location: Stockholm

Re: SokkOS 2.0, beta

by altitude on Sat Jan 22, 2011 4:50 pm

Woot!

altitude
 
Posts: 978
Joined: Wed May 11, 2005 5:17 pm

Re: SokkOS 2.0, beta

by darffader on Sat Jan 22, 2011 7:42 pm

Sokkan wrote:MIDI sysex.



AWESOME!

great work!
User avatar
darffader
 
Posts: 298
Joined: Tue Jul 14, 2009 4:50 pm

Re: SokkOS 2.0, beta

by E:pp:ik on Sat Jan 22, 2011 9:17 pm

Wow wow wow! Thanks!
E:pp:ik | Metro Electro x0xlog
TB-303 ~ x0x SS01 ~ x0x #330 ~ [WIP] x0xio #133
E:pp:ik
 
Posts: 239
Joined: Wed Oct 29, 2008 3:10 pm

Re: SokkOS 2.0, beta

by Sokkan on Tue Jan 25, 2011 4:47 pm

Any comments so far? (11 downloads)

This will be the release version if no serious bugs pop up.

Anyone tried sysex dumping/loading? I used sysexLibrarian on the mac and had no problems myself.
Sokkan
 
Posts: 240
Joined: Sat Sep 01, 2007 12:56 pm
Location: Stockholm

Re: SokkOS 2.0, beta

by Luap on Tue Jan 25, 2011 5:36 pm

Hi Sokkan, I will try it shortly, hopefully this evening 8)
I did post this in the other thread, but I think you missed it, so forgive me for reposting it here..

Did you ever figure out what caused the bug where the action of the Rest/Accent/Slide buttons would occasionally stick when used live? Because other than that, I found the firmware to be perfect already. Although it would be fun to try new features too of course.

Thanks for your continued work on Sokkos :D
Luap
 
Posts: 355
Joined: Wed Jul 08, 2009 7:10 pm
Location: London'ish. UK

Re: SokkOS 2.0, beta

by Sokkan on Wed Jan 26, 2011 1:50 pm

Luap wrote:Did you ever figure out what caused the bug where the action of the Rest/Accent/Slide buttons would occasionally stick when used live? Because other than that, I found the firmware to be perfect already. Although it would be fun to try new features too of course.


Haha!
I have meant to answer this all the other times you asked but apparently forgot... :)

No.


However, I do have a hunch of what is causing it and it might be hard to catch. I'll look into it when I get some more time.
Sokkan
 
Posts: 240
Joined: Sat Sep 01, 2007 12:56 pm
Location: Stockholm

Re: SokkOS 2.0, beta

by u96 on Thu Jan 27, 2011 1:12 pm

Hello Sokkan, you've recommended to use another software instead of c0ntr0l to update the firmware, could you possibly post where to get this software and how to use it? Thank you.
u96
 
Posts: 3
Joined: Thu Jan 27, 2011 12:56 pm

Re: SokkOS 2.0, beta

by E:pp:ik on Sat Jan 29, 2011 9:55 am

Sokkan may be referring to the modded version of c0ntr0l.

http://x0xsource.com/c0ntr0l_v1.0Eil.r10_Win32.zip

I'm going to set up the beta in the coming days so I'll post findings!
E:pp:ik | Metro Electro x0xlog
TB-303 ~ x0x SS01 ~ x0x #330 ~ [WIP] x0xio #133
E:pp:ik
 
Posts: 239
Joined: Wed Oct 29, 2008 3:10 pm

Re: SokkOS 2.0, beta

by pACHE on Sat Jan 29, 2011 10:14 am

Hello Sokkan ! I have tested this release for 2 hours. And so far work great (I'm still x0xb0x beginner but anyway). I have some notes

- midi transpose : work great. However, the note has to be sent before the step 1, so I cannot use it the way I want (send a note when I change pattern on my hardware sequencer (machinedrum))
- pattern change : work great with channel 1, but cannot get it work for other bank. It's probably my fault, or related with my machinedrum/settings. And same thing than note transpose, the program change has to be sent [url]before[/url] the step 1.
- loop mode : I noticed a bug (was in 1.9 too) about this mode. When you want to loop in a 8 step pattern you have to wait for the pattern to repeat twice before entering in the loop. So it really hard to predict when the loop will start in a 8th pattern.
pACHE
 
Posts: 12
Joined: Tue Jan 25, 2011 5:27 am

Re: SokkOS 2.0, beta

by Sokkan on Sat Jan 29, 2011 4:49 pm

u96 wrote:Hello Sokkan, you've recommended to use another software instead of c0ntr0l to update the firmware, could you possibly post where to get this software and how to use it? Thank you.


Yes, that is javrprog, the java program for uploading firmware. There are some install instructions on the adafruit site and probably some here on the forum. I prefer it because it wont let you burn firmware that is larger than the maximum limit thus inhibiting the risk of overwriting the bootloader. If you ever only is going to upload other trusted peoples firmware it doesn't matter really. I also find javrprog immensely more reliable.
Sokkan
 
Posts: 240
Joined: Sat Sep 01, 2007 12:56 pm
Location: Stockholm

Re: SokkOS 2.0, beta

by Sokkan on Sat Jan 29, 2011 4:55 pm

Thanks, some real input!

pACHE wrote:- midi transpose : work great. However, the note has to be sent before the step 1, so I cannot use it the way I want (send a note when I change pattern on my hardware sequencer (machinedrum))
- pattern change : work great with channel 1, but cannot get it work for other bank. It's probably my fault, or related with my machinedrum/settings. And same thing than note transpose, the program change has to be sent [url]before[/url] the step 1.
- loop mode : I noticed a bug (was in 1.9 too) about this mode. When you want to loop in a 8 step pattern you have to wait for the pattern to repeat twice before entering in the loop. So it really hard to predict when the loop will start in a 8th pattern.


The reason MIDI transpose and pattern change work the way they do is because that functionality was already there. It works just as if you transposed or changed pattern by pressing some buttons on the x0xb0x. This will mean that it will only act at the end of a pattern. Pattern change and transpose at the same time will never work then unfortunately, the only solution would be to transpose the pattern in edit mode and save a transposed version(you can do that now in 2.0).

loop mode: Oops! :oops:
Thanks for pointing that out. It is an easy fix, I just forgot to set the loop end to the real pattern length instead of the maximum length. A nine note triplet pattern will start looping on the sixth note the second round...
A fix will be included in the next update, at the moment there is nothing left so I need to free some space first.
Sokkan
 
Posts: 240
Joined: Sat Sep 01, 2007 12:56 pm
Location: Stockholm

Re: SokkOS 2.0, beta

by pACHE on Sat Jan 29, 2011 7:16 pm

Sokkan wrote:Thanks, some real input!

pACHE wrote:- midi transpose : work great. However, the note has to be sent before the step 1, so I cannot use it the way I want (send a note when I change pattern on my hardware sequencer (machinedrum))
- pattern change : work great with channel 1, but cannot get it work for other bank. It's probably my fault, or related with my machinedrum/settings. And same thing than note transpose, the program change has to be sent [url]before[/url] the step 1.
- loop mode : I noticed a bug (was in 1.9 too) about this mode. When you want to loop in a 8 step pattern you have to wait for the pattern to repeat twice before entering in the loop. So it really hard to predict when the loop will start in a 8th pattern.


The reason MIDI transpose and pattern change work the way they do is because that functionality was already there. It works just as if you transposed or changed pattern by pressing some buttons on the x0xb0x. This will mean that it will only act at the end of a pattern. Pattern change and transpose at the same time will never work then unfortunately, the only solution would be to transpose the pattern in edit mode and save a transposed version(you can do that now in 2.0).

loop mode: Oops! :oops:
Thanks for pointing that out. It is an easy fix, I just forgot to set the loop end to the real pattern length instead of the maximum length. A nine note triplet pattern will start looping on the sixth note the second round...
A fix will be included in the next update, at the moment there is nothing left so I need to free some space first.


That was I supposed ;) Do you think it's hard to do code pattern transpose "on the fly", i.e. dissociate this with pattern start ?
I have to figure out a way to do changes with my machine drum now :)
pACHE
 
Posts: 12
Joined: Tue Jan 25, 2011 5:27 am

Re: SokkOS 2.0, beta

by Sokkan on Sun Jan 30, 2011 6:06 am

pACHE wrote:That was I supposed ;) Do you think it's hard to do code pattern transpose "on the fly", i.e. dissociate this with pattern start ?
I have to figure out a way to do changes with my machine drum now :)


It should actually be trivial and may not even take up any more code space, it is perhaps a good idea? Since you are already using external means of controlling the x0xb0x I see no point in having it transpose only on pattern boundaries. I will look into it.
Sokkan
 
Posts: 240
Joined: Sat Sep 01, 2007 12:56 pm
Location: Stockholm

Re: SokkOS 2.0, beta

by pACHE on Sun Jan 30, 2011 6:47 am

Sokkan wrote:
pACHE wrote:That was I supposed ;) Do you think it's hard to do code pattern transpose "on the fly", i.e. dissociate this with pattern start ?
I have to figure out a way to do changes with my machine drum now :)


It should actually be trivial and may not even take up any more code space, it is perhaps a good idea? Since you are already using external means of controlling the x0xb0x I see no point in having it transpose only on pattern boundaries. I will look into it.


Regardless of the implementation :
- pattern change/transpose from the x0xb0x should work the way they do now, i.e. commit the change at the end of the current pattern. It allows anticipation when playing live.
- pattern change/transpose from midi should start immediately because the general use case is to drive the x0x from ableton clips (or likes) or an external sequencer. There is no easy way to tell those sequencer to send information before the triggering of the new clip to allow the x0xb0x do the pattern change on time.
BUT : will it be fast enough to not squeeze or fail the first note of the new pattern ? Will it stay in sync after that ?
pACHE
 
Posts: 12
Joined: Tue Jan 25, 2011 5:27 am