Clockbox
#41
Posted 28 October 2007 - 00:52
Unfortunately I cannot give you recommendations for "known good parts"...
Best Regards, Thorsten.
#42
Posted 28 October 2007 - 09:17
#43
Posted 05 March 2008 - 15:50
I've built a Clockbox with a slightly changed hardware (4 additional buttons for menu handling) and changed / improved the software to met my requirements.
As a starting point I've used the "clockbox_v1_1_w_divisor" provided by mess.
This is my first project coded in C (and first time coding for a microcontroller), so please forgive me if some additions to the code are not best practice. Hints are welcome.
General config:
If you dont have the mentioned additional 4 buttons, you can set the define "MENU_BUTTONS" in main.h to "0" to keep the handling of mess' version. You could/should set "NUMBER_OF_SRIO" back to 3 then, also.
Note: MULTI_CLOCK_OPTION is to "0" for security measures, set it back to "1" if multiple outs are used.
Some words about the shuffle:
Each shuffle-pattern consists of 12 bytes, each bit can be seen as a (virtual) tick in a 96ppqn-sheme. The 12 bytes represent a 1/4 note. If every 4th bit is set (binary 10001000 or 136 in decimal) you get a straight
normal timing. Shifting the bits of the single bytes here and there brings up the wanted shuffling. When doing your own shuffle-pattern ensure that there should be exactly 24 set bits per pattern or it would run async.
Compatibility note:
At low bpm-settings and/or high divisions and/or some shuffle-patterns some seqencer may have problems to follow the clock and switch to internal clock-signal. I had this problem with a Electribe R-MKII and
first thougt of a bug in my shuffle-function but on further inspection it was the fallback-function of the Electribe.
Another tested sequencer, the MAM SQ16, didnt show this behavior.
My changelog:
Changed: Migrated to SDCC v2.7.0 Changed: Stripped MTC-code (As there were no changes to this branch, someone can use clockbox 1.1) Changed: Slave-Outs should not get a START- or STOP-Message when in inactive mode. Fixed: SONG-POSITION was not sent to slave-outs when master-play is activated. Changed: When a slave-out is activated, further play-button presses should not send START-Messages. Changed: When a slave-out is inactive, further stop-button presses should not send STOP-Messages. Changed: (De)activating of outputs when not in run-mode now possible. Changed: Reordered the screen-elements to get space for the menue. Added: Added a simple menu-structure using buttons on DIN-Pins 24-27. Changed: Stop-button works now as a shift-key to swap menu-pages with encoder; shift-pause is stop now. Changed: Menu is only shown when shift-key is pressed to save display-space. Changed: Resolution is set to 96ppqn, main out has fixed devision of 4, other outs are devided through shuffle. Added: Shuffle function implemented, 7 pattern + pattern 0 for no shuffle. (Menu: SFL) Added: Option to use old handling without additional buttons. Changed: Shift+Play on a certain slave-out selects this track for edit Added: Configure-option if an slave-out uses stop/start or stop/continue (Menu: SCS) Added: Configure-option if start/stop toggles on next bar or beat (Menu: BBC) Added: Configure-option if SONG-POSITION is sent to slave-outs on activation of this out (Menu: SPC) Changed: Shuffle and divisor-settings get active on next beat to prevent asyncronicity; direct, when not running Added: Save and load settings to/from eeprom. (4 patches each with 64 bytes (not fully used yet)) (Menu: SAV / LOA) Planned: Save and load config to/from bankstick and formatting bankstick (not working yet)
I hope, someone can use this.
Cheers,
Mike
Attached Files
#44
Posted 05 March 2008 - 17:33
When doing your own shuffle-pattern ensure that there should be exactly 24 set bits per pattern or it would run async.
Unless you *want* it to do that
Cool mod man! The shuffle patterns are an interesting idea!
#45
Posted 06 March 2008 - 22:48
great work! I really like it when an application evolves this way!
Are you interested to publish your variant in the new project repository?
As you can see here, we've a much more clean directory structure meanwhile. You could create a new directory, and maintain the application on the SVN server in future
We've a special board where you can read about the details (and get write access to the SVN server). Just drop me a mail to get programmers status
Best Regards, Thorsten.
#46
Posted 26 November 2008 - 15:00
This is work in progress design of the unit itself. For buttons and caps I decided to recycle PC keyboard as it seams most durable for the job and cost me almost nothing.
Some advice or suggestion is very welcome
EDIT: picture changed
#47
Posted 26 November 2008 - 15:15
#48
Posted 26 November 2008 - 15:19
#49
Posted 26 November 2008 - 15:49
#50
Posted 26 November 2008 - 15:50
#51
Posted 26 November 2008 - 16:06
Mike, did I left something else?
#52
Posted 26 November 2008 - 18:07
#53
Posted 27 November 2008 - 10:07
#54
Posted 10 December 2008 - 14:22
Attached Files
#55
Posted 02 January 2009 - 23:27
Attached Files
#56
Posted 02 January 2009 - 23:35
#57
Posted 02 January 2009 - 23:53
#58
Posted 03 January 2009 - 00:29
#59
Posted 03 January 2009 - 01:08
#60
Posted 03 January 2009 - 02:31
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users






