creatorlars Posted October 13, 2009 Report Share Posted October 13, 2009 Hi everyone --Just a quick question on feasibility. I am working on panel designs for my SEQ4 rebuild, and would like to have 4 or more dedicated clock outputs. I primarily use my SEQ to control analogue gear, so I have a lot of external analog sequencers and arpeggiators, etc. that I'd like to feed different clock signals to. In the past I have accomplished this by either using the 8 Gate outputs (which requires setting up a track to run a clocking pattern, etc) or the DIN Sync output (which is only one output). Would it be easy to add another 3 (or 7!) simultaneously running clock/sync outputs, and be able to configure the division for each in firmware, and possibly save preset maps for each? In my case, each clock out would be dedicated to a specific destination, but the clock division sent out may vary from song to song, so clock divider preset maps (even saved along with song mode) would be nice.I could do this the analogue way with one of Ken Stone's Pulse Divider boards, but then the different clock outs aren't reconfigurable.Seems like this should be pretty easy to do, right? I'm not scared of the source code as much now that it's in C! :)Cheers,Lars Quote Link to comment Share on other sites More sharing options...
TK. Posted October 13, 2009 Report Share Posted October 13, 2009 When you are searching for "din_sync" in the source code, you will find the places which have to be changed.Most difficult job: to integrated the clock configuration into the UI (you will quickly find out, why ;))Macintosh:midibox_seq_v4 TK$ grep din_sync core/*.ccore/app.c: if( seq_core_din_sync_pulse_ctr > 1 ) {core/app.c: --seq_core_din_sync_pulse_ctr;core/app.c: } else if( seq_core_din_sync_pulse_ctr == 1 ) {core/app.c: seq_core_din_sync_pulse_ctr = 0;core/seq_core.c:u16 seq_core_bpm_din_sync_div;core/seq_core.c:u8 seq_core_din_sync_pulse_ctr;core/seq_core.c: seq_core_bpm_din_sync_div = 16; // 24 ppqncore/seq_core.c: seq_core_din_sync_pulse_ctr = 0; // used to generate a 1 mS pulsecore/seq_core.c: if( (bpm_tick % seq_core_bpm_din_sync_div) == 0 ) {core/seq_file_c.c: seq_core_bpm_din_sync_div = value;core/seq_file_c.c: sprintf(line_buffer, "BPM_DINSyncDiv %d\n", seq_core_bpm_din_sync_div);core/seq_midi_port.c: seq_core_din_sync_pulse_ctr = 2; // to generate a 1 mS pulse (+1 for 1->0 transition)core/seq_ui_bpm.c:const u16 din_sync_div_presets[] =core/seq_ui_bpm.c: u8 din_sync_div_ix = 0;core/seq_ui_bpm.c: for(i=0; i<sizeof(din_sync_div_presets)/sizeof(u16); ++i)core/seq_ui_bpm.c: if( seq_core_bpm_din_sync_div == din_sync_div_presets[i] ) {core/seq_ui_bpm.c: din_sync_div_ix = i;core/seq_ui_bpm.c: if( SEQ_UI_Var8_Inc(&din_sync_div_ix, 0, (sizeof(din_sync_div_presets)/sizeof(u16))-1, incrementer) ) {core/seq_ui_bpm.c: seq_core_bpm_din_sync_div = din_sync_div_presets[din_sync_div_ix];core/seq_ui_bpm.c: SEQ_LCD_PrintFormattedString("%3d", 384 / seq_core_bpm_din_sync_div);[/code]Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
latigid on Posted October 13, 2009 Report Share Posted October 13, 2009 Hi everyone --Just a quick question on feasibility. I am working on panel designs for my SEQ4 rebuild, and would like to have 4 or more dedicated clock outputs. I primarily use my SEQ to control analogue gear, so I have a lot of external analog sequencers and arpeggiators, etc. that I'd like to feed different clock signals to. In the past I have accomplished this by either using the 8 Gate outputs (which requires setting up a track to run a clocking pattern, etc) or the DIN Sync output (which is only one output). Would it be easy to add another 3 (or 7!) simultaneously running clock/sync outputs, and be able to configure the division for each in firmware, and possibly save preset maps for each? In my case, each clock out would be dedicated to a specific destination, but the clock division sent out may vary from song to song, so clock divider preset maps (even saved along with song mode) would be nice.I could do this the analogue way with one of Ken Stone's Pulse Divider boards, but then the different clock outs aren't reconfigurable.Seems like this should be pretty easy to do, right? I'm not scared of the source code as much now that it's in C! :)Cheers,LarsHey LarsI'm interested in multiple clocks also; please do share if/when you get something working. I won't be much use with the programming side of things unfortunately, but I'm happy to help if I can.Now, when's that Core32 coming? ;) Quote Link to comment Share on other sites More sharing options...
TK. Posted October 13, 2009 Report Share Posted October 13, 2009 Now, when's that Core32 coming? ;)It's available in SmashTV's webshop since about 1 month:http://www.midibox.org/forum/index.php/topic,14052.0.htmlBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
creatorlars Posted October 13, 2009 Author Report Share Posted October 13, 2009 Awesome, thanks for the code TK! The UI is a secondary concern... preconfigured clock outs would be fine if I can't find another way to do it. :) Quote Link to comment Share on other sites More sharing options...
Futureman Posted October 14, 2009 Report Share Posted October 14, 2009 I have not upgraded to V4 (Waiting on my new core to get here from smash) but in the past, I could generate many different clock outs, via the 8 gate outs.Setting all triggers to 16ths, and then playing with the roll function and clock divider I could easily generate up to 48ppq and anything in between out of any / all of the 8 gate outs.Sure, this does take up tracks tho..Unfortunately, it seems V3's core is a bit overworked, and this would work until any major editing was done. (Record, move, delete etc)After a major edit, it would drop sync a touch. RegardsMike Quote Link to comment Share on other sites More sharing options...
latigid on Posted October 14, 2009 Report Share Posted October 14, 2009 It's available in SmashTV's webshop since about 1 month:http://www.midibox.org/forum/index.php/topic,14052.0.htmlBest Regards, Thorsten.Of course, there I am, 4th 5th from the top (ordered on the day of the release :))http://www.avishowtech.com/mbhp/status.htmlSmashTV seems to being having a delay. It's cool, I can wait. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.