DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: lars-musik on March 28, 2015, 02:46:12 PM

Title: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: lars-musik on March 28, 2015, 02:46:12 PM
Now here's something I am really proud of. Although admittedly nearly all of the credit for that little invention goes to the forum member Slacker.

After I failed getting an old midi clock optical metronome to work (discussed here) (http://www.diystompboxes.com/smfforum/index.php?topic=109118.0), slacker kindly offered support in designing a completely new one with up-to-date parts. So all I had to do was writing up a wish-list and stealing slacker's time by constantly modifying it.

But, in the end, here is a brand new optical midi clock metronome with a REALLY GREAT additional feature: it triggers a relay that in turn can be used to sync all kinds of great things, foremost analog tap tempo effects to a midi clock (in my case to the click our drummer hears and, thanks to this device, now also sees.).
It has got a 9V jack if the midi device powering it doesn't supply enough current (iirc the midi standard only calls for 5mA) to drive the relay driver but my old boss drumcomputer does it without an additional psu.


(http://i1244.photobucket.com/albums/gg578/lars-musik/Midi%20Metro/Slacker_Midi_Met.small.jpg)

I recorded a quick demo, because the usefulness is more obvious this way.



Slacker's files:
https://github.com/slackDSP/slack_metro


Wait, I did contribute something besides the wishlist. Here's a 1590a compatible PCB layout for the circuit I did. It used a dual NO-relay (datasheet (http://www.ges.cz/sheets/d/dip05-2a72-21l.pdf)) to drive two tap effects (tremolo and if I sort the out-of-sync-troubles with my taptation a delay) because I am not sure if you could simply use a Y-cable from one relay output. To sync my BOSS RC-2 I will have to revise the thing, because I think in need a NC-relay.

PCB:
(http://i1244.photobucket.com/albums/gg578/lars-musik/Midi%20Metro/MidiMetro_Relay.png)
Schematic:
(http://i1244.photobucket.com/albums/gg578/lars-musik/Midi%20Metro/MidiMetro_Relay_1.jpg)



Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: deadastronaut on March 28, 2015, 03:37:24 PM
Totally brilliant...

be nice to control tempo from the box too... :icon_idea:
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: lars-musik on March 28, 2015, 06:54:30 PM
Thanks, Rob. It goes perfectly with one of those as a central "tap-able" midi clock generator on your board (or for your whole band):
1. Padchokola  (http://http%20http://adanselm.github.io/padchokola/)
2. midihub 6-way  (https://www.tindie.com/products/hotchk155/midihub-6-way-midi-thru-and-metronome-module/)

Whereas the first one looks fantastic (you can dial the tempo in per jog-wheel), the tap tempo reacts somewhat sluggish. The second one works great regarding the tap function, but hasn't got an option for numerical dialing in the actual tempo. And it is booting into a non-tapping mode, which makes it somewhat difficult to use. However, both work fine and the tiktaktap functions just as a translator for the midi clock.

I built both of the above mentioned. For the moment our drummer uses the padchokola with an integrated midi splitter (one out to the drum computer as audible click generator, one out to my pedal board and optical metronome).

I am even thinking about a 1590a tremolo with a 3,5mm tap-input jack and loosing the tap switch altogether.
Let's see.

Anyway, it would be quite easy to integrate this little circuit into one of the above if necessary - et voilà.

Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: Processaurus on March 28, 2015, 10:22:07 PM
Amazing!!  That's great for modulation effects to stick to the tempo.

I don't think it needs any other features, other than maybe a little switch to change a relay output from NO to NC.  It's great that it is dead simple.
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: deadastronaut on March 31, 2015, 11:26:13 AM
cool...i could have done with that midi hub years ago .... :icon_cool:
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: electricco on April 03, 2015, 04:31:24 PM
Great job guys !!!

the Tremolo pedals is it DIY too (is it on this forum too) ?
I'm courious about MIDI implementation on it
Tx
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: lars-musik on April 03, 2015, 04:57:59 PM
Yes, it 's diy, it's theTapflo tremolo by the Electric Druid found here: http://www.electricdruid.net/index.php?page=projects.taplfo. I published the layout here: http://www.diystompboxes.com/smfforum/index.php?topic=109156.msg997441#msg997441. The layout follows basically the original Tapflo Tremolo circuit.
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: easilyamused on April 10, 2015, 04:27:33 AM
This is a great project! I was looking for something like this... Thanks for sharing.

One question: most MIDI devices use an optical isolator on MIDI IN, and sometimes a 74LS14 to sharpen up the incoming waveform. Any reason why at least the isolator was not used here?

Also, If anyone's interested I'm nearly done with an ATtiny85 version (instead of PIC). I'll post when it's done.
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: charbot on April 10, 2015, 06:09:36 PM
BTW, I already wrote a very similar arduino sketch the other week:  http://www.diystompboxes.com/smfforum/index.php?topic=110577.msg1014702#msg1014702 (http://www.diystompboxes.com/smfforum/index.php?topic=110577.msg1014702#msg1014702)   Mine is w/ a promini and installed inside a EH dlx Memory boy.
I would have preferred to use an attiny but I could not get soft.serial  to work reliably.   Hope you have  better luck. 
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: charbot on April 10, 2015, 06:23:34 PM
Not to sell it too hard.... but a nice thing about mine is that it only sends a few tap signals whenever the midi clock tempo is changed which leaves the pedal's original tap switch free to be used to override the midi sync.
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: easilyamused on April 11, 2015, 12:13:12 AM
Charbot, did you set the fuses on your ATtiny85 to use the 8MHz internal clock? Mine seems to be working fine so far ...
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: charbot on April 11, 2015, 01:54:00 PM
Yes, I did set the fuses for 8mhz.  Im pretty sure the problems I was having were related to two hardware issues.   First,  a temperamental opto that seems to work fine on standard serial but only  occasionally on softserial,   and second;  I was trying to run an attiny 85 20-pu off of 3.3v which (i believe) was causing it to have an irregular tempo.       I got just got some attiny 85 10pu's which take a lower supply voltage.  They should operate more reliably on 3v.    I havent had a chance to try it out yet, tho'.
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: slacker on April 12, 2015, 06:29:46 AM
Quote from: easilyamused on April 10, 2015, 04:27:33 AM
One question: most MIDI devices use an optical isolator on MIDI IN, and sometimes a 74LS14 to sharpen up the incoming waveform. Any reason why at least the isolator was not used here?

No opto isolator was used because this was designed to be powered by the MIDI device that it's connected to, if you add an isolator you can't do this and would need to add a power supply. If you use it just as a metronome then it has no connections to any other device so there's nothing to isolate it from and the relay isolates the taptempo output.
If you need to power it or you build it into a pedal then yes to make it comply with the MIDI standard you should add an opto isolator.
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: slacker on April 12, 2015, 06:44:16 AM
Quote from: charbot on April 10, 2015, 06:23:34 PM
Not to sell it too hard....

No problem sell as hard as you like, the more the merrier. I did consider making it do exactly what your design does but in the end just went with what Lars had requested.
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: Arthur_Git on January 21, 2016, 05:48:02 PM
Hello Lars,

On my search for a way to accurately sync my boss rc-3 to my bandmates' synthesizer, i've come across this thread. Most Loopers under 150 Euros out there aren't feasable for band use which is quite frustrating. Yours and Slackers project looks very interesting concerning this problem.
You mentioned that you were eager to modify the TikTakTap so that it would send the right output to your rc-2.
Did you try that yet? Did it Work? Would be happy hearing from you!

Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: lars-musik on January 22, 2016, 03:59:39 AM
Hi Arthur, welcome to the forum!

The solution is very easy and; luckily, there are no alteration to the circuit needed to feed a BOSS RC looper, just  a different relay. My Tik-Tap-Tap operates with a Meder DIP 05-7221 that works as two NO-switches (pinout diagram 21). The jacks are soldered a) to pin 1 and 7 for the first switch and to  b) to pin 8 and 14 for the second one. The coil is operated through pins 2 and 6 although that has to be guessed from the pinout diagram.

Now the important part: If you drop in the double throw switch Meder DIP 05-7251 (pinout diagram 51), pins 1 and 7  still operate as NO switch, so you can hook up a jack for your "standard" tap effects. Pin 8 and 14  on the other hand are now working as a NC switch with is exactly what you need for your BOSS RC.
(http://i1244.photobucket.com/albums/gg578/lars-musik/Meder_Relais.jpg)

Summarized: Just build it as shown above and use a Meder 05-7251 (e.g. here (http://www.reichelt.de/DIP-9051-D-5V/3/index.html?&ACTION=3&LA=446&ARTICLE=27667&artnr=DIP+9051-D+5). Your looper needs to be hooked to the "Tap 2" jack.

Unfortunately I didn't try this. I ordered the relay and probably received it, but our drummer wanted to get rid of the click completely as we shifted our musical focus from electronic stuff to more brassy stuff. So I use this only for recording nowadays and the looper isn't in the loop at all. But next time I'm in the rehearsal room I might test it (if I find that relay in my messy workbench).

All the best, Lars

Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: Chewbakka on February 24, 2017, 12:20:23 PM
Hi
I guess the PIC12F1822 needs to be programmed for this. How did you manage this?
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: lars-musik on February 24, 2017, 01:11:23 PM
I bought this:

https://www.olimex.com/Products/PIC/Programmers/PIC-KIT3/
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: CarpathiART on April 25, 2017, 05:23:59 AM
Hello,

I´m new to the forum and first of all thanks to everyone here for contributing!

This is a great project you´ve put together! I was looking at the same layout for the 16C54 as your preceding project idea but that seemed a bit too much work towards the results. I´m thinking of a way to convert midi clocks to 5V square wave to feed some 555 chips for sync with MIDI devices. This seems like it could be pretty easily produced from what you guys have created here.

My own knowledge towards PIC programming and and the principles behind it is very limited.

Thank you in advance!

K
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: lars-musik on April 25, 2017, 05:38:08 AM
Hi,

can't you use the Tap Out from the PIC? It produces 5V signals for the relay so it might just work with a 555.

Then again, maybe not. Just try it!
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: CarpathiART on April 26, 2017, 02:31:38 AM
Hi,

Thanks for the quick response. I didin´t come to think of it. I shall put this thing into testing.

K
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: slacker on April 26, 2017, 05:15:37 PM
Yeah that should work, the tap tempo output is a 5 volt pulse at the BPM/quarter note set by the MIDI clock. If you wanted to output the actual MIDI clock which is 24 pulses per quarter note the code would need modifying.
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: acobberson on June 27, 2017, 12:52:05 PM
Hey guys, is anyone offering pre-flashed chips for this project? I'd be a buyer I'd there was a seller  :D
Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: ElectricDruid on June 27, 2017, 04:51:36 PM
Quote from: slacker on April 12, 2015, 06:29:46 AM
Quote from: easilyamused on April 10, 2015, 04:27:33 AM
One question: most MIDI devices use an optical isolator on MIDI IN, and sometimes a 74LS14 to sharpen up the incoming waveform. Any reason why at least the isolator was not used here?

No opto isolator was used because this was designed to be powered by the MIDI device that it's connected to, if you add an isolator you can't do this and would need to add a power supply. If you use it just as a metronome then it has no connections to any other device so there's nothing to isolate it from and the relay isolates the taptempo output.
If you need to power it or you build it into a pedal then yes to make it comply with the MIDI standard you should add an opto isolator.


Oooh, you dirty boy...;)

This "MIDI-powered device" is a neat trick when it works, but it doesn't always. I'm guessing you know that, Slacker, so really I'm just waving a warning flag for other people who might think this is a great idea. Think about what happens if I'm running a MIDI out from a processor at 3.3V. Fully MIDI standard compatible (since MIDI is a *current* based standard) but screws up any gadget that expects to see 5V. There is no MIDI voltage standard. You can't rely on getting a certain supply from a MIDI output - it's not a bleeding USB Port!! If you're building kit you use in your particular set-up, then fine, do it. But don't expect it to work everywhere in every situation, because it won't.

Ok, warning over. As you were. :P

HTH,
Tom



Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: lars-musik on June 28, 2017, 03:09:20 AM
Hi Tom, the layout I posted above runs on 9V with an 78L05 regulator. That should keep the troubles in check, right?

Gesendet von meinem Lenovo K33a48 mit Tapatalk

Title: Re: Slacker's midi clock metronome PLUS tap trigger (AKA TikTakTap)
Post by: ElectricDruid on June 28, 2017, 08:44:21 AM
Yes, absolutely. Run it off its own 5V supply and stick the optocoupler on it to avoid ground loops (that's why MIDI always has an opto) and you'll be standard-compliant and it should work with everything else that is.

Tom