It works on my end, however still only in PU1 (I was so sure I had found the bug! I'll test it before I upload next time).

Do you see the LEDs flashing like they should?


Do like this (maybe you already did):

- Download code as .zip from GitHub and unzip
- Connect Arduinoboy to USB port on computer
- Open code in Arduino IDE
- Set correct port for your Arduinoboy
- Compile by clicking the (V) icon
- Upload to Arduinoboy by clicking the (->) icon
- Disconnect Arduinoboy from computer and connect it to another USB power source (may not be necessary).
- Set MIDI out mode on Arduinoboy
- Start GB, set MIDI out mode in LSDJ.
- Connect Arduinoboy to GB Link port.
- Should now work. Otherwise, try trash80's original code.

I have fixed a bug! Now the channel switching works in all GB channels. Previously it only worked in PU1.

If anyone tries this, let me know if you find other problems.

Would it be possible to connect a USB MIDI dongle to the Pocketchip and track MIDI in Sunvox? Looks very interesting!

Submitted! *Hopes up*

I ended up tweaking the Arduinoboy code earlier than expected.
MIDI out channel switch on the fly! Check it out:

http://chipmusic.org/forums/topic/18378 … n-the-fly/

I've modified the Arduinoboy code to enable on-the-fly switching of MIDI out channel.
Use LSDJ command X6y (y=0-F => MIDI ch 1-16).

Example:

- Play command X64 in PU1 => now PU1 sends MIDI out on channel 5.
- X60 changes back to MIDI channel 1.
- The change is instant which means it is possible to use 16 different sounds on your MIDI gear (though only 4 at the same time).
- Go make some cool tracks!

BUG: only works in PU1. I haven't been able to find out why it doesn't work for PU2/WAV/NOI. If anyone has any ideas, please help!

Code is here, upload it to your Arduinoboy the regular way:
https://github.com/ledfyr/Arduinoboy

One CC number would need to be sacrificed.
Like this:

X60 - change the current channel to MIDI ch 1
X61 - change the current channel to MIDI ch 2
...
X6A - change the current channel to MIDI ch 11

This would instantly change the MIDI out channel of the Gameboy channel where the command is played.
X6x would not generate MIDI CC anymore.

I'll see if I can get time to do this in the upcoming weeks.

It would be possible to hack the Aboy code to change MIDI channels via CC commands from the Gameboy.

57

(21 replies, posted in Trading Post)

I have been thinking about building a case using LEGO.
Gluing the pieces should make it sturdy.
Anyone tried this?

58

(27 replies, posted in Nintendo Handhelds)

You can check the cable if you have a multimeter with continuity mode. It should match the Arduinoboy picture.

Have you tried any of the other modes? There might be less risk of MIDI ch problems with the mgb rom.

It's like herr_prof says.

LSDJ will not sync with incoming clock, it will only output notes and start/stop messages.
When the RPi detects a start message, it starts to send MIDI clock. You control the clock tempo via CC (the X command in LSDJ).

Connect GB to Aboy the normal way, then connect Aboy MIDI out to a USB MIDI interface, which you connect to the RPi's USB port. Connect the MIDI out on that interface to your synth.

The merge function is useful if you want to use LSDJ and e.g. a small USB MIDI keyboard to control your synths.

I also wanted clock in MIDI out mode so I made this:
http://chipmusic.org/forums/topic/17404 … l-routing/

You need both an Arduinoboy and a Raspberry Pi. The RPi adds clock and other functions controllable via CC from the Gameboy.

Grabbed this! Thanks alot for the give-away. Great stuff, makes me want to try the game.

Pix Retro wrote:

Thanks for the replies guys...

Just to be sure before I buy anything... if I use a li-po battery or the NiZn batteries the screen won't fade when I'm playing something back on lsdj (I may not have been super clear with my original post!!)

Screen set to a decent contrast but as soon as I press play it fades to almost nothing...

I use a pocket. When pressing play the screen doesn't fade noticably using NiZn. This was the reason I tried them (I knew they had higher voltage). Screen fading was really bugging me before.

I use NiZn AAA batteries instead of NiMh.
NiZn are 1.6 volts. The contrast stays the same until they are almost empty.
You need a special charger for NiZn.

I recommend a 50-100 ohm resistor for the backlight if you go for NiZn. Lack of resistor makes it too bright.
Also, don't use NiZn AA batteries for GBC, it wont start up. The pocket works great with NiZn AAA though.

64

(21 replies, posted in Nintendo Handhelds)

I mixed up the master sync and MIDI out mode. You cannot send CC in master sync mode, so my idea will not work.
There is also no good way to handle it in MIDI out mode. CC values can only be sent in steps of 8, which makes it hard to write your own song positions manually in LSDJ.
Tell me if you come up with a solution for this.

I've tested the gb-gpio a few times but havent gotten it working properly. Some notes are missed in MIDI out mode for instance. The latency will hopefully be ok, but the Arduino might be more reliable since it runs without an OS.