Offline
sweden

Hi!

I'm mainly using nanoloop 1.3 and because of a bug that overwrites waveforms while being in slave mode I'd prefer to have nanoloop as master instead when syncing it with my drum machines. My friend lazenbleep showed me this device called MIDI Bastl http://www.bastl-instruments.com/instru … idi-bastl/ That can convert nanoloop's 12 ppqn to midi clock. I was thinking that the same thing would be possible with the ArduinoBoy? Maybe even add nanoloop sync to analog sync?

Luckily Bastl Instruments stuff is open source so you can take a peek at the code here:

https://github.com/bastl-instruments/ba … verter.ino

And same with ArduinoBoy:

https://github.com/trash80/arduinoboy

However! I don't know the first thing about coding arduino, but I guess (hope) that this would be fairly straight forward for someone who knows what the hell he's doing?

Hopefully there is more people interested in this than me. Anyone with the knowledge willing to help out?

/ nordloef

Offline
Unsubscribe

theres also this: https://retrop.co.uk/2015/03/09/syncing … p4921-dac/

Offline
NUMBSKULL

I'm trying to read what the midi bastl actually does. It doesn't look like it's able to convert nanoloop clock to midi clock, but the other way around. Midi clock to nanoloop. Am I wrong here?

Offline
sweden
catskull wrote:

I'm trying to read what the midi bastl actually does. It doesn't look like it's able to convert nanoloop clock to midi clock, but the other way around. Midi clock to nanoloop. Am I wrong here?

By default yes! But there is a hack:.

http://www.bastl-instruments.com/midi-b … ca-how-to/

However the github link on that page doesn't work. But found it here instead:

https://github.com/bastl-instruments/ba … verter.ino

Last edited by nordloef (Nov 24, 2015 1:08 pm)

Offline
NUMBSKULL

Okay I finally have time to look into this more. The code seems pretty straight forward. Nanoloop sends 12 ppqn. MIDI needs 24 ppqn. So basically all you have to do is send two midi clock signals every time you get a Nanoloop clock signal. The code could potentially be easily adapted for an arduinoboy, but I have a question. Does anyone know what pin the Nanoloop clock signal would be coming in on? Would it just be the link port's clock? Or would it be sending that clock via serial out?

Offline
NUMBSKULL

Looks like I've got the basic functionality up and running. nordeof do you have an arduinoboy you can test this on? I don't have nanoloop so I can't do much testing.

Offline
NUMBSKULL

Yeah so I'm testing this with the nanoloop demos and I don't really know what I'm looking for. However, with lsdj set to MASTER, the TX led on the aboy flashes in sync with the tempo so I'm assuming it's sending the correct midi clock signals. I don't have any midi clock devices to even test if that's correct though. So I think i'm like 90% of the way there I just need someone who can test this for me.

If there's a demand I'll add it to the arduinoboy code as an additional mode.

Offline
sweden
catskull wrote:

Looks like I've got the basic functionality up and running. nordeof do you have an arduinoboy you can test this on? I don't have nanoloop so I can't do much testing.

I do! I would LOVE to try it out!

Offline
NUMBSKULL

Okay, flash this code on your arduinoboy and tell me what happens! Note that you'll have to reflash the arduinoboy code after using this. If everything works okay I'll add it as a regular mode to arduinoboy.

https://github.com/catskull/Arduinoboy/ … _clock.ino

Offline
sweden

Sorry for the delay, had some problems flashing my arduinoboy. It kinda works, when nanoloop goes 16 steps my drum machine goes about 1 step.

Offline
NUMBSKULL

Huh, okay try it again. I updated the code but the link is the same. I'm out of town so I don't have my arduinoboy or anything to test it on so this is a shot in the dark.

What do you mean by a step in nanoloop? Is that like one square on the sequencer?

Offline
sweden

I tried the new version but couldn't get any reaction at all. Ah yes, one of the 16 squares in nanoloop.

Offline
NUMBSKULL

Okay when I get back home I'll look more into it.

Offline
sweden

Thanks! smile

Offline
NUMBSKULL

Hey nordloef, do  you have maybe a time we could skype or google hangout to figure out exactly what you're seeing?

Offline
sweden

Now I'm back home as well. Yes! That would've been awesome, let's figure something out.