MIDIbox Forum: Clockbox - MIDIbox Forum

Jump to content

  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Clockbox Rate Topic: -----

#21 User is offline   stryd_one 

  • MIDIbox Guru
  • PipPipPipPip
  • Group: Frequent Writer
  • Posts: 8,850
  • Joined: 25-February 03
  • LocationMelbourne, Victoria, Australia

Posted 23 August 2006 - 18:24

Quote

We need an external hardware device.. Not a routed signal from a pc/mac.


Why's that? The end result is the same, with the exception of sharper timing, but beggars can't be choosers ;)
Anyway you could get any device that will generate midi clock and a hardware MIDI router...

The midibox is a Do-It-Yourself project so if you don't have any spare time it's probably not really suited to your needs :(

You should quit your job and become a full-time midibox addict ;)


Edit: this talk should be taken to 'sale requests' forum and not continue in this 'News' thread.

#22 User is offline   Modul 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 21-August 06

Posted 23 August 2006 - 21:23

Thanks then.. :'( We'll try to find another solution.. We have no time at all to build it..because it is needed for a work which couldn't be delayed at all.. so that's a pity... :(

#23 User is offline   ZiggY!! 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 26-August 05
  • LocationJust south of Sydney, Australia.

Posted 15 November 2006 - 05:30



would it be hard to add a decoder to control a divider/multipler of the BPM per clock output? I guess it doesn't have to go that far, perhaps x4 each way to get turn one beat into a whole note in one direction, and to turn a quarter note into a sixteenth note in the other direction?

#24 User is offline   TK. 

  • MIDIbox Guru
  • View gallery
  • Group: Administrators
  • Posts: 10,800
  • Joined: 01-January 01
  • LocationGermany

Posted 15 November 2006 - 21:28

From my point of view this project is finished, it was just a toy, and I don't use it by myself...

However, this project is open source, maybe somebody else feels motivated to program such a feature?

Best Regards, Thorsten.


#25 User is offline   mess 

  • MIDIbox Addict
  • PipPip
  • Group: Programmer
  • Posts: 141
  • Joined: 15-April 04
  • LocationBelgium

Posted 16 November 2006 - 01:22

Hi Ziggy,

I will post an example tomorrow (only tempo division),
do you need the features from v1.1? (eg MTC support)

using the v1.0 makes it a bit easier to code  :)

#26 User is offline   ZiggY!! 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 26-August 05
  • LocationJust south of Sydney, Australia.

Posted 16 November 2006 - 04:03




Heya Mess, that would be great!

I certainly could use the extra features of v1.1, but don't go all out... unless you want to of course  ;D


Any help is appreciated! Your a legend!

#27 User is offline   mess 

  • MIDIbox Addict
  • PipPip
  • Group: Programmer
  • Posts: 141
  • Joined: 15-April 04
  • LocationBelgium

Posted 16 November 2006 - 16:00

Hi Ziggy,

here's a first version, you can divide the bpm by 1,2,3,4 (more divisors are possible)

since I didn't want to change my existing hardware I've made some changes to the handling:
* the play button now acts as a play/pause button
* the pause button cycles through the encoder modes: BPM, track select, divisor select (for selected track)

it's possible to add a multiplier (change resolution to 96ppq, divide the normal output by 4)
but I don't have the time to implement this now...

I hope the version with division will be useful:
clockbox_v1_1_w_divison.zip

If you have questions about the code just ask :-)

Michaël

#28 User is offline   ZiggY!! 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 26-August 05
  • LocationJust south of Sydney, Australia.

Posted 17 November 2006 - 12:57



Thanks Michael! I appreciate it!

I'm still a few weeks away from actually implementing it, i'll let you know how I get on.


thanks again!

#29 User is offline   stryd_one 

  • MIDIbox Guru
  • PipPipPipPip
  • Group: Frequent Writer
  • Posts: 8,850
  • Joined: 25-February 03
  • LocationMelbourne, Victoria, Australia

Posted 17 November 2006 - 13:22

Nice!

No point release update? No V1.1a? ;)

#30 User is offline   audiocommander 

  • MIDIbox Guru
  • PipPipPipPip
  • Group: Frequent Writer
  • Posts: 1,353
  • Joined: 02-July 05
  • LocationNuremberg, Germany

Posted 28 January 2007 - 00:05

heya,

I was just plain' around with the clockbox class and extending it with a MASTER/SLAVE mode, so that it automatically switches to SLAVEmode if a CLOCK is detected on the MIDI-IN and falls back to MASTER if no more clocks are received. (ohh, I'm so excited, it works so great!!!)  ;D ;D 8) 8)

Because I want my app to be able to run for a veeeeery long time, I checked the meter count and think I discovered a small bug:
unsigned char mclock_ctr_measures; // counts the measures (up to 65535)


I guess this should be an [tt]unsigned int[/tt].

It's a great template, btw! :D
This was just what I needed right now for the magic speakjet interface and the upcoming quatizer module :D

Cheers,
Michael


#31 User is offline   stryd_one 

  • MIDIbox Guru
  • PipPipPipPip
  • Group: Frequent Writer
  • Posts: 8,850
  • Joined: 25-February 03
  • LocationMelbourne, Victoria, Australia

Posted 28 January 2007 - 03:04

Quote

I was just plain' around with the clockbox class and extending it with a MASTER/SLAVE mode, so that it automatically switches to SLAVEmode if a CLOCK is detected on the MIDI-IN and falls back to MASTER if no more clocks are received. (ohh, I'm so excited, it works so great!!!)  ;D ;D 8) 8)

LMFAO that is spooooooky.... Guess what I started doing last night..... Same thing! Fortunately for me I never finished it off or I'd have been kicking myself right now.... Don't suppose you feel  in a sharing mood? ;)

Quote

Because I want my app to be able to run for a veeeeery long time, I checked the meter count and think I discovered a small bug:
unsigned char mclock_ctr_measures; // counts the measures (up to 65535)


I guess this should be an [tt]unsigned int[/tt].

It's a great template, btw! :D


Right you are. I removed that functionality (the tracks in the seq take care of that) so I never noticed :)

#32 User is offline   audiocommander 

  • MIDIbox Guru
  • PipPipPipPip
  • Group: Frequent Writer
  • Posts: 1,353
  • Joined: 02-July 05
  • LocationNuremberg, Germany

Posted 28 January 2007 - 20:57

Haha, yes, I ignored this neat little application (template) much too long :)

Quote

Don't suppose you feel in a sharing mood?


of course, I do :)
As soon as my current project is finished and all bugs ruled out, I'll put up the sources (as always).
Maybe later a small standalone Quantize Box  8) Who knows? ;D

Or are you interested only in the master/slave part personally?
I could post the relevant code sections here...

Cheers,
Michael

#33 User is offline   haesslich 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 12-February 07

Posted 12 February 2007 - 13:28

i recently finished the clockbox incl. the hardware for the multi out option.
i recompiled the application with the multi out flag, programmed the pic but the multi outs seem not working properly.
the leds are lighting up fine, midi clock comes out of the 8 additional midi outs, but the play and stop buttons do not work.
the play buttons just do nothing, the stop buttons stop some random outs (incl. turning off some leds which do not correspond to the stopped midi outs).
i checked the connections to the core module and tested the pushbuttons seperately. seems right.

does anyone have a clue, where to look for the bug? i don't know where to look elsewhere in the hardware for the bug.
have i missed something in the applications code?

thanks

#34 User is offline   TK. 

  • MIDIbox Guru
  • View gallery
  • Group: Administrators
  • Posts: 10,800
  • Joined: 01-January 01
  • LocationGermany

Posted 13 February 2007 - 23:43

No, a special configuration is not required to get the buttons working. The random behaviour on stop button changes indicate, that there is a problem with the shift register connections.
A troubleshooting guide for the DIN registers can be found here: http://www.midibox.o...p?id=din_module
Hope it helps - if not, just write about your observations during the tests.

Best Regards, Thorsten.


#35 User is offline   haesslich 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 12-February 07

Posted 19 February 2007 - 22:44

okay here are my test-results:
one button on the second shift register triggered all 128 midi notes in the midio128 application. okay next i started measurements with the srio_interconnection_test.
i measured the SC and RC levels directly at the 74HC165 pins. as far as i could see, they seemed to be all right. so nothing good here.

after all that mess i tried another DIN module and now - well: the midibox works (midi out ports and corresponding LEDs are messed up in order, but in general the box works).

so: the error is within the DIN module. but i did not manage to locate it with the srio_interconnection_test - do you have any further recommondations?

#36 User is offline   TK. 

  • MIDIbox Guru
  • View gallery
  • Group: Administrators
  • Posts: 10,800
  • Joined: 01-January 01
  • LocationGermany

Posted 20 February 2007 - 01:36

So, if the RC and SC signal is available, the only possibility I could imagine is that the 74HC165s are not powered (bad soldering at pin 8, 15 or 16). Could you please check this with removed chips? Because otherwise it could happen that you measure an "output voltage" caused by internal nets instead of the "input voltage" from the power supply.

Best Regards, Thorsten.



#37 User is offline   haesslich 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 12-February 07

Posted 14 April 2007 - 18:51

though having not tested the defective module any further (this will be done as soon as i begin putting together the modules for the midibox seqv3, i'll need the module there) i have a question:
i'd like to set the start- and stoppoints for the multi midi outputs to the next measure instead of the next quarter.
i guess i have found it - in the MCLOCK_TICK() i moved a #if multiclock part from the 
if( ++mclock_ctr_24 == 24 ) {
loop to the
if( ++mclock_ctr_beats == 4 )
{ loop

regards,
florian

#38 User is offline   TK. 

  • MIDIbox Guru
  • View gallery
  • Group: Administrators
  • Posts: 10,800
  • Joined: 01-January 01
  • LocationGermany

Posted 14 April 2007 - 21:26

yes, this is the right location for sync to 4/4 measure

Best Regards, Thorsten.


#39 User is offline   haesslich 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 12-February 07

Posted 16 April 2007 - 08:42

while i am playing around with the code i'd like to show some pics of the hardware prototype:
Posted Image

the fader is planned to work as a pitchbender and is fitted to center position via springs. this is however not implemented in the firmware yet ;) in the next step i will configure the computer-keys to work as combined start-stop keys. i plan to set up an array which contains the actual state of the channel and with every hit to a key i invert the corresponding state. but i guess i won't even need to programm that array, i might have seen an array with exactly the same function on friday when i had a first look to the sourcecode...

#40 User is offline   Sasha 

  • MIDIbox Guru
  • PipPipPipPip
  • Group: Members
  • Posts: 1,941
  • Joined: 20-March 05
  • LocationBelgrade, Serbia

Posted 26 October 2007 - 14:53

Does make sense to power this box from the batteries? I wanted to use LCD but without backlight.

Share this topic:


  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users