Adafruit is open and taking orders as always! Need something fast? Get them an Adafruit GIFT CERTIFICATE!

New Experimental OS for x0xb0x adds DIN Swing
Moderators: Altitude, adafruit_support_bill, adafruit, phono, mome rath

Re: New Experimental OS for x0xb0x adds DIN Swing

by phono on Sat Apr 21, 2012 5:05 am

since this is another firmware i guess this deserves a sticky
Image
x0x #733 Image SH-101 MC-202 TB-303 TR-606 TR-808 TR-909 MKS-50 Juno-106 A-100 Virus-B E-6400 SX-150 Monotron
User avatar
phono
 
Posts: 1502
Joined: Wed May 02, 2007 4:01 pm
Location: forum whore aka 2Cv

Re: New Experimental OS for x0xb0x adds DIN Swing

by pangrus on Sat Apr 21, 2012 9:01 am

I've found that in "pattern sync out" mode the midi clock is not working anymore.
Double checked that in Sokkos 2.0 is working perfecly.
Furthermore, the midi-sync in Sokkos 2.0 is working well, I can't discern any delay or misallignment.
Can someone else test both the firmwares to confim this?
User avatar
pangrus
 
Posts: 42
Joined: Fri Feb 25, 2011 10:20 am

Re: New Experimental OS for x0xb0x adds DIN Swing

by Omsk411 on Mon Apr 30, 2012 4:01 am

pangrus wrote:I've found that in "pattern sync out" mode the midi clock is not working anymore.


How do you mean? "Pattern (Sync Out)" is the normal mode I use and I find it works great. It takes MIDI Clock input and sends DIN Sync Output. This is what you're referring to, correct?

As things stand currently, I have no x0xb0x to test any of the latest reports. After spending the weekend creating this firmware, my Mode Machines x0xb0x shat the bed (the filter broke) and I had to return it. I'm waiting for a new x0xb0x from x0xsh0p.de and will then be able to get my hands dirty with code again. I never tested the swing with pattern reversing, so there may be an issue there. Someone also stated in an earlier post that the TR-606 and TR-808 seemed to be freaking out at moderate swing levels and I should be able to test that, too. So far, I've only tested the DIN Sync with the TB-303.

I expect at least another week before I have my new x0xb0x in hand, so please be patient -- I'll try to post again once I have some new information/results to report.
Omsk411
 
Posts: 9
Joined: Sat Apr 07, 2012 1:00 pm

Re: New Experimental OS for x0xb0x adds DIN Swing

by altitude on Mon Apr 30, 2012 8:00 am

This bug is confirmed. Pattern sync out no longer sends midi clock. It is supposed to send BOTH sync24 and midi clock, you must have accidentally disabled it

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

Re: New Experimental OS for x0xb0x adds DIN Swing

by elektrovolt on Tue May 01, 2012 7:08 am

Yesterday I played the b0x with your firmware live and it did a good job. only the sync start-stop is not really handy, I would prefer a reset at the next pattern start just like the mungo sync. I really don't know if this would be possible...
NI !!!
elektrovolt
 
Posts: 20
Joined: Sun Oct 23, 2005 3:24 pm
Location: NL

Re: New Experimental OS for x0xb0x adds DIN Swing

by antto on Tue May 01, 2012 11:07 am

Pattern (Sync Out) means Internal_Tempo & Sync_Out

otherwise if the x0xb0x is slaved:
MIDI - x0x sync's to incoming midi sync, and converts it to dinsync
DinSync - x0x sync's to it, and converts it to midi sync
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. http://forums.adafruit.com/viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: http://forums.adafruit.com/viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 1395
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1

Re: New Experimental OS for x0xb0x adds DIN Swing

by altitude on Tue May 01, 2012 11:28 am

antto wrote:..

DinSync - x0x sync's to it, and converts it to midi sync..


You sure about that?

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

Re: New Experimental OS for x0xb0x adds DIN Swing

by pangrus on Tue May 01, 2012 2:51 pm

Trying to clarify:

Bug#1___When in "Pattern Sync Out" mode, the XoxBox generate both the clocks, the Midi and the Sync24. In the latest version of the new experimantal firmware, the midi clock is delayed by a large time, such 1/2 second, so the external midi machines are starting after the xoxbox and obviously are going out of time.

Bug#2___When in "Patt Midi Sync" mode, the Xoxbox is slaved to the external Midi Clock, and generates the Sync 24 signals. Here there is a very short misallignment (a pulse?).
User avatar
pangrus
 
Posts: 42
Joined: Fri Feb 25, 2011 10:20 am

Re: New Experimental OS for x0xb0x adds DIN Swing

by aminoacid on Tue May 01, 2012 3:11 pm

have you tried with other machines and other midi cables to sync with?
my machines kills fascists!
aminoacid
 
Posts: 345
Joined: Tue Jun 20, 2006 5:27 am
Location: acidburg

Re: New Experimental OS for x0xb0x adds DIN Swing

by antto on Tue May 01, 2012 3:14 pm

Altitude wrote:
antto wrote:..

DinSync - x0x sync's to it, and converts it to midi sync..


You sure about that?

that's how it *THINK* it should work, i don't have any dinsync device, so i cannot test it myself
but the point is: when the x0xb0x is not Master (aka it's sync'ed to another device via either midi or dinsync) - the x0xb0x will provide the *other* sync type as an option too
i mean - if you got a TR-606, sync the x0x to it via dinsync - the x0x gives you midi sync additionally, so your midi devices can now be sync'ed from the TR-606 too (which itself doesn't have midi)

and vice-versa (for the case of midisync -> x0x -> dinsync)

i could be wrong tho
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. http://forums.adafruit.com/viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: http://forums.adafruit.com/viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 1395
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1

Re: New Experimental OS for x0xb0x adds DIN Swing

by aminoacid on Tue May 01, 2012 3:18 pm

i have sokkos.

and we tried to sync all our gear for a live gig with a mc202 as master through the xoxbox.

but the xox didnt pass on the sync via midi...
my machines kills fascists!
aminoacid
 
Posts: 345
Joined: Tue Jun 20, 2006 5:27 am
Location: acidburg

Re: New Experimental OS for x0xb0x adds DIN Swing

by altitude on Tue May 01, 2012 3:46 pm

thats what I remember as well, only midi->sync24, not vice-versa

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

Re: New Experimental OS for x0xb0x adds DIN Swing

by antto on Wed May 02, 2012 3:09 am

hm..
i think there is no reason for it NOT to do convertion both ways

iirc, the x0x mainly wants dinsync to operate, it converts midisync to dinsync.. yeah, you're right.. but midisync-out can be implemented too
dinsync to midi convertion is easier, since you don't have to deal with the 48 vs 24 ticks
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. http://forums.adafruit.com/viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: http://forums.adafruit.com/viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 1395
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1

Re: New Experimental OS for x0xb0x adds DIN Swing

by pangrus on Wed May 02, 2012 6:15 am

aminoacid wrote:have you tried with other machines and other midi cables to sync with?


Everything works perfectly with Sokkos 2.0 so it's not a problem of cable or drum machine.
I'm using a Korg electribe ER1 and a TB303, I can use the Electribe or the Xoxbox as master.
I'm very happy with Sokkos 2.0 but the swing and the start-stop on Din Sync are great features.
So I'm available for testing.
An help from Sokkan can be useful, and if Chad (Omsk411) agree they could unite their efforts to give us a stable and final firmware realease (that is now sokkos 2.0 IMHO).
User avatar
pangrus
 
Posts: 42
Joined: Fri Feb 25, 2011 10:20 am

Re: New Experimental OS for x0xb0x adds DIN Swing

by Omsk411 on Sat May 12, 2012 12:47 pm

Hello everyone,

I'm happy to say that I've got a new, working x0xb0x here lovingly built by Christian at x0xsh0p.de so I can finally tackle the firmware issues after a month of downtime. :-)

Thank you all for your reports. They were helpful and I've managed to address two issues so far.

1) MIDI Clock Out now works in PATTERN (SYNC OUT) Mode.

2) I've added a selectable MIDI Clock Sync setting when syncing to incoming MIDI Clock.

About that last issue: When I connected my x0xb0x to my Elektron Octatrack, I found that the x0xb0x was one MIDI Clock tick behind the Octatrack. I "fixed" this problem in my previous firmware versions but never checked it against any other MIDI Clock master devices. After a few of you reported that the x0xb0x seemed to be ahead of the beat, I tried some other devices and found that the results are different depending on what device I use as the MIDI Clock master.

As it turns out, using the Elektron Machinedrum as the MIDI Clock master resulted in my x0xb0x being one MIDI Clock tick ahead of the beat, just like others reported. This points to an issue with the Octatrack since its MIDI Clock output doesn't seem to be exactly the same as the Machinedrum (and likely other devices).

I've therefore made my MIDI Clock "fix" selectable during runtime. By default (on power-up), the fix is not applied. If you find that your x0xb0x syncs properly this way, then you don't need to do anything.

However, if you find that your x0xb0x is behind the beat, turn the Program Selector to the "USER B" position. This will apply my "fix" which makes it run in sync with things like the Octatrack. To turn the "fix" back off, choose "USER A".

NOTE: Keep in mind that, after you choose USER B, you must rotate the Program Selector counter-clockwise to reach your preferred operating mode. If you rotate clockwise, the selector will pass the USER A position which will turn the "fix" off. The same thing is true in the opposite direction: After you choose "USER A", rotate the Program Selector clockwise to reach your preferred operating mode.

I hope everyone finds these fixes beneficial!

-Chad
Attachments
x0xb0x.hex
OmskOS 0.94 beta
(42.98 KiB) Downloaded 283 times
Omsk411
 
Posts: 9
Joined: Sat Apr 07, 2012 1:00 pm