VGuitar Forums

Boss GP-10 V-Guitar System => Boss GP-10 Top things to know => Topic started by: loulea on July 31, 2014, 01:22:19 PM

Title: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on July 31, 2014, 01:22:19 PM
The Raspberry Pi embedded Linux Computer performs USB to MIDI I/O chores specifically for the Boss GP-10, and GT-001  - which both lack 5pin MIDI I/O and are not USB Class Compliant "MIDI over USB"

This is because the Raspberry Pi embedded Linux Computer includes "Jack Audio/MIDI" for Linux" code - and years ago the development team for JACK Audio tweaked the code to be compatible with Roland USB devices which typically require a factory Roland USB Driver for Windows/ Mac OSX before they work

Jack Audio in Linux is the secret that "talks to the Boss GP-10 over USB"  without the factory Roland /Boss USB driver. 

Details below
======================


Hi,

I'm new to this forum and the prime reason why I joined was to see if the GP-10 was worth purchasing. A couple of weeks ago I finally did buy after waiting a couple months. After being used to the GR-50 (bought it in the late 80s), I needed something I can take to gigs that have a combination of synth plus real sounding guitar effects. The GP-10 fits the bill nicely! It is fast, versatile and compact. The only thing I don't like is that I cannot connect a midi foot switch to it to do patch changes. The only way I cold do it is with the PC running MIDIOX and connect the two. Cubase works as well. I found another way to do it using Raspberry PI and using the QJackCtl utility. The only thing is I have to use mouse and a keyboard. I'm investigating having it boot up configured. I can mount everything on a pedal board and go. Laptop would work as well but too expensive. Other that I would definitely recommend the GP-10. Great reviews by all so far and thanks! :)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407538128_1042454617_GP10_JackCtl1.JPG_thumb.jpg&hash=dd1ef11a0d8fba14bbbc6db684f100aa5ac72576)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on July 31, 2014, 01:30:57 PM
Loulea, Welcome to the forum!


QuoteI found another way to do [Boss GP-10 remote MIDI] using Raspberry PI and using the QJackCtl utility. The only thing is I have to use mouse and a keyboard. I'm investigating having it boot up configured. I can mount everything on a pedal board and go.
Please keep us all informed (and supply all details!) on your Boss GP-10 remote MIDI  / USB control progress with Raspberry Pi & QJackCtl

http://www.raspberrypi.org/forums/viewtopic.php?t=31598&p=563597 (http://www.raspberrypi.org/forums/viewtopic.php?t=31598&p=563597)
http://en.wikipedia.org/wiki/Qjackctl (http://en.wikipedia.org/wiki/Qjackctl)

Did someone get Roland/Boss MIDI support working with Jack / QJackCtl?
Curious how Raspberry Pi folks are circumventing / work around the requirement for official Roland/Boss GP-10 USB Driver (Win/OSX Only) - since GP-10 is NOT USB Class Compliant ! 
http://jackaudio.org/ (http://jackaudio.org/)

Boss GP-10 remains NOT USB Class Compliant :(
https://www.vguitarforums.com/smf/index.php?topic=11854.0 (https://www.vguitarforums.com/smf/index.php?topic=11854.0)

=================

EDIT: - For folks just browsing in here - check these alternate threads in this same topic

Boss GP-10 Midi I/O for Dummies (Using Raspberry Pi)
https://www.vguitarforums.com/smf/index.php?topic=12082.0 (https://www.vguitarforums.com/smf/index.php?topic=12082.0)

Add MIDI I/O to Boss GP-10, Simple Raspberry Pi Setup
https://www.vguitarforums.com/smf/index.php?topic=12067.0 (https://www.vguitarforums.com/smf/index.php?topic=12067.0)

(https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9876;image)


---
https://www.vguitarforums.com/smf/index.php?topic=11998.msg158067#msg158067

chopsuey wrote>

After struggling some time with images, wrong sd-card sizes, connecting monitor keyboard ect. and setting everything up, I found another way that may be of interest for some of you. I am using a 'Raspberry Pi Zero W' and 'MakerSpot 8-in-1 Raspberry Pi Zero W Mega Starter Pack' which comes at around 25-30 euros. *everything runs headless*

here are the steps I took:

1) Get PiBakery (https://www.raspberrypi.org/blog/pibakery/), Setup hostname/Pw/WIFI and flash Raspbian Lite
2) Find client IDs of your MIDI-USB devices (e.g. by connecting to pi via putty) running the command "aconnect -i"
3) Create another image which connects MIDI-USB devices on every boot (in my case SA-HH->OP-1, SA-HH->GP-10, GP-10->OP-1) by adding "aconnect <src id> <dst id>"

after that, hopefully everything runs and connects at every boot! (credit goes to bleo from https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=64340 )

edit: as the port number may change it is even better to use the device names instead, i.e., "aconnect 'GP-10':0 'OP-1 Midi Device':0"  instead of "aconnect 20:0 24:0".


(https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=16510;image)
(https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=16659;image)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 02, 2014, 08:58:49 PM
Ok,

Here is an update! I'm happy to say that I have a solution using the raspberry Pi to control the GP-10 with a MIDI foot pedal. I have an old Roland FC-100MKII, that with a simple mod, I was able to convert it to a MIDI foot pedal. Through a USB to MIDI converter, I was able to connect it to the PI along with the GP-10 and used the JackCtl software as part of the basic NOOBS install to connect the GP-10 and the footpedal. All this info was available on the internet which is great. The tricky part was having the PI boot up with the software running and configured without having to connect a keyboard, mouse or a monitor. I can say now that I have succeeded. I now have the PI powered with two USB cables plugged in with the GP-10 and my MIDI foot pedal which is all I wanted from Roland in the first place. The last hiccup was a script I had to write to have the JackCtl utility to auto start. This allowed me to not have anything hooked up to it except for power and the USB cables. I have connected the output of the MIDI converter end that would normally connect to the foot pedal MID IN, to a sound module and I can change patches on my sound module by changing patches either by the MDI foot pedal or the GP-10.  So this solution also allows control of other devices in my setup.

If anyone is interested, I can provide more information.

The PI costs me $35 here in Canada. The Keyboard, mouse and monitor I had laying around. This is relatively cheap compared to a PC, laptop or a tablet!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 02, 2014, 10:00:01 PM
This is fantastic news!

Yes, please feel free to dive deep and share with all the details.

( I smell a business plan is in order)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: thebrushwithin on August 02, 2014, 10:29:03 PM
Wow!!!! I would pay for that, and I have the same pedal board. Would it also work with a Roland FC200, or a Behringer FCB 1010? This is, without a doubt, the very best forum!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: sixeight on August 03, 2014, 05:16:45 AM
Great solution. If I am getting the GP10 (I am still undecided), I would try to control it from my FCB1010. The raspberry pi should be small enough to put it inside the FCB1010 together with a usb to midi convertor. Then you could have just the usb cable running from the GP10 to the FCB1010. I just feel another mod coming up... Who will beat me to it...
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 03, 2014, 08:29:25 AM
Quote from: loulea on August 02, 2014, 08:58:49 PMIf anyone is interested, I can provide more information.
Yes please document the process for dummies. I've done Arduino but never Raspberry Pi. From what I understand most people use it like a Linux computer with a header for sensor/control I/O?

BTW I would much prefer to use plain momentary switches (preferable to MIDI), as it would require less hardware, plus that would let me build my own foot controller more easily. I left space for one on my pedalboard, assuming the GP-10 would acquire some form of remote control someday. This scrolling through patches thing is really wearing me down.

I also have a Livid Brain Jr. that I could use to build my own controller if MIDI is the only way to do it, but I'd much rather just use the headers on the PI.

Anyway, I would love to read about how you did what you did. Many thanks
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 03, 2014, 09:21:01 AM
Hi,

This will work for any thing that sends MIDI control messages. The beauty of it is that the PI is basically your MIDI patch bay which you configure and connect different devices together to suit your needs. I'll provide info in a word document with appropriate links. I am an electronics engineer and have programmed in C but Linux is way over my head but I have managed to squeeze out some info out of all the resources for you. This forum has provided me some great information and this is my way to give back! :)

In regards to the question about using foot switches, this is difficult and requires writing of code to interpret the GPIO signals that would be interfacing to the switch. I'm currently looking into that by either learning a little more Linux or getting a C compiler which I'm more familiar with. Using this approach though relies more on programming than the existing MIDI standards that you can easily control via external equipment. What I mean is that the JackCtl is just a switch that connects different MIDI ports to each other just like a MIDI patchbay and then external signals are just redirected. Using a footswitch means that what ever logic you want for a given setup has to be coded and would take a great programmer (not me, I'm mostly hardware) to setup something to make it configurable for most applications; doable but I've achieved what I started. We can start this in another forum.

I will provide a document with appropriate links in the next little while. If you like the GP-10, this is the cheapest way I've found so far. Can I upload word documents to this forum? if not what format can I use?

Try the GP-10! You might like it for those who are on the fence. I bought the GR-55 but hated that I couldn't use the real guitar pickups to alter the sound. I returned it and waited for the GP-10 and It's been great so far except for the MIDI foot pedal control problem.

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 03, 2014, 01:50:00 PM
Yes please send info. This is great news ;D ;D ;D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 03, 2014, 09:30:57 PM
OK,

Here is what I have tabulated. For some of the information, I just pointed to other webpages where I got the information. My apologies in advance for spelling and grammatical errors if any. Some of the information you will have to pay special attention to because if you are not familiar with Linux, it can be difficult. The instructions on the PI website I found was very good. Follow it with no short cuts and you will be fine. Enjoy and I will gladly help anyone that requests it. I could sell these thing formatted already but musicians gotta eat!!  ;D

One thing currently I'm working on is a way to let you know when the PI has booted and the patchbay is active without the monitor. I'm looking into adding an LED to the GPIO interface to light up to indicate the patchbay is running. This will be rev A later. The PI takes about 20 seconds to boot up and even if you don't have your equipment on, I found that it will connect them anyway which is great. Even if the PI is on first before any other equipment and you connect it afterwards, it will configure itself and regain the expected configuration you programmed. It is very versatile. I don't expect you to get it going the very first time but submit your findings and I can help. To remove power, just disconnect the USB power jack.

There is a destktop file attached which you can copy to a folder on the PI to have it autostart. it is detailed in the instructions attached. I want to hear that it works for everyone!!!
Enjoy!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Spider on August 04, 2014, 06:10:58 AM
I ordered Raspberry Pi :) It looks like this solution could be equivalent in some part to Iconnectivity MIDI4+. Thanks.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 04, 2014, 09:33:54 AM
Quote
I ordered Raspberry Pi :) It looks like this solution could be equivalent in some part to Iconnectivity MIDI4+. Thanks.

There are many versions of the Raspberry Pi
http://www.raspberrypi.org/ (http://www.raspberrypi.org/)

http://www.raspberrypi.org/help/ (http://www.raspberrypi.org/help/)

Be sure you are ordering the current 2014 Raspberry Pi B+ V1.2 model - its the one with FOUR USB Ports!
Raspberry Pi Model B+ (B Plus) 512MB
http://www.amazon.com/Raspberry-Pi-Model-Plus-512MB/dp/B00LPESRUK/ref=pd_sim_pc_13?ie=UTF8&refRID=0CQ0G601XY9B4DH705TG (http://www.amazon.com/Raspberry-Pi-Model-Plus-512MB/dp/B00LPESRUK/ref=pd_sim_pc_13?ie=UTF8&refRID=0CQ0G601XY9B4DH705TG)

(https://9to5toys.files.wordpress.com/2014/07/raspberry-pi-b-computer.jpg?w=1316&h=886)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F91K7B8gNL%252BL._SL1500_.jpg&hash=174ab85fd2a0f49145108a23d46e7b18757401b3)

http://www.element14.com/community/community/raspberry-pi/raspberry-pi-bplus/blog/2014/07/14/meet-the-raspberry-pi-b (http://www.element14.com/community/community/raspberry-pi/raspberry-pi-bplus/blog/2014/07/14/meet-the-raspberry-pi-b)

http://9to5toys.com/2014/07/14/raspberry-pi-b-microcomputer-now-available-w-several-enhancements-same-35-price-tag/ (http://9to5toys.com/2014/07/14/raspberry-pi-b-microcomputer-now-available-w-several-enhancements-same-35-price-tag/)

I ordered this one - which includes a few accessories
Raspberry Pi Model B+ Complete Starter Kit [Made in the UK]
http://www.amazon.com/gp/product/B00L87YMGM/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 (http://www.amazon.com/gp/product/B00L87YMGM/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F81wqw0%252B0SmL._SL1500_.jpg&hash=5ed2996c505a5b35e2d0549db0b4e316f80d32a3)
Includes Everything You Need to Build Your XBMC Media Player
Includes Raspberry Pi - Model B Plus (Latest Version-Made in the UK)
Raspberry Pi Enclousure Case (Clear)---Heatsink for Raspberry Pi - Set of 3 Heat Sink
Kingston Micro SD Card pre-loaded with "NOOB" (Includes Raspbian -- OpenELEC -- Arch -- RaspBMC-- RISC OS -- Pidora)
USB Power Supply with Micro USB Cable -- HDMI Cable -- Wireless Wifi Adapter



Micro SD card speed tests with Raspberry Pi
http://elinux.org/RPi_SD_cards (http://elinux.org/RPi_SD_cards)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 04, 2014, 11:39:18 AM
Yes it is preferable to get the B+ version. It has some improved capabilities such as more USB ports, lower power consumption and expanded GPIO ports. The older version has 2 USB ports where as this new version has 4 so you can connect more USB MIDI devices.

Looking at the iConnectivity solution, It is a little alike but does not support USB MID devices. As for class compliance in reference to IOS devices, I'm sure the code in the PI ignores the rules for being class compliant and connects them anyway. Apple is more strict on complying to standards and this is why their stuff usually works right out of the box but unfortunately sometimes it is not to our advantage for non standard applications. I think you can connect the iConnectivity to the PI as MIDI to USB adapter though if you have one.

BTW, you can even use this thing with a USB hub to expand your capability. Once you get your PI, keep me informed on how it is going.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: arkieboy on August 04, 2014, 11:41:31 AM
Damn you!!  Now I don't have an excuse not to pick up a GP10  ;D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 04, 2014, 12:10:11 PM
Quote from: arkieboy on August 04, 2014, 11:41:31 AM
Damn you!!  Now I don't have an excuse not to pick up a GP10  ;D

Just trying to help man! :)

You will be pleasantly surprised once you get it going. Reading the other forums, almost made me buy a Dell laptop just to connect my MIDI foot pedal which was excessive. This is much cheaper. As Elantric pointed out, it is a good idea to get the kit so you are set from the beginning. The Wi-Fi adapter is a great idea as well for VNC communication so you can see what is going on with the PI from a remote computer wirelessly over a network.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 04, 2014, 12:25:20 PM
QuoteLooking at the iConnectivity solution, It is a little alike but does not support USB MIDI devices.

Actually the original Black iConnectMIDI and the latest iConnectMIDI4+ both feature a USB Host port, and support "USB Host to 5pin DIN MIDI " conversion for lots of USB MIDI Gear, like Korg Nanokontrollers and Fishman Tripleplay
But the USB device must be "USB Class Compliant - which the Boss GP-10 is not
Details here:
https://www.vguitarforums.com/smf/index.php?topic=8427.msg60211#msg60211 (https://www.vguitarforums.com/smf/index.php?topic=8427.msg60211#msg60211)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.iconnectivity.com%2Fimages%2FiCM%2Fheader_icm.png&hash=147a1eb0752b361cba615993c34c74db1d331f63)

See FTP USB Receiver inserted into the front of iConnectMIDI here:
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F1812013%2F1372710538_1056278157_20130410_224617_zpsc0fa5df2.jpg&hash=7d11cc397e5d55ee154e9988e06f01784aa5b53b)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 04, 2014, 01:12:17 PM
Elantric, thanks for clarifying!

Just discovered a problem with part of my instructions at the second last paragraph of STEP 3.

Was:
"To configure JackCtl to come up with a default setting, then click the "Setup" button on the right of the QJackCtl window. Click the Options tab and place a checkmark in the option. Choose the preset you wish to have automatically loaded. ....."

IS:
"To configure JackCtl to come up with a default setting, then click the "Setup" button on the right of the QJackCtl window. Click the Options tab and place a checkmark in the "Activate Patchbay persistence:" field. Choose the preset you wish to have automatically loaded (the name of the MIDI setup file you saved ) ...."

I'm keeping track of updates. I provided both a PDF and a MS word version so all can mark up the documented and resubmit with changes based on their experience. This will make it easier for others.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 04, 2014, 01:30:52 PM
Loulea , All Boss GP-10 owners really appreciate you posting this 5 pin MIDI I/O solution for the the Boss GP-10,

Thanks for posting the Raspberry Pi config instructions, and if I see any issues when I try to run this with my Raspberry Pi  and Boss GP-10 later this week, I will add updated clarification to your initial  instructions.   

As you should know, we are extremely grateful for your contributions here in this thread, as your Raspberry Pi solution will finally make the GP-10 usable for live performance use for most folks here.

While I'm still upset with Roland / Boss for their huge clumsy omission of 5 pin MIDI I/O on the Boss GP-10, this path should resolve that problem, and allow the GP-10 to be incorporated into much broader use!     

I'm reminded of the first time I saw the Roland GR-55, and was told by Roland USA

"Sorry, there will be no GR-55 Patch Editor"

And I replied -" that's a lame decision, but I'm sure there is someone at VGuitarforums with the skills to create one"

Shows companies should Never underestimate the power of a User group to identify product flaws & shortcomings and then come up with alternate work-around solutions never imagined by the Corporate bean counters. 
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: thebrushwithin on August 04, 2014, 03:21:48 PM
For those of us that are challenged putting things like this together, is anyone willing to charge for either an easy to install version, or ship to have it one?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 04, 2014, 03:42:09 PM
It should be rather straight forward - perhaps following a video tutorial might help.

I'll know more later this week, as i never worked with a Raspberry Pi before.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 04, 2014, 04:58:36 PM
Quote from: Elantric on August 04, 2014, 03:42:09 PM
It should be rather straight forward - perhaps following a video tutorial might help.

I'll know more later this week, as i never worked with a Rasberry Pi before.
A video tutorial would be awesome
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 04, 2014, 05:34:30 PM
Elantric, This is really no problem because I've looked for support on this website and have gotten it. Now I have the opportunity to give back.

As far as making a shippable version for those that think they can't do it, it wouldn't be cost effective anymore after adding shipping cost, parts and the effort to do it. You might as well go and get a Dell Windows 8 tablet for 250 bucks like I almost did. Overkill! What I or someone else could do is configure the SDC card and ship them out already setup. All that would be required is knowledge of how to add your specific device JackCtl which is easy. If you can use Tone Studio, this will be a walk in the park.

If you need a video, I could put one together but I think the instructions I put together is OK.

There is probable a way where you can get an image of a typical setup and then have it somewhere (server) where others can just copy and load it on a SD card. This could be done. Let me see how many people are having trouble in the coming week/s to determine the best approach.

If you do need a card with an image, I could set it up courier it to you but you will have to pay for the shipping cost and the card. If I get 100 request, I will have to charge  ;).Sorry!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 04, 2014, 05:42:41 PM
My  Raspberry Pi arrives Wednesday,

If i cant get it working with GP-10 by Friday I might take you up on your offer , and contact you about buying a pre-configed SD card
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 04, 2014, 06:01:30 PM
No problem at all  ;). I could also upload the image of the SD card to this site or somewhere else. You just have to download and re-image it at your end and it's basically plug and play!!

Do you have space on this site for between 8 and 16 GB? it is a lot of space that is required. I could create a 8 GB image. To re-mage the card, there are tons of free software out there. I use EaseUS.

I know what some of you are thinking. this is a money making opportunity!! I'm not that way at the moment but if more requests come in then I will have to.  :-\
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 04, 2014, 06:14:25 PM
At this time 8 to 16 GB exceeds our available bandwidth here.

And downloading that amount would be a huge torment for most.

(Unless you are a FTP owner, then you are already accustomed to multi-day file downloads.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 04, 2014, 06:25:32 PM
Quote from: Elantric on August 04, 2014, 06:14:25 PM
At this time 8 to 16 GB exceeds our available bandwidth here.

And downloading that amount would be a huge torment for most.

(Unless you are a FTP owner, then you are already accustomed to multi-day file downloads.

Completely understand! Currently the PI is using about 4.9 GB. I'm not set up to support shipment (more the payment side) but if anyone needs it as a last resort, I can look into it.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: sixeight on August 05, 2014, 12:56:30 AM
I am intrigued by the GPIO port on the raspberry pi. Would it be possible to add switches to these - maybe with some additional circuitry and build a full-fledged footpedal out of the pi?

Another route may be to change a regular usb keyboard into a floorboard...
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 05, 2014, 08:12:36 AM
Quote
I am intrigued by the GPIO port on the raspberry pi. Would it be possible to add switches to these - maybe with some additional circuitry and build a full-fledged footpedal out of the pi?...

While I'm sure this is eventually possible,  it will require deeper programming skills.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 05, 2014, 08:21:02 AM
Quote from: sixeight on August 05, 2014, 12:56:30 AM
I am intrigued by the GPIO port on the raspberry pi. Would it be possible to add switches to these - maybe with some additional circuitry and build a full-fledged footpedal out of the pi?

Another route may be to change a regular usb keyboard into a floorboard...

YES- Definitely but you would have to add some code around it that would read the status of the GPIO pin/s and would implement the logic you wanted whether it be to send out MIDI data to a device or send out data to another GPIO pin. You can search around the net for people who have done code like this if you are not familiar with this. There id also a lot of open source codes out there that you can hack. The JackCtl software for instance, provides the C source code so you can customize it yourself if you care to take that on. I just wrote code for the PI to let me know when the PI is running the JackCtl program because without the cables plugged in, you don't know when it has started.

BTW - I've decided to upload the PI image to Google Drive and then members can download the image there instead of having to set up the PI themselves. You would still have to setup the JackCtl utility though for your setup which is a little easier than starting from scratch. The information I uploaded previously has the link on how to configure the PI. I will provide more info later on  :).

Here is a link to the image software you will have to use. http://sourceforge.net/projects/win32diskimager/ (http://sourceforge.net/projects/win32diskimager/) . Let me know and I can send you link via a personal message if you are interested.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 05, 2014, 06:01:46 PM
Hi, currently testing the image on 8GB since mine is 16GB. Almost there.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on August 05, 2014, 10:17:18 PM
I just purchased the Raspberry Pi B+, it really is a ridiculously cheap price here (NZ$48 = US$40.50).
so 8GB SD card enough size for the image?

It will be good to experiment with and see what it can do,
maybe some Linux midi2PCM synth or other audio/midi programs might work?
I am familiar with ALSA too.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 05, 2014, 10:30:14 PM
Quote from: gumtown on August 05, 2014, 10:17:18 PM
so 8GB SD card enough size for the image?

Since I used a 16GB card, the image is 16GB.(MOd Edit - But Order a 32 GB card because the IMG file is larger than most 16GB cards can hold. )I tried to drop it down but got a few errors when I ran it in the PI. I'm currently uploading the image to Google but it is taking forever. I think by tomorrow night  >:(. Have a go at it and see if you can get it going. I added code for an LED so that you will know that the PI is running. It blinks  ;). It attaches to the GPIO and only if you want to add it. I will send a link to members only if they request it.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 05, 2014, 10:56:48 PM
http://www.rpiblog.com/ (http://www.rpiblog.com/)

http://www.rpiblog.com/2013/11/using-android-as-wireless-mouse-keyboard.html (http://www.rpiblog.com/2013/11/using-android-as-wireless-mouse-keyboard.html)

http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/ (http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fforums.connectedly.com%2Fattachments%2Fraspberry-pi-f179%2F1377d1406047932t-hands-new-raspberry-pi-b-avcable.png&hash=aacc5f45acb20ab8e90205efe47d00f9ec22d725)

This on my wish list - i might buy another Raspberry PI and dedicate it to audio I/O work  / recording

Wolfson Pi Audio Card for Raspberry Pi
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F51naeOJ2u%252BL.jpg&hash=94822c1f7b2277594ebee5f0b26b728b794f1144) 
http://youtu.be/k2-P1u90ddk (http://youtu.be/k2-P1u90ddk)
http://youtu.be/bLcW70tcBX8 (http://youtu.be/bLcW70tcBX8)
http://youtu.be/zzemdS4s8kk (http://youtu.be/zzemdS4s8kk)


---

but back to the new user tutorials

Here is how to install the Raspberry Pi in the case
http://youtu.be/1uFMFZMGO_A (http://youtu.be/1uFMFZMGO_A)

http://youtu.be/KtKSyN0x6sk (http://youtu.be/KtKSyN0x6sk)


http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/ (http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/)


http://www.tweaktown.com/news/36441/this-new-add-on-board-for-the-raspberry-pi-gives-you-an-hdmi-input/index.html (http://www.tweaktown.com/news/36441/this-new-add-on-board-for-the-raspberry-pi-gives-you-an-hdmi-input/index.html)

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 05, 2014, 11:11:16 PM
Cool!

Here is my PI. Notice the LED on top ;)!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 06, 2014, 01:44:26 AM
Well,

I played with it some - but I admit I'm a total noob with the Raspberry PI.

As Best I can determine there are about 2 or 3 additional pages of "missing instructions" which will need to be created to add clarification, for the typical GP-10 user.
( Work in progress Instructions here)
https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9786 (https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9786)

I assembled my Rapberry Pi
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352521_407396894_20140805_234741.jpg&hash=09435aac0572ff6e6aab9792b7d803758b13e248)

- connected USB Keyboard and Mouse and inserted the micro SD supplied with my kit.


I applied power - and after 20-30 seconds I had the Noobs v 1.3.9 Build July 8, 2014 launch.

From my vantage point NOOBS v 1.3.9 appears to be a bootloader, not an OS -
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352558_1460120939_20140806_001511.jpg&hash=e15f6f92346dd477fabb90984677c5a0bfab1e99)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352560_927419774_20140806_001515.jpg&hash=8fe92383ea34b4271d1c71dc9b1947dabfd5303e)

and I had 8 options of what OS Type to launch  - I chose:

* Rasbian OS ( "A Debian wheezy port, optimized for the Raspberry Pi"   

And then clicked Install - this took about 15 minutes to mount the Raspian OS onto the SD Card.
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352522_1713264340_20140805_234744.jpg&hash=d79a2cf770f2ee2ecf42bb187b08345148bceb34)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352524_682045214_20140805_234804.jpg&hash=9d6f7c9b4dedba4e89ac00e980f1e2a22671111f)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352526_1825259395_20140805_234822.jpg&hash=0f31ba8ed58c6504c23ad0c890d082ff6b3b7c9d)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352528_1328607957_20140805_234847.jpg&hash=b2607d987da476fbec1dc91a5e77fee6894ecf11)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352530_72818840_20140805_235722.jpg&hash=3513dc8c656af241edd9630353a58c40b867ce20)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352536_1520440951_20140805_235844.jpg&hash=1febdc1c5b87a9bfbd46571defebe1c7413c1b0c)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352538_430768025_20140805_235906.jpg&hash=863ab24f0118636101cc7e10e12cb2a8cec4f1ea)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352540_158203966_20140806_000054.jpg&hash=532ad022e3f25710bd205dd60560ec152ea3aac7)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352542_612605671_20140806_000130.jpg&hash=4c321eed94948afa9057c6decbb403aea56571e5)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352544_898156635_20140806_000417.jpg&hash=b1faf267b706ea630f1fe93490b57d9b7561ec3a)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352546_1001779116_20140806_000453.jpg&hash=ba9a6e3aceb85f19a9bb3a8ccce1595e0dd0235c)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352548_1792237608_20140806_000459.jpg&hash=ab05eaa3ef29c0d1d58c921ae961773188e78e1e)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352550_373527148_20140806_000647.jpg&hash=33f2f0ba75edca16c104edc06dd9c93a89104f91)

Upon completion I recycled the power and  the system re-launched with "Raspberry Pi Software Configuration Tool (Raspi-Config)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352555_2068653899_20140806_001142.jpg&hash=b2a79ea9fc359e5198780ceb04d2c663d3401773)
I left all at default settings - I did not change anything  - although in hindsight, perhaps  I should have performed the:
"Expand Filesystem" command ( Ensures that all of the SD card storage is available to the OS) - but I skipped this step and tabbed over to ""Finish"  - which turned off my Raspberry Pi
https://github.com/raspberrypi/documentation/blob/master/configuration/raspi-config.md (https://github.com/raspberrypi/documentation/blob/master/configuration/raspi-config.md)

Using a USB cable,  I now connected the Boss GP-10, and a Generic USB to MIDI I/O cable (the one from MeritLine) and reconnected the power to the Raspberry Pi. 

Next I had a long 45 second boot with lots of text whizzing by on a black screen , rather like watching the BIOS launching screen on a 1992 PC  - or any modern Linux box.
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352553_1210721533_20140806_001138.jpg&hash=5575137656c4bbec5ed86ee0f22d2009a4da9f62)
Upon completion of the Raspian OS boot - I had to login

User:  Pi
PW: Raspberry

then at the prompt type:   startx  (which launches Raspian  OS in the GUI mode)

Finally I had a GUI screen,

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352574_959083040_20140806_002853.jpg&hash=fbfc32df14a172066f7c7537904303287f3f7cc9)

and in the lower left corner (where "Start" is on Win7 machines) was a tree trunk icon ( which I later discovered is for LXDE (Lightweight X11 Desktop Environment)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407355648_1697995743_20140806_010216.jpg&hash=2798cd180fe6dd8c7d14954705b4fc205435422f)


- I left clicked it once and an expanding message box in the lower left corner opened up, and then I left clicked once on "Sound & Video" , and to the right popped a box for "QjackCtl" -

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407355991_1555971165_20140806_002849.jpg&hash=a51517ed03596a98abd97fcf8b76785b811491f8)

I left clicked this once , and finally saw the:
JACK AUDIO Connection Kit app main panel.
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352576_1839000110_20140806_002943.jpg&hash=39094ec3f47c856408755985eadcedba86e5239b)


I clicked on Setup,



and tried to follow LouLea's  supplied instructions for configuration of "Alsa" interface  and type "seq"


(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352578_606381190_20140806_003025.jpg&hash=88a24ef799a3ff4bdd16b711f1871410441cb92f)
 




** Click the arrow on the right, next to "INTERFACE" and  Observe the Raspberry Pi already recognizes the connected USB devices:

hw:0 = GP-10 MIDI
hw:0,0 = GP-10 USB Audio
hw:1 = Generic USB to MIDI I/O cable
hw:2 = Onboard Broadcom BCM2835 High Definition 1080p Embedded Multimedia Applications Processor

http://www.broadcom.com/products/BCM2835 (http://www.broadcom.com/products/BCM2835)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352592_598074880_20140806_005048.jpg&hash=eff07c074bdf10eb991f9baaa29f3413b8129df2)


, and then set the patch bay
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352594_1243102685_20140806_005226.jpg&hash=f21903eed4a00be4c4dd9e0c0f6f3afb928c26a0)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352596_1179274665_20140806_005453.jpg&hash=a9c72caa563386c728cd0764e1a10316bf90c034)

Input for USB MIDI cable, and Output for GP-10 MIDI - clicked "Connect"

then from the JACK AUDIO Connection Kit app main panel, I clicked "Start" -but only get a long error message and among the messages in red was:
"Could Not connect to Jack Server as Client.
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352598_2052364080_20140806_005526.jpg&hash=5c9450d632851fe5fc22fe2844b0b8be555fa6ad)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352600_228433304_20140806_005550.jpg&hash=1b471b4abc9d32f08d1d9e9ed739d3ec0c825975)

I have no Ethernet connected  to my Raspberry Pi - maybe this is required during initial setup?
   
I will make another attempt tomorrow - but there appears to be a few significant steps not documented yet and the provided instructions need an additional  3-4 page expansion describing specific details on how to make this fly.  -
I'm confident eventually we will get this sorted out - typical first day teething pains

( Work in progress Instructions here)
https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9786 (https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9786)
 

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on August 06, 2014, 02:20:22 AM
From my 5 minutes of Pi B+ research, NOOBS is New Out Of Box System, which give you the option of which operating system you want installed.
Typical Linux systems require a network connect to the internet to download required modules.
I guess I will find out soon enough.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 06, 2014, 04:49:41 AM
I had no idea the Pi was so powerful. Do I understand correctly - the Pi is doing the processing in those vids where people built their own effects/modeling boxes?

I did an album years ago on a desktop box running Ubuntu. The DAW was called Ardour. The soft synths were pretty terrible at the time - I got a JV1010 off Craigslist for synths.

I would imagine by now there is a halfway decent linux sampler? If that could be made to work, I might never need to bring a notebook computer to a gig again.

Can't wait to get my Pi. It's backordered on Amazon. Supposed to get here Friday.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 06, 2014, 06:13:18 AM
Hi Elantric,

My instructions aren't that good :-[! My apologies. Yes the initial noobs install is just a compressed install and then once you start the PI, It prepares the card for the actual NOOBs OS. When you do this you have to be connected to the network because I believe it does do some updates to some low level driver as well reformats the card for the OS. Also you need to make sure when the option pops up to boot into the command line prompt or the desktop, to choose "Desktop" and not the command line prompt. This can be changed by typing "sudo raspi-config" at the command line prompt and select option 3 which is "Enable Boot to Desktop/Scratch". by doing this, you don't have to enter a password and it will boot directly to the desktop. You will need this if you are to use this cable free.

Don't worry about the error message for QjackCtl. You don't need to hit the start button. if you are using it for audio though you will. You need to install the GP-10 as outline in one of the webpages in the in the instructions. <<http://www.rncbc.org/drupal/node/76>> (see attached PDF)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.rncbc.org%2Fdrupal%2Ffiles%2Ffinalconnsaudio.png&hash=442bea32eb5ae10d49cc65968a3f1c4db2e72998)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.rncbc.org%2Fdrupal%2Ffiles%2Ffinalconnsmidi.png&hash=7609ffd845e7686bc68b6682800dbfd37c6dd08e)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.rncbc.org%2Fdrupal%2Ffiles%2Ffullpatchbayconnected.png&hash=289e8bae8235164d327461489dcdc54d36f9d2bf)

Finally I messed up the RIGHT-CLICK and LEFT-CLICK. They should be reversed in the document  :(.

You have a lot of updating to do!  :P.

After 6 hours, the image is 50%. By the time you get home from work it will done but it will take probably 6 hours to download  ::). Hopefully not.

Keep me updated!!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: mbenigni on August 06, 2014, 06:36:44 AM
I'm just chiming in to say that everything about this thread is awesome.  Great work, loulea!  I'm trying hard to resist ordering a Pi and getting roped into another hobby.  :)  Maybe I'll try to catch up after you guys have cleared the path for us.  Thanks in advance!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 06, 2014, 06:50:39 AM
Quote from: mbenigni on August 06, 2014, 06:36:44 AM
I'm just chiming in to say that everything about this thread is awesome.  Great work, loulea!  I'm trying hard to resist ordering a Pi and getting roped into another hobby.  :)  Maybe I'll try to catch up after you guys have cleared the path for us.  Thanks in advance!

You are all welcome! The image will make it easier. Still chugging away!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: drbill on August 06, 2014, 08:11:49 AM
Ditto on the awesome!

I could throw my GP-10 & Softstep in a backpack with no computer for rehearsals.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 06, 2014, 10:17:23 AM
Just in time for the Roland / Boss USB to 5 pin MIDI adapter
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fcdn2.bensimages.com%2Fdeals%2F2014%2F08%2F06%2F09%2Fraspberry-pi-b-b-plus-512mb-img26218m.jpg&hash=653e3d9d0d1f40b1bcf6bc788560cc124ab90f2b)
http://www.newegg.com/Product/Product.aspx?Item=N82E16813142003&Tpk=N82E16813142003 (http://www.newegg.com/Product/Product.aspx?Item=N82E16813142003&Tpk=N82E16813142003)
Newegg has the Raspberry Pi B+ (B Plus) 512MB Motherboard/CPU/VGA MicroComputer (Summer 2014 model) for $36 - 10% off with coupon code VCO [Exp 8/25] when you check out with Visa Checkout = $32 with free shipping. Features a Broadcom BCM2835 applications processor, 512MB SDRAM, full size HDMI, ethernet and 4 x USB 2.0 ports.

This credit card sized computer plugs into your TV/keyboard, and does the common tasks a desktop PC can do.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 06, 2014, 11:18:53 AM
Even though I don't have a GP10 yet I allmost pulled the trigger on one of these, but think I'll wait another 10-12 days to see if you guys finish sorting these out.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 06, 2014, 11:26:41 AM
I ordered a couple more Raspberry Pi Rev B+ board from Newegg, to play with and use for other uses.


https://github.com/raspberrypi/documentation (https://github.com/raspberrypi/documentation)


http://www.raspberrypi.org/help/faqs/ (http://www.raspberrypi.org/help/faqs/)

http://www.raspberrypi.org/resources/learn/ (http://www.raspberrypi.org/resources/learn/)

http://store.raspberrypi.com/projects (http://store.raspberrypi.com/projects)


(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.raspberrypi.org%2Fwp-content%2Fuploads%2F2012%2F12%2FPiStore-Screen04.png&hash=5b2c7e79c07e087815f121dc4209b74d4cc3ada1)
This thing includes a free copy of Mathmatica - and that used to cost $$ back in the mid 1980s and everyone at Cal-Tech / JPL had used this for advanced simulation / and math calculations.
http://www.wolfram.com/raspberry-pi/ (http://www.wolfram.com/raspberry-pi/)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.wolfram.com%2Fraspberry-pi%2Fimages%2Fwolfram-language-and-mathematica-free-on-every-raspberry-pi.png&hash=d7fbb76b1931c1057d5d43a0c132cfeb0973c2c5)

In my short time - i'm extremely impressed with Raspberri Pi and its many uses  - could even run Libre Office !


The short sighted folks who read  "Add 5pin MIDI I/O Control to GP-10 with Raspberry Pi & QJackCtl" may be missing the fact that this same strategy can also Add 5pin MIDI I/O Control to Boss GT-001 too!


This on my wish list - i might buy another Raspberry PI and dedicate it to audio I/O work  / recording

Wolfson Pi Audio Card for Raspberry Pi
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F51naeOJ2u%252BL.jpg&hash=94822c1f7b2277594ebee5f0b26b728b794f1144) 

http://youtu.be/bLcW70tcBX8 (http://youtu.be/bLcW70tcBX8)
http://youtu.be/zzemdS4s8kk (http://youtu.be/zzemdS4s8kk)


http://www.pcworld.com/article/2023218/turn-your-raspberry-pi-into-a-tiny-linux-laptop.html (http://www.pcworld.com/article/2023218/turn-your-raspberry-pi-into-a-tiny-linux-laptop.html)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fcore4.staticworld.net%2Fimages%2Farticle%2F2012%2F12%2Fraspberry-pi-to-go-100019194-large.jpg&hash=51c44fd06877c44435e603dd7f38c100159460d7)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fimages.techhive.com%2Fimages%2Farticle%2F2012%2F12%2Fraspberry-pi-to-go-inside-100019195-medium.jpg&hash=d95421256dcae4127f923d1364a9bcf37aa0663a)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 06, 2014, 12:22:27 PM
OK All,

The upload of my SD Image for the PI is complete. Let me know if you want it and I can send you link. I wont post as on the forum yet. We'll just keep it to members for now.

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 06, 2014, 12:24:00 PM
Please send it to me. Thanks
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 06, 2014, 12:45:47 PM
Quote from: whippinpost91850 on August 06, 2014, 12:24:00 PM
Please send it to me. Thanks

You should have it! Enjoy!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 06, 2014, 12:52:04 PM
Loulea, Thanks so much for your hard work, I just pulled the trigger on a GP10 ,because this will allow me to make it work in my rig. Thanks Paul
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 06, 2014, 01:03:44 PM
Quote from: whippinpost91850 on August 06, 2014, 12:52:04 PM
Loulea, Thanks so much for your hard work, I just pulled the trigger on a GP10 ,because this will allow me to make it work in my rig. Thanks Paul

More than welcome! Once you get the GP-10, you will need to setup JackCtl so you are not out of the woods yet.  ;). The link I provided earlier in the material should help.

I'm on summer vacation this week otherwise I wouldn't have the time.  ;D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 06, 2014, 01:09:39 PM
bump - as I just added screen shots of last nights 1st day with Raspberry Pi here
https://www.vguitarforums.com/smf/index.php?topic=11998.msg87313#msg87313 (https://www.vguitarforums.com/smf/index.php?topic=11998.msg87313#msg87313)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 06, 2014, 01:21:50 PM
Quote from: Elantric on August 06, 2014, 01:09:39 PM
bump - as I just added screen shots of last nights 1st day with Raspberry Pi here
https://www.vguitarforums.com/smf/index.php?topic=11998.msg87313#msg87313 (https://www.vguitarforums.com/smf/index.php?topic=11998.msg87313#msg87313)

You have to apply the same settings in the "Connect" setting also. Then you need to set the same thing in the "Patchbay" setting as well. Save the setup when done. If I get some time I will take some screen shots as well but my image should have it connected already.

Man, once you get it going you are going to be so happy ;D!!!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 06, 2014, 01:28:52 PM
I'm still learning and getting up to speed

Question? Should I have used (Raspi-Config)  and performed the: "Expand Filesystem" command?  ( Ensures that all of the SD card storage is available to the OS) ?
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352555_2068653899_20140806_001142.jpg&hash=b2a79ea9fc359e5198780ceb04d2c663d3401773)


https://github.com/raspberrypi/documentation/blob/master/configuration/raspi-config.md (https://github.com/raspberrypi/documentation/blob/master/configuration/raspi-config.md)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 06, 2014, 01:29:02 PM
Quote from: loulea on August 06, 2014, 01:03:44 PM
More than welcome! Once you get the GP-10, you will need to setup JackCtl so you are not out of the woods yet.  ;). The link I provided earlier in the material should help.

I'm on summer vacation this week otherwise I wouldn't have the time.  ;D
is JackCtl a seperate purchase if so from where
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 06, 2014, 01:31:40 PM
Quote from: whippinpost91850 on August 06, 2014, 01:29:02 PM
is JackCtl a seperate purchase if so from where

No! It is all included!! Built in! No worries on that! You just have to set it up. Look Elantric's post on how he activated it.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 06, 2014, 01:31:59 PM
Quoteis JackCtl a seperate purchase if so from where

Its all included in the RASPIAN OS  - which is a free download.

For my 1st Raspberry Pi, I elected to order a kit that included all Raspberry Pi OS's and Noobs preinstalled on the included SD card
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352560_927419774_20140806_001515.jpg&hash=8fe92383ea34b4271d1c71dc9b1947dabfd5303e)
I ordered this one - which includes a few accessories and the loaded SD card
Raspberry Pi Model B+ Complete Starter Kit [Made in the UK]
http://www.amazon.com/gp/product/B00L87YMGM/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 (http://www.amazon.com/gp/product/B00L87YMGM/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407357273_771462062_RP_Amazon.PNG&hash=092b46fbf9cd80f50ca80f598920a1d8234f8ff5)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 06, 2014, 01:37:27 PM
I find it amusing it says GP10 right on the Raspberry circuit board ???
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 06, 2014, 01:38:05 PM
Quote from: Elantric on August 06, 2014, 01:28:52 PM
I'm still learning and getting up to speed

I should have used "Raspberry Pi Software Configuration Tool (Raspi-Config)

and performed the: "Expand Filesystem" command ( Ensures that all of the SD card storage is available to the OS) ?
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2172014%2F1407352555_2068653899_20140806_001142.jpg&hash=b2a79ea9fc359e5198780ceb04d2c663d3401773)


https://github.com/raspberrypi/documentation/blob/master/configuration/raspi-config.md (https://github.com/raspberrypi/documentation/blob/master/configuration/raspi-config.md)

You also should configure it to boot into the desktop using the Raspi-config, item 3. You won't have to login and it will go strait to the desktop. My image launches it automatically and configures JackCtl. Will you be able to try it tonight?

I'm just as excited. This little box is amazing. It really gets you thinking!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 06, 2014, 01:40:01 PM
QuoteMy image launches it automatically and configures JackCtl. Will you be able to try it tonight?

Cant start until 10:00pm tonight - but I'll report my results asap!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 06, 2014, 01:54:08 PM
i'm really getting excited about this project, It's bee awhile since I've done any electronics project and this is my first into computer type stuff. Just ordered same Raspberry PI kit as Elantric and the GP10 earlier today 8)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 06, 2014, 01:55:38 PM
QuoteI find it amusing it says GP10 right on the Raspberry circuit board
Actually that is "GPIO" printed on the PCB  = "General Purpose Input  / Output
(https://9to5toys.files.wordpress.com/2014/07/raspberry-pi-b-computer.jpg?w=1316&h=886)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 06, 2014, 01:58:05 PM
I figured it meant something else, but just find it ironic considering it's the GP10 savior to not have to have Computer on Stage
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 06, 2014, 02:02:59 PM
QuoteI figured it meant something else, but just find it ironic considering it's the GP10 savior to not have to have Computer on Stage


When I get this working with GP-10 , my next attempt will be adding 5 pin MIDI I/O to the Boss GT-001 

Raspberry Pi (http://www.scribd.com/doc/163915205/Raspberry-Pi#)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 06, 2014, 02:21:36 PM
Quote from: Elantric on August 06, 2014, 02:02:59 PM

When I get this working with GP-10 , my next attempt will be adding 5 pin MIDI I/O to the Boss GT-001

You are going to see how easy it is. Add it to that it to that forum as well. Do have a GT-001 as well? You must be a Roland/Boss Rep!! ;)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 06, 2014, 08:15:32 PM
Found this user manual for the PI from Element14 who are part of the Raspberry PI foundation and owns Newark Electronics. I ordered my PI from these guys and it came the next day. Try these guys if deciding to buy one.

http://www.mcmelectronics.com/content/ProductData/Manuals/83-16333.pdf (http://www.mcmelectronics.com/content/ProductData/Manuals/83-16333.pdf)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on August 07, 2014, 03:08:37 AM
Might as well get the most out of the Pi, not just as a USB/Midi cross connect, but as a midi synth too.

PiTron Mellotron
The TronPi - A Raspberry Pi Mellotron Emulator (http://www.youtube.com/watch?v=mftY3sngEzk#ws)

Piana Analog type synthesis
PIANA Chamber Orchestra ... (http://www.youtube.com/watch?v=r0-Geuysv2M#ws)

More about PIANA that employs SEVEN linked Raspberry Pi's!

Phil Atkins Blog
Soft synths and iPads and Raspberry Pi
http://raspberrypisynthesizer.blogspot.com/ (http://raspberrypisynthesizer.blogspot.com/)



Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Spider on August 07, 2014, 04:29:48 AM
This is very very inspiring...
https://www.youtube.com/watch?v=Pycl9Oi1tv8 (https://www.youtube.com/watch?v=Pycl9Oi1tv8)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 07, 2014, 05:14:54 AM
A sampler would be an ideal complement to the GP-10 IF it could be made rock solid stable/reliable. https://www.youtube.com/watch?v=wUVFfxqXjIc (https://www.youtube.com/watch?v=wUVFfxqXjIc) 

Also, adding a small display would make it handy for other things, too:
Set break DJ
Play Tracks
full screen clock or countdown timer
looper

Personally I'm going to just get MIDI working and give it 100 shows to see how reliable it is first. I would like the extra features but I can't take the load of any more gear stress at the moment. It's overwhelming just learning to play the GP-10.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 06:58:27 AM
Discovered that there is a possibility that you could damage the SD card if you remove power without shutting down properly  :o! This could be a bummer if your on stage after a brown out after which the PI doesn't boot. I'm implementing a shutdown switch via the GPIO on mine, so for your PI, make sure you do a safe shutdown via software. The shutdown switch is going to be needed when you don't have a keyboard and mouse. I'll let you know when it is implemented and I can provide the details.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: mbenigni on August 07, 2014, 06:59:25 AM
This topic keeps bringing me back to a different approach:

I keep thinking that a capable iOS developer could write an app that ran in the background monitoring all I/O on the lightning port, detecting proprietary Roland packets, and sending out translated MIDI information to MIDI-aware apps.  And/or vice-versa.  Effectively, a GP-10 MIDI driver for iOS.  It's a tall order (Objective-C kicks my ass at any rate) but am I missing something that would make it impossible?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 07:03:34 AM
Quote from: mbenigni on August 07, 2014, 06:59:25 AM
This topic keeps bringing me back to a different approach:

I keep thinking that a capable iOS developer could write an app that ran in the background monitoring all I/O on the lightning port, detecting proprietary Roland packets, and sending out translated MIDI information to MIDI-aware apps.  And/or vice-versa.  Effectively, a GP-10 MIDI driver for iOS.  It's a tall order (Objective-C kicks my ass at any rate) but am I missing something that would make it impossible?

I was thinking the same thing! Need a good programmer!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: mbenigni on August 07, 2014, 07:07:17 AM
Quote from: loulea on August 07, 2014, 07:03:34 AM
I was thinking the same thing! Need a good programmer!

Glad to hear it - makes me feel OK about semi-hijacking your thread.  ;)   Yes, we would need a good programmer, armed with a lot of proprietary Roland info.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 07:24:40 AM
Quote from: mbenigni on August 07, 2014, 07:07:17 AM
Glad to hear it - makes me feel OK about semi-hijacking your thread.  ;)   Yes, we would need a good programmer, armed with a lot of proprietary Roland info.

Everything you would need would be in their  Midi Implementation document which is available on their downloads page. The only thing we don't have is the driver details for the USB but since PI takes care of that we can give the go ahead to our developer for the APP. The PI would take commands from the IPAD and get the data VIA MIDI and display similar to the Boss Tone Studio program. You got me going now! ;D

Let me know how much you are willing to fork out  ;)!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: mbenigni on August 07, 2014, 07:49:22 AM
QuoteThe only thing we don't have is the driver details for the USB but since PI takes care of that we can give the go ahead to our developer for the APP. The PI would take commands from the IPAD and get the data VIA MIDI and display similar to the Boss Tone Studio program.

Not certain we're on the same page here.  I'm talking about taking the Pi out of the equation (LOL) altogether.  In other words, the iOS app in the background would need to translate any MIDI to/from USB I/O that was directly parse-able by the GP10.  You're correct in saying that we would first need the USB driver spec (probably the Mac version, but either way I suspect this would be a major undertaking.)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 07, 2014, 08:01:33 AM
I'm committed to the Pi route and I am SOOOO grateful for the work done so far and going into the future.

iOS sounds neat. A PIC solution (e.g. Arduino type) would be ideal for me because it would be reliable, rugged, fungible, permanently installed, and cheap. My main concern for control devices is reliability.

Really hoping something comes along to make GP-10 usable with Arduino USB Host. Until then I'm game to contribute anything I can to this project.

Another idea for shutdown: maybe more work than what you're exploring, but can you assign a key command to shutdown on the Linux desktop? If so it might be worth the effort to yank the board out of thrift store keyboard and make a button just for that key combo.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 08:10:24 AM
Turns out all I had on hand were blank 64GB Micro SD cards.

I'll have 16GB SD cards arriving Friday actually later today! - though its possible the source image file has an issue. When I unzipped the source Image file - Here at my end  the 2GB source file unzipped to 16GB, but I get an error message
When I installed the  16GB Image from Loulea , and installed in my Pi, I only had solid red LEDs on the Pi, and after waiting 2 minutes, I never got it to boot.
- so the journey continues.

   
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: mbenigni on August 07, 2014, 08:11:13 AM
QuoteiOS sounds neat ... My main concern for control devices is reliability.
I like the native iOS idea for this very reason.  No device is as reliable as, well, no device.  :)  But it's a tough nut to crack.  What would be really extra super nice is if Roland were to develop this app.  They have the knowledge, the legal privilege, the resources... and it would help them keep their GP-10's flying off shelves.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 07, 2014, 11:05:10 AM
Quote from: mbenigni on August 07, 2014, 08:11:13 AM

I like the native iOS idea for this very reason.  No device is as reliable as, well, no device.  :)  But it's a tough nut to crack.  What would be really extra super nice is if Roland were to develop this app.  They have the knowledge, the legal privilege, the resources... and it would help them keep their GP-10's flying off shelves.
Man I hope they at least have on their to-do list to make a firmware version that allows the GP-10 to function as a class-compliant MIDI device. I'm new to all this Roland stuff but it doesn't seem too far-fetched; they seemed rushed to get the GP-10's out the factory door, to release Boss Tone Studio, etc.. maybe they meant to but just didn't finish in time?

Hope for the best, prepare for the worst, right?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: mbenigni on August 07, 2014, 11:13:59 AM
Class-compliance is the best-case scenario, definitely.  But this means modifying code that's running within the GP-10, where we can't be sure what restrictions (CPU/memory resources, hardwired components, etc.) might be show-stoppers.  If they can't make the GP-10 rise to the occasion, it certainly seems that turning the iPad into a third GP-10 compatible client should be feasible.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 12:43:57 PM
I don't know Elantric, I downloaded the image, unzipped it and loaded it on a 32GB card and it worked fine. You have to make sure your using the correct software to first wipe the card a and format it. Then use the software I pointed out to load it
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 12:48:34 PM
I used all the apps (and instructions)you provided the links to.

Will retry tonight with genuine 16GB card
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 01:22:21 PM
Quote from: Elantric on August 07, 2014, 12:48:34 PM
I used all the apps (and instructions)you provided the links to.

Will retry tonight with genuine 16GB card

Great! Just wanted to make sure. Have fun!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 01:39:19 PM
Class compliance? ::) We can all dream as we are doing now. Implementing the GP-10 on the IPAD would really break out Roland. They have a great product. I have several Roland products ranging from Pedals, synth modules to my GR-50 guitar synthesizer which was the back bone of my music development. Not hosting the GP-10 on the IPAD is a big miss and I think you guys are right! They probably were rushing! Let's hope their is firmware update coming soon or an IOS change to update the MIDI engine include the driver.

Great ideas so far!

BTW, I've implemented the shutdown feature. I read the state of a GPIO pin that is pulled HI and then shut down after 5 seconds. So holding down a pushbutton for 5 seconds will shutdown the PI less than that, it remains on. The 5 seconds prevents accidental activation if you are at a gig. This implementation will prevent the possibility of damaging your SD card when no keyboard or mouse is attached. Learning Python!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: mbenigni on August 07, 2014, 01:48:52 PM
Quote from: loulea on August 07, 2014, 01:39:19 PM
BTW, I've implemented the shutdown feature. I read the state of a GPIO pin that is pulled HI and then shut down after 5 seconds. So holding down a pushbutton for 5 seconds will shutdown the PI less than that, it remains on. The 5 seconds prevents accidental activation if you are at a gig. This implementation will prevent the possibility of damaging your SD card when no keyboard or mouse is attached. Learning Python!

Great stuff, man!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 02:04:29 PM
QuoteBTW, I've implemented the shutdown feature. I read the state of a GPIO pin that is pulled HI and then shut down after 5 seconds. So holding down a pushbutton for 5 seconds will shutdown the PI less than that, it remains on. The 5 seconds prevents accidental activation if you are at a gig. This implementation will prevent the possibility of damaging your SD card when no keyboard or mouse is attached. Learning Python!

Will there be a new distribution of the 16GB Image file with these improvements included? ( had to ask!)

I should know by 5:00pm if my current imagge file will work  -  the new 16GB cards are  here on my desk know

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 02:06:24 PM
Quote from: loulea on August 07, 2014, 01:22:21 PM
Great! Just wanted to make sure. Have fun!

Apparently, the PI can only handle up to 32GB. See this article  [http://theurbanpenguin.com/wp/?p=2333 ]

"1.We start with NOOBS. This is recommended on the site but has a couple of limitations. Firstly the NOOBS boot loader can only access partitions with a maximum size of 32 GB. So if you want a 64 GB card then you will need to create two partitions. The second is the supported filesystem; it does not support FATex (exFAT) and this will be the default on most larger SD cards. So not only will you need to repartition you will have to download additional tools that will format in FAT32 if you are using Windows. Even the linked SD card formatting tool on the Rasberry Site will only format in FATex (exFAT) on Windows 7. NOOBS is a boot loader at not an OS but it will add the selection of OSs from the download site so you can switch between the different versions during boot if you hold down the SHIFT key on the keyboard."
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 02:11:59 PM
Quote from: Elantric on August 07, 2014, 02:04:29 PM
Will there be a new distribution of the 16GB Image file with these improvements included? ( had to ask!)

I should know by 5:00pm if my current imagge file will work  -  the new 16GB cards are  here on my desk know

I am now just preparing to upload. This will take about 6 hours given last time! I can download 10GB files in 40 mins to an hour but uploading takes longer. This new image has TightVNC so you can remote in as well but you guys may not use it. I think I've spent more time on the PI than the GP-10!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 04:46:13 PM
More problems (see below)

I have a new 16 GB Micro SD card
http://www.newegg.com/Product/Product.aspx?Item=N82E16820220877 (http://www.newegg.com/Product/Product.aspx?Item=N82E16820220877)

Patriot LX Pro Series 16GB microSDHC Flash Card Model PSF16GMCSHC10BK - OEM
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F41NuijUp3TL.jpg&hash=f21559d9af619090205aef0d55c5e18cb6b7dc15)



1) I used SD Format did a "quick format" - for FAT 32  (maybe that s the problem?, as I'm used to format utilities that allow me to define the sector size, etc. )
( * FWIW - my old 64GB card  would only format as "exFAT" - required for larger drives, and that must have been yesterdays problem)   


2) then I used Win32 Disk Imager app - But I see zero options - its just point to source *.IMG file, and then choose a destination SD Card Drive

But now I get this error:
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2182014%2F1407455132_1742864786_error.PNG&hash=20cf8c52432965d3018f53afc9fb1426be225bdf)

EDIT:

turns out the IMG file is 14.9GB  - but sadly most 16GB microSD cards in FAT32 format result with only 14.6GB available, which is too small for the 14.9GB IMG.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 05:38:39 PM
At a baseball game but I will take screen shots and document the procedure when I get home later :).
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 05:46:49 PM
Maybe I need to know the make / model of your brand of  16 GB SD Card?

Or maybe you can snail mail one to me after I pay you ?

I suspect we are getting clobbered by the compressing  / uncompressing of the good 16GB IMG file.

WinRAR did report "Error" 

I will now try the native Windows 7 unzip function built into MS Explorer

EDIT:

Same issue - all my  16GB SD cards all report they are too small for the (15,646,720 KB)  IMG file .

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407457351_221625377_RPI_IMAGE_16GB_1.PNG&hash=f2850540ece933ab9dfb82e268645022515c8a0a)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on August 07, 2014, 06:00:04 PM
Quote from: loulea on August 06, 2014, 12:22:27 PM
OK All,

The upload of my SD Image for the PI is complete. Let me know if you want it and I can send you link. I wont post as on the forum yet. We'll just keep it to members for now.

Thanks for your work on this. Much appreciated! Could I have the link too?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 06:07:46 PM
Quote from: BackDAWman on August 07, 2014, 06:00:04 PM
Thanks for your work on this. Much appreciated! Could I have the link too?

When the new one uploads I will for sure. ;)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: thebrushwithin on August 07, 2014, 06:41:05 PM
Hey Loulea, you are making some wishes come true with this fantastic work! May I also have the link, when you get a chance? Thank you!!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 06:50:21 PM
Quote from: Elantric on August 07, 2014, 05:46:49 PM
Maybe I need to know the make / model of your brand of  16 GB SD Card?

Or maybe you can snail mail one to me after I pay you ?

I suspect we are getting clobbered by the compressing  / uncompressing of the good 16GB IMG file.

WinRAR did report "Error" 

I will now try the native Windows 7 unzip function built into MS Explorer

EDIT:

Same issue - all my  16GB SD cards all report they are too small for the (15,646,720 KB)  IMG file .

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407457351_221625377_RPI_IMAGE_16GB_1.PNG&hash=f2850540ece933ab9dfb82e268645022515c8a0a)

Sure as a last resort if you want I could send you one but first I'm documenting the process and I will post. I'm downloading the image now and then taking screen shots like you have done.

attached is the Kensington card I'm using! 16GB
I will be using the Sandisk card for the demo later. 32GB
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 06:52:05 PM
Quote from: thebrushwithin on August 07, 2014, 06:41:05 PM
Hey Loulea, you are making some wishes come true with this fantastic work! May I also have the link, when you get a chance? Thank you!!!

Definitely!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 07:22:51 PM
I used these, but  Win32 DiskImager reports these are too small for the 16GB IMG file!

http://www.newegg.com/Product/Product.aspx?Item=N82E16820220877 (http://www.newegg.com/Product/Product.aspx?Item=N82E16820220877)

Patriot LX Pro Series 16GB microSDHC Flash Card Model PSF16GMCSHC10BK - OEM
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F41NuijUp3TL.jpg&hash=f21559d9af619090205aef0d55c5e18cb6b7dc15)



QuoteI don't know Elantric, I downloaded the image, unzipped it and loaded it on a 32GB card and it worked fine. You have to make sure your using the correct software to first wipe the card a and format it. Then use the software I pointed out to load it

This seems to be my isssue  - I'll dive around and see if i can come up with 32GB  Micro SD cards - I think I have one in my Korg mini Kaoss


(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.gadgetsmagazine.com.ph%2Fwp-content%2Fuploads%2F2012%2F01%2Fkorg-470x354.png&hash=0949afe232a7faaff93a33064ee7207fae6e744e)


I placed an order with amazon for 32GB  Micro SD cards  - but these will not be here until Monday

http://www.amazon.com/gp/product/B00IVPU786/ref=oh_aui_detailpage_o00_s01?ie=UTF8&psc=1 (http://www.amazon.com/gp/product/B00IVPU786/ref=oh_aui_detailpage_o00_s01?ie=UTF8&psc=1)
Samsung Electronics 32GB EVO Micro SDHC with Adapter Upto 48MB/s Class 10 Memory Card (MB-MP32DA/AM)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F61aFG8Ki-rL._SL1500_.jpg&hash=b7148f3e0d3af64beead34dea0463072a6427bef)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on August 07, 2014, 07:28:01 PM
Same as the micro SD cards in cell phones too?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 07:36:04 PM
QuoteSame as the micro SD cards in cell phones too?

Yes- Same as used in my Galaxy Note II - but I have at least six 64GB UHS-1 (exFAT format) cards I use to hold multi-media files on Androids tablets.



But Raspberry Pi apparently does not support more than a 32GB microSD card.   

For past three days Ive had the ZIP file from Loulea named "RPI_Image_16GB.ZIP"  - and dumb me assumed this would unzip and work with a 16GB Micro SD card  - but here at my end  - all I get is this error

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407457542_1450622267_Win32_Disk_Imager_2.PNG&hash=1f672d9d6fe0023cc62ea232ee8614810af7cff7)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 09:00:19 PM
Well - I can tell you this - the Rasperry Pi community seems to have a large user base - but along with that comes the mis-information,

I finally located important information  regarding SD Card Formating instruction with specific details for Raspberry Pie - buried in a "Read_Me.txt"  file for the NOOBS

(copy is below) 



1. Insert an SD card that is 4GB or greater in size into your computer.
2. Format the SD card using the platform-specific instructions below:
   a. Windows
      i. Download the SD Association's Formatting Tool from https://www.sdcard.org/downloads/formatter_4/eula_windows/ (https://www.sdcard.org/downloads/formatter_4/eula_windows/)
      ii. Install and run the Formatting Tool on your machine
      iii. Set "FORMAT SIZE ADJUSTMENT" option to "ON" in the "Options" menu
      iv. Check that the SD card you inserted matches the one selected by the Tool
      v. Click the "Format" button
   b. Mac
      i. Download the SD Association's Formatting Tool from https://www.sdcard.org/downloads/formatter_4/eula_mac/ (https://www.sdcard.org/downloads/formatter_4/eula_mac/)
      ii. Install and run the Formatting Tool on your machine
      iii. Select "Overwrite Format"
      iv. Check that the SD card you inserted matches the one selected by the Tool
      v. Click the "Format" button
   c. Linux
      i. We recommend using gparted (or the command line version parted)
      ii. Format the entire disk as FAT
3. Extract the files contained in this NOOBS zip file.
4. Copy the extracted files onto the SD card that you just formatted so that this file is at the root directory of the SD card. Please note that in some cases it may extract the files into a folder, if this is the case then please copy across the files from inside the folder rather than the folder itself.
5. Insert the SD card into your Pi and connect the power supply.

Your Pi will now boot into NOOBS and should display a list of operating systems that you can choose to install.
If your display remains blank, you should select the correct output mode for your display by pressing one of the following number keys on your keyboard:
1. HDMI mode - this is the default display mode.
2. HDMI safe mode - select this mode if you are using the HDMI connector and cannot see anything on screen when the Pi has booted.
3. Composite PAL mode - select either this mode or composite NTSC mode if you are using the composite RCA video connector.
4. Composite NTSC mode

If you are still having difficulties after following these instructions, then please visit the Raspberry Pi Forum ( http://www.raspberrypi.org/phpBB3/ (http://www.raspberrypi.org/phpBB3/) ) for support.




SO back to

Step 1 ) Use SD Formattter V4.0 set options to FULL (Overwrite) and set Size Adjustment = "ON" (takes around 30 minutes)

(after 1 minute 1% done)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407470749_1299733229_sd_format_2.PNG&hash=5151476014f04eee81a01f4ebc18480adb4f6a88)


(after 20 minutes later - 86% done)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407471934_871683852_sd_format_3.PNG&hash=73695a9a8d73e1add3d5c304e7e9467154c198ab)

(after 26 minutes later - 100% done)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407472135_441814869_sd_format_4.PNG&hash=57d3078f73de201916b0196ddcb403282c8d27f0)


After formatting, right click on "properties" and Windows 7 reports:

"Removable Disk  I: Properties:
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407472372_821951414_sd_format_5.PNG&hash=85948785c4d3badd8fa5a0e64fd1c9dabf2928af)


Step 2) Launch Win32_DiskImager, and target the source and destinations .
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407472679_1983270923_Win32_Disk_Imager_3.PNG&hash=6139bfe7bb823259e351c19b762250094a42bb9c)

Click "YES"  and . . . . . .

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407472678_1201291600_Win32_Disk_Imager_4.PNG&hash=a8f836ca07cb19f99748589233c5780224c4b0f7)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: drewfx1 on August 07, 2014, 09:31:47 PM
Quote from: loulea on August 06, 2014, 01:38:05 PM
I'm just as excited. This little box is amazing. It really gets you thinking!

I'm thinking it might be small enough to put inside a guitar (with a decent sized control cavity), no?  :D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 09:51:41 PM
QuoteI'm thinking it might be small enough to put inside a guitar (with a decent sized control cavity), no?
I suppose you could  - although in the application of using RPI ( Raspberry PI) for USB to MIDI I/O converter - the best location is on the floor near the GP-10's USB port.

The RPI runs a bit hot, requires external power supply ( they recommend a +5VDC@ 2000mA supply)


and its 3.5" x 2.25" x .75"  - but add an inch in each direction for cables.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 10:07:36 PM
I ran through the steps tonight and documented them. I don't know exacly why Elantric is having problems but it could be because the image was corrupted while downloading. The attached PDF, documents the steps I did tonight. Elantric, check to see if there is anything you may have missed. check the file size of the downloaded file and see if it matches what I displayed in the document. I can say that this definitely worked for me. Have a look at my instructions and see.

After thinking about it, I did remember that some SD cards do not have the same disk size and this could be the reason. The total size of this image is about 14.9GB. Make sure the resulting size of your card is not below this. Just to be safe, either get a 32GB card or the exact Kensington card I displayed earlier in this post.

Everyone else, you can try this step once you get the new image. it is on its way.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 10:23:54 PM
Quote from:  Elantric
Here is the retry -


Step 1) This time I used 7-ZIP app to unzip your supplied "RPI_IMAGE_16GB.img" (2,323,857,465 packed size)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407456639_248952451_7zip_1.PNG&hash=c139d42c22a7090b1db9d894445539bac7691fe4)

(progress screen)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407456638_1288953210_7zip_2.PNG&hash=99fa9d04a8b796ecc1d1746ad37c3a69b5851f6b)

Resulting IMG file
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407457351_221625377_RPI_IMAGE_16GB_1.PNG&hash=f2850540ece933ab9dfb82e268645022515c8a0a)


Step 2) Use SD Format app and format new 16 GB micro SD card

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407457024_814353324_sd_format_1.PNG&hash=32b043773aff5dbc808c8041bf9837aa88945499)



Step 3)   Run Win32_Disk_Imager (as Administrator)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407457461_1895894550_Win32_Disk_Imager_1.PNG&hash=d39d3b45023a919d289cb86455f0cb42f5c1019e)

Same error  - Not enough Space
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407457542_1450622267_Win32_Disk_Imager_2.PNG&hash=1f672d9d6fe0023cc62ea232ee8614810af7cff7)


Now will place an order for new 32GB Class 10 Micro SD cards to try.

Just Caught the problem. The size of the image is 14.9GB and the formatted size of your card is 14.6GB. This is the reason. The image is 0.3GB bigger than the size of your card. This is just like I pointed out in my last post. Some cards will end up with lower than their advertised size
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 10:33:36 PM
I just  redownloaded the Image file



and here is what i report at the receiving end
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407475632_1435362071_Properties_1.PNG&hash=dbdea06c918b400b7a7c12a9e93e52575601acab)


For comparison here is your original properties ( screen grabbed from your new PDF )  -  - so that looks good.
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407476112_1427853157_Properties_2.PNG&hash=7231060698ba3a79b58a8835a6c6d04652dbf448)



QuoteJust Caught the problem. The size of the image is 14.9GB and the formatted size of your card is 14.6GB. This is the reason. The image is 0.3GB bigger than the size of your card. This is just like I pointed out in my last post. Some cards will end up with lower than their advertised size

Strange that 16GB  SD cards are slightly different sizes depending on vendor.

https://www.sdcard.org/consumers/cards (https://www.sdcard.org/consumers/cards)


That throws a major curve ball for Image restores
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 10:36:14 PM
Quote from: Elantric on August 07, 2014, 10:33:36 PM

I just  redownloaded the Image file
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407475634_130763115_Google_Drive1.PNG&hash=4aa57869f6087742511b793bdbf6570062202150)


and here is what i report at the receiving end - so that looks good.
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407475632_1435362071_Properties_1.PNG&hash=dbdea06c918b400b7a7c12a9e93e52575601acab)

Strange that 16GB  SD cards are slightly different sizes depending on vendor.

That throws a major curve ball for Image restores

You have to use the exact card or larger. I've tested with the larger card and it works fine. 32 GB. Here is some info on the SD card sizes for some light reading. http://smallbusiness.chron.com/sd-card-wont-format-proper-size-70506.html (http://smallbusiness.chron.com/sd-card-wont-format-proper-size-70506.html)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: drewfx1 on August 07, 2014, 10:36:31 PM
Quote from: Elantric on August 07, 2014, 09:51:41 PM
I suppose you could  - although in the application of using RPI ( Raspberry PI) for USB to MIDI I/O converter - the best location is on the floor near the GP-10's USB port.

I was really just brainstorming about what it might be useful for.

There's not enough horsepower to do much DSP, but since it seems it has a fair amount of I/O and you can connect generic switches and whatnot to it and program them to send midi (or whatever) through whatever's connected to it (or even over WIFI), you could have any controllers you could desire right there.

If I had more time to waste on such things, I could almost talk myself into ordering one...
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 10:38:16 PM
Quote from: drewfx1 on August 07, 2014, 10:36:31 PM
I was really just brainstorming about what it might be useful for.

There's not enough horsepower to do much DSP, but since it seems it has a fair amount of I/O and you can connect generic switches and whatnot to it and program them to send midi (or whatever) through whatever's connected to it (or even over WIFI), you could have any controllers you could desire right there.

If I had more time to waste on such things, I could almost talk myself into ordering one...

Bite the bullet!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 10:41:48 PM
QuoteThere's not enough horsepower to do much DSP, but since it seems it has a fair amount of I/O and you can connect generic switches and whatnot to it and program them to send midi (or whatever) through whatever's connected to it (or even over WIFI), you could have any controllers you could desire right there.

RPI is rather powerful ( running Raspian OS and surfing the net felt like the power of a mid 90's Windows Pentium 3 PC Tower ) - but know that other "open source" processors might be better suited for internal guitar and offer lower current consumption.
http://www.arduino.cc/ (http://www.arduino.cc/)
http://store.arduino.cc/product/A000053 (http://store.arduino.cc/product/A000053)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fstore.arduino.cc%2Fbmz_cache%2Fb%2Fbe8f60d274a98fb4521f5ed87e0c7aaa.image.538x354.jpg&hash=f3cb3c7dd60418fbe2fdb6cdc288379cfc1c7942)

http://youtu.be/F-te4qkbh28 (http://youtu.be/F-te4qkbh28)

http://youtu.be/jRqLFn9rDJs (http://youtu.be/jRqLFn9rDJs)

It would be rare to need a HDMI Video on a guitar

But hey - what do I know! - Do what ever floats YOUR boat;)

http://youtu.be/M2eiP12hQQY (http://youtu.be/M2eiP12hQQY)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 11:20:12 PM
QuoteIf I had more time to waste on such things,

Often things that first appear to be a "waste of time", can often lead to numerous paths of unforeseen opportunities that just might help put food on the table down the road.  - thats been my experience.  I bought a Commodore Vic 20 in 1982, with the idea of using it to create an automated Guitar FX re-router / Switcher, and that excursion into early home computers directly led to  landing a gig with NASA/JPL three years later.   
https://www.vguitarforums.com/smf/index.php?topic=82.0 (https://www.vguitarforums.com/smf/index.php?topic=82.0)

QuoteJust Caught the problem. The size of the image is 14.9GB and the formatted size of your card is 14.6GB. This is the reason. The image is 0.3GB bigger than the size of your card. This is just like I pointed out in my last post. Some cards will end up with lower than their advertised size





http://www.epinions.com/review/Kingston_Class_4_Micro_SDHC_without_Adaptor_SDC416GBSP/content_601376919172?sb=1 (http://www.epinions.com/review/Kingston_Class_4_Micro_SDHC_without_Adaptor_SDC416GBSP/content_601376919172?sb=1)



Kingston 16GB Class 4 microSDHC Card
Sep 19, 2012
Review by krial 


. . .   This is a standard microSD card with the normal notched side to prevent it being inserted the wrong way. Like most cards this one is black, but it's really noisy looking with a ton of text across the front. Hey, it's not like you're going to be looking at the card anyway though -- I assume it will be crammed into a phone, camera or some other random device most of the time.

It comes preformatted with the FAT32 file system and has a total formatted capacity of 15,699,279,872 bytes (14.6 GB).

For comparison, the Patriot card had a capacity of 14.9 GB and the

Mushkin had a capacity of 14.4 GB.

 



Ill post this for help if you damage your SD Card

http://youtu.be/N3_jb-zXLcM (http://youtu.be/N3_jb-zXLcM)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 07, 2014, 11:45:08 PM
You will never figure it out Elantric!  ;D

Just uploading the new image. Should be done by morning. 3 am here just playing around with the GP-10. I like it a lot. going to bed. I will send links tomorrow.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 07, 2014, 11:51:30 PM
QuoteI will send links tomorrow.

Will retry with your latest IMG withg a 32GB SD card Friday

In the meantime - I'm having good success using a Sandisk 32GB card from my JamMam Solo XT looper to load the old Aug 6, 2014 Image.
and finally Win32_Disk_Imager - is working, installing the IMG file on the 32GB SD card !
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407481453_124335263_Win32_disk_imager_1.PNG&hash=319a533050ad316d0d2a5b4b03dbf135004c4926)


(After 8 minutes )
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407481770_1784338515_Win32_disk_imager_6.PNG&hash=38741758c3a357a0754b0c47f2e3dd399e8b0102)


(After 15 minutes)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407482282_557729411_Win32_disk_imager_7.PNG&hash=79a1641ca5d59c9d95db7e224dccd36e7c0c446b)

(after 25 minutes )
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407482757_934688581_Win32_disk_imager_8.PNG&hash=0ead6d954aefa96142b6115a35939879abee11a5)



After completion on Win32 DiskImager, - I installed card  into RPI connected  - then to RPI I connected the  HDMI Display monitor, Ethernet RJ-45 cable, Boss GP-10 via USB, and Generic USB MIDI cable - and  . . . .
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 02:34:52 AM
I finally  successful auto booted into desktop using Loulea's Image file on my July 2014 Raspberry Pi B+

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407489242_1755090605_20140808_012719.jpg&hash=19bdba53a72be7409fb293873bc644975bc3a49f)

But I see these error messages:

"Can not connect to server socket er"

"Can not connect to server request channel"

"Jack server is not running or cannot be started"


Here is a copy of the Raspian Message Box

Quote08:23:51.844 Patchbay activated.
08:23:52.021 Statistics reset.
08:23:52.214 ALSA connection change.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
08:23:52.552 ALSA connection graph change.
08:23:52.618 ALSA active patchbay scan...
09:14:40.185 Startup script...
09:14:40.190 pacmd load-module module-jack-source channels=2; pacmd load-module module-jack-sink channels=2;
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
sh: 1: pacmd: not found
sh: 1: pacmd: not found
09:14:40.606 Startup script terminated with exit status=32512.
09:14:40.612 JACK is starting...
09:14:40.616 /usr/bin/jackd -dalsa -dhw:0 -r48000 -p256 -n2 -Xseq
09:14:40.639 JACK was started with PID=2334.
jackdmp 1.9.9
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
control device hw:0
control device hw:0
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|256|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
09:14:42.174 JACK was stopped with exit status=255.
09:14:42.746 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started



Here is the Jack Settings Main page
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407488948_474468730_20140808_013505.jpg&hash=b593a92bd890a11c2f67fd64ad0e23da5bec75bd)

And clicking the right arrow next to "Interface" reveals my own connected hardware is being "seen" by my Raspberry Pi
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407488582_1818455970_20140808_013550.jpg&hash=c6b9121a66ad1e98fb97fc93021427087ddc0075)


Here is the Jack "Options" page  - I see a script is being loaded on startup - "pacmd load - module module - jack sink channel =2:"
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407488505_1593798664_20140808_013624.jpg&hash=7f717cb395579526172995dcb5c3f71e72185bb7)


Here is the Jack "Display" page
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407488391_64032225_20140808_013639.jpg&hash=a26df517fe28a049b26c9d5c79382813160b3f9f)


Here is the Jack "Misc" page
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407488386_960033483_20140808_013649.jpg&hash=f11b50543ee618a8bb0e86e6ce7c7d8b0c185c21)


I observe my Jack patchbay shows same connections as Louleas - but I do not have a Roland UM-1G USB MIDI Interface connected -
Loullea is using a Roland UM-1G
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fi1201.photobucket.com%2Falbums%2Fbb356%2Fahney1979%2Falbum4%2FKGrHqRjgE1uwFdlo7BNq0htLeRQ_12.jpg&hash=d821e551771b61c08df288060542ea4c8e40eeb8)


(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407489159_1581455153_20140808_012829.jpg&hash=57532449c47bfe1ca2d98384c121c36d2660ec8d)
( and that is a remaining problem that needs to be resolved for each individual !)

As typical for Linux systems. I can see this will need to be set to accommodate users actual USB to MIDI I/O cable

* So what are the steps required to change the Patchbay settings from "UM-1G" to an alternate type of USB to MIDI I/O cables?
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407488311_870999387_20140808_013802.jpg&hash=50a3ee07f72cae0890708b4c37b297936fc21572)
https://www.vguitarforums.com/smf/index.php?topic=8393.0 (https://www.vguitarforums.com/smf/index.php?topic=8393.0)

like my Meritline,
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fimages.meritline.com%2Fimages%2Fproduct%2F0%2F0%2F0%2F9%2F9%2Ffull%2F0009966_1_.jpg&hash=731930057063a4f383d3ef538df6123f29a8ba62)

or

ESI MIDIMATE II - USB 2.0 MIDI Interface Cable
http://www.bhphotovideo.com/bnh/controller/home?O=invoice&A=details&Q=&sku=746076&is=REG (http://www.bhphotovideo.com/bnh/controller/home?O=invoice&A=details&Q=&sku=746076&is=REG)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fstatic.bhphoto.com%2Fimages%2Fimages200x200%2F746076.jpg&hash=e5438d26f6f46e2432eff46d7e60c80339032a99)


Time to Start reading this linked PDF doc regarding setting up jack Patch bay for your specific gear:
https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9826 (https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9826)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.rncbc.org%2Fdrupal%2Ffiles%2Ffullpatchbayconnected.png&hash=289e8bae8235164d327461489dcdc54d36f9d2bf)



So - I'm sure folks are asking - after three days is Boss Gp-10 to MIDI I/O working yet  ? -

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407488707_1082855903_20140808_013507.jpg&hash=47250384d8abc4a559804c83d3557171c330f3d9)



Actually No - Still more debug to do - but finally at a point where progress can start being  made.


If there is any one else out there with a Raspberry Pi and Boss GP-10 who wants to assist, jump in!
Find a 32 GB Micro SD card  (avoid the 16GB cards as they vary in size, and not all are the required minimum 14.9GB formated size)  All of my 16GB SD cards here are only 14.6GB formatted, and those do NOT work with the Loulou's 14.9GB image file )
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 08, 2014, 04:28:55 AM
Elantric I just tried to go through the process to write the IMG to the SD card. That much seems to have worked the first time for me. I'm on a Mac, using SDFormatter and Apple Pi Baker http://www.tweaking4all.com/hardware/raspberry-pi/macosx-apple-pi-baker/ (http://www.tweaking4all.com/hardware/raspberry-pi/macosx-apple-pi-baker/) .
My problem now is hardware - it's not here yet. Supposed to be delivered today. (Rubbing hands together)

I'll post my results. Today if I have time (my fantasy is that I'll get it all working and nailed down to something in time to use it tonite.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 06:47:26 AM
Elantric, YOU ARE RIGHT THERE!!! You just need to configure it for your MIDI cable. Don't worry about the JackCtl errors because you will need that for audio but not for MIDI. I will post how to configure for your setup later on. Great news though!! There is a drop down menu that will have your MIDI cable listed. You have to add a new instrument and select it as your new instrument.

More instructions coming up!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 08, 2014, 07:13:46 AM
Loulea, I hope to work on mine on Sunday, Could you please send me the link for the updated version. thanks Paul
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 07:18:49 AM
Quote from: whippinpost91850 on August 08, 2014, 07:13:46 AM
Loulea, I hope to work on mine on Sunday, Could you please send me the link for the updated version. thanks Paul

Yes. Almost done uploading. I've been reading about this from others and apparently I'm not the only one experiencing slow uploads on google.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 08, 2014, 09:38:12 AM
Elantric, glad to hear you're finally getting it sorted. I hope mine comes today so I can get started
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 09:41:02 AM
QuoteYes. Almost done uploading. I've been reading about this from others and apparently I'm not the only one experiencing slow uploads on google.

Actually this has more to do with the significant difference in Internet access speed supplied by  typical high speed internet providers for home users.

Most folks must face the hard fact that uploading speed in all of north america is often much slower than their download speed.     

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407515773_616933933_DSL_Speed.PNG&hash=12706c15f22c54c0502a78213253f80670de3574)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 09:43:05 AM
Sorry gents. The upload stalled over night at 75%. I had to reboot. I started on my wife's computer and it was just at under 55% but unfortunately she closed it and now I have to start over. Another 2-3 hours :(!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 10:03:01 AM
QuoteElantric I just tried to go through the process to write the IMG to the SD card. That much seems to have worked the first time for me. I'm on a Mac, using SDFormatter and Apple Pi Baker http://www.tweaking4all.com/hardware/raspberry-pi/macosx-apple-pi-baker/ (http://www.tweaking4all.com/hardware/raspberry-pi/macosx-apple-pi-baker/) . My card is this: http://www.microcenter.com/product/349729/16GB_Class_10_Secure_Digital_High_Capacity_SDHC_Flash_Media_Card (http://www.microcenter.com/product/349729/16GB_Class_10_Secure_Digital_High_Capacity_SDHC_Flash_Media_Card)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fc773974.r74.cf2.rackcdn.com%2F0349729_073882.jpg&hash=7041aebbe3d9e094ad3cdc485b87e6a5de69eacc)
Those will NOT work ( wrong physical size)

We need the small "micro SD card" ( like used in many Android cell phones) and Class 10 speed for Raspberry Pi!

I suggest use this one  @  32GB , because just like buying fish on Friday, there is a gamble that your specific Make/Model/Type / Manufacturing Date code "16GB micro SD card will actually yield "14.9GB available"  - all of mine from different suppliers ( Sandisk, Samsung, Patriot, only have 14.6GB available  - - too small and  unusable for our needs here.     
Micro Center 32GB Class 10 Micro Secure Digital High Capacity (Micro SDHC) Flash Media Card
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fc773974.r74.cf2.rackcdn.com%2F0385299_299750.jpg&hash=42f71be14ca40bd583d27c321041dbc0bbceff4d)
http://www.microcenter.com/product/385299/32GB_Class_10_Micro_Secure_Digital_High_Capacity_(Micro_SDHC)_Flash_Media_Card (http://www.microcenter.com/product/385299/32GB_Class_10_Micro_Secure_Digital_High_Capacity_(Micro_SDHC)_Flash_Media_Card)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 08, 2014, 10:28:39 AM
LOL I just found that out about an hour ago. UPS arrived, excitement, open box, ****!

I got a free Starbucks coffee on my extra trip to Overland Park, so it's not wasted. Also treated myself to a wireless mouse. And I bought that exact card. ApplePi-Baker is writing loulea's image to it right now.

Is yours working? Have you figured out where/how to mount it? I would love any thoughts on that. One thought I had was inside either an expression pedal or the MIDI pedal I'm waiting on from eBay. It's a cut down version of my favorite, old Roland FC-200. The cut down version is called GFC-50, which might be familiar around here? Anyway it's the exact right dimensions for my pedalboard and I'm assuming it's mostly empty inside? Never cracked my FC-200 because it's near perfect. Only way it could be better would be bus-powered USB, but with batteries and an inline cable, it's close enough...
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.rhapsody.fr%2Fimages%2Fproduit%2F3317%2FRoland-GFC-50.jpg&hash=53fff20db266b9bf7dc935b939491050775eb611)

Other than that I just figured thumbscrews and plastic standoffs, epoxied to wherever it fits best?

BTW I tried to boot my Pi and panicked a little when there wasn't even video. Turns out there's not even bios on the Pi - every line of code apparently is on the SD. Learning learning learning...
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 10:39:32 AM
QuoteIs yours working? Have you figured out where/how to mount it?

Still not working yet.

Loullea is using a Roland UM-1G
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fi1201.photobucket.com%2Falbums%2Fbb356%2Fahney1979%2Falbum4%2FKGrHqRjgE1uwFdlo7BNq0htLeRQ_12.jpg&hash=d821e551771b61c08df288060542ea4c8e40eeb8)


- (trivia  - this product was recently discontinued by Roland - replaced by the new similar looking Roland UM-ONE mk2 that also supports IOS)
http://www.rolandus.com/products/details/1249 (http://www.rolandus.com/products/details/1249)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407519800_984921879_Roalnd_UMONEmk2.PNG&hash=d4a76f49808d8c458e8b887d791ab20361627f1a)

$39.99
http://www.americanmusical.com/Item--i-ROL-UMONEMK2-LIST (http://www.americanmusical.com/Item--i-ROL-UMONEMK2-LIST)


As stated before , we all must read and use the knowledge contained in this doc to set up JACK's ALSA settings to support the specific USB to MIDI I/O cable you are using.


Start reading this linked PDF doc regarding setting up jack Patch bay for your specific gear:
https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9826 (https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9826)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 11:07:19 AM
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.rhapsody.fr%2Fimages%2Fproduit%2F3317%2FRoland-GFC-50.jpg&hash=53fff20db266b9bf7dc935b939491050775eb611)
http://www.roland.com/products/en/GFC-50/ (http://www.roland.com/products/en/GFC-50/)
Manual
http://lib.roland.co.jp/support/en/manuals/res/1811212/GFC-50_e3.pdf (http://lib.roland.co.jp/support/en/manuals/res/1811212/GFC-50_e3.pdf)

The GFC-50 is a convenient, "hands-free" way to change patches when using a Roland V-Guitar Amplifier, etc. Dual Expression Pedal inputs provide optional realtime parameter and volume control.

QuoteAnyway it's the exact right dimensions for my pedalboard and I'm assuming it's mostly empty inside? Never cracked my FC-200 because it's near perfect. Only way it could be better would be bus-powered USB, but with batteries and an inline cable, it's close enough...

You read my mind - I'm looking at installing my Raspberry Pi inside an old 1992 Zoom 8050 MIDi Footcontroller - which is perfect for my needs.
https://www.vguitarforums.com/smf/index.php?topic=2054.0 (https://www.vguitarforums.com/smf/index.php?topic=2054.0)
(https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTmgNqGDLsjwZuyZaqHVt_-XhUjDTH2FtLopNQJd5fUSrtMkMXD)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 11:07:51 AM
Quote from: Elantric on August 08, 2014, 10:39:32 AM
Still not working yet.

Loullea is using a Roland UM-1G
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fi1201.photobucket.com%2Falbums%2Fbb356%2Fahney1979%2Falbum4%2FKGrHqRjgE1uwFdlo7BNq0htLeRQ_12.jpg&hash=d821e551771b61c08df288060542ea4c8e40eeb8)


- (trivia  - this product was recently discontinued by Roland - replaced by the new similar looking Roland UM-ONE mk2 that also supports IOS)
http://www.rolandus.com/products/details/1249 (http://www.rolandus.com/products/details/1249)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407519800_984921879_Roalnd_UMONEmk2.PNG&hash=d4a76f49808d8c458e8b887d791ab20361627f1a)

$39.99
http://www.americanmusical.com/Item--i-ROL-UMONEMK2-LIST (http://www.americanmusical.com/Item--i-ROL-UMONEMK2-LIST)


As stated before , we all must read and use the knowledge contained in this doc to set up JACK's ALSA settings to support the specific USB to MIDI I/O cable you are using.


Start reading this linked PDF doc regarding setting up jack Patch bay for your specific gear:
https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9826 (https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9826)

Elantric, You are just two steps away from connecting. You need to just install your device because it is seeing it. I just got back in from a road trip and was drafting up a procedure for you and everyone else but you just need to install your device, connect it and then go! Really! I don't think you are home right now but I will have the written procedure for you when you get home along with the new image. Great success so far gents!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 11:12:24 AM
Quote from: MusicOverGear on August 08, 2014, 10:28:39 AM
LOL I just found that out about an hour ago. UPS arrived, excitement, open box, ****!

I got a free Starbucks coffee on my extra trip to Overland Park, so it's not wasted. Also treated myself to a wireless mouse. And I bought that exact card. ApplePi-Baker is writing loulea's image to it right now.

Is yours working? Have you figured out where/how to mount it? I would love any thoughts on that. One thought I had was inside either an expression pedal or the MIDI pedal I'm waiting on from eBay. It's a cut down version of my favorite, old Roland FC-200. The cut down version is called GFC-50, which might be familiar around here? Anyway it's the exact right dimensions for my pedalboard and I'm assuming it's mostly empty inside? Never cracked my FC-200 because it's near perfect. Only way it could be better would be bus-powered USB, but with batteries and an inline cable, it's close enough...
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.rhapsody.fr%2Fimages%2Fproduit%2F3317%2FRoland-GFC-50.jpg&hash=53fff20db266b9bf7dc935b939491050775eb611)

Other than that I just figured thumbscrews and plastic standoffs, epoxied to wherever it fits best?

BTW I tried to boot my Pi and panicked a little when there wasn't even video. Turns out there's not even bios on the Pi - every line of code apparently is on the SD. Learning learning learning...

This is just like my FC100MKII which was RRC only but I built a cable to convert it to MIDI, to control the GP-10 via the RPI. This is the one you see in my photos.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 11:18:11 AM
QuoteElantric, You are just two steps away from connecting. You need to just install your device because it is seeing it. I just got back in from a road trip and was drafting up a procedure for you and everyone else but you just need to install your device, connect it and then go! Really! I don't think you are home right now but I will have the written procedure for you when you get home along with the new image. Great success so far gents!

Once we get basic MIDI communication to the GP-10 -the next step should be obvious


I want to :

1) Use a small MIDI Foot controller to  control the  GP-10 via MIDI Patch changes and send MIDI CC# from Expression pedal
(https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTmgNqGDLsjwZuyZaqHVt_-XhUjDTH2FtLopNQJd5fUSrtMkMXD)

2) AND SIMULTANEOULSLY have the GP-10 trigger external hardware Synth using 5pin DIN MIDI !
http://i.korg.com/microstation (http://i.korg.com/microstation)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fi.korg.com%2Fuploads%2FProducts%2FProduct_Images%2FmicroSTATION_top_MAIN_634049408835900000.png&hash=78cdfdd660f52de299454aac48843dc99b9fbf9d)


Just need to debug and create and post step by step instructions!


I figure the keys to the castle is contained here
Start reading this linked PDF doc regarding setting up jack Patch bay for your specific gear:
https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9826 (https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9826)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.rncbc.org%2Fdrupal%2Ffiles%2Ffullpatchbayconnected.png&hash=289e8bae8235164d327461489dcdc54d36f9d2bf)

and ours will resemble this

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407489159_1581455153_20140808_012829.jpg&hash=57532449c47bfe1ca2d98384c121c36d2660ec8d)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407488311_870999387_20140808_013802.jpg&hash=50a3ee07f72cae0890708b4c37b297936fc21572)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 11:25:28 AM
POTENTIAL ROAD BLOCK


Today I have THREE Raspberry Pi's and a few official RPI "NOOB" SD cards that all work, and (after connecting the Ethernet ) boot into RASPIAN OS -and successfully  launch JACK SERVER  with ZERO ERRORS 

( but of course this still does not work, because JACK's ALSA settings need to be configured for the connected hardware. )

But using LouLea's IMG  -its a different story for me.
   
I just need others to observe if they have the same ERROR MESSAGES AFTER BOOT THAT I HAVE

And how do we solve?

---
I finally  successful auto booted into desktop using Loulea's Image file on my July 2014 Raspberry Pi B+

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407489242_1755090605_20140808_012719.jpg&hash=19bdba53a72be7409fb293873bc644975bc3a49f)

But I see these error messages:

"Can not connect to server socket err"

"Can not connect to server request channel"

"Jack server is not running or cannot be started"


Here is a copy of the Raspian Message Box

Quote08:23:51.844 Patchbay activated.
08:23:52.021 Statistics reset.
08:23:52.214 ALSA connection change.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
08:23:52.552 ALSA connection graph change.
08:23:52.618 ALSA active patchbay scan...
09:14:40.185 Startup script...
09:14:40.190 pacmd load-module module-jack-source channels=2; pacmd load-module module-jack-sink channels=2;
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
sh: 1: pacmd: not found
sh: 1: pacmd: not found
09:14:40.606 Startup script terminated with exit status=32512.
09:14:40.612 JACK is starting...
09:14:40.616 /usr/bin/jackd -dalsa -dhw:0 -r48000 -p256 -n2 -Xseq
09:14:40.639 JACK was started with PID=2334.
jackdmp 1.9.9
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
control device hw:0
control device hw:0
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|256|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
09:14:42.174 JACK was stopped with exit status=255.
09:14:42.746 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started


AND



Here is the Jack "Options" page  - I see a script is being loaded on startup - "pacmd load - module module - jack sink channel =2:"
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407488505_1593798664_20140808_013624.jpg&hash=7f717cb395579526172995dcb5c3f71e72185bb7)
Do we need to EDIT this Script?: "pacmd load - module module - jack sink channel =2:"? - because this appears to be  unique to LouLea's RASBIAN IMAGE
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 11:31:05 AM
Those errors are fine for MIDI. They are for Audio. We'll debug those later. You need to delete my configuration and then install yours. The reason why you need to delete them is because every USB device has own unique USB ID and so my GP-10 is different from yours. You can have 10 different GP-10s connected and they will each have their own USB IDs. I'm just writing the procedure now and it will be in a folder where the link is going to be posted. Trust me you are very very close.  ;)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 08, 2014, 11:34:34 AM
Elantric I never got fully booted. Hung up after a few pages of text. Last 50 lines or so mention "Kernel Panic"

Right now I'm re-re-re-formatting LOL and downloading NOOBS. I'm going to try to just get a Program Change on the GP-10 and get some excitement back before I struggle some more.

This is the closest I've been to seeing the Raspbian desktop yet. It's on 31% right now
(https://lh4.googleusercontent.com/-9LficHQOC1Q/U-Ua2IPvd6I/AAAAAAAAAwE/47OK0ZxlHkM/w1164-h873-no/20140808_134204.jpg)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 11:35:47 AM
QuoteTrust me you are very very close.  ;)

Im quite sure of that - but other obligations might prevent me from getting back to this anytime soon.

But I'm sure our collective group of smart cookies can figure this out before monday ;)

QuoteThose errors are fine for MIDI.

LouLea - do you have similar errors in your RPI's  message box after boot? ?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 12:15:20 PM
Quote from: Elantric on August 08, 2014, 11:35:47 AM
Im quite sure of that - but other obligations might prevent me from getting back to this anytime soon.

But I'm sure our collective group of smart cookies can figure this out before monday ;)

LouLea - do you have similar errors in your RPI's  message box after boot? ?

Yes! There is a Linux setting that needs to be done but I didn't think I needed right now. I'll look into it later. Just working at something else right now.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 12:28:34 PM
QuoteElantric I never got fully booted. Hung up after a few pages of text. Last 50 lines or so mention "Kernel Panic"

I found out that the first time you run NOOBS, you realy need to have a working Cat-5 RJ-45 Ethernet connection attached to the Raspberry Pi, as it auto updates a few important files

In other words - if there is no wired Ethernet connection during initial RASPIAN OS boot, you will get errors.

   


Ethernet is NOT   required to run our final working RASPIAN OS with correct Jack ALSA settings for your 5 pin MIDI I/O with Raspberry Pi 


More IMPORTANT Raspberry Pi B+ board reading material from  ADA_Fruit
https://learn.adafruit.com/downloads/pdf/introducing-the-raspberry-pi-model-b-plus-plus-differences-vs-model-b.pdf

Don't forget! You need a new Kernel/Firmware
If you have an older Raspbian or NooBs or whatever (before ~ June 20 2014) do a sudo
apt-get update and sudo apt-get upgrade to update your kernel & firmware! Without
new kernel/firmware, the USB/Ethernet chip doesn't work so make sure you do this on a
Model B since you need to have ethernet or USB to work in order to download it, eh?

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 01:08:34 PM
IMPORTANT Raspberry Pi B+ board reading material from  ADA_Fruit
https://learn.adafruit.com/downloads/pdf/introducing-the-raspberry-pi-model-b-plus-plus-differences-vs-model-b.pdf (https://learn.adafruit.com/downloads/pdf/introducing-the-raspberry-pi-model-b-plus-plus-differences-vs-model-b.pdf)




Also - I have a side view below of the RPI B+ with all four USB ports arbitrarily labeled "A" , "B"  "C", "D"   
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407527938_1127807492_RPI_USB1.PNG&hash=0989c6d3ca169de1cf15ef298c1e5bfc60fb332a)

We need to document the specific hardware USB jacks where everything connects for a known  working configuration.

Upon review of Loulea's working setup photo below  - it would appear that:


RPI B+ USB PORT A  = USB to MIDI I/O cable ( Roland UM-1G)

RPI B+ USB PORT B  = Boss GP-10

RPI RASPIAN  OS might be more forgiving, but for most operating systems the physical USB Port connection order to external hardware is often crucial, because if you forget and connect to an alternate / different USB ports, things tend to "break" on many operating systems (Windows comes to mind) 

(https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9768;image)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 01:21:06 PM
Quote from: Elantric on August 08, 2014, 12:28:34 PM
I found out that the first time you run NOOBS, you realy need to have a working Cat-5 RJ-45 Ethernet connection attached to the Raspberry Pi, as it auto updates a few important files

In other words - if there is no wired Ethernet connection during initial RASPIAN OS boot, you will get errors.

   


Ethernet is NOT   required to run our final working RASPIAN OS with correct Jack ALSA settings for your 5 pin MIDI I/O with Raspberry Pi 


More IMPORTANT Raspberry Pi B+ board reading material from  ADA_Fruit
https://learn.adafruit.com/downloads/pdf/introducing-the-raspberry-pi-model-b-plus-plus-differences-vs-model-b.pdf

Don't forget! You need a new Kernel/Firmware
If you have an older Raspbian or NooBs or whatever (before ~ June 20 2014) do a sudo
apt-get update and sudo apt-get upgrade to update your kernel & firmware! Without
new kernel/firmware, the USB/Ethernet chip doesn't work so make sure you do this on a
Model B since you need to have ethernet or USB to work in order to download it, eh?


Just writing up the info now and just wanted to let you how close you are. You know the first window that popped up called the "Connections - JACK Audio Connection Kit"? All you had to do was connect the GP-10 on the left of the pane (Readable Clients/Output Ports) to writable Clients/Input Ports right side of the pane (going the other way too) and you would have been able to control the GP-10. The only thing is that you would lose your connection if you power down or disconnected one device or rebooted. This is why you need to setup the other screen which is the "Patch - JACK Audio Connection Kit" window. I'll have the instructions completed by the time you get home but try that and you should have control. By looking at that connection screen, it is recognizing your USB to MID device which is the device labelled "USB Midi MIDI 1".  Just select the GP-10 on one side of the screen and the USB Midi MIDI 1 device on the other. Repeat going the other way and BOOM you will have connection. The instruction that's coming later describe how to maintain it after boot and if it gets disconnected.

Sorry jumping back and forth between honey do list and this right now.  :'(
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 01:27:02 PM
Quote from: Elantric on August 08, 2014, 01:08:34 PM
IMPORTANT Raspberry Pi B+ board reading material from  ADA_Fruit
https://learn.adafruit.com/downloads/pdf/introducing-the-raspberry-pi-model-b-plus-plus-differences-vs-model-b.pdf (https://learn.adafruit.com/downloads/pdf/introducing-the-raspberry-pi-model-b-plus-plus-differences-vs-model-b.pdf)




Also - I have a side view below of the RPI B+ with all four USB ports arbitrarily labeled "A" , "B"  "C", "D"   
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407527938_1127807492_RPI_USB1.PNG&hash=0989c6d3ca169de1cf15ef298c1e5bfc60fb332a)

We need to document the specific hardware USB jacks where everything connects for a known  working configuration.

Upon review of Loulea's working setup photo below  - it would appear that:


RPI B+ USB PORT A  = USB to MIDI I/O cable ( Roland UM-1G)

RPI B+ USB PORT B  = Boss GP-10

RPI RASPIAN  OS might be more forgiving, but for most operating systems the physical USB Port connection order to external hardware is often crucial, because if you forget and connect to an alternate / different USB ports, things tend to "break" on many operating systems (Windows comes to mind) 

(https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=9768;image)

Doesn't matter really. I've had it in every socket! That sounds rude! :-[
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 01:29:36 PM
New upload is 85% done! wooHOOO!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 01:38:03 PM
QuoteNew upload is 85% done! wooHOOO!

Post or PM me a URL link - what ever you feel comfortable with.

QuoteDoesn't matter really. I've had it in every USB port

thanks Good to know!


http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/#comment-12072 (http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/#comment-12072)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407531123_2084997694_RPI_Roland_Blog1.PNG&hash=11bbdd99596137840215a51a6cdb5a0c131f3842)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407531047_213631935_RPI_Roland_Blog.PNG&hash=96027ed1e884018f2a53d259b13db3706cfa928c)


Watch as Roland Blog Moderators delete this post above before end of the day

EDIT! they approved it !
http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/#comment-12072 (http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/#comment-12072)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407539767_1362850398_GP10_Blog2.PNG&hash=e94deaed4ec612c4fd6f1fe1670e164930500499)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 08, 2014, 02:54:39 PM
Quote from: Elantric on August 08, 2014, 01:38:03 PM


http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/#comment-12072 (http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/#comment-12072)


Watch as Roland Blog Moderators delete this post above before end of the day


Do you think it'll take them that long?

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 03:04:59 PM
Now This seems handy  - use regular size SD cards in your 2014 RPI B+!
http://www.amazon.com/gp/product/B0085GGO92/ref=ox_sc_act_title_1?ie=UTF8&psc=1&smid=A3MYZJ4TACV6YE (http://www.amazon.com/gp/product/B0085GGO92/ref=ox_sc_act_title_1?ie=UTF8&psc=1&smid=A3MYZJ4TACV6YE)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407535455_1198096591_SD_Card_Extension.PNG&hash=6b97679301d5a8a37b4e56d06574168fad037256)

Product Description Main feature: Patent Name:Manufacture SDHC-Micro SD Card reader Extension Cable Specification: SD Plot 36 * 29* 3.8mm + FFC cable + SD32 * 24 * 2.0mm N.W 13g FFC Length current: 48cm(white); longer or other length for customise Support card SD /SDHC/ MMC/ RS-MMC Card(128MB TO 32GB) Apply to the GPS navigation of car; Car DVD; Large monitoring facilities,Outdoor LED/LCD display,etc Usage:1, Insert the SD card into the SD card slot of our connection cable 2,Insert the SD adapter card into the machine(GPS,Car DVD,etc)


Although i will shorten the ribbon cable on the one above  - to match this one below

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407538251_1934974319_SD_Card_Extension2.PNG&hash=ce6569d4b32f8205ec8e63947fac69826a75452e)
http://www.alibaba.com/product-detail/GPS-Micro-SD-Extension-Cable_452263158.html (http://www.alibaba.com/product-detail/GPS-Micro-SD-Extension-Cable_452263158.html)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 04:17:21 PM
Progress!

Roland US  approved my link to this thread !
http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/#comment-12072 (http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/#comment-12072)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407539767_1362850398_GP10_Blog2.PNG&hash=e94deaed4ec612c4fd6f1fe1670e164930500499)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: drewfx1 on August 08, 2014, 04:18:52 PM
Quote from: Elantric on August 07, 2014, 10:41:48 PM
RPI is rather powerful ( running Raspian OS and surfing the net felt like the power of a mid 90's Windows Pentium 3 PC Tower ) - but know that other "open source" processors might be better suited for internal guitar and offer lower current consumption.
http://www.arduino.cc/ (http://www.arduino.cc/)
http://store.arduino.cc/product/A000053 (http://store.arduino.cc/product/A000053)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fstore.arduino.cc%2Fbmz_cache%2Fb%2Fbe8f60d274a98fb4521f5ed87e0c7aaa.image.538x354.jpg&hash=f3cb3c7dd60418fbe2fdb6cdc288379cfc1c7942)

What intriguing about the RPI is it's cheap, small and runs a linux variant (!) and my impression was the arduino stuff was its own thing.

Quote

It would be rare to need a HDMI Video on a guitar

But hey - what do I know! - Do what ever floats YOUR boat;)

http://youtu.be/M2eiP12hQQY (http://youtu.be/M2eiP12hQQY)

I was thinking more John McLaughlin when he had the Roland/Synclavier rig:

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fgitarhangtechnika.ghost.hu%2Fcikkek%2Fkepek%2Fgh_2008_08_28_hangrendszerek_21-23%2Fsynth2.jpg&hash=76dac189f883f91955c568577a096d0c14041934)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 04:22:59 PM
QuoteWhat intriguing about the RPI is it's cheap, small and runs a linux variant
Bookmark this  - and check back time to time - I want to make more progress on this in 2014  - pending Gumtowns Schedule!

VGuitar Wireless guitar Midi Controller project
https://www.vguitarforums.com/smf/index.php?topic=7984.0 (https://www.vguitarforums.com/smf/index.php?topic=7984.0)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fi412.photobucket.com%2Falbums%2Fpp208%2Felantric%2FGKIO_zpsca022860.jpg&hash=9ee57ae2ad10050195adf9c11bd43cd6a70fa95f)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fi877.photobucket.com%2Falbums%2Fab331%2Fgumtownbassman%2FVGWC_proto.jpg%3Ft%3D1364727978&hash=c2744b51ff8baacfa9445f5169fe56af7655b1b1)


(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fuk.farnell.com%2Fproductimages%2Ffarnell%2Fstandard%2F1656441-40.jpg&hash=072e731de199c8c463605fab3a9392d73dea59d1)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.robotshop.com%2FImages%2Fbig%2Fen%2F2-axis-playstation-joystick.jpg&hash=ca9275b5e35d15a68436d5905d8c91c4c10a80d4)

Here is a working prototype of the wireless guitar midi guitar controller transmitter.

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fi877.photobucket.com%2Falbums%2Fab331%2Fgumtownbassman%2F20130304_170842.jpg&hash=61a7fe41ffbeb404734b93d3c0960472a63cd85b)

the small board to the left is the micro controller and transmitter,
the plug in the middle is the microchip pickit-3 programming port,
the board to the right is my simulated guitar controls, with 6 push buttons and 6 potentiometers.

Here is a close up of the controller, this is what would fit under the pickguard with a 9v battery,
I would imagine a production item would have wire tails on plugs much like an internal GK-Kit board, so you could wire on any sort of button or pot/joystick/sensor.

In this thread we are talking about cheap RF wireless link for Guitar Mounted Controls
Gumtown is saying he has a path for an internal installed small Microchip PIC Embedded CPU
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en023114 (http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en023114)

which has internal 12 A/D Input Channels that can directly read the position of Rotary Pots and status of Momentary Switches and send via RF Wireless Link to a 2nd PIC CPU located in a Floor Controller that performs the MIDI CC# Controller translation.

Realize in the block on the left called  "Digital and Analog ON-GTR Controls "
we are NOT sending  / Transmitting ANY Guitar AUDIO via Wireless

Also we are not doing any Guitar To MIDI here either. Must refer to other methods/means for both of those.

A 1200 baud rate RF serial link  is  way too slow for real time audio anyway.

and remember MIDI is 31,250 Baud =  26 times faster.


----

Quotexcept the GKIO is another larger project as a multifunction highly modular plug'n'play building block type GK signal router from multiple GK intrument inputs to multiple GK devices, with each string routable, programmable HiPass filters, and more.
I hope this project will also be a plug-in module option for the GKIO project.

The editing software for this one is VGWC-Edit (V-Guitars Wireless Controller Editor).
which you can download from
http://sourceforge.net/projects/grfloorboard/files/VGWC-Edit/ (http://sourceforge.net/projects/grfloorboard/files/VGWC-Edit/)
I have just uploaded an update, but yet to add more functions for custom patch/bank pedal layouts.

The floor unit collects the raw data from the guitar wireless and from it's own analogs & p/buttons and converts it to preprogrammed midi functions, the floor unit has a 5-pin midi input and two midi outputs (commoned), so midi data can be send on different midi channels to more than one unit.
The midi input will accept midi data from other controllers and pass it thru to the midi out, so more than one of these floor controllers can be chained in series. The only data it won't pass thru is large system exclusive data chunks, so I wouldn't edit your VG-99 or GR-55 with this in-line.
The editing is done also via the midi ports.

The 1200 baud is quite slow, and can be changed, but for the moment I went for reliability and distance over speed.

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fi877.photobucket.com%2Falbums%2Fab331%2Fgumtownbassman%2F20130304_170852.jpg&hash=7e132c16108e5d23d52d22a353def8fc797b37f8)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 08, 2014, 05:58:16 PM
WOW! I'm Shocked. Maybe theyre starting to wake up ???
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 08, 2014, 06:17:00 PM
Just got home from work and dissapointed looks like my RPI is not gonna be here till Monday. Really wanted to try getting it to work on Sunday :'(
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 06:20:13 PM
Quote from: whippinpost91850 on August 08, 2014, 06:17:00 PM
Just got home from work and dissapointed looks like my RPI is not gonna be here till Monday. Really wanted to try getting it to work on Sunday :'(

Bummer!! Elantric, you might be the first! How can post the link so that only members have access to it rather than me PM each person?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 06:50:01 PM
Make text file with URL and attached to a new post.

File attachments are only available to members who are logged in. 
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 06:52:20 PM
Quote from: Elantric on August 08, 2014, 06:50:01 PM
Make text file with URL and attached to a new post

I don't want anyone outside of this forum to use it. Is that possible?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 06:55:48 PM
Correct.

Only members can "see" file attachments.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 07:29:07 PM
Everyone,

Finally, here is the link to the new Image and the instruction for setting up your patch bay.

This version has a option for a shutdown button via the GPIO interface and has the option for TightVnc as well. You will have to set it up your self on your PC and then you can see the PI's desktop on your PC as long as the PI is connected to the network; wireless or LAN. No keyboard/mouse required on the PI. See http://www.howtogeek.com/141157/how-to-configure-your-raspberry-pi-for-remote-shell-desktop-and-file-transfer/all/ (http://www.howtogeek.com/141157/how-to-configure-your-raspberry-pi-for-remote-shell-desktop-and-file-transfer/all/) . The PI is already setup for that, you just have to install and setup the PC. You can also use the Remote control feature in windows. You will have to know the IP address of the PI and have your router static to this address.

Hopefully we will see some success. Check out the text file attached for the location of the image. Enjoy!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 07:38:40 PM
Quote from: Elantric on August 08, 2014, 04:17:21 PM
Progress!

Roland US  approved my link to this thread !
http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/#comment-12072 (http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/#comment-12072)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2192014%2F1407539767_1362850398_GP10_Blog2.PNG&hash=e94deaed4ec612c4fd6f1fe1670e164930500499)

Fame! ::) I can handle it!! 8)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 08, 2014, 08:23:19 PM
Loulea, Cant thank you enough for all your hard work on this. Much Karma to you
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 08:25:03 PM
Quote from: whippinpost91850 on August 08, 2014, 08:23:19 PM
Loulea, Cant thank you enough for all your hard work on this

Make me happy! Get it working! ;D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 08, 2014, 08:36:42 PM
Somebody beat me to the punch for a shutdown feature for the PI >:(. This little thing also powers up the PI. This is just like what I implemented in software except that I can't power up the PI unless I remove the USB power cable and re-install it. You guys have to get this if you are going to go keyboard/mouseless. It is free shipping in the states. I'm going to see if I can get one.

https://mausberry-circuits.myshopify.com/products/illuminated-led-shutdown-switch (https://mausberry-circuits.myshopify.com/products/illuminated-led-shutdown-switch)
(https://cdn.shopify.com/s/files/1/0262/4243/products/IMG_2015_1024x1024.JPG?v=1394647040)

http://youtu.be/_fe5OjgVsaA (http://youtu.be/_fe5OjgVsaA)


A good write up on it too!
http://www.averagemanvsraspberrypi.com/2014/06/illuminated-raspberry-pi-power-switch.html (http://www.averagemanvsraspberrypi.com/2014/06/illuminated-raspberry-pi-power-switch.html)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 08, 2014, 11:29:38 PM
Thanks I ordered one

https://mausberry-circuits.myshopify.com/products/illuminated-led-shutdown-switch (https://mausberry-circuits.myshopify.com/products/illuminated-led-shutdown-switch)

There a Rocker version ( see below), but I prefer the lower mass / stress design of the Push-button type Loulea posted above

https://mausberry-circuits.myshopify.com/collections/frontpage/products/direct-plug-shutdown-switch-with-rocker (https://mausberry-circuits.myshopify.com/collections/frontpage/products/direct-plug-shutdown-switch-with-rocker)
Direct-plug shutdown switch with rocker   $14.00 USD
(https://cdn.shopify.com/s/files/1/0262/4243/products/IMG_2157_1024x1024.JPG?v=1395593936)
This switch connects directly to your Pi's power port and uses your original micro-USB power cable. Pressing the switch on will turn your Pi on, switching it off will send a shutdown command to your operating system. Once the operating system has safely finished the boot down process, the circuit removes power from the Pi. The switch also includes a small reset button in the event you need to perform a hard reset.

Shipping in US: $2 1st-class. Free 1st-class shipping for orders over $25. Priority mail: $5.

Shipping outside US: $5 1st-class. Free shipping for orders over $50. Expedited shipping also available.





Other cool interface boards here

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fi.ebayimg.com%2F00%2Fs%2FNTQ3WDcyOQ%3D%3D%2Fz%2FLg4AAOSwhMpT0KIG%2F%24_12.JPG&hash=10ca56b6271fd123e0512e00fe3233f54c6942b1)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fthumbs1.ebaystatic.com%2Fd%2Fl225%2Fm%2FmLPJrpij8KGcHWNX5KbzRUQ.jpg&hash=ba621ec3a12431d247164822970d4989848950d4)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fi.ebayimg.com%2F00%2Fs%2FNTAwWDY4Nw%3D%3D%2Fz%2F43AAAOSwd4tT0Hf%7E%2F%24_12.JPG&hash=17b1c2a7de283d9610a5fd45add98c4ac5ac5cef)
http://www.ebay.com/sch/yunjusz/m.html?item=231301010721&hash=item35da9d5521&pt=LH_DefaultDomain_0&rt=nc&_trksid=p2047675.l2562 (http://www.ebay.com/sch/yunjusz/m.html?item=231301010721&hash=item35da9d5521&pt=LH_DefaultDomain_0&rt=nc&_trksid=p2047675.l2562)


and some concepts here might work for live stage use for other RPI expansion for doing other chores.

http://youtu.be/4KxZu3uaqGY (http://youtu.be/4KxZu3uaqGY)




http://www.reddit.com/r/raspberry_pi/comments/2cqd69/raspberry_pi_b_case_made_from_paper/ (http://www.reddit.com/r/raspberry_pi/comments/2cqd69/raspberry_pi_b_case_made_from_paper/)


http://codechief.wordpress.com/2013/07/17/setting-up-raspberry-pi-for-headless-mode-with-x11vnc/ (http://codechief.wordpress.com/2013/07/17/setting-up-raspberry-pi-for-headless-mode-with-x11vnc/)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 09, 2014, 04:33:52 AM
This switch lends itself nicely to the code I wrote for the reset. They are using the old PI and I was worried about the clearance to the right of the USB connector since the HDMI plug is there but it seems fine.

This is a perfect fit for the code I wrote. There instruction say they use GPIO23 and GPIO24. Mine uses GPIO4 and GPIO27. You would connect the "out" lead to GPIO4 (pin-7) and the "in" lead to GPIO27 (pin-13). With my code, the power button will blink ON and OFF. Can't wait to try it. I will order one but I will have to pay duties and taxes which will bring the cost to over $50 but it is a great solution for this application. The important thing is it minimizes the risk of damage to the USB power connector. This card can be replaced if the connector is damaged on it (cheaper).

If interested, here is the pin out for GPIO connector. >> http://pi.gadgetoid.com/pinout (http://pi.gadgetoid.com/pinout) .
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 09, 2014, 05:52:22 AM
Quote from: loulea on August 09, 2014, 04:33:52 AM
This switch lends itself nicely to the code I wrote for the reset. They are using the old PI and I was worried about the clearance to the right of the USB connector since the HDMI plug is there but it seems fine.

This is a perfect fit for the code I wrote. There instruction say they use GPIO23 and GPIO24. Mine uses GPIO4 and GPIO27. You would connect the "out" lead to GPIO4 (pin-7) and the "in" lead to GPIO27 (pin-13). With my code, the power button will blink ON and OFF. Can't wait to try it. I will order one but I will have to pay duties and taxes which will bring the cost to over $50 but it is a great solution for this application. The important thing is it minimizes the risk of damage to the USB power connector. This card can be replaced if the connector is damaged on it (cheaper).

If interested, here is the pin out for GPIO connector. >> http://pi.gadgetoid.com/pinout (http://pi.gadgetoid.com/pinout) .

I downloaded their code and they are doing almost the same thing as I am but they need one of the GPIO pin to disengage the on switch after closing all programs via a latching relay on the circuit board. Using there code is fine. In order to install it though you have to type commands into the Linux command line and you have to be connected to the internet to download the code from their website. Great solution though!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 09, 2014, 06:05:40 AM
Hey y'all. I got my Pi to echo midi to my GP-10 on startup. I got frustrated with trying to get loulea's image to boot with my hardware so I just put NOOBS on my card and installed Raspbian.

Turns out mine works by just executing one line of code at startup. I created a startup script that says

aconnect 16:0 20:0

and run that at startup. That's it. No GUI, no shutdown (which it looks like it's easy to add), no problems so far (about 20 restarts), but I'm still waiting on parts to put it all together and take it out into the wild. Just wanted to let people know that there is a baby-simple way to do it, if anyone just wants a rough-and dirty, get-it-working-now solution. I made a video of how I did it last nite but something went wrong when it was uploading. Trying again now. I'll post in a new thread so it doesn't cause confusion here.

Don't know how much help I can offer - I don't know anything about this stuff other than having used Ubuntu for a short time. I will say that if I can figure it out, anyone can.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 09, 2014, 08:37:31 AM
Wow!  8) That is much, much simpler! You have to know the MIDI port numbers to connect though! I guess you'll just write a start up script to boot up configured? Nice!!

Although if you want visual indication, the desktop mode is fine. At least we know that the PI does not worry about class compliance and we can get the GP-10 controlled by your existing gear.

If people don't want to worry about going through the installation process on the PI with NOOBS, the image is the other option. Either way. I'm going to try it.

How do you upload videos anyway. I made one to show how the PI works.

Have fun!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 09, 2014, 08:40:17 AM
Shutdown button seems similarly simple - you don't need a $15 board - just any momentary switch. The GPIO scripting is actually baby simple. There is only one required library, NO extra components needed (just switch a pin to ground to trigger LOW state) - it's actually easier than Arduino, which is amazing to me.

I had a shutdown script working, but I accidentally didn't escape it so when I added it to my startup scripts, it effectively bricked my Pi LOL. I'm re-re-re-re-re-formatting now (SIGH)... I'll make a vid on that, too when I get that figured out.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 09, 2014, 08:43:10 AM
Quote from: loulea on August 09, 2014, 08:37:31 AM
Wow!  8) That is much, much simpler! You have to know the MIDI port numbers to connect though! I guess you'll just write a start up script to boot up configured? Nice!!

Although if you want visual indication, the desktop mode is fine. At least we know that the PI does not worry about class compliance and we can get the GP-10 controlled by your existing gear.

If people don't want to worry about going through the installation process on the PI with NOOBS, the image is the other option. Either way. I'm going to try it.

How do you upload videos anyway. I made one to show how the PI works.

Have fun!

I'm uploading to YouTube. In theory at least LOL. I think last night my editing software choked before it ever got to youtube. Now it's just taking forever to upload.

FWIW I'm signed up to get Google Fiber. They are laying the big pipes around town, getting close to the edge of my neighborhood now. I will be interested to see what are upload speeds with that. Also it's FREE FOR SEVEN YEARS!!! I would have signed up if it was dial-up LOL
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 09, 2014, 08:52:05 AM
Here is a description of the command.

http://linuxcommand.org/man_pages/aconnect1.html (http://linuxcommand.org/man_pages/aconnect1.html)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 09, 2014, 08:58:26 AM
Quote from: MusicOverGear on August 09, 2014, 08:40:17 AM
Shutdown button seems similarly simple - you don't need a $15 board - just any momentary switch. The GPIO scripting is actually baby simple. There is only one required library, NO extra components needed (just switch a pin to ground to trigger LOW state) - it's actually easier than Arduino, which is amazing to me.

I had a shutdown script working, but I accidentally didn't escape it so when I added it to my startup scripts, it effectively bricked my Pi LOL. I'm re-re-re-re-re-formatting now (SIGH)... I'll make a vid on that, too when I get that figured out.

The shutdown board is good because it removes power from the the PI where as if you use a switch, you would have to remove the USB power cable and the reinsert it. Over time you will damage your USB power connector on the PI. Not a bad solution; still going to get one.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 09, 2014, 11:50:18 AM
Plug in mains when I am setting up. Unplug when I am tearing down. Mine is going to be mounted inside something else - that's my plan, anyway. I won't directly touch the Pi again once I get my new pedalboard put together. I'm going to use it as an installed device, not like desktop or whatever. It might not even be visible, though I would love to be able to see the status LED's so I know when it's done shutting down. Do you know whether there are pads/pins to mirror the LEDs? I would love to bring the status LED out to a normal LED on the top panel. I could remove the SMD LED and use its pads, but that seems a little delicate - rather have thru-hole for durability.

Made a vid of it, but it's going to take forever to upload. My first vid is STILL uploading. It was only 1.5 GB on my local drive. I shot the second one in MP4 smaller resolution so hopefully it will upload faster.

I'm very interested to see how rugged/durable this turns out to be. The fact that there are no moving parts inspires confidence.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 09, 2014, 01:31:30 PM
QuoteUnplug when I am tearing down.

Be advised using that process to "shut down" by just pulling the plug WILL damage  / corrupt the microSD card's contents - its the "Achilles Heel" of using an RPI headless  - instead of an embedded CPU device with RTOS, RTC, Brown out detect power watchdog circuits   - like a this one

SBC LP3500 Series Single-board computer

http://www.digi.com/products/wireless-wired-embedded-solutions/single-board-computers/lp3500 (http://www.digi.com/products/wireless-wired-embedded-solutions/single-board-computers/lp3500)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.digi.com%2Fimages%2Fproducts%2Flp3500_lg.jpg&hash=f1f192a9bf45e6f11718193b3d8ebede6c062799)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on August 09, 2014, 06:33:25 PM
Once setup, can the micro SD cards be set to read-Only (write disable tab like on the full sized ones)?
That would help with the prevention card corruption on unexpected power off.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 09, 2014, 06:42:24 PM
Quote from: gumtown on August 09, 2014, 06:33:25 PM
Once setup, can the micro SD cards be set to read-Only (write disable tab like on the full sized ones)?
That would help with the prevention card corruption on unexpected power off.

The PI needs to write to it like a hard drive for swap space and configuration files. Can't happen!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on August 10, 2014, 09:57:04 PM
Successfully connected FCB1010 to GP-10 and sent it PC commands here. GP-10 responds nicely. Will check on CCs.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 10, 2014, 09:59:14 PM
Quote from: BackDAWman on August 10, 2014, 09:57:04 PM
Successfully connected FCB1010 to GP-10 and sent it PC commands here. GP-10 responds nicely. Will check on CCs.

Did you use the image?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on August 10, 2014, 11:07:40 PM
I just used the Rasbian Wheezy image. I couldn't for the life of me get your image onto the SD card. Then I set up qjackctl so whenever it starts it is set to go. The only problem I have now is getting qjackctl to start automatically at start up. I have tried editing the rc.local file as suggested on the Raspberry Pi site but no luck yet...

Once that is set I will put a shutdown switch on it. I would like to investigate using 'loss of USB connection' to initiate shutdown that way when I disconnect the cables at the end of the night the PI will shutdown without me thinking about it. ;D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 10, 2014, 11:14:13 PM
Quote from: BackDAWman on August 10, 2014, 11:07:40 PM
I just used the Rasbian Wheezy image. I couldn't for the life of me get your image onto the SD card. Then I set up qjackctl so whenever it starts it is set to go. The only problem I have now is getting qjackctl to start automatically at start up. I have tried editing the rc.local file as suggested on the Raspberry Pi site but no luck yet...

Once that is set I will put a shutdown switch on it. I would like to investigate using 'loss of USB connection' to initiate shutdown that way when I disconnect the cables at the end of the night the PI will shutdown without me thinking about it. ;D

I thought it was simple enough but I guess I have to start selling the cards myself :). What is the exact problem so I can try and make it easier? I think we agreed that 32GB card is what you need if are not using the Kingston 16GB card. Please let me know.  ;)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on August 10, 2014, 11:42:45 PM
I used a 32GB Class 10 SD card but the Win32DiskImager crashed half way through. I ended up using the Raspbian Wheezy image and that got me going.

I finally got qjackctl to work also. I found out that the .autostart folder is actually in the .config folder...

So now starting the PI gets my midi working fine! I just got to work out a way to shutdown on lost midi connection...
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 10, 2014, 11:56:05 PM
Quote from: BackDAWman on August 10, 2014, 11:42:45 PM
I used a 32GB Class 10 SD card but the Win32DiskImager crashed half way through. I ended up using the Raspbian Wheezy image and that got me going.

I finally got qjackctl to work also. I found out that the .autostart folder is actually in the .config folder...

So now starting the PI gets my midi working fine! I just got to work out a way to shutdown on lost midi connection...

Did you use SD Formatter first before trying to copy the image? This prepares the card for the image. See the first paragraphs of this article https://www.sdcard.org/downloads/formatter_4/. (https://www.sdcard.org/downloads/formatter_4/.) You had to do this anyway for the NOOBs software.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on August 11, 2014, 12:55:24 AM
Yep. Did that.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 11, 2014, 04:52:16 AM
That is too bad but at least you got it working. About getting it to shut down if MIDI lost, I don't know how you would do that without having to hack the jack's code. I'll have a look and see though.

At least this is the second report of it working!! :)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 11, 2014, 11:33:58 AM
Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi - Status August 11, 2014
===========================================================

Here is the current status of  implement 5 pin MIDI I/O for Boss GP-10 with Raspberry Pi

* On Friday August 8, 2014 - LouLea posted download instructions for Vguitarforums members only for his latest Raspberry Pi RAR  Image file
"RPI_Image_16GB_V2_.rar"( 2,134,733 KB size)  here:
https://www.vguitarforums.com/smf/index.php?topic=11998.msg87658#msg87658 (https://www.vguitarforums.com/smf/index.php?topic=11998.msg87658#msg87658)


*After extracting  "RPI_Image_16GB_V2_.rar" , results in a file that is 14.9GB  - which is slightly too large for most 16GB Micro SD cards (which are typically only 14.6GB),   This forces users to buy the more expensive 32 GB Micro SD Class 10 cards. ( $30 typical cost compared to $14 for 16 GB Class 10 micro SD card)

For example after running SDFormatter V4.0  (FAT32) and setting Format type = Full (Erase) and Format Adjust Size = ON) ( * these Raspberry Pi SD Card format settings  are specifically stated in the official "NOOBS_v1_3_9.zip"(1.4GB) Read_me".html instructions file  - copy is below )  - the resulting total formatted capacity for most 16 GB micro SD cards is only 14.6 GB.
http://downloads.raspberrypi.org/NOOBS_latest (http://downloads.raspberrypi.org/NOOBS_latest)

QuoteI finally located important information  regarding SD Card Formating instruction with specific details for Raspberry Pie - buried in a "Read_Me.txt"  file for the NOOBS RPI software.


(copy is below) 



1. Insert an SD card that is 4GB or greater in size into your computer.
2. Format the SD card using the platform-specific instructions below:
   a. Windows
      i. Download the SD Association's Formatting Tool from https://www.sdcard.org/downloads/formatter_4/eula_windows/ (https://www.sdcard.org/downloads/formatter_4/eula_windows/)
      ii. Install and run the Formatting Tool on your machine
      iii. Set "FORMAT SIZE ADJUSTMENT" option to "ON" in the "Options" menu
      iv. Check that the SD card you inserted matches the one selected by the Tool
      v. Click the "Format" button
   b. Mac
      i. Download the SD Association's Formatting Tool from https://www.sdcard.org/downloads/formatter_4/eula_mac/ (https://www.sdcard.org/downloads/formatter_4/eula_mac/)
      ii. Install and run the Formatting Tool on your machine
      iii. Select "Overwrite Format"
      iv. Check that the SD card you inserted matches the one selected by the Tool
      v. Click the "Format" button
   c. Linux
      i. We recommend using gparted (or the command line version parted)
      ii. Format the entire disk as FAT

If you are still having difficulties after following these instructions, then please visit the Raspberry Pi Forum ( http://www.raspberrypi.org/phpBB3/ (http://www.raspberrypi.org/phpBB3/) ) for support.

Know that after formatting with SDFormatter V4.0, the available capacity of 16 Gb microSD cards varies between 14.4 GB , while most provide 14.6GB,  and some  offer 14.9 GB. This has to do with the production methods and yields on the wafer fab line during manufacture - and marked bad sectors that is just the random nature of the manufacturing process. Its not possible to suggest "buy the same 16GB Kingston microSD Class 10 card that LouLea used"  - because depending on the LOT number and date of manufacture - its real gamble with no guaranty that you will actually obtain a  16 Gb microSD card with the required 14.9 GB capacity REQUIRED to load LouLea's  RPI_Image_16GB_V2 - that requires 14.9 minimum size.

But the good news is that LouLea has been successful using the RPI to add 5 pin MIDI I/O to his Boss GP-10, and brought this to our attention here at VGuitarforums. 

Boss GP-10 users seeking to use a Raspberry Pi to add the missing 5 pin MIDI I/O connections have LouLeas IMG file to use, or there is an alternate method at the link below

Add MIDI I/O to Boss GP-10,  Simple Raspberry Pi Setup
https://www.vguitarforums.com/smf/index.php?topic=12067.0 (https://www.vguitarforums.com/smf/index.php?topic=12067.0)



Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 11, 2014, 01:36:13 PM
Quote from: Elantric on August 11, 2014, 11:33:58 AM
Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi - Status August 11, 2014
===========================================================

Here is the current status of  implement 5 pin MIDI I/O for Boss GP-10 with Raspberry Pi

* On Friday August 8, 2014 - LouLea posted download instructions for Vguitarforums members only for his latest Raspberry Pi RAR  Image file
"RPI_Image_16GB_V2_.rar"( 2,134,733 KB size)  here:
https://www.vguitarforums.com/smf/index.php?topic=11998.msg87658#msg87658 (https://www.vguitarforums.com/smf/index.php?topic=11998.msg87658#msg87658)


*After extracting  "RPI_Image_16GB_V2_.rar" , results in a file that is 14.9GB  - which is slightly too large for most 16GB Micro SD cards (which are typically only 14.6GB),   This forces users to buy the more expensive 32 GB Micro SD Class 10 cards. ( $30 typical cost compared to $14 for 16 GB Class 10 micro SD card)

For example after running SDFormatter V4.0  (FAT32) and setting Format type = Full (Erase) and Format Adjust Size = ON) ( * these Raspberry Pi SD Card format settings  are specifically stated in the official "NOOBS_v1_3_9.zip"(1.4GB) Read_me".html instructions file  - copy is below )  - the resulting total formatted capacity for most 16 GB micro SD cards is only 14.6 GB.
http://downloads.raspberrypi.org/NOOBS_latest (http://downloads.raspberrypi.org/NOOBS_latest)

Know that after formatting with SDFormatter V4.0, the available capacity of 16 Gb microSD cards varies between 14.4 GB , while most provide 14.6GB,  and some  offer 14.9 GB. This has to do with the production methods and yields on the wafer fab line during manufacture - and marked bad sectors that is just the random nature of the manufacturing process. Its not possible to suggest "buy the same 16GB Kingston microSD Class 10 card that LouLea used"  - because depending on the LOT number and date of manufacture - its real gamble with no guaranty that you will actually obtain a  16 Gb microSD card with the required 14.9 GB capacity REQUIRED to load LouLea's  RPI_Image_16GB_V2 - that requires 14.9 minimum size.

But the good news is that LouLea has been successful using the RPI to add 5 pin MIDI I/O to his Boss GP-10, and brought this to our attention here at VGuitarforums. 

Boss GP-10 users seeking to use a Raspberry Pi to add the missing 5 pin MIDI I/O connections have LouLeas IMG file to use, or there is an alternate method at the link below

Add MIDI I/O to Boss GP-10,  Simple Raspberry Pi Setup
https://www.vguitarforums.com/smf/index.php?topic=12067.0 (https://www.vguitarforums.com/smf/index.php?topic=12067.0)

Everyone this is a great forum and I've learned a lot about some of the products you all have been using from Roland. It is always great to see how other users interact with the same products you have. The PI does work which ever option you use and I hope the PI gives new vision for the GP-10.

Amazon has great deals on SD cards right now so which ever option you get, back up your cards because they will get corrupted. I had mine get corrupted but I found a procedure to recover it without having to re-flash it.

Good luck and if you have any questions, let me know.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on August 11, 2014, 05:59:23 PM
I forgot to mention that I accidentally bought the Raspberry PI B that uses a normal sized SD card and only has two USB sockets. It still works though!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 11, 2014, 06:10:34 PM
The old "model B" (not the new B+) might represent a better value for some - old Model B supports the normal size SD card, which are less costly compared to microSD cards, and for most  = all you really need are the 2 USB ports. 
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 12, 2014, 07:54:18 AM
I took the PI and GP-10 out to my rehearsal last night. There were no hiccups with the PI. It booted without the keyboard/mouse and after about 45 seconds I was able to change patches on the GP-10 with my FC100MKII. It performed flawlessly but me on the other hand, did not fair so well for the first little while since the sounds that I had programmed were a little different and I had to remember which patches were used for each song. Toward the end of the two hours, I got the hang of it and the GP-10 sounded amazing. A few little tweaks to the patches and I'm set for my gig in two weeks.

Hope you guys have the same experience. :)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MusicOverGear on August 12, 2014, 10:30:53 AM
NICE! Haven't had mine out of the house yet. Been using it with a big foot controller that won't fit on any pedalboard I want to carry. I just now cracked open my small MIDI foot controller and found that not only is there room for a Pi inside, there a huge battery compartment that, when removed, leaves a perfectly sized hole for the PI and cables. Gonna have to route out a channel in my pedalboard for cable clearance (this is why I still use wood for pedalboards!)

I was so excited when I got the the foot controller from FedEx this morning that I was careless with my pocket knife (very uncharacteristic) and sliced open my thumb LOL.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 12, 2014, 10:39:11 AM
At least you are on your way. :) The PI is small enough though that it can sit in a small box close to or off to the side. Lots of cases to choose from!

I remember either you or Elantric wanted to use a battery to power the PI. Just do a search for USB battery and there are tons of them out there. They are rechargeable. I have one that my company gave out as recognition and does come in handy. Kind of big though.

Good luck!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: stevelukather on August 13, 2014, 02:39:17 PM
It will run the FBV SHORTBOARDâ„¢ MkII Line6 with this setup? . It says usb and midi compliance.

http://line6.com/footcontrollers/fbvshortboardmkii.html (http://line6.com/footcontrollers/fbvshortboardmkii.html)

Seems to be a good midi controller (reported work with Ableton, Guitar Rig...etc), good price by the way.

FC300 it's not available on my country (Chile)...
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on August 13, 2014, 02:52:02 PM
QuoteIt will run the FBV SHORTBOARDâ„¢ MkII Line6 with this setup? . It says usb and midi compliance.

No idea - maybe someone owns both a Raspberry Pi and FBV SHORTBOARDâ„¢ MkII can report back.

One thing is clear - if the Raspberry Pi can Add MIDI I/O to the Boss GP-10, then I'm, 90% confident the Raspberry Pi can also add MIDI I/O to the Boss GT-001 , and Boss ME-80

Myself - I intend to eventually test all "MIDI over USB" gear I own with the Raspberry Pi:

* N.I. Rigkontrol 3

* Zoom G3

* Korg Pandora PX4

* Vox JamVox Monitor.

* Boss Micro BR  - BR-80
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 13, 2014, 09:47:59 PM
Quote from: Elantric on August 13, 2014, 02:52:02 PM
No idea - maybe someone owns both a Raspberry Pi and FBV SHORTBOARDâ„¢ MkII can report back.

One thing is clear - if the Raspberry Pi can Add MIDI I/O to the Boss GP-10, then I'm, 90% confident the Raspberry Pi can also add MIDI I/O to the Boss GT-001 , and Boss ME-80

Myself - I intend to eventually test all "MIDI over USB" gear I own with the Raspberry Pi:

* N.I. Rigkontrol 3

* Zoom G3

* Korg Pandora PX4

* Vox JamVox Monitor.

* Boss Micro BR  - BR-80

It should all work. I was able to connect to my MIDI patch bay and have the GP-10 send MIDI patch changes to my synths (SC55 and KORG 03R) with no issues via the PI. I haven't checked latency which should be the only issue I see. Given what I see so far, we shouldn't have a problem.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 13, 2014, 10:17:59 PM
If anyone is interested, I now have a 8GB image uploaded. This file is a .zip file instead of a .rar so conversion software should be easier to use. Just unzip and copy it to a formatted SD card. Now the unzipped file size is 7.761920 GB so if your formatted 8GB card is less then use a 16GB card. I tried many SD cards here and the formatted volume size was within 1GB of actual size. I can't see why others were getting 1.5 GB. I tried 2, 4, 8, 16 and 32 GB cards and getting close to reported volume size. I can only assume it is the cluster size that is not being set properly prior to formatting the cards. The zipped file size is the same as before. (2.2GB)

Here is the link to the image -> https://docs.google.com/file/d/0Byf4qrn_H-ZCa0VRMEYzMWloWDQ/edit?usp=docslist_api

I've created a video of how to remote into the PI using TightVNC and SSH. This is all included in the image and the video goes over how to activate and set it up. The video will be uploaded and shared later.

I also downloaded an IPAD app and can control the PI from the APP using the vnc server. I am creating a vid on that as well. this has great possibilities because this is done wirelessly and can be achieved with just the PI, a portable wireless router and the a wireless adapter. No keyboard required. You can pick up a wireless adapter for under 50 bucks but only if you need that capability on the road at your gigs. The App is free.

Enjoy
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on August 13, 2014, 10:58:01 PM
Much thanks loulea! Using an iPad to connect to the PI would be awesome for setting up and programming!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on August 14, 2014, 07:55:40 AM
Loulea , excellent work, Thanks
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on August 14, 2014, 06:31:13 PM
Hi Everyone,

I have a video now of how to remote into the PI using the 8GB image and without. The 8GB image is already setup with the VNC server and the SSH server enabled. The image is posted within this thread. For setting remote PI, all you have to do is download the software on your PC and follow the instructions on setting it up. if you downloaded NOOBs and installed it yourself, you will have to install the VNC server and enable the SSH server on the PI. I provided info on that. Here is the link for the video.

https://drive.google.com/open?id=0Byf4qrn_H-ZCZkN1OEVEdnM4LXc&authuser=0

I also created a video on how you can do the same thing with the IPAD with a wireless dongle. This can be portable with the addition of wireless router as part of your setup linking the PI and the IPAD if so desired. Here is the link for the video.

https://drive.google.com/open?id=0Byf4qrn_H-ZCc0VyRWJWSmh1aGM&authuser=0

Here is a link for the info on how this was done. I included a link to a YouTube video on how to setup the secure shell.

https://drive.google.com/open?id=0Byf4qrn_H-ZCYlY0b01KRVp1NXM&authuser=0

Enjoy!

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on September 08, 2014, 02:10:36 AM
Hey guys this all looks really friggin' awesome.  So awesome in fact that I've already ordered a RP and don't have a GP-10 yet.
Can someone please explain to me the difference between the image files (besides the size and SD card requirements - I've got that under control)?  Is there a benefit to using the 8GB or 16GB images?
My plan (when I "upgrade" the VG-99) is to use this on a pedal board for gigs, so it has to be rock solid.  I'm planning on velcroing a backup SD card to my board just in case but any other advice to keep things stable?
Thanks.

P.S. If anyone from Roland is reading this; WTF, seriously.  How did did you manage to mess up what appears (from a user's perspective) to be such a no-brainer?  If you were pushed for space for 2 midi ports a simple breakout cable that plugs into the usb port would have sufficed.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 08, 2014, 06:47:26 AM
Hi.

The difference is the size mainly. When I first imaged my card I used a card that maximized most of the cards space and others could not get the same benefit with other cards which made the image useless. They had to use 32 GB card. Add to the fact that the larger card was more expensive. I created a 8 GB image and for this I would suggest using a 16GB.

The image saves you the hassle of loading the OS from scratch but others have susscessfly loaded it as documented it other threads. Look at those to see if you want to adopt that approach. Don't use the 16GB and use the 8GB image with a 16GB card to avoid issues with size. Have a look at the videos in this thread to see how to install and the features I installed.

Enjoy
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on September 09, 2014, 05:21:26 AM
Great thanks!
So I assume there are no important files/programs missing from the 8GB file that are on the 16 GB file?  Or is all that extra space empty because the image is of your entire card (i.e. the partition)?
I've got a 32 GB card anyway ($18!) so it's no biggie.
Sorry for the 20 questions but is there any benefit to installing the OS from scratch as opposed to your image?  I understand it's quicker/easier but would there be any driver/compatibility issues?  I'd guess not because the hardware (apart from the usb-to-midi dongle) would be the same (i.e. GP-10 and RP B+)...?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 09, 2014, 07:03:02 PM
Quote from: batman on September 09, 2014, 05:21:26 AM
Great thanks!
So I assume there are no important files/programs missing from the 8GB file that are on the 16 GB file?  Or is all that extra space empty because the image is of your entire card (i.e. the partition)?
I've got a 32 GB card anyway ($18!) so it's no biggie.
Sorry for the 20 questions but is there any benefit to installing the OS from scratch as opposed to your image?  I understand it's quicker/easier but would there be any driver/compatibility issues?  I'd guess not because the hardware (apart from the usb-to-midi dongle) would be the same (i.e. GP-10 and RP B+)...?

No there is no difference. When you image a storage device, it copies the whole disk; all sectors. Loading the NOOBS software can be a little tedious if you don't follow the instructions on the Raspberry PI website. If you can load a windows operating system you can do that. A couple people have done that successfully and avoided the image. The tricky thing is that you have to understand how to configure the JaclCtl software that provides the MIDI connectivity between the GP-10 and your devices. You also have to configure the PI to boot with JackCtl software started because you may not have a monitor, keyboard and mouse with you.  I have provided info in this forum on how to setup and configure the JackCtl software. If you need help, I am more than happy to help with configuring your PI.

In the image, I installed TightVNC which allows you to see and manipulate the desktop of the PI remotely so you don't need a monitor, keyboard and mouse. you can use your computer or IPAD. There is a Video on that is in this thread. I also installed an SSH server that you can remote into the PI via a remote terminal such as PUTTY. You can run Linux commands from your PC or IPAD as long as the PI is connected to the network. Both these programs require a client to be installed on your computer or IPAD.

Hope this helps!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on September 10, 2014, 05:41:12 AM
Yeah that's great, thanks.  I've got a few mates in IT and fiddled around with Putty before so should be ok from here.  Just trying to get my head around what I need :)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on September 13, 2014, 09:36:05 AM
FYI

I was at Costco yesterday and found a good book on RaspBerry Pi from the same UK publisher as Future Music

http://www.tuxradar.com/search/node/raspberry+pi (http://www.tuxradar.com/search/node/raspberry+pi)
http://www.myfavouritemagazines.co.uk/tech-and-gadgets-bookazines/raspberry-pi-the-complete-guide-2nd-edition/ (http://www.myfavouritemagazines.co.uk/tech-and-gadgets-bookazines/raspberry-pi-the-complete-guide-2nd-edition/)

Raspberry Pi - The Complete Guide 2nd edition
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fcontent.myfavouritemagazines.co.uk%2Fout%2Fpictures%2F1%2Fcbn69.cover_p1_p1.jpg&hash=8c3a8e46eda5622c4dd58d4a60efa974f7cca5fb)
Take your Raspberry Pi further with this collection of easy-to-understand guides, tricks and tips.

Features include:
Get started with Raspberry Pi.
Learn more about add-ons, operating systems and going beyond!
Tutorials to help you master Raspberry Pi.


It was $13 but well worth it for newbies to RaspBerry Pi

other guides:

http://www.amazon.com/Raspberry-Beyond-Manuel-Techactive-Series/dp/B00IVP6PF0 (http://www.amazon.com/Raspberry-Beyond-Manuel-Techactive-Series/dp/B00IVP6PF0)


and here is another one too
http://www.imagine-publishing.co.uk/news/330/raspi_the_new_digital_magazine_for_raspberry_pi_coders_and_makers (http://www.imagine-publishing.co.uk/news/330/raspi_the_new_digital_magazine_for_raspberry_pi_coders_and_makers)


http://rayfrost.wix.com/raysberrypi (http://rayfrost.wix.com/raysberrypi)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on September 15, 2014, 10:38:28 AM
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fimages10.newegg.com%2FNeweggImage%2FProductImageCompressAll300%2FA5YB_130543643170823477gRofgSCKNE.jpg&hash=af014b4a248e30301b3cfaebbaf44f20338ae66d)

Ends 9/16. Newegg has the Raspberry Pi B+ (B Plus) 512MB Motherboard/CPU/VGA MicroComputer (Summer 2014 model) + Multicomp Clear B+ Case for $39 with free shipping. Features a Broadcom BCM2835 applications processor, 512MB SDRAM, full size HDMI, ethernet and 4 x USB 2.0 ports.

This credit card sized computer plugs into your TV/keyboard, and does the common tasks a desktop PC can do. More info on improvements for the 2014 release at Raspberry Pi.

http://www.newegg.com/Product/Product.aspx?Item=9SIA5YB1Z20067&nm_mc=AFC-C8Junction&cm_mmc=AFC-C8Junction-_-na-_-na-_-na&cm_sp=&AID=10446076&PID=404255&SID=385443_desktop (http://www.newegg.com/Product/Product.aspx?Item=9SIA5YB1Z20067&nm_mc=AFC-C8Junction&cm_mmc=AFC-C8Junction-_-na-_-na-_-na&cm_sp=&AID=10446076&PID=404255&SID=385443_desktop)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 18, 2014, 11:10:40 AM
I'm getting ready to purchase a GP-10 for a simple setup live rig. I already have two VG-99's, one in my studio, the other is part of a fairly complex live rig I'm using with my experimental/Avant-garde group.

I plan on using the GP-10 with my Small Mesa amp (grab and go Rock and Roll gigs) but I really need to have amp channel control per patch. (as in the FC300 "amp control jack") Would this be possible with a Raspberry setup?. I'm assuming I would need to create code for the Raspberry where a transmitted patch number sent over USB would be converted to signal to turn a relay on and off.

Maybe there's a simpler way to accomplish but I can't think of any...

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on September 18, 2014, 11:32:19 AM
QuoteI plan on using the GP-10 with my Small Mesa amp (grab and go Rock and Roll gigs) but I really need to have amp channel control per patch. (as in the FC300 "amp control jack") Would this be possible with a Raspberry setup?. I'm assuming I would need to create code for the Raspberry where a transmitted patch number sent over USB would be converted to signal to turn a relay on and off.

Maybe there's a simpler way to accomplish but I can't think of any...

neither can I
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 18, 2014, 11:37:51 AM
Do you know if patch changes are transmitted from the GP-10 over usb?...

Time for me to get a Raspberry and start learning how to use it...  ??? ???
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 18, 2014, 11:45:21 AM
My buddy at work says an Arduino is easier to program/work with than a raspberry...
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on September 18, 2014, 11:49:36 AM
QuoteDo you know if patch changes are transmitted from the GP-10 over usb?...

Yes MIDI Patch  Up/ Down are transmitted  - along with MIDI CC#7 for the on board Expression pedal


QuoteMy buddy at work says an Arduino is easier to program/work with than a raspberry...

But Good luck getting the Boss GP-10 "MIDI over USB" communication going on Arduino

The only reason it works on the Raspberry Pi is due to its Linux based "Raspbian" OS including a port of Linux "Jack" Audio which already has a minimal hooks to support MIDI I/O for Roland gear - this is the crucial interface we rely on for achieving Boss GP-10 MIDI I/O (which remains NOT USB Audio/MIDI Class Compliant) , and "Jack" Audio runs on Linux, and does not does run on the low performance embedded Arduino CPU's 

http://jackaudio.org/applications/ (http://jackaudio.org/applications/)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 18, 2014, 11:54:29 AM
Any suggestions for a "Raspberry for dummies" kit to get me started?


Quote from: Elantric on September 18, 2014, 11:49:36 AM
But Good luck getting the Boss GP-10 "MIDI over USB" communication going on Arduino

The only reason it works on the Raspberry Pi is due to its Linux based OS including a port of Linux "Jack" audio which already has a minimal hooks to support MIDI I/O for Roland gear - this is the crucial interface we rely on for achieving Boss GP-10 MIDI I/O (which remains NOT USB Audio/MIDI Class Compliant) , and "Jack" Audio runs on Linux, and does not does run on the low performance embedded Arduino CPU's 

http://jackaudio.org/applications/ (http://jackaudio.org/applications/)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on September 18, 2014, 11:57:04 AM
Look a few posts above you!

I was at Costco yesterday and found a good book on RaspBerry Pi from the same UK publisher as Future Music

http://www.tuxradar.com/search/node/raspberry+pi (http://www.tuxradar.com/search/node/raspberry+pi)
http://www.myfavouritemagazines.co.uk/tech-and-gadgets-bookazines/raspberry-pi-the-complete-guide-2nd-edition/ (http://www.myfavouritemagazines.co.uk/tech-and-gadgets-bookazines/raspberry-pi-the-complete-guide-2nd-edition/)

Raspberry Pi - The Complete Guide 2nd edition
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fcontent.myfavouritemagazines.co.uk%2Fout%2Fpictures%2F1%2Fcbn69.cover_p1_p1.jpg&hash=8c3a8e46eda5622c4dd58d4a60efa974f7cca5fb)
Take your Raspberry Pi further with this collection of easy-to-understand guides, tricks and tips.


http://www.raspberrypi.org/resources/ (http://www.raspberrypi.org/resources/)
http://www.raspberrypi.org/ (http://www.raspberrypi.org/)

http://www.raspberrypi.org/help/ (http://www.raspberrypi.org/help/)

http://www.rpiblog.com/ (http://www.rpiblog.com/)

http://www.rpiblog.com/2013/11/using-android-as-wireless-mouse-keyboard.html (http://www.rpiblog.com/2013/11/using-android-as-wireless-mouse-keyboard.html)

http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/ (http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/)

http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/ (http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/)


http://www.tweaktown.com/news/36441/this-new-add-on-board-for-the-raspberry-pi-gives-you-an-hdmi-input/index.html (http://www.tweaktown.com/news/36441/this-new-add-on-board-for-the-raspberry-pi-gives-you-an-hdmi-input/index.html)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 18, 2014, 12:02:54 PM
I'll need the raspberry to interpret a USB midi program change from the GP-10 and turn a relay on or off accordingly.
..... the first difficulty I see is the Raspberry would need to be re-programmed every time I need to make a change regarding the amp clean/dirty channel assignments per patch...... off the top of my head, doesn't sound like it's going to be easy  :-\
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on September 18, 2014, 12:04:29 PM
There are a few Raspberry Pi "semi gurus" here (I'm not one of those ) who might read this and be able to assist
Contact "MusicOverGear" and read his thread here:
https://www.vguitarforums.com/smf/index.php?topic=12067.0 (https://www.vguitarforums.com/smf/index.php?topic=12067.0)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 18, 2014, 12:04:46 PM
Thanks!... I'm heading to Costco this weekend.... I'll look for that...


Quote from: Elantric on September 18, 2014, 11:57:04 AM
Look a few posts above you!

I was at Costco yesterday and found a good book on RaspBerry Pi from the same UK publisher as Future Music

http://www.tuxradar.com/search/node/raspberry+pi (http://www.tuxradar.com/search/node/raspberry+pi)
http://www.myfavouritemagazines.co.uk/tech-and-gadgets-bookazines/raspberry-pi-the-complete-guide-2nd-edition/ (http://www.myfavouritemagazines.co.uk/tech-and-gadgets-bookazines/raspberry-pi-the-complete-guide-2nd-edition/)

Raspberry Pi - The Complete Guide 2nd edition
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fcontent.myfavouritemagazines.co.uk%2Fout%2Fpictures%2F1%2Fcbn69.cover_p1_p1.jpg&hash=8c3a8e46eda5622c4dd58d4a60efa974f7cca5fb)
Take your Raspberry Pi further with this collection of easy-to-understand guides, tricks and tips.


http://www.raspberrypi.org/resources/ (http://www.raspberrypi.org/resources/)
http://www.raspberrypi.org/ (http://www.raspberrypi.org/)

http://www.raspberrypi.org/help/ (http://www.raspberrypi.org/help/)

http://www.rpiblog.com/ (http://www.rpiblog.com/)

http://www.rpiblog.com/2013/11/using-android-as-wireless-mouse-keyboard.html (http://www.rpiblog.com/2013/11/using-android-as-wireless-mouse-keyboard.html)

http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/ (http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/)

http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/ (http://forums.connectedly.com/raspberry-pi-f179/hands-new-raspberry-pi-b-3914/)


http://www.tweaktown.com/news/36441/this-new-add-on-board-for-the-raspberry-pi-gives-you-an-hdmi-input/index.html (http://www.tweaktown.com/news/36441/this-new-add-on-board-for-the-raspberry-pi-gives-you-an-hdmi-input/index.html)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on September 18, 2014, 04:55:23 PM
Here is something similar, a midi drum kit triggers a R-Pi solenoid/bell via MIDI
http://jeremyblythe.blogspot.co.nz/2013/03/raspberry-pi-midi-driven-solenoid-bell.html (http://jeremyblythe.blogspot.co.nz/2013/03/raspberry-pi-midi-driven-solenoid-bell.html)

something to start with, so it's not impossible
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on September 19, 2014, 11:02:39 PM
Hi Loulea, what's the password to remote in to the 8GB image via TightVNC?  I can connect via SSH (Putty) but when I try to use TightVNC to get the remote desktop I just get a failed authentication error.  I've tried the obvious raspberry/Raspberry passwords, but no luck.
FYI the default password for the system was Raspberry with a capital 'R', not 'r' as most other RP guides mention.  Took me a while to work that one out :)
Thanks
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 20, 2014, 05:38:57 AM
Quote from: batman on September 19, 2014, 11:02:39 PM
Hi Loulea, what's the password to remote in to the 8GB image via TightVNC?  I can connect via SSH (Putty) but when I try to use TightVNC to get the remote desktop I just get a failed authentication error.  I've tried the obvious raspberry/Raspberry passwords, but no luck.
FYI the default password for the system was Raspberry with a capital 'R', not 'r' as most other RP guides mention.  Took me a while to work that one out :)
Thanks

It is "guitar" (all lower case) and yes I changed the login password for the PI to capital R. There are a number of documents I uploaded with instructions and videos in this thread. Let us know how everything goes.

Make your IP address static or your router will keep assigning new ip addresses. There is material I created that points you to websites that have instruction on how to do this. If you can't find it in this thread I can provide. I'm out right now and on my iphone.

UPDATE:
Here is a link to where I stored all the info on how to setup the PI. There are a couple of videos on how to access it via the computer or IPAD. There is info on how to setup JackCtl.
https://drive.google.com/folderview?id=0Byf4qrn_H-ZCVTRfZGdHUEpkcm8&usp=sharing

Loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 20, 2014, 05:46:18 AM
Assuming I can get the Raspberry to output MIDI program changes from the GP-10, (big assumption), I may just go with something like this...

http://www.voodoolab.com/controlswitcher.htm (http://www.voodoolab.com/controlswitcher.htm)

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 20, 2014, 05:50:07 AM
Quote from: glennfin on September 20, 2014, 05:46:18 AM
Assuming I can get the Raspberry to output MIDI program changes from the GP-10, (big assumption), I may just go with something like this...

http://www.voodoolab.com/controlswitcher.htm (http://www.voodoolab.com/controlswitcher.htm)

There is no reason why you can't. I do it when I'm recording. I control my old Korg O3R.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 20, 2014, 06:15:30 AM
Quote from: loulea on September 20, 2014, 05:50:07 AM
There is no reason why you can't. I do it when I'm recording. I control my old Korg O3R.

Whoops! I just got caught up on what you want to do and it is not what I assumed. I am working on writing code to control GP-10 from the PI. I have only managed to initialize the USB port and send a few commands. I only get errors from the GP-10. Their (Roland) Midi parameter document needs a bit of work but I'm going to try again soon. This may be what you are looking for. I haven't worked on it in a while but once I figure out more stuff I can give more info.

loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on September 20, 2014, 06:59:55 AM
Read Gumtowns comments in this thread which explains Roland MIDI SYSEX and Checksum  STRUCTURE.

www.vguitarforums.com/smf/index.php?topic=3348.0 (https://www.vguitarforums.com/smf/index.php?topic=3348.0)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 20, 2014, 09:13:18 AM
I basically want to convert the outgoing USB program change messages from the GP10 to MIDI. i have no need to transmit (communicate) anything to the GP-10. Just one way transmission and only the program change messages need to be read. I was hoping to use a simple PIC processor but I've never programmed one before...... If you guys have already written the code to do this with the Raspberry I'll go that way but as someone else mentioned... we "dummies" (me) need a simple step by step procedure.
 

Quote from: loulea on September 20, 2014, 06:15:30 AM
Whoops! I just got caught up on what you want to do and it is not what I assumed. I am working on writing code to control GP-10 from the PI. I have only managed to initialize the USB port and send a few commands. I only get errors from the GP-10. Their (Roland) Midi parameter document needs a bit of work but I'm going to try again soon. This may be what you are looking for. I haven't worked on it in a while but once I figure out more stuff I can give more info.

loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 20, 2014, 11:59:16 AM
Quote from: glennfin on September 20, 2014, 09:13:18 AM
I basically want to convert the outgoing USB program change messages from the GP10 to MIDI. i have no need to transmit (communicate) anything to the GP-10. Just one way transmission and only the program change messages need to be read. I was hoping to use a simple PIC processor but I've never programmed one before...... If you guys have already written the code to do this with the Raspberry I'll go that way but as someone else mentioned... we "dummies" (me) need a simple step by step procedure.


I think you want to interpret that program change and control your rig via a relay. Is this correct? The PI can do it but it requires custom software to filter on the Midi message.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 20, 2014, 06:16:35 PM
No need to filter the MIDI messages..... the device that would be connected to the output of the PI would only respond to PGM change messages.... ignoring all other MIDI messages.

This thing = http://www.voodoolab.com/controlswitcher.htm (http://www.voodoolab.com/controlswitcher.htm)


Quote from: loulea on September 20, 2014, 11:59:16 AM
I think you want to interpret that program change and control your rig via a relay. Is this correct? The PI can do it but it requires custom software to filter on the Midi message.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 20, 2014, 06:37:56 PM
Please let me know if I've got this straight.....

1) The GP-10 host USB connects to a USB port on the PI

2) A generic USB to 5 pin DIN MIDI dongle connects to the other USB port on the PI

3) Code/software is programmed/loaded into the PI

4) We now have a stand alone GP-10 to 5 pin MIDI device that will run without connecting to anything else?

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 20, 2014, 06:39:24 PM
Quote from: glennfin on September 20, 2014, 06:16:35 PM
No need to filter the MIDI messages..... the device that would be connected to the output of the PI would only respond to PGM change messages.... ignoring all other MIDI messages.

This thing = http://www.voodoolab.com/controlswitcher.htm (http://www.voodoolab.com/controlswitcher.htm)

Then this is a lot easier than you think. You will need one additional hardware since the PI does not have 5 pin MIDI ports (IN/OUT); Just USB. you will need a USB to MIDI converter such as the Roland UM-1G. Connect the USB ports of the GP-10 and the UM-1G  to the PI. Connect the MIDI ports of the UM-IG to your Voodoo Lab device and this is all you need for your hardware setup. You will then need to setup your PI to with the NOOBS software and program the JackCtl utility that comes as part of the software to connect the GP-10 to the UM-1G. This effectively echoes out any information from the GP-10 to your device. You will have to set up the GP-10 to send the appropriate control change needed for your Voodoo Labs device.

Details are in this and other threads for setting up the PI. You can use the 8GB image or start from scratch.

Loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 20, 2014, 06:41:20 PM
Quote from: glennfin on September 20, 2014, 06:37:56 PM
Please let me know if I've got this straight.....

1) The GP-10 host USB connects to a USB port on the PI

2) A generic USB to 5 pin DIN MIDI dongle connects to the other USB port on the PI

3) Code/software is programmed/loaded into the PI

4) We now have a stand alone GP-10 to 5 pin MIDI device that will run without connecting to anything else?

BINGO!!!  ;) You interested now?  :)

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 20, 2014, 07:18:53 PM
Quote from: loulea on September 20, 2014, 06:41:20 PM
BINGO!!!  ;) You interested now?  :)

Oh yea!  :D I am VERY interested!. .. I just realized I need to get a monitor that has an HDMI input... all the monitors i have laying around are just VGA.

I'm going to order a PI B+ starter kit and get going.  :). I'll probably need some help getting the PI setup, programmed and able to power-up and power-down without jumping through hoops. I have visions of building it all into a box with just an on/off switch.

Thank you very much for your help. I really appreciate it.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 20, 2014, 07:32:34 PM
Quote from: glennfin on September 20, 2014, 07:18:53 PM
Oh yea!  :D I am VERY interested!. .. I just realized I need to get a monitor that has an HDMI input... all the monitors i have laying around are just VGA.

I'm going to order a PI B+ starter kit and get going.  :). I'll probably need some help getting the PI setup, programmed and able to power-up and power-down without jumping through hoops. I have visions of building it all into a box with just an on/off switch.

Thank you very much for your help. I really appreciate it.

No problem. You can load the image or load noobs from scratch. Batman above was able to load the image and seems he is up and running. For the monitor, you can just get a HDMI to VGA adapter for under 30 bucks. Some are 12 bucks on Amazon. Get a good one. Once you set up the PI you can remote into it and you won't need a monitor and a keyboard nor a mouse.

Let me know when you are ready!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on September 20, 2014, 08:01:09 PM
Quote from: glennfin on September 20, 2014, 05:46:18 AM
Assuming I can get the Raspberry to output MIDI program changes from the GP-10, (big assumption), I may just go with something like this...

http://www.voodoolab.com/controlswitcher.htm (http://www.voodoolab.com/controlswitcher.htm)

You're a champion, thanks so much.  I only flicked through the documents quickly and didn't watch the vids as I'm short on time; probably why I missed the password :)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on September 20, 2014, 08:06:55 PM
Quote from: glennfin on September 20, 2014, 07:18:53 PM
Oh yea!  :D I am VERY interested!. .. I just realized I need to get a monitor that has an HDMI input... all the monitors i have laying around are just VGA.

I'm going to order a PI B+ starter kit and get going.  :). I'll probably need some help getting the PI setup, programmed and able to power-up and power-down without jumping through hoops. I have visions of building it all into a box with just an on/off switch.

Thank you very much for your help. I really appreciate it.

I used my tv.  But, I'm pretty sure that Loulea's image was already configured to remote in (it worked first time for me when I had the correct password :))
You can probably get away without using a monitor at all to set it up; just plug it in to the network and use remote desktop with TightVNC.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 21, 2014, 06:47:02 AM
Quote from: loulea on September 20, 2014, 07:32:34 PM
No problem. You can load the image or load noobs from scratch. Batman above was able to load the image and seems he is up and running. For the monitor, you can just get a HDMI to VGA adapter for under 30 bucks. Some are 12 bucks on Amazon. Get a good one. Once you set up the PI you can remote into it and you won't need a monitor and a keyboard nor a mouse.

Let me know when you are ready!

Does the "image" contain everything?... just load it and go? or are there configurations that need to be set.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 21, 2014, 08:38:00 AM
Quote from: glennfin on September 21, 2014, 06:47:02 AM
Does the "image" contain everything?... just load it and go? or are there configurations that need to be set.

Load it, follow a couple instructions to configure the JackCtl software for your Midi gear and you are set. I suggest you read the files in the link I provided to Batman. It is very easy.

Steps:
1 load the image
2 configure the jack utility
3 start using

Optional
1 set up Putty for remote shell
2 set up tightvnc for Remote Desktop
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on September 21, 2014, 12:54:22 PM
Quote from: loulea on September 21, 2014, 08:38:00 AM
Optional
1 set up Putty for remote shell
2 set up tightvnc for Remote Desktop
I used Moba-Xterm which works very well
http://mobaxterm.mobatek.net/ (http://mobaxterm.mobatek.net/)
Does your image have a static IP address setup?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 21, 2014, 01:05:38 PM
Quote from: gumtown on September 21, 2014, 12:54:22 PM
I used Moba-Xterm which works very well
http://mobaxterm.mobatek.net/ (http://mobaxterm.mobatek.net/)
Does your image have a static IP address setup?

No It doesn't because it would be setup only for my network since you would need your network address range and gateway. Not everyone's is the same. I used the information on this site <http://www.suntimebox.com/raspberry-pi-tutorial-course/week-3/day-5/> . You basically need to modify one file ( /etc/network/interfaces) with your static IP address, Network Mask and gateway. Pretty simple.

The mobaxterm looks cool. Gonna try it!

loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 22, 2014, 02:42:10 AM
I may actually give this a try. It would be great to do it all with the PI, to control a relay with MIDI PGM change messages from the GP-10.

The process has my head spinning at the moment but I think i may give programming the PI a shot.

........baby steps  ;D


Quote from: gumtown on September 18, 2014, 04:55:23 PM
Here is something similar, a midi drum kit triggers a R-Pi solenoid/bell via MIDI
http://jeremyblythe.blogspot.co.nz/2013/03/raspberry-pi-midi-driven-solenoid-bell.html (http://jeremyblythe.blogspot.co.nz/2013/03/raspberry-pi-midi-driven-solenoid-bell.html)

something to start with, so it's not impossible
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 22, 2014, 04:54:08 AM
Quote from: Elantric on September 18, 2014, 11:49:36 AM
Yes MIDI Patch  Up/ Down are transmitted  - along with MIDI CC#7 for the on board Expression pedal


But Good luck getting the Boss GP-10 "MIDI over USB" communication going on Arduino

The only reason it works on the Raspberry Pi is due to its Linux based "Raspbian" OS including a port of Linux "Jack" Audio which already has a minimal hooks to support MIDI I/O for Roland gear - this is the crucial interface we rely on for achieving Boss GP-10 MIDI I/O (which remains NOT USB Audio/MIDI Class Compliant) , and "Jack" Audio runs on Linux, and does not does run on the low performance embedded Arduino CPU's 

http://jackaudio.org/applications/ (http://jackaudio.org/applications/)

I'm looking into doing what I need (GP-10 MIDI out PGM change to operate a relay) with a "Teensy Controller" . Do I really need "communications" when all I'm doing is reading serial data from the GP-10?... There will be no transmitting back to the GP-10.
Am I understanding that "class compliant" is only an issue when connecting to a PC where two way communications is involved. The PGM change messages are being sent out from the GP-10 USB port regardless of what's connected?  ???

Here = https://www.pjrc.com/teensy/td_midi.html (https://www.pjrc.com/teensy/td_midi.html)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on September 22, 2014, 05:19:26 AM
You need Jackaudio running on Linux to talk MIDI to Boss GP-10.
Neither the Teensy or Arduino support this. RASPBERRY PI does.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 22, 2014, 05:27:59 AM
Look at the "Receiving Messages" section on this page

https://www.pjrc.com/teensy/td_midi.html (https://www.pjrc.com/teensy/td_midi.html)

Again, for my application I'm just reading data from the GP-10. The GP-10 is transmitting PGM change messages regardless of what's connected. There is no need for 2 way communication.


Quote from: Elantric on September 22, 2014, 05:19:26 AM
You need Jackaudio running on Linux to talk MIDI to Boss GP-10.
Neither the Teensy or Arduino support this. RASPBERRY PI does.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on September 22, 2014, 05:30:24 AM
Remember the Boss GP-10 is not MIDI Class compliant.
The Windows /Mac computer running the Boss GP-10 Driver will see the MIDI communication from the GP-10.
Or the Raspberry Pi running JackAudio.

But I doubt you will see any communication with the Teensy.
Report your success or failure.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 22, 2014, 05:59:02 AM
Maybe I'm mistaken...... maybe the GP-10 DOESN'T transmit data unless it's connected to a compatible device.

I'm probably wrong about the ability to read and interpret the data stream...... or maybe the routines running on the teensy and arduino will only read from a class compliant device but I'm still trying to understand what the difference is regarding data transmission.
??? ???
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 22, 2014, 06:40:53 AM
Quote from: glennfin on September 22, 2014, 05:59:02 AM
Maybe I'm mistaken...... maybe the GP-10 DOESN'T transmit data unless it's connected to a compatible device.

I'm probably wrong about the ability to read and interpret the data stream...... or maybe the routines running on the teensy and arduino will only read from a class compliant device but I'm still trying to understand what the difference is regarding data transmission.
??? ???

Sorry glennfin, but what you are asking is not as simple as you think. To put it simply, there is a normal protocol for communicating over USB. There are device class' of USB such as storage like SDC cards, audio and video etc.. (see http://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0CDYQygQwAg&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FUSB%23Device_classes&ei=5yEgVM-aMor3yQTB9oCQCA&usg=AFQjCNEVC93QAoQkKcXjfmLcxPNzvsVCpg&bvm=bv.75775273,d.aWw (http://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0CDYQygQwAg&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FUSB%23Device_classes&ei=5yEgVM-aMor3yQTB9oCQCA&usg=AFQjCNEVC93QAoQkKcXjfmLcxPNzvsVCpg&bvm=bv.75775273,d.aWw)) that when you plug into a USB device (master such as a PC), it knows what type of device it is. In Windows and IOS, it will load the appropriate driver for that device as long is it follows the USB standard for communicating with that device. Unfortunately not all manufacturers follow this format for communicating and venture off on their own because the normal standard does not meet the requirements for their device to support the features they have in their device. Roland is one of these manufacturers.



I don't think you understand what is involved in trying to achieve what you want. It doesn't matter if the GP-10 requires one way or two communication, the effort is still the same. You will need a device that will have the MIDI protocol implemented and be able to filter on the CC messages as well as make the decision based upon those CC messages. You will have to understand two protocols to achieve what you desire. One is the USB protocol which is serial protocol but slightly different than your basic RS-232 serial link, and the other is MIDI of course. For the USB portion, you will have to write your own driver for the GP-10 if you are not using a windows based system or a system like the PI that ignores class compliance basically. This is a great deal of work and not as simple as you think. Your original plan is your best bet. All the PI would do is provide a means of communicating to your rig using the GP-10. You need to understand what you are trying do requires a lot of work. If you are willing to take that on, then you need to be aware of what you're in for.

If you succeed, let us know! ;)
loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 22, 2014, 08:15:46 AM
Hi Loulea and thanks very much for the explain. Sorry to you and Elantric for me being so thick headed. I think I'm getting it. :(

Are you saying the arduino and teeny are only capable of USB communication with class compliant devices?

In the case of the PI, the "driver" for communicating MIDI over USB with non-class compliant devices is actually the "Jack" program/routine?

The GP-10 uses a "custom" USB protocol ..... that COULD be communicated with using the arduino and Teeny except no one has yet to create a driver/program/routine for these devices like the one that exsists for the PI.

Am I up to speed yet?  :-\ ;D




Quote from: loulea on September 22, 2014, 06:40:53 AM
Sorry glennfin, but what you are asking is not as simple as you think. To put it simply, there is a normal protocol for communicating over USB. There are device class' of USB such as storage like SDC cards, audio and video etc.. (see http://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0CDYQygQwAg&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FUSB%23Device_classes&ei=5yEgVM-aMor3yQTB9oCQCA&usg=AFQjCNEVC93QAoQkKcXjfmLcxPNzvsVCpg&bvm=bv.75775273,d.aWw (http://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0CDYQygQwAg&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FUSB%23Device_classes&ei=5yEgVM-aMor3yQTB9oCQCA&usg=AFQjCNEVC93QAoQkKcXjfmLcxPNzvsVCpg&bvm=bv.75775273,d.aWw)) that when you plug into a USB device (master such as a PC), it knows what type of device it is. In Windows and IOS, it will load the appropriate driver for that device as long is it follows the USB standard for communicating with that device. Unfortunately not all manufacturers follow this format for communicating and venture off on their own because the normal standard does not meet the requirements for their device to support the features they have in their device. Roland is one of these manufacturers.



I don't think you understand what is involved in trying to achieve what you want. It doesn't matter if the GP-10 requires one way or two communication, the effort is still the same. You will need a device that will have the MIDI protocol implemented and be able to filter on the CC messages as well as make the decision based upon those CC messages. You will have to understand two protocols to achieve what you desire. One is the USB protocol which is serial protocol but slightly different than your basic RS-232 serial link, and the other is MIDI of course. For the USB portion, you will have to write your own driver for the GP-10 if you are not using a windows based system or a system like the PI that ignores class compliance basically. This is a great deal of work and not as simple as you think. Your original plan is your best bet. All the PI would do is provide a means of communicating to your rig using the GP-10. You need to understand what you are trying do requires a lot of work. If you are willing to take that on, then you need to be aware of what you're in for.

If you succeed, let us know! ;)
loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 22, 2014, 10:06:42 AM
Thanks for posting this Gumtown. What this guy is doing is very close to what I want to do except he's using a Din MIDI to USB interface going into the PI and he's using MIDI note on commands. Maybe I can get his code and learn how to modify it.


Quote from: gumtown on September 18, 2014, 04:55:23 PM
Here is something similar, a midi drum kit triggers a R-Pi solenoid/bell via MIDI
http://jeremyblythe.blogspot.co.nz/2013/03/raspberry-pi-midi-driven-solenoid-bell.html (http://jeremyblythe.blogspot.co.nz/2013/03/raspberry-pi-midi-driven-solenoid-bell.html)

something to start with, so it's not impossible
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on September 22, 2014, 11:01:20 AM
Quote
Are you saying the arduino and teeny are only capable of USB communication with class compliant devices?

In the case of the PI, the "driver" for communicating MIDI over USB with non-class compliant devices is actually the "Jack" program/routine?

Correct.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 22, 2014, 12:11:57 PM
Quote from: glennfin on September 22, 2014, 08:15:46 AM
Hi Loulea and thanks very much for the explain. Sorry to you and Elantric for me being so thick headed. I think I'm getting it. :(

Are you saying the arduino and teeny are only capable of USB communication with class compliant devices?

In the case of the PI, the "driver" for communicating MIDI over USB with non-class compliant devices is actually the "Jack" program/routine?

The GP-10 uses a "custom" USB protocol ..... that COULD be communicated with using the arduino and Teeny except no one has yet to create a driver/program/routine for these devices like the one that exsists for the PI.

Am I up to speed yet?  :-\ ;D

You are almost there but can sense some doubt on your part. I'd hate for you to purchase some gear and it doesn't work as you would expect. Using the PI and Voodoo device, seems like your best option with very little risk and very little science project effort in terms of software coding or designing an electrical interface. Everything is off-the-shelf.

Loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 22, 2014, 12:26:39 PM
Quote from: loulea on September 22, 2014, 12:11:57 PM
You are almost there but can sense some doubt on your part. I'd hate for you to purchase some gear and it doesn't work as you would expect. Using the PI and Voodoo device, seems like your best option with very little risk and very little science project effort in terms of software coding or designing an electrical interface. Everything is off-the-shelf.

Loulea

Did you see what this guy did? = http://jeremyblythe.blogspot.co.nz/2013/03/raspberry-pi-midi-driven-solenoid-bell.html (http://jeremyblythe.blogspot.co.nz/2013/03/raspberry-pi-midi-driven-solenoid-bell.html)
He's taking MIDI note messages and driving a relay (solenoid).

I'd like to learn to program the PI and I know what I want to do, can be done... it just won't be an immediate plug-n-play. It will be a learning experience and I stand to save $140 for not having to buy the Voodoo box. I can use the GPIO to drive a relay.... it's the programming/coding part I'm unsure of..... worse case, I can always buy the voodoo box later if I can't get it to work without it.

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 22, 2014, 12:50:25 PM
Quote from: glennfin on September 22, 2014, 12:26:39 PM
Did you see what this guy did? = http://jeremyblythe.blogspot.co.nz/2013/03/raspberry-pi-midi-driven-solenoid-bell.html (http://jeremyblythe.blogspot.co.nz/2013/03/raspberry-pi-midi-driven-solenoid-bell.html)
He's taking MIDI note messages and driving a relay (solenoid).

I'd like to learn to program the PI and I know what I want to do, can be done... it just won't be an immediate plug-n-play. It will be a learning experience and I stand to save $140 for not having to buy the Voodoo box. I can use the GPIO to drive a relay.... it's the programming/coding part I'm unsure of..... worse case, I can always buy the voodoo box later if I can't get it to work without it.

This is the perfect solution for you! He is using Python. I'm used to C but python seems to be more flexible at a higher level.

You have to design a hardware driver (probably a transistor pull-up to a supply voltage) to trigger a relay that would connect to your amp. Do you know any programming language? This is the only piece missing for you. To protect the PI, I would use an optocoupler circuit to avoid any signal spikes that may be above the TTL threshold going back to the PI. This is especially true when you are on stage or in your studio with long cables. Put lots of capacitors and have a good supply that will not generate noise spikes when that relay engages. You will need a clamp diode across your relay coil if you use a mechanical relay. This will prevent a high transient voltage spike when the relay coil is energized (Back EMF). These are important considerations so it is a tradeoff; spend the money and get the Voodoo or spend a little money and a lot of time integrating and debugging. The risk of damage to your equipment increases also with this approach.

This option is best for you but comes with risk.

Loulea

Louis
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on September 22, 2014, 01:11:43 PM
Quote from: glennfin on September 18, 2014, 11:10:40 AM
I'm getting ready to purchase a GP-10 for a simple setup live rig. I already have two VG-99's, one in my studio, the other is part of a fairly complex live rig I'm using with my experimental/Avant-garde group.

I plan on using the GP-10 with my Small Mesa amp (grab and go Rock and Roll gigs) but I really need to have amp channel control per patch. (as in the FC300 "amp control jack") Would this be possible with a Raspberry setup?. I'm assuming I would need to create code for the Raspberry where a transmitted patch number sent over USB would be converted to signal to turn a relay on and off.

Maybe there's a simpler way to accomplish but I can't think of any...
Back to your original question,
I am thinking simplest is best.

How about a regular single foot switch to change amp channels,
as you would also have to program into the Pi 'every patch' as to whether the amp channel is switched or not,
if you want the channel controlled by patch selection.

Although the Pi option is very much a lot of fun and new learning, and you can then say 'I CAN do it'.

I did a step by step setup on my version of using the Pi as a midi connect device,
my particular way of doing it has the Pi as a ROM device so it doesn't corrupt the card memory if the power is pulled.
At some stage I may write a script to allow it to automatically connect any USB midi device plugged in,
but for now my Pi is being re-purposed as a Lyric teleprompter.

Quote
I hope others can try it and share their results/thoughts/experiences.

Put forward some ideas on other uses or functions.

The Raspberry Pi is a complete micro computer the size of a cigarette packet,
with 4 USB ports, audio output, HDMI monitor out, Network enabled,
and a generous amount of digital I/O pins.

So here is a summary of the path I used to get the Raspberry Pi to work as a
General 4 port Midi USB cross connector/Hub and a Soft-synth (which the user can also make their own sound/sample set),
with the ability to be powered off without the requirement to shutdown.

https://www.vguitarforums.com/smf/index.php?topic=12067.msg87939#msg87939 (https://www.vguitarforums.com/smf/index.php?topic=12067.msg87939#msg87939)

https://www.vguitarforums.com/smf/index.php?topic=12067.msg88038#msg88038 (https://www.vguitarforums.com/smf/index.php?topic=12067.msg88038#msg88038)

https://www.vguitarforums.com/smf/index.php?topic=12067.msg88185#msg88185 (https://www.vguitarforums.com/smf/index.php?topic=12067.msg88185#msg88185)

https://www.vguitarforums.com/smf/index.php?topic=12067.msg88249#msg88249 (https://www.vguitarforums.com/smf/index.php?topic=12067.msg88249#msg88249)
*Note: fixed broken links

Or a simpler Pi setup is to use loulea's image file copied onto a micro SD card and have it fire up 'out of the box' ready.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 22, 2014, 01:26:07 PM
Hi Louis;

Hardware design is my thing so I understand what needs to be done on that end..... software? not so much.
You asked if I know any programming language.... get ready to laugh... I've done quite a bit of programming in quick basic (compiled basic) but that was a long time ago... (obviously)... I assumed that I would use python since that seems to be what's used with the PI but I don't know anything about it. That being said, I am willing to try, copying examples from code created by other users and patching something together would be my approach  ::) but that's how we learn...

Quote from: loulea on September 22, 2014, 12:50:25 PM
This is the perfect solution for you! He is using Python. I'm used to C but python seems to be more flexible at a higher level.

You have to design a hardware driver (probably a transistor pull-up to a supply voltage) to trigger a relay that would connect to your amp. Do you know any programming language? This is the only piece missing for you. To protect the PI, I would use an optocoupler circuit to avoid any signal spikes that may be above the TTL threshold going back to the PI. This is especially true when you are on stage or in your studio with long cables. Put lots of capacitors and have a good supply that will not generate noise spikes when that relay engages. You will need a clamp diode across your relay coil if you use a mechanical relay. This will prevent a high transient voltage spike when the relay coil is energized (Back EMF). These are important considerations so it is a tradeoff; spend the money and get the Voodoo or spend a little money and a lot of time integrating and debugging. The risk of damage to your equipment increases also with this approach.

This option is best for you but comes with risk.

Loulea

Louis
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 22, 2014, 01:31:55 PM
Quote from: glennfin on September 22, 2014, 01:26:07 PM
Hi Louis;

Hardware design is my thing so I understand what needs to be done on that end..... software? not so much.
You asked if I know any programming language.... get ready to laugh... I've done quite a bit of programming in quick basic (compiled basic) but that was a long time ago... (obviously)... I assumed that I would use python since that seems to be what's used with the PI but I don't know anything about it. That being said, I am willing to try, copying examples from code created by other users and patching something together would be my approach  ::) but that's how we learn...

Hardware is my thing too and programming is my thing when it comes to C. I can live it with you  ;). You introduced me to the ALSA library today which is eye opening for me. Here I was creating a low level driver for MIDI via USB when I can just use the ALSA library. Thanks to you and Gumtown!

Louis
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on September 22, 2014, 01:48:24 PM
ALSA is cool, and very modular.
Also the USB drivers get built into the native Linux Kernal, more different types/brands with each Kernal update.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 22, 2014, 01:55:58 PM
Quote from: gumtown on September 22, 2014, 01:48:24 PM
ALSA is cool, and very modular.
Also the USB drivers get built into the native Linux Kernal, more different types/brands with each Kernal update.

Great to know!

Gonna try out some commands tonight! When I first looked at the PI for solving the GP-10 class compliance, I never thought it would open up so many possibilities. You guys are now experts!! Great information in these forums!

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 22, 2014, 02:15:46 PM
A single foot switch that would have to be pressed at the same time/in addition to the footswitch on the GP-10 maybe several times during a song during a live performance?  ??? ... not an option..

I'll try PI without the voodoo first.  ;D

Quote from: gumtown on September 22, 2014, 01:11:43 PM
Back to your original question,
I am thinking simplest is best.

How about a regular single foot switch to change amp channels,
as you would also have to program into the Pi 'every patch' as to whether the amp channel is switched or not,
if you want the channel controlled by patch selection.

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 23, 2014, 05:45:48 AM
Quote from: gumtown on September 22, 2014, 01:11:43 PM
as you would also have to program into the Pi 'every patch' as to whether the amp channel is switched or not,
if you want the channel controlled by patch selection.

You hit the nail on the head Gumtown... THAT is the only stumbling block..... which may force me to go with the Voodoo or similar external solution.

If there was someway to program a lookup table while it's in the PI......

There is a homebrew DIY version of the Voodoo switch I'm looking into right now. It's a simple circuit that uses a PIC processor.

Mitch MIDI switch = http://www.jimkim.de/guitar-projects/the-midi-switch/ (http://www.jimkim.de/guitar-projects/the-midi-switch/)

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 23, 2014, 07:32:27 AM
Quote from: glennfin on September 23, 2014, 05:45:48 AM
You hit the nail on the head Gumtown... THAT is the only stumbling block..... which may force me to go with the Voodoo or similar external solution.

If there was someway to program a lookup table while it's in the PI......

There is a homebrew DIY version of the Voodoo switch I'm looking into right now. It's a simple circuit that uses a PIC processor.

Mitch MIDI switch = http://www.jimkim.de/guitar-projects/the-midi-switch/ (http://www.jimkim.de/guitar-projects/the-midi-switch/)

Looking at alsa MIDI commands you can define your setup in several individual files and store them on the PI. You can write a program that filters on the program change received from the GP-10 and send the required file to the voodoo or configure the GPIO port to turn on a relay. After fooling around with it (almidi library), this a good option for easily configuring your device without having to touch your code each time.

This is a neat project! I may start it for you!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 23, 2014, 11:28:14 AM
If you're using the Voodoo or the DIY version "Mitch", you don't need to do anything beyond what you're already done with your current disk image. The Voodoo accepts program change messages and switches a relay accordingly. You program the Voodoo/Mitch to open or close the relay depending on the patch you select on the GP-10. I already downloaded the HEX file and schematic for the MITCH and the circuit is very simple. I'm going to build that into a box with the PI running your image file.

Question....... does your program (the image file) allow you to power up and power down the PI without doing anything else? It autoloads the program with just a powerup??and safely turns off when power is removed?. This is important for the one box solution I'm building.



Quote from: loulea on September 23, 2014, 07:32:27 AM
Looking at alsa MIDI commands you can define your setup in several individual files and store them on the PI. You can write a program that filters on the program change received from the GP-10 and send the required file to the voodoo or configure the GPIO port to turn on a relay. After fooling around with it (almidi library), this a good option for easily configuring your device without having to touch your code each time.

This is a neat project! I may start it for you!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on September 23, 2014, 11:38:28 AM
You could just build the RPI inside a FCB1010 to do your usb midi for the GP-10 and it has 2 relay switches built in allready to switch your amp.  If its 2 big, cut-off 1 or both of the expression pedals unless you need them. This is what I'll do, If I end up getting a GP-10 to go with my GR55 and Kemper
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on September 23, 2014, 11:58:28 AM
My reason for getting the GP-10 is to have a one single, small, foot pedal on the floor for grab and go gigs. If I'm going to drag a big foot controller to a gig I might as well bring my VG-99 / FC300 combo. This will be a small and simple setup.  ;)

Quote from: whippinpost91850 on September 23, 2014, 11:38:28 AM
You could just build the RPI inside a FCB1010 to do your usb midi for the GP-10 and it has 2 relay switches built in allready to switch your amp.  If its 2 big, cut-off 1 or both of the expression pedals unless you need them. This is what I'll do, If I end up getting a GP-10 to go with my GR55 and Kemper
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 23, 2014, 12:07:02 PM
Quote from: glennfin on September 23, 2014, 11:28:14 AM
If you're using the Voodoo or the DIY version "Mitch", you don't need to do anything beyond what you're already done with your current disk image. The Voodoo accepts program change messages and switches a relay accordingly. You program the Voodoo/Mitch to open or close the relay depending on the patch you select on the GP-10. I already downloaded the HEX file and schematic for the MITCH and the circuit is very simple. I'm going to build that into a box with the PI running your image file.

Question....... does your program (the image file) allow you to power up and power down the PI without doing anything else? It autoloads the program with just a powerup??and safely turns off when power is removed?. This is important for the one box solution I'm building.

I don't know but that voodoo box seems like the ideal option for you :)! For the GPIO option though you will have to have a lookup table or config file that has the required information on what to do to the GPIO pins when a particular program change is received.  This was a suggestion as a way of easily reconfiguring the PI easily.

As far as the the shutdown feature, I did write a shutdown script where you would have to incorporate a pull-up resistor and a momentary switch but I disabled it because not everyone would want that feature and for an average user it would be hard to incorporate. There is a COTS part you can purchase that attaches to the usb power jack and then your power plugs into it. You would then connect wires to the GPIO port. It is Mausberry circuits and I posted links in this thread. I purchased one but broke it. I just used my circuit. If you want info on how to enable my code if your going to use the image, I can provide more info.

Loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 23, 2014, 02:03:56 PM
Here is a list of "almidi" commands if interested.

Usage: amidi options

   -h, --help             this help
   -V, --version          print current version
   -l, --list-devices     list all hardware ports
   -L, --list-rawmidis    list all RawMIDI definitions
   -p, --port=name        select port by name
   -s, --send=file        send the contents of a (.syx) file
   -r, --receive=file     write received data into a file
   -S, --send-hex="..."   send hexadecimal bytes
   -d, --dump             print received data as hexadecimal bytes
   -t, --timeout=seconds  exits when no data has been received
                          for the specified duration
   -a, --active-sensing   don't ignore active sensing bytes

This website is good info for structuring the data for sending and receiving. <<http://alsa.opensrc.org/Amidi (http://alsa.opensrc.org/Amidi)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on September 23, 2014, 05:10:48 PM
If you are into c, c++, or Python programming, then RtMidi is a great interface for programming and midi (works on Linux-ALSA, mac osx, and windows).
http://www.music.mcgill.ca/~gary/rtmidi/ (http://www.music.mcgill.ca/~gary/rtmidi/)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: autodidactic on September 23, 2014, 06:50:18 PM
Hi there. I have an older rpi. I don't have a spare SD card and I don't want to lose some stuff I was already doing on it with PureData and the like. So I want to set this up on my existing Raspbian installation. I am not a low level programmer but am quite comfortable with Linux as far as systems administration and web development is concerned.

I fired up qjackctl and it doesn't recognize the GP-10 at all. I was wondering what kernel version are you using?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on September 23, 2014, 08:14:05 PM
I used the latest 9/9/2014 download.
Kernel version: 3.12

SD card doesn't cost too much and are easy to find.

Or
make a backup of your existing card with Win32DiskImager
http://sourceforge.net/projects/win32diskimager/ (http://sourceforge.net/projects/win32diskimager/)

and update the Kernal with
sudo apt-get update
and
sudo apt-get upgrade



Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: autodidactic on September 23, 2014, 08:56:02 PM
Ok, that's probably it then. I haven't updated my Raspbian in a while and am using kernel 3.6. I'll run a dist-upgrade then. No sense in going through another SD card and fresh install just to get a kernel module.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 24, 2014, 10:30:55 AM
Quote from: autodidactic on September 23, 2014, 08:56:02 PM
Ok, that's probably it then. I haven't updated my Raspbian in a while and am using kernel 3.6. I'll run a dist-upgrade then. No sense in going through another SD card and fresh install just to get a kernel module.

I would still image your card though to retain your previous state if something were to happen. I've had a couple things happen which I couldn't undo because of programming or loading and had to revert back to a previous image.  :).

http://sourceforge.net/projects/win32diskimager/ (http://sourceforge.net/projects/win32diskimager/)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: autodidactic on September 24, 2014, 11:02:48 AM
Quote from: loulea on September 24, 2014, 10:30:55 AM
I would still image your card though to retain your previous state if something were to happen. I've had a couple things happen which I couldn't undo because of programming or loading and had to revert back to a previous image.  :).

http://sourceforge.net/projects/win32diskimager/ (http://sourceforge.net/projects/win32diskimager/)

Thanks for the good advice. After doing some research it seems that my particular installation is not going to work with the GP-10. Usually with Linux distributions, you use the package manager to upgrade the kernel and then modify the GRUB bootloader's boot parameters to boot using the new kernel. Raspberry Pi OTOH wants you to use the rpi-updater utility which updates the firmware as well as the kernel. Unfortunately, after upgrading using all the usual methods, Raspbian insists on sticking to kernel version 3.6. It doesn't use GRUB to boot and I am not really into learning a new boot loader right now. I'll just use rsync to backup my home directory and do a clean install. The only data on my Pi right now that is worth saving is a collection of PureData patches so not a huge loss.

I am looking forward to getting my Pi setup and chipping in with some development. I'm really liking the GP-10 experience so far. Not only has it given me an enormous sonic pallet, but it's letting me get my nerd on too ;D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on October 05, 2014, 03:58:41 AM
Thanks loulea and everyone else, it works!

If only I could plug in my midi controller and use tone studio at the same time...
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on October 05, 2014, 08:33:48 AM
Quote from: batman on October 05, 2014, 03:58:41 AM
Thanks loulea and everyone else, it works!

If only I could plug in my midi controller and use tone studio at the same time...

Glad to hear Batman!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on October 07, 2014, 05:01:53 PM
I now have my GP-10 hooked up through the Rasberry PI into a Neutronik IMOne midi interface. The cool thing about the IMOne is that it has female connectors. One MIDI in and two MIDI outs, so it's acts like the 5 pin MIDI the GP-10 should have. So my rig looks like:

iPad>MIDI lead out 1>Voicelive 3
     >MIDI lead out 2>IMOne>Raspbery PI>GP-10

It works great!

I also tried plugging into a synth from the GP-10 this way and latency is acceptable ie as good as the GP-10 can be. I have to admit I had been playing around with the triple play before this so latency was made blatantly obvious. The FTP is still the best there is!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on October 07, 2014, 07:37:17 PM
Quote from: BackDAWman on October 07, 2014, 05:01:53 PM
I now have my GP-10 hooked up through the Rasberry PI into a Neutronik IMOne midi interface. The cool thing about the IMOne is that it has female connectors. One MIDI in and two MIDI outs, so it's acts like the 5 pin MIDI the GP-10 should have. So my rig looks like:

iPad>MIDI lead out 1>Voicelive 3
     >MIDI lead out 2>IMOne>Raspbery PI>GP-10

It works great!

I also tried plugging into a synth from the GP-10 this way and latency is acceptable ie as good as the GP-10 can be. I have to admit I had been playing around with the triple play before this so latency was made blatantly obvious. The FTP is still the best there is!

Another successful PI story's! Glad to hear of your success. Did you use the image or load from scratch? Is there also a noticeable difference in the latency? I cannot notice any.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on October 08, 2014, 01:39:55 PM
I loaded Raspbian on myself and set it up. I figured that if it was working I wouldn't mess with it.

I don't think the PI adds any detectable latency. I think the GP-10 has about the same latency as my GR-55.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on October 08, 2014, 04:46:09 PM
Nice to see that after 3 months - Roland US still provides a link to this thread !
(they typically remove all references to VGuitarforums from the Roland Blog after 1 week)
http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/ (http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: supernicd on October 09, 2014, 03:54:09 AM
Quote from: Elantric on October 08, 2014, 04:46:09 PM
Nice to see that after 3 months - Roland US still provides a link to this thread !
(they typically remove all references to VGuitarforums from the Roland Blog after 1 week)
http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/ (http://www.rolandus.com/blog/2014/03/14/gp-10-guitar-processor/)

That is a strange policy for Roland to have.  Granted, I guess we do post our criticisms and wish list items here too, but this site has helped me get far more from my Roland gear than I ever would have alone.  And in fact my membership and participation in this forum could be directly linked to me purchasing more Roland gear.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: pasha811 on October 09, 2014, 04:42:03 AM
I discovered VG99 because of this forum and eventually got one.. I am with you! :-)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on October 09, 2014, 05:16:12 AM
I don't see why Roland would have objections to this since we are promoting Roland products. We are highlighting both the good and the bad and providing solutions to deficiencies in their products or promoting some the great features also. If I were them I would provide a PI with every GP-10 :). These forums provide a valuable service and I am glad to be part of it. I feel another thread starting :).
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on October 15, 2014, 10:04:31 AM
http://www.amazon.com/exec/obidos/ASIN/B00LAAKNHY (http://www.amazon.com/exec/obidos/ASIN/B00LAAKNHY)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2872014%2F1413392657_24864693_Raspberry.PNG&hash=f5413d310b92a1cb613fad6901c2d5a7a0246ef3)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on October 15, 2014, 10:55:01 AM
Quote from: Elantric on October 15, 2014, 10:04:31 AM
http://www.amazon.com/exec/obidos/ASIN/B00LAAKNHY (http://www.amazon.com/exec/obidos/ASIN/B00LAAKNHY)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F2872014%2F1413392657_24864693_Raspberry.PNG&hash=f5413d310b92a1cb613fad6901c2d5a7a0246ef3)

This is a steal!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on October 22, 2014, 04:07:03 AM
Let's say I have a midi controller and one of the buttons is set to tap tempo.  The midi controller outputs tap tempo on one midi channel only (but can transmit PC/CC on multiple channels).
Let's also say that I use a GP-10 + RP, which go to the PA, and external effects which feed through to a normal guitar amp.  One of those effects could be a delay or other time-based effect that accepts midi to switch patches and sync tempo.  However, I don't want the effect pedal and GP-10 on the same midi channel as I use many patches on the GP-10 and don't want to set up a bunch of 'blank' patches for the delay.
Is it possible to configure the Raspberry Pi to 'listen' to the delay on one midi channel and output it on 2 channels (1 for the GP-10 and 1 for the delay pedal)?

I'm aware that this http://www.midisolutions.com/prodevp.htm (http://www.midisolutions.com/prodevp.htm) and possibly this http://www.midisolutions.com/prodbtc.htm (http://www.midisolutions.com/prodbtc.htm) may provide a solution but it would be nice to avoid spending too much more money :)

Thanks
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on October 23, 2014, 01:44:16 PM
If you could find a MIDI application for Linux that could do MIDI routing you certainly could with the PI running Raspbian.

Google is your friend but here is the first thing I found:

http://linux-sound.org/one-page.html?bcsi_scan_C6EECA52839E4502=0&bcsi_scan_filename=one-page.html#midi (http://linux-sound.org/one-page.html?bcsi_scan_C6EECA52839E4502=0&bcsi_scan_filename=one-page.html#midi)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on October 23, 2014, 03:11:38 PM
wouldn't you just simply have the GP-10 on (for example) midi channel 1 and the delay unit on midi channel 2, and have the required switching done with this fancy multi-channel midi controller.
I can't recall if clock sync is midi channel specific or uses system exclusive instead (where channel is ignored).
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on October 24, 2014, 05:19:24 AM
Quote from: gumtown on October 23, 2014, 03:11:38 PM
wouldn't you just simply have the GP-10 on (for example) midi channel 1 and the delay unit on midi channel 2, and have the required switching done with this fancy multi-channel midi controller.
I can't recall if clock sync is midi channel specific or uses system exclusive instead (where channel is ignored).

The midi controller (RJM Mastermind FYI) only outputs tap tempo on one channel, so whatever isn't on that channel would ignore the tap signal.  That's a good point about the clock sync but I'm learning this midi stuff as I go so will have to look into it.
I didn't really search too much because I know essentially nothing about Linux as well and am not really sure what I'm looking for.  And if I found it I doubt I could get it working reliably.  I was hoping someone would say "sure you can do that with R Pi straight out of the box, just..." :/
But yes I'll look into it further
Thanks
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: bigdough on November 13, 2014, 11:23:47 AM
Hi guys,
I spent the last three days reading and doing my best to understand what I was reading throughout this thread and, despite my complete ignorance of electronics and programming combined with my poor English, I have a sense that what you did and still do is remarkable; so tons of respect and gratitude from Rome – Italy where I live! (Special thanks to Elantric making extra efforts so that people beyond dumbness like me can actually understand something).
Now I'll describe my situation with my basic vocabulary, hope you'll forgive me:
I'm a happy VG-99 user, I control it with a Parker Fly Classic 1994 equipped with a RMC Poly Drive I and a sustainiac pickup; I'm also a looping guy (of the soundscapes type), so in time I built up a system which now looks like this:
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3162014%2F1415904584_716597305_Senzatitolo1.png&hash=234b167beda5cc3d58844bb88208a2b923223b5b) (http://www.snapagogo.com/photo.php?id=62051)  (http://"http://www.snapagogo.com")
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3162014%2F1415904620_599022060_Senzatitolo2.png&hash=e3db088c33e5b686e515ca96c2fb68cae350741d) (http://www.snapagogo.com/photo.php?id=62052)  (http://"http://www.snapagogo.com")
The Rolls Midi Wizard is actually there only to control the Looperlative, for the rest of the system I use a Roland FC-300 (the whole thing has been assembled by a friend of mine who's a professional: http://www.spfmanufacturing.com/ (http://www.spfmanufacturing.com/)).
I drive the old Oberheim Matrix 1000 synth from the VG-99 midi out while the audio mono out of the synth goes back into the VG-99 via the "Guitar input" plug, so that I can process that signal into the VG effect chain an control the mix between the Matrix and the VG with one of the two exp. pedal of the FC-300. The Eclipse gets the digital audio signal via the SPDIF from the VG. Now, as the Eclipse has two pairs of stereo outs, the signal is sent both to the mini-line-mixer and to the Looperlative, and then the Looperlative outs (only wet) go to the mini-line-mixer too. I had to do it that way because the Looperlative in a series chain just sucks, in parallel... well, it's just acceptable. In fact the week element of the whole system is definitely the Looperlative, but this is another matter; also that is the past...
My frustration for the Looperlative poor performance, the need for a lighter/simpler setup, and last but not least, my unstoppable fever for getting gear, brought me firstly here:
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3162014%2F1415904941_707911861_Senzatitolo3.png&hash=339ba5ab4c004c179bf54b3eae7cb813a322502c) (http://www.snapagogo.com/photo.php?id=62053)  (http://"http://www.snapagogo.com")
And now here:
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3162014%2F1415905446_68415477_Senzatitolo4.png&hash=55f2354623e47eebbd86e0288c8b05c1f334d057) (http://www.snapagogo.com/photo.php?id=62054)  (http://"http://www.snapagogo.com")
Now, I guess I don't need to explain where I'm heading to...
Checking MusicOverGear's shopping list:
Stuff I already got:

•   Boss GP-10 with a GK Pickup (see last pic).
•   Midi Foot Controller that sends Program Change Messages (My Rolls Midi Wizard).
•   Raspberry Pi B+ 512MB
•   Pi Power Supply.
•   Micro USB Cable to connect the power supply to the Pi.
•   Pretty Much Any Micro-SD Card 4GB or higher (I just ordered this kit which is now on its way).
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3162014%2F1415905491_803353505_Senzatitolo5.png&hash=9401cccca2d90d0dacb0259d5f105d9e4e8af7df) (http://www.snapagogo.com/photo.php?id=62055)  (http://"http://www.snapagogo.com")
Stuff I still have to get:

•   Inline Midi Interface & Cables.

If I got it right, there are two main ways of doing the thing: Loulea's and MusicOverGear's, and I'm figuring out a third way for me which is somewhere in the middle: because I'm getting a Micro SD Card pre-loaded with "NOOB", I'd rather avoid the whole thing of the disk image which didn't seem to get to any full declared success anyway; also, although I didn't really understand how to do it, I'd rather avoid to install a power button by making the SD card "read-only". On the other hand I'd like to get my Ipad to program the Pi possibly using the GUI rather than typing those hieroglyphics...

A second list again from MusicOverGear:

Software You Will Download
SD Formatter
NOOBS

General flow of events:
Format card
Download NOOBs
Unzip NOOBs
Copy NOOBs to card
--------------------------------------------------------------------------------
Until here, providing my Micro SD Card pre-loaded with "NOOB" works, I should be ok, that is, I don't have to do it
Plug in all devices to the Pi: GP-10 USB, Midi Interface USB, USB Mouse, USB Keyboard, HDMI Video, Ethernet
--------------------------------------------------------------------------------
Put card into Pi
Power up the Pi
Install Raspbian
Use Raspi-Config to make Raspbian boot to LXDE (Desktop Environment)
Open QjackCtl and learn how to make connections
Use Patchbay to make a connection file
Activate patch bay persistence
Open a Terminal and type the following
sudo leafpad
Open the file /etc/xdg/lxsession/LXDE/autostart
add the following line to the autostart file
@qjackctl
reboot using the little power button in the start menu
bask in sense of accomplishment
---------------------------------------------------------------------
I suppose that up to here the document Loulea attached here: https://www.vguitarforums.com/smf/index.php?topic=11998.msg87161#msg87161 (https://www.vguitarforums.com/smf/index.php?topic=11998.msg87161#msg87161) supported by the unsuccessful but detailed report by Elantric: https://www.vguitarforums.com/smf/index.php?topic=11998.msg87313#msg87313 (https://www.vguitarforums.com/smf/index.php?topic=11998.msg87313#msg87313) should be able to guide me through the process...
---------------------------------------------------------------------
decide how you want to do a shutdown script and do it
You can just buy a solution like this one, or...
You can follow my instructions below, which picks up from a previous video and requires some very basic computer literacy - not for everyone.
---------------------------------------------------------------------
This last bit I really don't know, the following vid is too much for me. From Loulea's side this post looks like the state of the art: https://www.vguitarforums.com/smf/index.php?topic=11998.msg88049#msg88049 (https://www.vguitarforums.com/smf/index.php?topic=11998.msg88049#msg88049) but still it's not clear to me if I need a physical power switch or not (I'd rather not).
---------------------------------------------------------------------

Now here comes my list of questions:

1.   Will the Micro SD Card pre-loaded with "NOOB" included in the kit be enough for the purpose or will I need an extra one, possibly 16GB? Maybe, if anything, just for the backup?
2.   For the process of Pi programming shall I hook the Pi to my home rooter via Ethernet cable?
3.   Will I also need a Wireless Wifi Adapter to make my Ipad communicate with the Pi? And would this one be ok? http://www.amazon.it/TP-LINK-TL-WN725N-Adattatore-Wireless-Configurazione-semplice/dp/B008IFXQFU/ref=sr_1_5?ie=UTF8&qid=1415876245&sr=8-5&keywords=Wireless+Wifi+Adapter (http://www.amazon.it/TP-LINK-TL-WN725N-Adattatore-Wireless-Configurazione-semplice/dp/B008IFXQFU/ref=sr_1_5?ie=UTF8&qid=1415876245&sr=8-5&keywords=Wireless+Wifi+Adapter)
4.   I watched tons of vids and I'm a bit confused now: which one I should take as a reference to accomplish my task?
5.   Since I share with MusicOverGear the wish to implant the Pi somewhere into my pedalboard, is there a safe way to power it on/off with the rest of the gear without having to install and always use the Power Button?
6.   If I plug the midi out from the MIDI-USB cable/interface into the midi in socket of my Eventide H9 will this enable to send midi program change message from the Rolls pedalboard to the H9?
7.   Once I've done all that (which is still quite far), I'm thinking of hooking my Ipad to the Pi via USB (camera kit) and drive a soft synth with note on messages coming from the GP-10 (the audio from the Ipad would go into the GP-10 via Aux in); do you guys see this as a possibility? And for that, if I think ahead, I'd probably need a good quality MIDI-USB cable/adapter like Roland UM-ONE mk2 or ESI MIDIMATE II rather than a generic Inline Midi Interface & Cables (Listed as HDE USB MIDI Cable Converter PC to Music Keyboard) sold by amazon, right?

Now I want to thank you again, especially the ones who made it through this long blurb to this point, then, if you feel like support and answer my questions, I'll buy you a cappuccino next time you'll happen to be in Rome!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on November 13, 2014, 11:58:25 AM
I just ordered a Raspberry Pi kit also for the same purpose with a 32 GB sd card. I plan on documenting my steps as well. I did order the wireless adapter in case I need to SSH into it later on. I won't receive my kit until some time next week.


Sent from my iPad using Tapatalk
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on November 13, 2014, 12:01:35 PM
There are many steps -

One day we'll create a step by step PDF Guide

Untill then just have to read the two threads we have on Raspberry Pi MIDI I/O setup.
and watch the YouTube videos that have been posted in the threads
https://www.vguitarforums.com/smf/index.php?topic=12067.0 (https://www.vguitarforums.com/smf/index.php?topic=12067.0)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on November 13, 2014, 12:24:37 PM
Quote from: Kevin M on November 13, 2014, 11:58:25 AM
I just ordered a Raspberry Pi kit also for the same purpose with a 32 GB sd card. I plan on documenting my steps as well. I did order the wireless adapter in case I need to SSH into it later on. I won't receive my kit until some time next week.


Sent from my iPad using Tapatalk
The 32Gb (micro SD only for the Pi B+) is probably overkill but the prices are pretty good these days,
8Gb is plenty, I went for the Samsung micro SD as it had the best of the pick (at that time) for read and access times (fastest).
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on November 13, 2014, 12:54:52 PM
Gents,

I spent a great deal of time documenting different ways to load the gp-10 but no one seems to follow them. In my latest effort I created an 8GB image which some have successfully loaded and used. This image has VNC (capability to Remote Desktop into the PI) and secure shell. Just load it, configure the Jack midi for your setup which I have provided videos and documentation and start controlling your devices.

If you know nothing about loading sofware you can still follow the instructions on the PI website to load your software. Keep in mind that just because your card comes equipped with noobs you still need to configure with Raspbian and specify the proper settings such as booting to the desktop or command prompt. You still need to configure the jack software first for your instruments and then to boot up configured connecting your instruments alleviating the need for a keyboard, monitor and mouse. If you want remote access to the PI then you can install tight VNC or SSH (secure shell terminal type access). My image already took care of this. If you select this method then you need to follow the instructions as I don't feel others did.

You asked a lot of question but one that stuck out was using the PI with an iPad and a camera connection kit. This is not possible because you'd be violating the usb spec of having two controllers connected. In my image I have tightVNC loaded that if I want to get access to the PI and I have it hooked up to the network via a wireless adapter, I can from my iPad or computer from anywhere in the house. There is an ap available and I have video on how to configure it for your network since you wanted remote access.

Either way you go you will have success but read the latest info from the other forum.

By the way, I love your setup. Good luck!

---


Here is a link to where I stored all the info on how to setup the PI. There are a couple of videos on how to access it via the computer or IPAD. There is info on how to setup JackCtl.
https://drive.google.com/folderview?id=0Byf4qrn_H-ZCVTRfZGdHUEpkcm8&usp=sharing

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on November 13, 2014, 01:40:22 PM
Quote from: gumtown on November 13, 2014, 12:24:37 PM
The 32Gb (micro SD only for the Pi B+) is probably overkill but the prices are pretty good these days,
8Gb is plenty, I went for the Samsung micro SD as it had the best of the pick (at that time) for read and access times (fastest).

Thanks gumtown.  I figured having extra couldn't hurt in case I wanted to re-purpose the Pi at some point.  Just now taking a look at SD card speed ratings.  Mine is a class 4, but I'm seeing class 10.  Should I opt for a class 10 card instead?

Edit:  A follow-up....based on what I see in this forum reply:  http://direct.raspberrypi.org/forums/viewtopic.php?f=63&t=83999, (http://direct.raspberrypi.org/forums/viewtopic.php?f=63&t=83999,) I think I'm going to go for a class 6 instead of 10.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: aliensporebomb on November 13, 2014, 07:00:19 PM
BigDough:  Nice setup!  Another soundscape looper here!  Welcome!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: bigdough on November 14, 2014, 01:19:13 AM
Thanks everybody! It's a great community!
Still waiting for my order to be delivered, I'll keep you informed.
Meanwhile I'm investigating potentials and limitations sound wise of my new mini setup: lotsa fun!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on November 19, 2014, 12:20:36 PM
A question for those that are running the PI....

Has anyone had any issues of noise in your audio when the PI is connected?.
I've had noise issues in the past when laptop was connected to a pedalboard, VG99, etc... which was eliminated by plugging the laptop into an AC line isolation transformer.


Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on November 19, 2014, 01:42:32 PM
Have not had that issue yet,
but it is a real possibility connecting USB to USB
as there is no opto/ground isolation like there is through a 5-pin midi adapter.

For my Pi power supply, I am using a regular Samsung phone recharger, the supply is ground isolated.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on November 19, 2014, 02:26:23 PM
That could be a problem especially when connected to a high gain guitar amp as I will be doing...
We'll see..... glad to hear your's is ok.


Quote from: gumtown on November 19, 2014, 01:42:32 PM
Have not had that issue yet,
but it is a real possibility connecting USB to USB
as there is no opto/ground isolation like there is through a 5-pin midi adapter.

For my Pi power supply, I am using a regular Samsung phone recharger, the supply is ground isolated.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on November 21, 2014, 07:33:49 PM
Received all but my MIDI cable today. So far it's been pretty easy to setup using loulea's image. Not sure if it was posted, but the default password for pi didn't work for me. Easy enough to change. One gripe is that I couldn't get it to connect to my hidden wireless network. I have another wireless network and used that one instead.  Running it headless now and using ssh and tightvnc. Hope to test MIDI tomorrow when cable arrives. More to report later.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on November 23, 2014, 09:27:03 AM
Quote from: Kevin M on November 21, 2014, 07:33:49 PM
Received all but my MIDI cable today. So far it's been pretty easy to setup using loulea's image. Not sure if it was posted, but the default password for pi didn't work for me. Easy enough to change. One gripe is that I couldn't get it to connect to my hidden wireless network. I have another wireless network and used that one instead.  Running it headless now and using ssh and tightvnc. Hope to test MIDI tomorrow when cable arrives. More to report later.

Just a follow-up to this....received cable, made connections, configured Patchbay to use my USB MIDI cable
(which was instantly recognized along with my GP-10 and shown in the Connect dialog) and voila!  I had
intended to document my experience in detail, but using loulea's image and video, this really is plug and play.
The only challenge thus far was with the wireless network hiccup. 
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on November 23, 2014, 03:43:35 PM
Great to hear Kevin! The password was "Rasberry" uppercase "R". You'll need to make your IP static so it doesn't change on you all the time. I posted links. Let me know if you can't find it!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on November 23, 2014, 03:55:48 PM
Quote from: loulea on November 23, 2014, 03:43:35 PM
Great to hear Kevin! The password was "Rasberry" uppercase "R". You'll need to make your IP static so it doesn't change on you all the time. I posted links. Let me know if you can't find it!

Thanks. I can control the IP address with the router also (by MAC address). One thing I noticed is that fdisk doesn't show all 32GB of space; I would expect the remaining to show up as an unused partition, but it doesn't. I'm going to pop out the memory card and look at it under CentOS and its disk utilities.   No big deal other than me being anal retentive. Really appreciate your efforts on this project; you've really made this effortless for the rest of us!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on November 23, 2014, 05:57:55 PM
Quote from: Kevin M on November 23, 2014, 03:55:48 PM
Thanks. I can control the IP address with the router also (by MAC address). One thing I noticed is that fdisk doesn't show all 32GB of space; I would expect the remaining to show up as an unused partition, but it doesn't. I'm going to pop out the memory card and look at it under CentOS and its disk utilities.   No big deal other than me being anal retentive. Really appreciate your efforts on this project; you've really made this effortless for the rest of us!

You won't see the rest of the card's memory because when you image a device it takes on the same characteristics as the imaged device. Essentially the 32G card looks like a 8G card which is a waste I agree but it still works  :). If you want to use the remaining area I don't know if you can underlinux. In Windows you just add a partition. I assume you can undear linux.

Enjoy
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on November 23, 2014, 06:05:49 PM
This might help recover the missing drive space on a 32 GB microSD card  - after an 8GB RPi Boot  Image is extracted and installed -  Read info here
http://raspberrypi.stackexchange.com/questions/499/how-can-i-resize-my-root-partition (http://raspberrypi.stackexchange.com/questions/499/how-can-i-resize-my-root-partition)

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on November 23, 2014, 07:09:58 PM
I figured it was due to the imaging!  I was able to create a partition containing the missing free space using the graphical disk manager in CentOS Linux(no shuffling required) - gotta love modern Linux tools!  Thanks for confirming what I suspected and pointing me in the right direction!


Sent from my iPad using Tapatalk
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on November 28, 2014, 03:25:19 AM
Hey guys can someone help me with creating an image of my OS once it's imaged.  I've worked out how to do it using Win32 Disk Imager and it works fine, however I'd like to shrink down the image size so it isn't the full size of my SD card, which is 16 GB.  Is their a way to shrink the image down to, say, 4GB.
FYI I started with Loulea's 8 GB image but I still end up with a 16 GB image (half of which is 'nothing').
Thanks
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on November 28, 2014, 10:01:06 AM
Quote from: batman on November 28, 2014, 03:25:19 AM
Hey guys can someone help me with creating an image of my OS once it's imaged.  I've worked out how to do it using Win32 Disk Imager and it works fine, however I'd like to shrink down the image size so it isn't the full size of my SD card, which is 16 GB.  Is their a way to shrink the image down to, say, 4GB.
FYI I started with Loulea's 8 GB image but I still end up with a 16 GB image (half of which is 'nothing').
Thanks

If your situation is like mine you should have U partitioned space on the card. Mine was contiguous. I just used a graphical disk manager to create a partition out of that space. Elantric posted links to info on it a couple of posts back, but there are graphical tools available to make it easier. You might even be able to use Widows' own disk manager.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: bigdough on December 07, 2014, 05:10:43 AM
Men! I did it! Can't believe it yet: got all the parts, assembled, downloaded the 8G image, followed punctually all the instructions and... it just works!
There's a bad news though: my old Rolls MidiWizard MP1288 operates only the first PC and no more, I have to shutdown, start again, and then again, I press, let's say, button 4 and the GP10 responds, then I press another one and nothing happens. I know it's the Rolls because I tried to connect the FC-300 and it work perfectly. The very funny thing is that, when I connect the Rolls to my Eventide H9 directly via standard midi cable, it works perfectly...
Any idea?
p.s.: Once again gratitude and respect for all you guys!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 07, 2014, 08:34:00 AM
Quote from: bigdough on December 07, 2014, 05:10:43 AM
Men! I did it! Can't believe it yet: got all the parts, assembled, downloaded the 8G image, followed punctually all the instructions and... it just works https://www.vguitarforums.com/smf/Smileys/classic/cheesy.gif (https://www.vguitarforums.com/smf/Smileys/classic/cheesy.gif)
There's a bad news though https://www.vguitarforums.com/smf/Smileys/classic/huh.gif: (https://www.vguitarforums.com/smf/Smileys/classic/huh.gif:) my old Rolls MidiWizard MP1288 operates only the first PC and no more, I have to shutdown, start again, and then again, I press, let's say, button 4 and the GP10 responds, then I press another one and nothing happens. I know it's the Rolls because I tried to connect the FC-300 and it work perfectly. The very funny thing is that, when I connect the Rolls to my Eventide H9 directly via standard midi cable, it works perfectly...
Any idea?
p.s.: Once again gratitude and respect for all you guys!

Hi bigdough. Glad to see you got your set up working  ;). several things come to mind to solve your problem so if you can take a screenshot of your patchbay setup from the PI, if your using tightVNC and post it. I'm thinking you may have some sort of loopback causing a MIDI echo and the only way to solve it is to send a MIDI note OFF to the device or to power it down. You may have the device connected back to itself somehow. Share a screenshot if you can.

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: bigdough on December 08, 2014, 10:03:03 AM
Hi Loulea. Delay was due to all day pathetic attempt to get my Ipad plus VNC working... ??? Forget it; I went for the same way I used to program the PI: use the projector in the living room plus keyboard & mouse from my wife's old G5; I had to make photos of the screen with my telephone, hope they're good enough. Still, I have the suspect, as I said, that the problem is the Rolls itself as, if I just switch straight away with the Roland FC 300, the latter works perfectly ???
Anyway, I trust you blindly ;)
Here are some photos:
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3412014%2F1418060157_1704162834_IMG_2887.JPG&hash=16899be3a0546cb78313331ab7e166c43b891c32) (http://www.snapagogo.com/photo.php?id=63136) Uploaded at Snapagogo.com (http://"http://www.snapagogo.com")
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3412014%2F1418060114_1312752959_IMG_2886.JPG&hash=2ea05cbcb26c3e9d0cba0d9b8b4e45bd78630f1d) (http://www.snapagogo.com/photo.php?id=63135) Uploaded at Snapagogo.com (http://"http://www.snapagogo.com")
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3412014%2F1418060172_261238929_IMG_2888.JPG&hash=be2e7ca1e46e56a42637775dee884fe431c03049) (http://www.snapagogo.com/photo.php?id=63137) Uploaded at Snapagogo.com (http://"http://www.snapagogo.com")
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3412014%2F1418060183_1774279564_IMG_2889.JPG&hash=43df31a27d00d259170e3d03daff75a7e2bed375) (http://www.snapagogo.com/photo.php?id=63138) Uploaded at Snapagogo.com (http://"http://www.snapagogo.com")
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3412014%2F1418060197_1053306858_IMG_2890.JPG&hash=0dab98ac6d9d23a60414fe8405a2f0630aacbdfa) (http://www.snapagogo.com/photo.php?id=63139) Uploaded at Snapagogo.com (http://"http://www.snapagogo.com")
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3412014%2F1418060209_1022051357_IMG_2891.JPG&hash=08736e3bcccdb495df303c79bd10d81e8e167868) (http://www.snapagogo.com/photo.php?id=63140) Uploaded at Snapagogo.com (http://"http://www.snapagogo.com")
Hope it works...
BTW, any idea on how to set up / install my new micro wireless adapter just bought for the PI (TP-LINK WN725N), drivers seems to exist only for Windows and I have an Imac...
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 08, 2014, 04:55:47 PM
Quote from: bigdough on December 08, 2014, 10:03:03 AM
Hi Loulea. Delay was due to all day pathetic attempt to get my Ipad plus VNC working... ??? Forget it; I went for the same way I used to program the PI: use the projector in the living room plus keyboard & mouse from my wife's old G5; I had to make photos of the screen with my telephone, hope they're good enough. Still, I have the suspect, as I said, that the problem is the Rolls itself as, if I just switch straight away with the Roland FC 300, the latter works perfectly ???
Anyway, I trust you blindly ;)
Here are some photos:

Hope it works...
BTW, any idea on how to set up / install my new micro wireless adapter just bought for the PI (TP-LINK WN725N), drivers seems to exist only for Windows and I have an Imac...

Hi bigdough,

Sorry you are having problems with the VNC portion. It is probably because of the IP address. you need to know the IP address for TightVNC to work. The IP address needs to be static or have your router assign the same IP address each time. For me, I just modified the "Interfaces" file on the PI to make it static. This file has the configuration of the Ethernet and WiFi. Here is some info on how to do this <<http://www.suntimebox.com/raspberry-pi-tutorial-course/week-3/day-5/ (http://www.suntimebox.com/raspberry-pi-tutorial-course/week-3/day-5/). The second way is to have your router recognize the MAC address as another member in this thread has done. I prefer just modifying the file with your network configuration.

Looking at your screenshots, everything is connected properly. There is a couple things you can try though. One is to just connect one side of the MIDI connection. The way it is displayed right now, is that the Red line has data going from the MIDIMATE to the GP-10. The GREEN line has data going from the GP-10 to the MIDIMATE. Try removing the the green line/connection because you don't need data going back to the MIDIMATE. I don't think you have any connection to the MIDI in of the MIDIMATE but just in case. The best way to do this is to create another connection and call it something else. Activate it and then disconnect all. Basically create a new connection and redo my tutorial again to connect it but don't connect the green line. Select the MIDIMATE on the left side of the screen and then select the GP-10 on the right side of the screen. Hit connect. Save the connection and then try to see if this fixes the problem.

I was reading that the MIDIMATE has the capability to do a MIDI merge. I don't know if this would affect it but try turning this off. Make sure that the channels match for the MIDIMATE and the GP-10. Default is set to 1.

As for the WIFI adapter, I bought that exact same model because it was on sale for 10 bucks. I had a terrible time finding a driver but I ended up finding one. It took me while to get it going but in the process of getting it going, I broke my shutdown scripts (which are not active in your image) and my USB ports would not recognize my USB instruments unless I rebooted each time I exchanged them. I just reloaded my old image and then got a "ThePiHut" Wifi adapter instead. Raspian already has the driver for it. I would recommend this approach but if you want to try loading the driver, here is a link <<http://blog.pi3g.com/2013/05/tp-link-tl-wn725n-nano-wifi-adapter-v2-0-raspberry-pi-driver/ (http://blog.pi3g.com/2013/05/tp-link-tl-wn725n-nano-wifi-adapter-v2-0-raspberry-pi-driver/) >>. I would not recommend doing this though if you are not familiar with linux. Like I said I broke something in the process.

Remember to make an image of your card before loading the driver in case you fried something :).

Have fun and let me know if it works.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 17, 2014, 10:21:27 AM
Well after some unfortunate "life got in the way of music" delays, I'm back on track.. I've given up on the idea of trying to incorporate the MIDI relay switcher into the PI along with the GP-10 USB to MIDI. I'll build the Mitch switcher project (already started on the circuit board) and use the MIDI out from the PI setup to drive it. I'm going to build the PI, USB/MIDI cable/interface, Mitch and power supply into one metal box with one of the power switch shutdown solutions.

Got the 16G micro SD card, ....the B+ PI and HDMI to VGA adapter on the way. Now I have to get a USB to MIDI/cable interface.

Will just any old generic USB/MIDI cable interface work? or do i need to get a "proven" model?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on December 17, 2014, 10:25:52 AM
QuoteI'll build the Mitch switcher project

URL Link? Details?

QuoteWill just any old generic USB/MIDI cable interface work? or do i need to get a "proven" model?

This thread explains  working USB to MIDI cables

USB Class Compliant MIDI Cables
https://www.vguitarforums.com/smf/index.php?topic=8393.0 (https://www.vguitarforums.com/smf/index.php?topic=8393.0)



Lately I'm using the Roland UM-ONE MK2
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 17, 2014, 10:52:35 AM
Quote from: Elantric on December 17, 2014, 10:25:52 AM
URL Link? Details?

I posted this back on page 10 of this thread...

Mitch MIDI switch = http://www.jimkim.de/guitar-projects/the-midi-switch/ (http://www.jimkim.de/guitar-projects/the-midi-switch/)

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 17, 2014, 11:45:48 AM
I'm thinking of going with a used Midisport 2X2 interface. Since I'm building everything into one box, I can take the circuit board out of the MIDIsport enclosure and mount it in my box....... or get a cable type interface , cut the MIDI connectors off and wire it up to chassis mount type female DIN connectors...

I'm pretty sure the MIDIsport is class compliant.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on December 17, 2014, 12:30:26 PM
QuoteI'm pretty sure the MIDIsport  2X2 interface is class compliant.

Me too

http://www.sweetwater.com/store/detail/MIDISport2AE (http://www.sweetwater.com/store/detail/MIDISport2AE)

QuoteClass-compliant with Windows XP, Vista and Mac OS X
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 17, 2014, 01:09:19 PM
Hi Loulea;

Do you have a version of the 8gb image file that has the shutdown script you mentioned implemented?. I absolutely need to be able to turn the PI MIDI setup on and off without a monitor mouse or keyboard connected. It's being built into a stand alone box that will sit on the floor/stage next to the GP-10.
I'd rather use your momentary switch/pull-up resistor solution than the gadgets that plug into the power jack.

Quote from: loulea on September 23, 2014, 12:07:02 PM
As far as the the shutdown feature, I did write a shutdown script where you would have to incorporate a pull-up resistor and a momentary switch but I disabled it because not everyone would want that feature and for an average user it would be hard to incorporate. There is a COTS part you can purchase that attaches to the usb power jack and then your power plugs into it. You would then connect wires to the GPIO port. It is Mausberry circuits and I posted links in this thread. I purchased one but broke it. I just used my circuit. If you want info on how to enable my code if your going to use the image, I can provide more info.

Loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: BackDAWman on December 17, 2014, 01:24:35 PM
I know the midisport 1x1 is not MIDI class compliant

edit: apparently the newer one is but mine, being older, isn't  :(
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on December 17, 2014, 01:31:56 PM
Those el-cheapo ones (the ones I have not recommended for system exclusive editing software) are class compliant and do work well for small jobs like note sending and cc# control.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 17, 2014, 01:47:54 PM
It's more expensive but maybe I should just stick with the roland unit that Steve mentioned he's now using.


Quote from: gumtown on December 17, 2014, 01:31:56 PM
Those el-cheapo ones (the ones I have not recommended for system exclusive editing software) are class compliant and do work well for small jobs like note sending and cc# control.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 17, 2014, 02:32:45 PM
Quote from: glennfin on December 17, 2014, 01:09:19 PM
Hi Loulea;

Do you have a version of the 8gb image file that has the shutdown script you mentioned implemented?. I absolutely need to be able to turn the PI MIDI setup on and off without a monitor mouse or keyboard connected. It's being built into a stand alone box that will sit on the floor/stage next to the GP-10.
I'd rather use your momentary switch/pull-up resistor solution than the gadgets that plug into the power jack.

Yes I can provide. I just commented out the code in the image on my Google Drive currently but I can provide it with the code uncommented. I'll do it tonight. Have to taxi the kids around. This only shuts it down anyway.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on December 17, 2014, 03:49:56 PM
Quote from: glennfin on December 17, 2014, 01:47:54 PM
It's more expensive but maybe I should just stick with the roland unit that Steve mentioned he's now using.
Yes I would stick with what is proven, reputable, and reliable.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 18, 2014, 03:57:12 AM
Before you go to any trouble.... It only shuts it down, but doesn't turn it on as well?. I need a single switch/button solution for both on and off. Will I be forced to use one of the power button gadgets?

Quote from: loulea on December 17, 2014, 02:32:45 PM
Yes I can provide. I just commented out the code in the image on my Google Drive currently but I can provide it with the code uncommented. I'll do it tonight. Have to taxi the kids around. This only shuts it down anyway.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 18, 2014, 08:45:54 AM
Quote from: glennfin on December 18, 2014, 03:57:12 AM
Before you go to any trouble.... It only shuts it down, but doesn't turn it on as well?. I need a single switch/button solution for both on and off. Will I be forced to use one of the power button gadgets?

Yes it only shuts it down safely. To power it just cycle a power bar or something. I think others have been powering it off with no problems without stopping the OS. Just make an image of your SD just in case. I bought the Mausberry gadget but it broke because it sticks out from the PI and the wiring was not long enough to reach the GPIO a ports. This put a stress on the header style connection and ripped it off the board. Since your setup will be concealed in an enclosure, it may not be an issue.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 18, 2014, 09:05:06 AM
I'm trying to figure out the best way to do this... I will have another device (The Mitch MIDI switch board)  in the enclosure which will have it's own separate power supply so I need one master switch to turn everything on and off at the same time. If the Pi can be just powered off and on without corrupting anything that would be great.


Quote from: loulea on December 18, 2014, 08:45:54 AM
Yes it only shuts it down safely. To power it just cycle a power bar or something. I think others have been powering it off with no problems without stopping the OS. Just make an image of your SD just in case. I bought the Mausberry gadget but it broke because it sticks out from the PI and the wiring was not long enough to reach the GPIO a ports. This put a stress on the header style connection and ripped it off the board. Since your setup will be concealed in an enclosure, it may not be an issue.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on December 18, 2014, 09:25:28 AM
I recommend using something that will shutdown the OS. I think unplugging it will corrupt the file system in time. I ordered a Mausberry switch also (haven't received it yet). I'm leaning towards a custom enclosure for this, but I'll know more when I get it.


Sent from my iPad using Tapatalk
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 18, 2014, 09:37:49 AM
Quote from: Kevin M on December 18, 2014, 09:25:28 AM
I recommend using something that will shutdown the OS. I think unplugging it will corrupt the file system in time. I ordered a Mausberry switch also (haven't received it yet). I'm leaning towards a custom enclosure for this, but I'll know more when I get it.


Sent from my iPad using Tapatalk

I recommend it also. Basically in my shutdown scheme, I use two GPIO pins. One as an output and the other as input. The one that is configured as an output can be wired to a AC mechanical relay or a AC solid state relay. When the PI is booted it would energize the relay allowing your equipment to come on. When you shut it down, the OS would stop running and then de- energize the relay. Of course you would have to wire the AC to your devices being careful to follow UL and/or CSA requirements ????. It just means more work but if you are willing to do it I can provide schematics.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on December 18, 2014, 09:46:19 AM
I will be making a new pedal board over the holidays and use a PowerAdd High capacity Battery for my pedal board, and this prevents data corruption

https://www.vguitarforums.com/smf/index.php?topic=12876.msg94256#msg94256 (https://www.vguitarforums.com/smf/index.php?topic=12876.msg94256#msg94256)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F41Hp9-CkEBL.jpg&hash=b7c7bb1a5e4f0029eaf5fb960fb141de0ff3a29f)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 18, 2014, 11:50:33 AM
Thanks Loulea, that's just what I'll need. I'll drive the base of a transistor off the GPIO output pin which will activate the AC relay but this schem would still require a switch separate from the shutdown switch to power on the PI ??


Quote from: loulea on December 18, 2014, 09:37:49 AM
I recommend it also. Basically in my shutdown scheme, I use two GPIO pins. One as an output and the other as input. The one that is configured as an output can be wired to a AC mechanical relay or a AC solid state relay. When the PI is booted it would energize the relay allowing your equipment to come on. When you shut it down, the OS would stop running and then de- energize the relay. Of course you would have to wire the AC to your devices being careful to follow UL and/or CSA requirements ????. It just means more work but if you are willing to do it I can provide schematics.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 18, 2014, 04:16:27 PM
Quote from: glennfin on December 18, 2014, 11:50:33 AM
Thanks Loulea, that's just what I'll need. I'll drive the base of a transistor off the GPIO output pin which will activate the AC relay but this schem would still require a switch separate from the shutdown switch to power on the PI ??

I'm sorry but I lost track of your intent  ???. You have the PI and another device that you want to mount within another one.  You want to have one switch that safely shuts everything down. Is this correct?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 19, 2014, 11:53:15 AM
I'm going to have the PI mounted in a box with a MIDI controlled relay switcher. I want to have a single on/off switch. The output of the MIDI/USB interface connected to the PI will control the MIDI relay switcher board.

I understand your shutdown method using a pull-up resistor to a GPIO pin to shutdown safely but that only turns everything off. Once the PI is shutdown, how do you power it back on?


Quote from: loulea on December 18, 2014, 04:16:27 PM
I'm sorry but I lost track of your intent  ???. You have the PI and another device that you want to mount within another one.  You want to have one switch that safely shuts everything down. Is this correct?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: pasha811 on December 20, 2014, 01:40:06 AM
Quote from: glennfin on December 17, 2014, 11:45:48 AM
I'm pretty sure the MIDIsport is class compliant.

On my iMac it requires drivers. Without them it does not work.
However when powered clicking on the switch makes it a MIDI Box with no Computer connection (PC less operation)
but that is with MIDI DIN cables.

My 2 cents
Regards,
Pasha
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 20, 2014, 04:39:33 AM
In other words, you need an AC on/off power switch AND the shutdown switch...


Quote from: loulea on December 18, 2014, 04:16:27 PM
I'm sorry but I lost track of your intent  ???. You have the PI and another device that you want to mount within another one.  You want to have one switch that safely shuts everything down. Is this correct?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 20, 2014, 06:16:43 AM
Quote from: glennfin on December 19, 2014, 11:53:15 AM
I'm going to have the PI mounted in a box with a MIDI controlled relay switcher. I want to have a single on/off switch. The output of the MIDI/USB interface connected to the PI will control the MIDI relay switcher board.

I understand your shutdown method using a pull-up resistor to a GPIO pin to shutdown safely but that only turns everything off. Once the PI is shutdown, how do you power it back on?

To turn the PI back on you would have to cycle the power. For me I have everything mounted on a pedal board and there is a power bar. I just cycle the switch on the power bar.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 20, 2014, 06:32:01 AM
Quote from: glennfin on December 20, 2014, 04:39:33 AM
In other words, you need an AC on/off power switch AND the shutdown switch...

Yes you would need two switches. To do what you are asking, instead of making this into a science project by making an on and of latching circuit controlled by the PI I would get the Mausberry switch and use it. I would tap into the GPIO pin the generates 5v and use that to drive a relay that connects power to your other devices. The only thing is that you would have to find a way to mount the switch so that it is accessible externally and you may have to extend the power plug by buying an additional cable to allow you to mount it where you want within your box. This would be much cheaper than buying discrete components and mounting them on a perfboard. The Mausberry switch is only 12 bucks or so.

Check out the Mausberry site. There are a couple of options that will meet needs. The option where you add your own switch is probably best for you since you can mount the switch anywhere on the device you are mounting it in. http://mausberrycircuits.com/ (http://mausberrycircuits.com/).

Here is the one where you can add your own siwtch http://mausberrycircuits.com/products/shutdown-circuit-use-your-own-switch (http://mausberrycircuits.com/products/shutdown-circuit-use-your-own-switch)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 20, 2014, 08:18:09 AM
Since I will need a power switch (AC line) besides the shutdown switch, I won't have to bother with a relay - GPIO arrangement to control the other device in thebox. It will simply be turned on and off with the main power switch.

I'll go with one of the Mausberry switches... but..... Won't I need a modified version of your image to use them?

Thanks for the help Loulea, I really appreciate it.  :)

Quote from: loulea on December 20, 2014, 06:32:01 AM
Yes you would need two switches. To do what you are asking, instead of making this into a science project by making an on and of latching circuit controlled by the PI I would get the Mausberry switch and use it. I would tap into the GPIO pin the generates 5v and use that to drive a relay that connects power to your other devices. The only thing is that you would have to find a way to mount the switch so that it is accessible externally and you may have to extend the power plug by buying an additional cable to allow you to mount it where you want within your box. This would be much cheaper than buying discrete components and mounting them on a perfboard. The Mausberry switch is only 12 bucks or so.

Check out the Mausberry site. There are a couple of options that will meet needs. The option where you add your own switch is probably best for you since you can mount the switch anywhere on the device you are mounting it in. http://mausberrycircuits.com/ (http://mausberrycircuits.com/).

Here is the one where you can add your own siwtch http://mausberrycircuits.com/products/shutdown-circuit-use-your-own-switch (http://mausberrycircuits.com/products/shutdown-circuit-use-your-own-switch)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 20, 2014, 08:39:51 AM
Quote from: glennfin on December 20, 2014, 08:18:09 AM
Since I will need a power switch (AC line) besides the shutdown switch, I won't have to bother with a relay - GPIO arrangement to control the other device in thebox. It will simply be turned on and off with the main power switch.

I'll go with one of the Mausberry switches... but..... Won't I need a modified version of your image to use them?

Thanks for the help Loulea, I really appreciate it.  :)

Anytime. It is the best option for you! Good luck and keep us posted.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 21, 2014, 04:59:30 AM
Loulea,

Will those Mausberry circuits work without modification to your image code??


Quote from: loulea on December 20, 2014, 08:39:51 AM


Anytime. It is the best option for you! Good luck and keep us posted.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: rolandvg99 on December 21, 2014, 06:11:28 AM
Quote from: pasha811 on December 20, 2014, 01:40:06 AM
On my iMac it requires drivers. Without them it does not work.
However when powered clicking on the switch makes it a MIDI Box with no Computer connection (PC less operation)
but that is with MIDI DIN cables.

My 2 cents
Regards,
Pasha


I know the MidiSport UNO works as I use it with my VG-99 and the iConnectMIDI4+.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 21, 2014, 09:07:52 AM
Quote from: glennfin on December 21, 2014, 04:59:30 AM
Loulea,

Will those Mausberry circuits work without modification to your image code??

If you are using the Mauseberry switch, you can't use my shutdown code. Although they are similar, their method of shutting down with the GPIO pin, the architecture is different. The switch comes with instructions on how to download the script from their site. It is easy really. The instructions are hear if you haven't found it yet >> http://mausberrycircuits.com/pages/setup (http://mausberrycircuits.com/pages/setup). If you are using the image, the shutdown feature of the code is commented out anyway. If you are using my image and want to see my code it is located in the /home/pi directory and the file name is "Led_Continuous.py". It is written in python and runs on start up. You have to make sure if you are using the file manager to select the "Show Hidden Files" option under the view menu otherwise you wont see it.

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 21, 2014, 01:23:28 PM
Still confused....... If I use your Image, will I need to modify it to include the Mausberry script?


Quote from: loulea on December 21, 2014, 09:07:52 AM
If you are using the Mauseberry switch, you can't use my shutdown code. Although they are similar, their method of shutting down with the GPIO pin, the architecture is different. The switch comes with instructions on how to download the script from their site. It is easy really. The instructions are hear if you haven't found it yet >> http://mausberrycircuits.com/pages/setup (http://mausberrycircuits.com/pages/setup). If you are using the image, the shutdown feature of the code is commented out anyway. If you are using my image and want to see my code it is located in the /home/pi directory and the file name is "Led_Continuous.py". It is written in python and runs on start up. You have to make sure if you are using the file manager to select the "Show Hidden Files" option under the view menu otherwise you wont see it.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 21, 2014, 01:38:36 PM
Quote from: glennfin on December 21, 2014, 01:23:28 PM
Still confused....... If I use your Image, will I need to modify it to include the Mausberry script?

No. All you need to do is load their script and you should be fine. no mods required to my script. My script is basically inactive.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on December 21, 2014, 02:02:13 PM
I can attest that the Mausberry script works just fine.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 21, 2014, 02:13:05 PM
You're using it with Loulea's image?


Quote from: Kevin M on December 21, 2014, 02:02:13 PM
I can attest that the Mausberry script works just fine.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 21, 2014, 02:20:26 PM
Quote from: glennfin on December 21, 2014, 02:13:05 PM
You're using it with Loulea's image?

I had it installed with my image in it worked just fine. No problems at all. I broke one of the connections on the board (couldn't solder it back on) and it wouldn't work anymore so I had to revert back to my shutdown routine. You don't have to worry. it works great! I tested it. I wouldn't recommend it if I didn't trust it. Now the layout of the circuit doesn't lend itself to the stage atmosphere. Since you are going to be enclosing this, it is not an issue.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on December 21, 2014, 02:59:47 PM
Quote from: glennfin on December 21, 2014, 02:13:05 PMYou're using it with Loulea's image?

Yes, I am...with the Mausberry switch and script.


Sent from my iPad using Tapatalk
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Kevin M on December 22, 2014, 12:16:22 AM
Picture of the switch:

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: glennfin on December 22, 2014, 04:20:41 AM
I guess the process of adding a script to the image will become clear once I have the PI in hand.

Thank you.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 22, 2014, 08:58:46 PM
Quote from: glennfin on December 22, 2014, 04:20:41 AM
I guess the process of adding a script to the image will become clear once I have the PI in hand.

Thank you.

Oh I thought you already had the PI! Man you have to get it.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: bigdough on December 25, 2014, 04:04:16 AM
Dear all,
While wishing you all a Happy Xmas and Great New Year, I'd just like to inform you that, after a long and tedious process of verifying all the passages as Loulea suggested, eventually I threw my old Rolls away as a friend of mine just gave me his old Digitech Control Seven which works perfectly; so now, not only I'm capable of controlling my new GP-10 but my beloved H9 is responding to! (I connected it to the other end of the Midimate 2): so, I'm a happy boy thanks to your work and patience. :)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3582014%2F1419508251_1706287121_Bigdoughpedalboard.jpg&hash=91a667b885faec7c2ef368eef298fe2f75d5ed1f) (http://www.snapagogo.com/photo.php?id=63951) Uploaded at Snapagogo.com (http://"http://www.snapagogo.com")
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3582014%2F1419508268_500008028_Bigdoughpedalboardcloseup1.jpg&hash=e2eb27fc742e26c6c5b7dc816f7fab02167e1f56) (http://www.snapagogo.com/photo.php?id=63952) Uploaded at Snapagogo.com (http://"http://www.snapagogo.com")
Next step, as you can see from the pic, will be to find a better and safer way to make the PI part of my system; probably a metal box which could protect the "mausberry"...
We shall see. Have a good one then!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on December 25, 2014, 12:26:00 PM
Quote from: bigdough on December 25, 2014, 04:04:16 AM
Dear all,
While wishing you all a Happy Xmas and Great New Year, I'd just like to inform you that, after a long and tedious process of verifying all the passages as Loulea suggested, eventually I threw my old Rolls away as a friend of mine just gave me his old Digitech Control Seven which works perfectly; so now, not only I'm capable of controlling my new GP-10 but my beloved H9 is responding to! (I connected it to the other end of the Midimate 2): so, I'm a happy boy thanks to your work and patience. :)
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3582014%2F1419508251_1706287121_Bigdoughpedalboard.jpg&hash=91a667b885faec7c2ef368eef298fe2f75d5ed1f) (http://www.snapagogo.com/photo.php?id=63951) Uploaded at Snapagogo.com (http://"http://www.snapagogo.com")
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.snapagogo.com%2Fuploads%2Fsource%2F3582014%2F1419508268_500008028_Bigdoughpedalboardcloseup1.jpg&hash=e2eb27fc742e26c6c5b7dc816f7fab02167e1f56) (http://www.snapagogo.com/photo.php?id=63952) Uploaded at Snapagogo.com (http://"http://www.snapagogo.com")
Next step, as you can see from the pic, will be to find a better and safer way to make the PI part of my system; probably a metal box which could protect the "mausberry"...
We shall see. Have a good one then!

Glad you worked it out! Happy holidays!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: rolandvg99 on January 17, 2015, 12:32:36 AM
Great work @loulea. My GP-10 is now nicely integrated with my VG-99, laptop, BCR-2000 and iPad through my iConnectMIDI4+.  8)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on January 17, 2015, 12:57:52 PM
Quote from: rolandvg99 on January 17, 2015, 12:32:36 AM
Great work @loulea. My GP-10 is now nicely integrated with my VG-99, laptop, BCR-2000 and iPad through my iConnectMIDI4+.  8)

You are more than welcome! We have some great members with tons of information. I'm happy to contribute!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on February 02, 2015, 03:45:17 AM
Hey guys I'm having a few issues.  The RP worked great but now it isn't changing patches and looks like it isn't delivering power to my midi interface.  I have a backup card and tried that (didn't work); then I reflashed both cards and it still doesn't work. I also tried the other USB ports with no luck.
Also, I have a Mausberry circuits swith and the shutdown script won't work anymore (i.e. I have to hold the button down to cut the power, it won't 'soft' shutdown).

Has anyone experienced this before?  Any ideas on how to find out what the problem is? (usb port?).
Thanks
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on February 02, 2015, 09:25:37 AM
As noted earlier, its very easy to clobber / corrupt the Boot ROM image on the SD Card if careful power down procedures are not employed on the Raspberry Pi.

I use a remote battery pack myself  - as this insures the RPI Memory on SD card will not get corrupted should a sudden loss of AC Power occur at the gig.   

If  RPI Boot image on SD Card  does get corrupted, just power down - and swap SD cards on the RPI with a known good duplicate 
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on February 02, 2015, 11:50:17 AM
Quote from: batman on February 02, 2015, 03:45:17 AM
Hey guys I'm having a few issues.  The RP worked great but now it isn't changing patches and looks like it isn't delivering power to my midi interface.  I have a backup card and tried that (didn't work); then I reflashed both cards and it still doesn't work. I also tried the other USB ports with no luck.
Also, I have a Mausberry circuits swith and the shutdown script won't work anymore (i.e. I have to hold the button down to cut the power, it won't 'soft' shutdown).

Has anyone experienced this before?  Any ideas on how to find out what the problem is? (usb port?).
Thanks

Hey batman, If you tried re-flashing your SD card, then either two things have happened. Your Mausberry circuit has been damaged and it is current limiting the input power so much so that it doesn't have enough power to provide to your USB instruments. Try using it without the Mausberry circuit.

The second thing is that each USB output is fused at 140mA for the earlier version  of the PI but for the B+ it seems that the fuses have been removed. If you are using the earlier version you may have blown the fuses and if that is the case, check your devices to make sure that they are not drawing too much current. See below for schematics if you are able to read them. The B+ has the fuses removed but you can still damage the USB chip. I found the WIFI adapters are the culprits. One of my ports is dead because I used the TPLINKN725. I switched to the Adafruit model because it is geared for the PI and uses much less current. I should have posted something on this.

The schematics for the PI are here:
Early version (RPI100021): http://www.raspberrypi.org/wp-content/uploads/2012/04/Raspberry-Pi-Schematics-R1.0.pdf (http://www.raspberrypi.org/wp-content/uploads/2012/04/Raspberry-Pi-Schematics-R1.0.pdf)
Latest (RPI100022): http://www.raspberrypi.org/wp-content/uploads/2012/10/Raspberry-Pi-R2.0-Schematics-Issue2.2_027.pdf (http://www.raspberrypi.org/wp-content/uploads/2012/10/Raspberry-Pi-R2.0-Schematics-Issue2.2_027.pdf)

Here is an article on the Raspberry PI fusing : http://www.petervis.com/Raspberry_PI/Raspberry_Pi_USB_Not_Working/Raspberry_Pi_140mA_USB_Power_Limit.html (http://www.petervis.com/Raspberry_PI/Raspberry_Pi_USB_Not_Working/Raspberry_Pi_140mA_USB_Power_Limit.html)

I think you have a device that is causing the issue with your USB port. I would try just a keyboard and mouse and see if they function normally. I would then try one device at a time to see if one of them is loading down the internal USB port power. If you are sure your image is fine, then it could be the hardware. Do not use the Mauseberry circuit and disable the script if you can.

Sorry about your troubles :( !! Let us know how it works out or if you need more help. Hopefully you won't have to spend another 35 bucks!

Loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on February 02, 2015, 01:00:40 PM
Gents,

I just read some AWESOME news regarding the latest Raspberry PI :o. They have upped the processing power to use a new processor that will allow them to use the new Microsoft Windows 10. See the new Article here >

http://www.theverge.com/2015/2/2/7962179/raspberry-pi-windows-10 (http://www.theverge.com/2015/2/2/7962179/raspberry-pi-windows-10)

This may mean that we could load the Boss Tone Studio on the Pi ( hopefully compatible) and have the capability to edit patches using the PI. This in combination with a network connection and VNC interface(like this http://www.pcworld.com/product/pg/1424590324/detail (http://www.pcworld.com/product/pg/1424590324/detail)), can allow an IOS device with a VNC APP to actually program the device by using the Tone Studio software on the PI. Take it one step further, we could have a portable router setup as part of your pedal board and have your IOS or other devices connected to it as well as the PI to control your pedals without being on a network. I may be getting ahead of myself but I can't wait to try it out!!
Let's get the good stuff out of the way above the fold. Raspberry Pi 2 is now on sale for $35 (the same price as the existing Model B+), featuring:

    A 900MHz quad-core ARM Cortex-A7 CPU (~6x performance)
    1GB LPDDR2 SDRAM (2x memory)
    Complete compatibility with Raspberry Pi 1

Because it has an ARMv7 processor, it can run the full range of ARM GNU/Linux distributions, including Snappy Ubuntu Core, as well as Microsoft Windows 10.
Raspberry Pi 2 Model B

YouTube Link >https://www.youtube.com/watch?x-yt-cl=85114404&x-yt-ts=1422579428&v=uT7ihukaWJk (https://www.youtube.com/watch?x-yt-cl=85114404&x-yt-ts=1422579428&v=uT7ihukaWJk)

Read up on it!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: admin on February 02, 2015, 01:16:49 PM
QuoteMicrosoft says it's "delivering a version of Windows 10 that supports Raspberry Pi 2.
It's likely that this version of Windows 10 will only run modern universal apps, as the Raspberry Pi 2 includes an ARM-based processor."

I suspect the major hurdle remains that the Raspberry Pi employs an ARM based CPU, and only Windows RT or its successor "Win 10 for ARM" runs on ARM.

Roland does not have and is not likely to create Boss GP-10 USB Drivers for ARM based systems.

Also Boss Tone Studio will not run on Windows RT
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on February 02, 2015, 01:23:49 PM
Quote from: admsustainiac on February 02, 2015, 01:16:49 PM
I suspect the major hurdle remains that the Raspberry Pi employs an ARM based CPU, and only Windows RT or its successor "Win 10 for ARM" runs on ARM.

Roland does not have and is not likely to create Boss GP-10 USB Drivers for ARM based systems.

Also Boss Tone Studio will not run on Windows RT


Good point but the future will tell us how Roland and Boss will adapt.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: mordecai on February 06, 2015, 05:52:21 AM
New Pi 2 is pretty nice. Still $35 like the B+. 1GB of RAM and currently working on getting Windows 10 to run on it. http://www.raspberrypi.org/raspberry-pi-2-on-sale/ (http://www.raspberrypi.org/raspberry-pi-2-on-sale/)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on February 06, 2015, 12:08:25 PM
With 6 x more power with the new quad core processor, I see the Pi as becoming a useful standalone sound/synth module under Linux.

Windows Rt supposedly now supports midi.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: mbenigni on February 06, 2015, 12:45:04 PM
QuoteWindows Rt supposedly now supports midi.

Better late than never, I suppose.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on February 07, 2015, 02:10:10 AM
Quote from: batman on February 02, 2015, 03:45:17 AM
Hey guys I'm having a few issues.  The RP worked great but now it isn't changing patches and looks like it isn't delivering power to my midi interface.  I have a backup card and tried that (didn't work); then I reflashed both cards and it still doesn't work. I also tried the other USB ports with no luck.
Also, I have a Mausberry circuits swith and the shutdown script won't work anymore (i.e. I have to hold the button down to cut the power, it won't 'soft' shutdown).

Has anyone experienced this before?  Any ideas on how to find out what the problem is? (usb port?).
Thanks

Well I just stuck a multimeter into the USB ports and there's no power.  I can't log in remotely over network either (although it comes up on the router) and I can't seem to get a picture out of it after the boot screen.  Has anyone had these issues before?

Given that I haven't heard anything on these forums about people destroying their R Pi's by plugging them directly into their GP-10s and midi interfaces I doubt that it's really a fuse/power issue or it would be happening all the time. FWIW I'm using a M-Audio Uno midi interface.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on February 07, 2015, 09:54:53 AM
Quote from: batman on February 07, 2015, 02:10:10 AM
Well I just stuck a multimeter into the USB ports and there's no power.  I can't log in remotely over network either (although it comes up on the router) and I can't seem to get a picture out of it after the boot screen.  Has anyone had these issues before?

Given that I haven't heard anything on these forums about people destroying their R Pi's by plugging them directly into their GP-10s and midi interfaces I doubt that it's really a fuse/power issue or it would be happening all the time. FWIW I'm using a M-Audio Uno midi interface.

I did have a problem where it would not boot to the desktop but it was because the image was corrupted by tightVNC. I found this article <http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=27905&p=276059&hilit=tightvnc#p276059 (http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=27905&p=276059&hilit=tightvnc#p276059)> on the PI website to fix it rather than re-imaging my card. I had one other problem where I messed up the config files installing the TP LINK 725N. The problem with TP LINK driver was that it prevented my PI from recognizing which port the USB interface was connected to. If I switched the USB port after power up, the Jack Audio program would not recognize the new port. I had to reinstall my image. other than that no issues relating to hardware.

I just did a test where I rebooted the PI and looked to see when the LED on my interface came on. It came on almost right away for about 3 seconds and then went off. After a few lines of initialization scripts it came back on. check to see if yours comes on at all. By doing this we want to detect if 5V is being disabled by software. It it goes on briefly and the goes off permanently, this could be a software issue and you may want to just install the bare software without any added functionality such as VNC, Mausberry or any drivers not originating as part of the original image. Bare-bones!! This will isolate any outside issues.

To be honest, I am sometimes lazy and don't use my power down button and never had issues afterwards. If it it is indeed the PI, you will have to get a new one or fix it yourself  :(. If you do get the latest PI, your previous image will not work on it because it has different chip-sets and the driver interfaces will be different. You can actually smoke it. I am going to purchase one for the fun of it and create a new image.

let us know how you make out and sorry you are having trouble.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on February 07, 2015, 06:45:08 PM
It's not that big a deal, I just ordered another one as I don't have the time or skills to try and fix it.  And besides, they're cheap! :)
Thanks for the help though, and also for setting up the images etc.  I get a lot of positive comments about my sound at gigs (well, when they sound guy mixes me properly...)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on February 07, 2015, 06:55:42 PM
No matter how good your equipment is, it is the sound guy that can make or break a show  ;)! Glad to hear you are not PO'ed. I love my GP-10. It has great sound and features but hard to navigate. Right now I'm creating a GUI on the IPAD to help. Let you know how it turns out.

Keep on rockin!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on February 07, 2015, 07:23:17 PM
You are powering it with an external power supply ( I use a cell phone charger) plugged into the micro USB port ?
Some older monitors don't support the HDMI video too well, I first have an old DVI monitor with an HDMI adapter, and the screen would go garbled a few seconds after boot, but on a newer HDMI monitor, it was fine.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on February 07, 2015, 07:32:27 PM
Quote from: gumtown on February 07, 2015, 07:23:17 PM
You are powering it with an external power supply ( I use a cell phone charger) plugged into the micro USB port ?
Some older monitors don't support the HDMI video too well, I first have an old DVI monitor with an HDMI adapter, and the screen would go garbled a few seconds after boot, but on a newer HDMI monitor, it was fine.

I think he ruled out that it is not a monitor problem but you did bring up another part of the equation gumtown that we didn't consider (at least I didn't). It could be the external power supply. He should switch it and see if the problem is still there. Can you confirm you tried a different power adapter batman? You need at least 1 amp. I have a 2 amp.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on February 10, 2015, 03:21:04 AM
The new RP arrived today and I just happened read your post so tried an old phone charger on the 'stuffed' RP (the charger supplies 0.7A at 5V, my usual PS supplies 2A).  The bloody thing works!
So I went back to the other 2A PS and that works now too.  I don't know what's been going on but I guess I've got a spare now :)
I haven't touched the thing in a few days and the last time I used it I was trying to get the network going.
The HDMI monitor I was using is a Sony TV about 5 years old so I don't think that' was the issue before.

Loulea could you please link the shutdown script you mentioned?  I'd like to move away from the external Mausberry add-on as it sticks out of the case and I'm afraid it will break.

Thanks again guys, false alarm!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on February 10, 2015, 05:14:23 AM
Batman.

This is great news I think ???! Sometimes these AC/DC adapters can shutdown or crowbar itself and need time disconnected from the equipment. This happens to my kids Wii a lot.

I'll put a care package together with some instructions. You have to just uncomment a couple lines of code, add a resister and a switch. You can add a LED if you want to show you when the PI has booted.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on February 11, 2015, 09:09:21 PM
OK,

This is for anyone that is using the image and want to incorporate the flashing LED indication and the shutdown interface.

1. The diagram for the shutdown circuitry is in the PDF drawing attached. it depicts the RPI GPIO interface and connections required to implement this feature.
2. Next step is to modify a script. There is a Python script that runs when the PI boots to the desktop and executes a routine that cycles an LED about every half of a second connected to the GPIO interface. The file is called "Led_Continuous.py" and it is located in the </home/pi> directory. Here are the contents:

-------------------------------------------------------------------------------------------------------------------------
import RPi.GPIO as GPIO
import time
GPIO.setmode (GPIO.BOARD)
LED = 7
pullUp = 11
halt_button = 13
loop = 99
i=0
GPIO.setup (LED, GPIO.OUT)
GPIO.setup (pullUp, GPIO.OUT)
GPIO.setup (halt_button, GPIO.IN)
GPIO.output (pullUp, 1)

while i < loop:
    GPIO.output (LED, 1)
    time.sleep (0.2)
    GPIO.output (LED, 0)
    time.sleep (0.2)
#    if GPIO.input (halt_button) == True:
#        time.sleep (5)      #wait to see if reset button is valid.
#        if GPIO.input (halt_button) == True: #if rest button set after 5 seconds shutdown
#            GPIO.output (LED, 1)
#            command = "/usr/bin/sudo /sbin/shutdown -h now"
#            import subprocess
#            process = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
#            output = process.communicate()[0]
#            GPIO.cleanup ()
GPIO.cleanup ()

------------------------------------------------------------------------------------------


You will need to open this file and remove the "#" symbol at the beginning of the last few lines in the file.  You need to make sure the hardware is modified first as in step 1 otherwise without the pull-down resistors, the PI will keep shutting down due inadvertent noise spikes. Save the file when done and REBOOT. I find using File Manager to open the file (using Leafpad to edit) easier than using LXTerminal but if you prefer LXTerminal, you can execute it and then you should already be in the </home/pi> directory.

Note:
The LED portion of the circuit is optional and is purely for visual indication to let you know the PI is operational.

Let me know if you have any problems

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on March 02, 2015, 05:22:29 PM
Hi,

If anyone is having trouble setting up a static IP address for the PI, you can use "Avahi" which is a open source program implementing mDNS (multicast Domain Name System). Instead of hunting for the IP address every once in a while, this will allow you to reference the domain name instead from your PC. This system is implemented in apples Bonjour already. This does not mean you can access it from your IPad or other apple devices. You will need other software to do that  :(.

After installing Avahi, instead of calling up the IP address, you call up the raspberry PIs domain name which by default is "raspberrypi.local". The instructions for it is here. http://www.howtogeek.com/167190/how-and-why-to-assign-the-.local-domain-to-your-raspberry-pi/ (http://www.howtogeek.com/167190/how-and-why-to-assign-the-.local-domain-to-your-raspberry-pi/). Now if the ip address changes, you can still access it.

Some of you may already have found this but if you haven't, enjoy and hope it makes your life easier
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 21, 2015, 07:57:01 PM
Hi loulea and all the others here who have endeavored to make the GP-10 what it should have been from the start.

I was so happy to see the results you guys were getting with the RPi that I ordered one of the new ones halfway through reading this thread....now I realize the RPi 2B that is on the way to me can't use your image....

Have you received the new one as well and will you have an image made like you did with the previous version?
If not am I correct in assuming I can still follow your instruction video and links to download all the apps to create the same net result on my new RPi2 B

I hope to have the WiFi remote access like you had as well.

And until I decide how I want to shut it down using a hardware switch of some type can it be done via the remote access in software?

Thanks for all the hard work you guys put in here!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on April 21, 2015, 08:45:45 PM
I would think the RPI image will work with the new RPI2, try it an see...
no guarentees

All it can do is fail to start if it is not compatible, I'm sure it is only the CPU that is different.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 21, 2015, 09:14:01 PM
Quote from: gumtown on April 21, 2015, 08:45:45 PM
I would think the RPI image will work with the new RPI2, try it an see...
no guarentees

All it can do is fail to start if it is not compatible, I'm sure it is only the CPU that is different.

I was concerned because of loulea's comment about someone using an image from an older RPi on a new one:
Quote"If you do get the latest PI, your previous image will not work on it because it has different chip-sets and the driver interfaces will be different. You can actually smoke it. I am going to purchase one for the fun of it and create a new image."
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 22, 2015, 07:27:40 AM
Quote from: gumtown on April 21, 2015, 08:45:45 PM
I would think the RPI image will work with the new RPI2, try it an see...
no guarentees

All it can do is fail to start if it is not compatible, I'm sure it is only the CPU that is different.

NO! Do not use the image on the new PI. You could BRICK it. The new RPI has new chipsets and the low level drivers in the image will not be compatible. You will have to load the NOOBS software and load the Raspbian image. You will have to configure it to boot to the desktop and also have it load the qjackctl utility at startup. I have posted instructions on this earlier in this thread. When you get the new PI let me know and I can guide you. The instructions for loading the image is on the RPI website.

I plan to buy the new RPI and update my image.

Good luck! :)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 22, 2015, 08:09:56 AM
Thanks for the info.
I receive the new RPi2 tomorrow. I'll start from scratch as you described.

I ordered an extra 32 GB card since I saw that people were having trouble getting the image you made to fit on some 16 GB cards. Obviously that isn't a concern now...
If I format that card can I install NOOBS on it and the remainder of the 32 GB will be available disk space once Raspbian is installed via NOOBS?

Or is the card that comes with it going to be big enough?   - "8GB MicroSD Card - Raspberry Pi Recommended MicroSD Card pre-loaded with NOOBS"

I intended to play around with it beyond just using it to provide midi USB gateway for the GP-10. i'll probably install a small touch screen on top of it at some point...just because I can ;)

Perhaps use the 8 GB for GP-10 use and set up the 32 GB card for when I use the RPi2 for other purposes?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 22, 2015, 12:47:22 PM
Quote from: Will Robinson on April 22, 2015, 08:09:56 AM
I ordered an extra 32 GB card since I saw that people were having trouble getting the image you made to fit on some 16 GB cards. Obviously that isn't a concern now...
If I format that card can I install NOOBS on it and the remainder of the 32 GB will be available disk space once Raspbian is installed via NOOBS?

Or is the card that comes with it going to be big enough?   - "8GB MicroSD Card - Raspberry Pi Recommended MicroSD Card pre-loaded with NOOBS"

Hi,
The origiranal image was formatted on a 16GB card. The problem with that was that you  have to use the exact card or larger and even if you did, would not guarantee that the image would copy. What I did was created an 8GB image and then everyone could use a 16GB card which was cheaper than using a 32GB card. 8GB is fine for use even with the new RPI. Whatever card you use to load the NOOBS and install with, the Raspian image will be formatted on that card and should use the entire space. For the B+, they tested it up to 32GB but unstable for 64GB. Unsure of the new RPI for 64GB.

I ordered the new RPI by the way. Hopefully I'll get it next week and have an image shortly. I'm curious about the upcoming Windows 10 running on the PI although it will be reduced functionality but will allow for a new development environment. :)!

Hope this answers your questions.

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 22, 2015, 03:31:51 PM
Quote from: gumtown on April 21, 2015, 08:45:45 PM
I would think the RPI image will work with the new RPI2, try it an see...
no guarentees

All it can do is fail to start if it is not compatible, I'm sure it is only the CPU that is different.

Gumtown, It appears I am half wrong and you are half right (sorry!). The image won't work as is on the PI but if it is updated (while on the B+) to the latest OS updates, it will work. According to this article (http://thepihut.com/blogs/raspberry-pi-tutorials/16982376-updating-raspbian-on-your-microsd-for-the-raspberry-pi-2 (http://thepihut.com/blogs/raspberry-pi-tutorials/16982376-updating-raspbian-on-your-microsd-for-the-raspberry-pi-2)), the image should work on both the B+ and the PI2. See option 3. I guess I will have to load an updated image on my drive if anyone wants to use it.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 22, 2015, 06:30:37 PM
I would rather start with your updated image that is ready to work if it is something you can do....
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 22, 2015, 07:47:48 PM
I think I'm going to try to add a tuner function to the RPI as my first project. I figure it could do more than just pass midi data.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 23, 2015, 12:45:05 PM
Quote from: Will Robinson on April 22, 2015, 07:47:48 PM
I think I'm going to try to add a tuner function to the RPI as my first project. I figure it could do more than just pass midi data.

Danger Will Robinson ;)!

The PI is very versatile and you can get lost in it. I went off on a tangent experementing with it and so did a lot of other people. Engoy!!

I will update the image and upload it for you soon. Will let you know.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 23, 2015, 01:19:51 PM
Thanks. (this reply from my Pi!!!) :P
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 24, 2015, 07:50:48 PM
Quote from: Will Robinson on April 23, 2015, 01:19:51 PM
Thanks. (this reply from my Pi!!!) :P

Well I updated the image and was about ready to upload to my Google drive but my new PI2 arrived. I decided to try it. It did not work  :'(. I tried a different 8GB card and a 16GB card. It still did not work. I tried loading everything from scratch (NOOBS) and that worked. Unfortunately I have to reinstall everything. This will take me some time.

After a little research it appears there maybe a new chip on the new PI that may not be compatible with my image.

This could be why some people have had problems previously.
Will update later.

Man it is quicker though!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 25, 2015, 05:57:52 AM
loulea, thanks for the help. I've been trying to install it all but so far I'm not getting it to work right.
I'll keep trying but I'm betting you best me to it and it will be your image that saves me....
Thanks again!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 25, 2015, 08:38:24 AM
Quote from: Will Robinson on April 25, 2015, 05:57:52 AM
loulea, thanks for the help. I've been trying to install it all but so far I'm not getting it to work right.
I'll keep trying but I'm betting you best me to it and it will be your image that saves me....
Thanks again!

Done - didn't take as long as I thought! Uploading it now. It will take some time. I will send a link.

Louis
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 25, 2015, 08:59:55 AM
Many thanks!
I did manage to just now get the RPI-midijack-GP-10 to change presets but I'm not sure I really have it set up properly...or even if it will work again on re-boot. I sort of stumbled onto it.

And the VNC stuff is still messed up. I'm on a Mac so the TightVNC isn't available for Mac, instead they have a Java app viewer...somehow I'm not getting that set up correctly...
So I'm looking forward to wiping my card and putting your image on it.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 25, 2015, 09:29:40 PM
Quote from: Will Robinson on April 25, 2015, 08:59:55 AM
Many thanks!
I did manage to just now get the RPI-midijack-GP-10 to change presets but I'm not sure I really have it set up properly...or even if it will work again on re-boot. I sort of stumbled onto it.

And the VNC stuff is still messed up. I'm on a Mac so the TightVNC isn't available for Mac, instead they have a Java app viewer...somehow I'm not getting that set up correctly...
So I'm looking forward to wiping my card and putting your image on it.

OK Will. The network was slow today and took some time to upload the image. I just got back from an outing with the family and have some to time share the link. All the info for setting up the PI is in the link I will be sharing. The latest image is called "RPI_Image_8GB_V2_PI2_From_Scratch_Apr_24_2015.zip". I have loaded this from scratch and has the same features as the original image. It now has Avahi which allows you to find the PI on the network regardless of it's IP address. You don't have to set up the PI for a static IP address. If you want to access via VNC or SSH, just reference it by it's network name which is "raspberrypi.local". For tightVNC you will have to provide the port number at the end ("raspberrypi.local:1").

Here is the link : https://drive.google.com/open?id=0Byf4qrn_H-ZCVTRfZGdHUEpkcm8&authuser=0 (https://drive.google.com/open?id=0Byf4qrn_H-ZCVTRfZGdHUEpkcm8&authuser=0) . In this link you will find videos and other instructions to setup the PI. Just download the image, unzip it and burn it to your SD card. Follow the instructions in the patchbay setup file to configure your patchbay to your settings.

SSH, VNC Avahi is all setup for you. Enjoy and let me know how it works for you!! ;)

Some of the instructions will look different because the new OS has a new User Interface (UI). I prefer the old one actually!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 26, 2015, 06:04:16 AM
loulea, thanks for doing this!
I've tried twice to download it and each time when it gets to 2.3Gb it fails to continue downloading..
Trying a third time now.

Let me know if there is a 'proper way' to download a large file from that server. I haven't had trouble with large files before...no firewall or other issues on my end that I can think of.

EDIT to add: Again it fails exactly at 2.3 GB
It is downloading at about 1.9 MB per second slow and steady then failure.
I guess its time to research download managers for the Mac...
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 26, 2015, 07:51:16 AM
Will,

Let me check it out! Should work regardless!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 26, 2015, 08:57:34 AM
Will,

I just downloaded it. It took about an hour which is reasonable for a 2.3G file (actually 2.245826GB). I opened it, unzipped it and compared the file size with the original. It matched. I am uploading it to another site and will send you link. Maybe your ISP could be limiting the amount you can download at time? Doubt it but it seems to download for me. I don't know what else to try. I don't have a new Mac. I have an old LC III that I use for my old music setup but it is way out of date. Still works though.

If this doesn't work I can send you some files and folders to copy to the PI to achieve the same result. it will allow the PI to boot to UI and load qJackCtl. You just have to configure it. For VNC you just have to follow the procedures in the links provided in the same download link. 
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 26, 2015, 10:40:20 AM
Wait! Are you saying the complete file is only 2.3 GB?!?!

If so then I'm the dummy who has 4 copies of it in his trash folder thinking it needed to be 8GB....


EDIT to add:
Yep, I'm the dummy!
Right now I have the image baking onto the card via Apple Pi Baker

So sorry for the additional trouble1
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 26, 2015, 11:16:44 AM
Hi will, the file is a compressed zip file. The actual file unzipped is around 7.8 GB. Unzip it and and load it :). I should have clued in before. I thought the download crashed on you.

Hopefully you have unlimited data from your ISP. That's 12GB!! :o!

Let me know how it works out.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Will Robinson on April 26, 2015, 12:41:27 PM
So far so good! I got a little confused on which folder to find the files you said to throwaway. They weren't where I first looked in the Pi/ folder at the top of the list for the Patchbay Settings folder and it wasn't there and the trashcan had one in it so I thought you did that step before making the image...
so setting up the Patchbay didn't work right.

I then found the next folder down in the tree is sort of a mirror of the Pi folder but it has the Home folder...something like that...anyway there was your old settings in another Patchbay Settings folder...so I followed the instructions again and it seems to be right.
After a re-boot it works to control the GP-10.

One thing I might have wrong: I don't have anything on the line Run Script on start up in the Options menu. Is that missing something? You had something there I thought...and in your video... I think it says: "pacmd load-module module--jack channels=2" maybe that is just for audio? Do i need that? Did I read it right or is there more text off to the one side not visible?

Anyway, for now I'm making a back up of the card now before I go forward. I'll change the script thing if you see I should have something and make another back up.

After that I'll set up my wifi on it and then pursue the iPad remote control like you had in the video. If that works another backup...
I see lots of backing up in my future ;)

Tomorrow the little passive touch screen comes with some mini switches to solder on its board so I'll have a pushbutton power switch and some visual clues on the screen to see whats happening.

I figure I'll be able to play around with it when it isn't serving midi connections. I'm a persistent, if not particularly skilled tinkerer ;)

Thanks again!

EDIT to add:
Oh man! This is too cool. I have the iPad working just fine via wifi. No keyboard, no mouse, no monitor....just usb for the midi and power.
You guys ROCK!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 26, 2015, 01:40:48 PM
Hi Will,

glad to hear you have success. Yes this image is a little different so the instructions will have to be updated. I set it up to give you a head start by creating the patchbay folder for you. Glad you figured that out.

For that script, you don't need it. I was trying something out eArlier in the PI development days. If it works right now dleave it.

For the remote using the iPad, just download the App and reference the PI by it's DNS name which is "raspberrypi.local:1". The :1 is the port number.

Good work and enjoy!

BY THE WAY,
This new image also works with the older B+
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Tonemasterus on April 29, 2015, 03:47:51 PM
I used loulea's updated image and got everything to boot up and was able to use my ipad with VNC.  But as far as controlling the gp10 I am getting the same error messages as Elantric?  Help??

Dave
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 29, 2015, 03:53:27 PM
Sorry! I missed something. What error message?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Tonemasterus on April 29, 2015, 04:10:21 PM
cannot connect to server socket err= No such file or directory
cannot connect to server request channel
jack server is not running or cannot be started
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 29, 2015, 04:22:27 PM
This is not required for JackMidi. This is for audio portion where you need to setup a Path for your audio server. You can get more info on the Net about setting it up. Not required for MIDI. You going to be processing audio?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Tonemasterus on April 29, 2015, 04:26:03 PM
no need for audio but when I continue with your setup and connect everything nothing happens no control of gp10?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on April 29, 2015, 05:27:47 PM
Have you been through the setup guide for the jack connection panel? (made software connections between your midi device and the GP-10?)
The Jack control panel user document is in the first page of this Topic.

Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Tonemasterus on April 29, 2015, 05:29:52 PM
Finally got it to work!!!  Couldn't find this in the notes but the Midi foot pedal Controller needs to be on Midi Channel 1!!  Duh!  i had mine set to a different midi channel!

Elantric,  the other jack error message is irrelevant, mine works now and it still shows that same error!

Thanks Loulea!!

Dave
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on April 29, 2015, 05:43:24 PM
QuoteThe Jack control panel user document is in the first page of this Topic.


I can only find this reference for Jack Audio:

http://jackaudio.org/ (http://jackaudio.org/)

https://github.com/jackaudio/jackaudio.github.com/wiki (https://github.com/jackaudio/jackaudio.github.com/wiki)


Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Tonemasterus on April 29, 2015, 05:51:38 PM
I didn't have to make any changes to jack!  Just followed loulea's. PDF for setting up the patch bay after using his latest image.  And realize my user error of making sure the foot controllers midi channel is set to midi channel 1.  It just works!

Dave
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 29, 2015, 08:07:08 PM
Quote from: Elantric on April 29, 2015, 05:43:24 PM

I can only find this reference for Jack Audio:

http://jackaudio.org/ (http://jackaudio.org/)

https://github.com/jackaudio/jackaudio.github.com/wiki (https://github.com/jackaudio/jackaudio.github.com/wiki)

The jack server is basically used for real time audio. It is similar to the ASIO driver on your PC that your DAW uses. For the GP-10 MIDI you don't need the audio part of jack to send MIDI commands. Jack sits on top of ALSA MIDI and as we have seen from earlier posts that there is two parts to ALSA. There is the audio part and the MIDI part. For the GP-10 we only need the MIDI.

For the audio portion checkout this series of YouTube vids that you can follow to set up the Jack server for you to use real time audio. <Tutorial: JACK Audio Server: Basic Explanation, Install, and Setup (http://www.youtube.com/watch?v=fMz6fDGBnA4#)>. Hope this helps  :) !
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 29, 2015, 08:16:40 PM
Quote from: Tonemasterus on April 29, 2015, 05:29:52 PM
Finally got it to work!!!  Couldn't find this in the notes but the Midi foot pedal Controller needs to be on Midi Channel 1!!  Duh!  i had mine set to a different midi channel!

Elantric,  the other jack error message is irrelevant, mine works now and it still shows that same error!

Thanks Loulea!!

Dave

Yea!!! Glad it worked out for you! Yes Jack only makes the connection for you. After all  that, things that can go wrong will go wrong if don't pay attention to instrument settings ;).
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on April 29, 2015, 08:51:49 PM
Hi,

Here is a good document that gives some information on setting up the Jack Audio. This may give some good info.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on July 07, 2015, 12:12:43 PM
Quote
OK Will. The network was slow today and took some time to upload the image. I just got back from an outing with the family and have some to time share the link. All the info for setting up the PI is in the link I will be sharing. The latest image is called "RPI_Image_8GB_V2_PI2_From_Scratch_Apr_24_2015.zip". I have loaded this from scratch and has the same features as the original image. It now has Avahi which allows you to find the PI on the network regardless of it's IP address. You don't have to set up the PI for a static IP address. If you want to access via VNC or SSH, just reference it by it's network name which is "raspberrypi.local". For tightVNC you will have to provide the port number at the end ("raspberrypi.local:1").

Here is the link : https://drive.google.com/open?id=0Byf4qrn_H-ZCVTRfZGdHUEpkcm8&authuser=0 (https://drive.google.com/open?id=0Byf4qrn_H-ZCVTRfZGdHUEpkcm8&authuser=0) . In this link you will find videos and other instructions to setup the PI. Just download the image, unzip it and burn it to your SD card. Follow the instructions in the patchbay setup file to configure your patchbay to your settings.



Loulea - just want to verify this "RPI_Image_8GB_V2_PI2_From_Scratch_Apr_24_2015.zip" file is still the best one for the latest  / fastest RPI "2" Model B
The raspberry Pi 2 Features A 900MHz quad-core ARM Cortex-A7 CPU and 1GB RAM
http://www.amazon.com/gp/product/B00T87CSAG?psc=1&redirect=true&ref_=oh_aui_detailpage_o02_s00 (http://www.amazon.com/gp/product/B00T87CSAG?psc=1&redirect=true&ref_=oh_aui_detailpage_o02_s00)


And

Does RPI_Image_8GB_V2_PI2_From_Scratch_Apr_24_2015.zip work for all versions of RPI?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on July 07, 2015, 12:24:36 PM
Quote from: Elantric on July 07, 2015, 12:12:43 PM


Loulea - just want to verify this "RPI_Image_8GB_V2_PI2_From_Scratch_Apr_24_2015.zip" file is still the best one for the latest  / fastest RPI "2" Model B
The raspberry Pi 2 Features A 900MHz quad-core ARM Cortex-A7 CPU and 1GB RAM
http://www.amazon.com/gp/product/B00T87CSAG?psc=1&redirect=true&ref_=oh_aui_detailpage_o02_s00 (http://www.amazon.com/gp/product/B00T87CSAG?psc=1&redirect=true&ref_=oh_aui_detailpage_o02_s00)


And

Does RPI_Image_8GB_V2_PI2_From_Scratch_Apr_24_2015.zip work for all versions of RPI?

Hi Eleantric,

Yes it does work for both the new and the old RPI. I have tried it on both and it works. You can do an update after loading the new image to get the latest changes because it has been a while since I created that image but it will still work.

Louis
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on July 08, 2015, 08:00:53 AM
Quote from:  corpalum
Hi loulea,

I get a lot of errors in gparted from your image, why?

Did you try to resize it to fit an 8gb card?

Thank you for your great work.
Best regards,
cpl

Hi,

I did not use gparted for anything. I created the image the normal way with SDFormatter and downloaded the package from the RPI website. I copied it to the formatted card on my windows PC and plugged it into the RPI. I booted up the RPI and then loaded the RASPIAN OS and configured everything to so you don't have to. I then Image the card with Win32DiskImager which gives us a file size around 7.7GB. I then used 7Zip (similar to WinZip) to shrink it down to around 2GB. I think this is where you think I used gparted and I did not  :o. Use Winzip or 7Zip to unzip the file and then just image it to your card using Win32DiskImager.

loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: cplm on July 08, 2015, 09:40:01 PM
Hi Loulea,

No no, I didn't want to guess the program you used to shrink, just only that the image has been shrinked.
Maybe it explains why Gparted can't see the partitions into the SD card and shows a lot of errors.
Try yourself.

No matter anyhow, had already deleted previous msg before your answer.
Thank you again.
Regards,
cpl
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: batman on August 01, 2015, 02:50:09 AM
Hey guys I'm having some random issues with midi patch changes.  Every now and then when I press a button on the midi controller the GP-10 doesn't change patches.  I know I've pressed the button right because my other effects (on a different midi channel but same midi controller) work.  If I press the button again it works though.  Has anyone had this issue?
There may be two possible causes (I think):
-My midi controller isn't sending the PC message.  I think this is unlikely as PC messages to my other gear (on different midi channels) get sent ok.  If it was an issue with the controller then it's likely that there would be problems on all midi channels.
-The Raspberry Pi isn't passing the midi messages through to the GP-10.

It seems to be random and only happens rarely (not at a live show yet).  Can anyone help?
I'm using a RJM Mastermind controller (http://www.rjmmusic.com/mastermind.php (http://www.rjmmusic.com/mastermind.php)).
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: guitarman2uk on August 28, 2015, 03:10:58 AM
Hi guys - loving this forum even more now and can't wait to get my GP-10 which is being shipped as we speak!

Would someone be kind enough to do a full tutorial video for us raspberry pi noobs- from installing the software to connecting it to the GP-10.

I plan to use my VG99 FC300 midi controller - has anyone tried it and does it work well?

All very exciting developments in the VG world and there's me thinking the VG died with Rolan's lack of commitment and support.

Thank goodness for you guys - keep up the exceptional work!

Many thanks
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: jwest on October 02, 2015, 06:30:40 PM
Just a clarification on your project. The job at hand is to get standard 5 pin midi in and out of the GP-10 usb port. You are using a raspberry pi and jack to get this done.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on October 02, 2015, 06:37:57 PM
Also for clarification - if this thread is too nerdy for you - you can soon buy a ready to run "plug & play"
Boss GP-10 USB to 5 pin midi in and out conversion box here

PrimovaSound MIDX-10

https://www.vguitarforums.com/smf/index.php?topic=15758.0 (https://www.vguitarforums.com/smf/index.php?topic=15758.0)

https://www.vguitarforums.com/smf/index.php?topic=15758.msg112719#msg112719 (https://www.vguitarforums.com/smf/index.php?topic=15758.msg112719#msg112719)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: jwest on October 02, 2015, 07:01:29 PM
Thanks for the info on the PrimovaSound MIDX-10. I've done allot of work with arduino - teensy, and can probably do it with one of those as well. My GP-10 hasn't arrived yet. New to the forum.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on October 02, 2015, 11:03:22 PM
Quote from: jwest on October 02, 2015, 07:01:29 PM
Thanks for the info on the PrimovaSound MIDX-10. I've done allot of work with arduino - teensy, and can probably do it with one of those as well. My GP-10 hasn't arrived yet. New to the forum.
Keep in mind the GP-10 and most Boss USB midi gear is not class compliant,
an Arduino Host USB shield won't work out of the box, and will require special code written to accommodate the Boss USB end points.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: sixeight on October 03, 2015, 02:26:30 AM
Quote from: jwest on October 02, 2015, 07:01:29 PM
Thanks for the info on the PrimovaSound MIDX-10. I've done allot of work with arduino - teensy, and can probably do it with one of those as well. My GP-10 hasn't arrived yet. New to the forum.

If you are handy with Teensy, this may be of interest to you:
https://www.vguitarforums.com/smf/index.php?topic=15154.msg116827#new (https://www.vguitarforums.com/smf/index.php?topic=15154.msg116827#new)

Did go for the MIDX-10. As it is the most reliable solution for Midi.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on October 27, 2015, 08:31:48 PM
Quote from: guitarman2uk on August 28, 2015, 03:10:58 AM
Hi guys - loving this forum even more now and can't wait to get my GP-10 which is being shipped as we speak!

Would someone be kind enough to do a full tutorial video for us raspberry pi noobs- from installing the software to connecting it to the GP-10.

I plan to use my VG99 FC300 midi controller - has anyone tried it and does it work well?

All very exciting developments in the VG world and there's me thinking the VG died with Rolan's lack of commitment and support.

Thank goodness for you guys - keep up the exceptional work!

Many thanks

Hi, I've been away for a few months enjoying the summer and just checked in looking the SY300 thread. I checked this one and some exciting things are happening with the new 5 pin MIDI I/O circuit Codesmart is selling. I think the raspberry PI solution may be outdated now but still is a valid solution. I have not been getting emails for updates to this thread so I was not aware of postings. Sorry for the late response.

If you need a video of how to install NOOBS from scratch, then YOUTUBE has a number of them. https://www.youtube.com/watch?feature=player_detailpage&v=qLo-0Tmmlrc (https://www.youtube.com/watch?feature=player_detailpage&v=qLo-0Tmmlrc).

Here is a link to the image I created but will be removed if no one has a need for it anymore. https://drive.google.com/open?id=0Byf4qrn_H-ZCVTRfZGdHUEpkcm8&authuser=0 (https://drive.google.com/open?id=0Byf4qrn_H-ZCVTRfZGdHUEpkcm8&authuser=0). The link has a video and info on how to configure the Jack MIDI utility. I have to warn you though, since I update the image to use the PI2, I have not updated the material but 95% of the information is still valid.

The MIDIX-10 seems like a cleaner option. You should snag one.

Louis
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: hugowester on November 01, 2015, 12:29:03 PM
Just to thanks everyone involved in the rasberry proyect.being an absolute beginner in computer hardware tweaking,all i can say is that it works perfect and is really easy to set up,once you download and understand the stuff posted in this forum.So go ahead and for a few bucks you will have a perfect solution for having midi in your gp 10!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on November 01, 2015, 05:06:50 PM
Quote from: hugowester on November 01, 2015, 12:29:03 PM
Just to thanks everyone involved in the rasberry proyect.being an absolute beginner in computer hardware tweaking,all i can say is that it works perfect and is really easy to set up,once you download and understand the stuff posted in this forum.So go ahead and for a few bucks you will have a perfect solution for having midi in your gp 10!

Glad it worked. Just curious what model PI did you buy? PI B plus or PI 2?
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MaidenHawaii on January 01, 2016, 05:46:56 PM
Aloha and Happy new Year from Hawaii!

New to the forum, and am a new proud owner of a GP-10.  Love the unit, but dislike the lack of standard midi in/out connection support.
I am intrigues by the RPI and even the MIDX-10 to fix this issue, and am leaning toward performing the upgrade to my GP10 to make it work for me as I want, but needed to ask if this fix will be compatible with what I am trying to achieve.  I appreciate any help moving forward, as I am definitely no programmer, and my knowledge of midi is borderline novice (meaning I am stupider than the novice :), but I can read and follow directions like a champ and can tweak like the best of them! 
So first, let me share my rig setup:

GP-10 mono out>TC Poly Tune> GT-100 input
GP-10 sits in front of the GT-100
GT-100 is setup in 4 cable through the loop of a 5150III 50 watt head.  The GT-100 provides all my effects and my amp provides my tone.
GT-100 controls all amp switching changes through a midi connection (only available on the 50 watt) GT-100 midi out>EVH Midi foot control in
I am totally not using the GP-10 to its fullest potential, as I only intend to use it for alternate tuning, some acoustic modeling and very little synths for now. 
As time goes on, I am sure I will find more uses for it, but right now it solves my issue with having to travel to a gig with 4-5 guitars all tuned differently, which is the main reason why I got it. 
The way I have the GT-100 set up is that each patch button (1-4) is set for, in regards to the EVH, a clean channel (green), a crunch channel (blue) and a heavy channel (red), with button 4 serving as a lead/modulation patch on either the blue or red channel.  Go bank up or down, the patches have different settings, but the amp channel selections stay the same across the GT-100 4 button selections.  This setup really solved the tap-dancing I was doing with my Line6 M13 and outboard external effects, and sounds much better with no latency issues at all...the Line 6 had major latency issues with the EVH when switching amp channels through midi, and forced me to purchase a FCB-1010 to remedy it.  The GT-100 gave NO latency issues from the get go, so...see ya M13 and the ridiculously large pedal board I had!  Plus, the GT-100, IMHO, is a much better overall sounding multi effects unit compared to any Line6 floor processor.

My question is, can the MIDX-10 or the RPI allow for the GT-100 to change patches on the GP-10 at the same time?  For example, I would like to go to bank/patch 4-1 on the GT-100, clean on my amp, and at the same time have the GP-10 switch to say, patch 4.  Then when I switch to say bank/patch 5-3, Red channel on the amp, the GP-10 goes to patch 5. 

I would like the GP-10 to integrate into my "one step change for everything" pedal board, but for right now, the tap dancing is back just a bit.
If this will work, I will be ordering a RPI B+ very soon.   I am leaning towards the RPI as there is room to expand on that thing should I get it working right...I already have a Midi Solutions thru box (1 in>2 out/thru) to split the midi signal coming from the GT-100 out to the amp and GP-10, which I am thinking I'm gonna need if this works.  Other than that, will there be anything else I would need? 

Tons of intelligent individuals on this site, and even more useful information.  I appreciate any and all help on my inquiry. Thank you in advance.

Mike



Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumtown on January 01, 2016, 10:11:52 PM
Greetings from New Zealand !!
Yes you can have it all !!
The RPI has 4 USB ports where the GT-100 USB can be utilised to the RPI and then to the GP-10, no need for the midi splitter box.
The GT-100 will send the same midi to it's 5 pin ports and through the USB at the same time.

For patch switching,
the GT-100 has 200 user patches arranged in 50 banks of 4 patches, but think of them numbered as 1~200.
the GP-10 has 99 User patches (1~99).
So when the GT-100 is on bank1-patch1, the GP10 will be on patch 1
     when the GT-100 is on bank4-patch1, the GP-10 will be on patch 13
     when the GT-100 is on bank20-patch4, the GP-10 will be on patch 80
     when the GT-100 is on bank25-patch3, the GP-10 will be on patch 99
past Bank 25, the GP-10 won't listen to patch change.

You will need to make up a set of your GP-10 alt tuning patches and copy/paste them to the patch locations to match your GT-100 patches.

Don't forget to setup the RPI to map the GT-100 to the GP-10 midi.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: CodeSmart on January 02, 2016, 01:03:06 AM
Hi Mike, hello from Sweden  :)

I think a MIDX-10 could also do the work:
GT-100 MIDI OUT -> MIDX-10 MIDI IN
MIDX-10 MIDI OUT -> Amp MIDI
MIDX-10 USB -> GP-10 USB

As the GP-10 tends to repeat incoming Midi, any PC from the GT will be available on the MIDX Midi out. If not, the Merge/True switch will forward PC from GT to Amp. No need for a splitter.
Note: If you change patch on the GP-10 directly by its foot controls these PC will also get to the Amp.
(If not desired I guess you can turn off MIDI transmission in the GP-10 isetup).

HOWEVER...
Unfortunately, at some time point you might find yourself ditching the GT-100 and use only the GP-10. With careful tweaking it can substitute the 4CM. The sound will not be 100% as good as 4CM but the audience will not be able to tell the difference. To control the effects of the GP-10 patches you will use a simple external dual foot switch or a MIDI controller with RPI/MIDX. This my prophecy ;D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MCK on January 02, 2016, 10:41:11 AM
Awesome project!!! Very happy to see the maker spirit alive and thriving in this wonderful community. Congratulations
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MaidenHawaii on January 02, 2016, 11:26:44 AM
Quote from: gumtown on January 01, 2016, 10:11:52 PM
Greetings from New Zealand !!
Yes you can have it all !!
The RPI has 4 USB ports where the GT-100 USB can be utilised to the RPI and then to the GP-10, no need for the midi splitter box.
The GT-100 will send the same midi to it's 5 pin ports and through the USB at the same time.

For patch switching,
the GT-100 has 200 user patches arranged in 50 banks of 4 patches, but think of them numbered as 1~200.
the GP-10 has 99 User patches (1~99).
So when the GT-100 is on bank1-patch1, the GP10 will be on patch 1
     when the GT-100 is on bank4-patch1, the GP-10 will be on patch 13
     when the GT-100 is on bank20-patch4, the GP-10 will be on patch 80
     when the GT-100 is on bank25-patch3, the GP-10 will be on patch 99
past Bank 25, the GP-10 won't listen to patch change.

You will need to make up a set of your GP-10 alt tuning patches and copy/paste them to the patch locations to match your GT-100 patches.

Don't forget to setup the RPI to map the GT-100 to the GP-10 midi.

Greetings to you also!  This is great stuff!  Thank you for the information and pointing out that I would not needs the splitter with the RPI installed. 
Although I was leaning towards the RPI...I may go with the MIDX-10 instead

Quote from: CodeSmart on January 02, 2016, 01:03:06 AM
Hi Mike, hello from Sweden  :)

I think a MIDX-10 could also do the work:
GT-100 MIDI OUT -> MIDX-10 MIDI IN
MIDX-10 MIDI OUT -> Amp MIDI
MIDX-10 USB -> GP-10 USB

Hello to you, too CodeSmart.  If the MIDX-10 is a plug and play, I may just go with that.  What is the price of one? 
Quote from: CodeSmart on January 02, 2016, 01:03:06 AM

HOWEVER...
Unfortunately, at some time point you might find yourself ditching the GT-100 and use only the GP-10. With careful tweaking it can substitute the 4CM. The sound will not be 100% as good as 4CM but the audience will not be able to tell the difference. To control the effects of the GP-10 patches you will use a simple external dual foot switch or a MIDI controller with RPI/MIDX. This my prophecy ;D

I considered it.  BUT, I was not happy with the way it sounded up front of the EVH.  effects were too wet.  Although I can get the Van Halen "slam everything into the front of the amp" tone with some tweaking, everything else is just too saturated for my taste.  And I could really tell the difference between in front of the GT-100, and all by itself.  And I do like the ability to reposition the loop on the GT-100...
For now, the set up fits my "ears", but should I opt to use the amp models in the future, then yes...the GT-100 will more than likely be shelved...The GP has amazing amp tones in it...better than the GT-100 I hate to say. 
Besides...I kinda like how they look sitting next to each other on my PT-pro! 
I was also able to use my amp footswitch from my Bugera V22 combo as control 3 and 4.  didn't think it would work, but it does! 
So...I'm thinking I'd like to order a MIDX-10!  How shall I go about it?

And Thanks again all.  2 posts in, and I can feel the wealth of knowledge pouring out to me...and I appreciate it very much! 
Aloha! 
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: CodeSmart on January 02, 2016, 04:40:57 PM
Quote from: MaidenHawaii on January 02, 2016, 11:26:44 AM
Although I was leaning towards the RPI...I may go with the MIDX-10 instead
Hello to you, too CodeSmart.  If the MIDX-10 is a plug and play, I may just go with that.  What is the price of one?
So...I'm thinking I'd like to order a MIDX-10!  How shall I go about it.

I have reworked the board and took a chance and fabricated 20 boards with components for my last 20 existing enclosures. Have not received them yet. I've fixed a few clerical things on the board. These 20 units are most probably taken by the waiting list already. On the other hand I have ordered a larger number of new enclosures for the second batch of 2016, one of these could be yours in about late February.

So if you are in a hurry and want a less expensive non-enclosure solution with some boot time and more I/O go for the RPI, otherwise wait for the plug-n-play MIDX-10 around end of Feb. The price will probably be around $120-$160. Not sure yet. Purchase and production of the enclosures with 4-layer metallic car paint in GP-10 color and two-component clear coat remains the biggest challenge money wise with these small series.

I'm sure the RPI will work fine for you also.

If interest email sound@primova.se. The units look like this (Warning for offensive advertising in the wrong thread ;D )
(https://www.primovasound.com/gfx/midx-10_32.jpg)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: gumbo on January 02, 2016, 08:30:52 PM

...a long time ago, in a Galaxy far far away to the North......

...the Force became fixated about the color yellow....

:D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on January 03, 2016, 09:53:57 AM
Hi MaidenHawaii,

Either way you go will work for you but be aware of the of the limitations of both. The RPI is a cheaper than the MIDIX-10 (half - $35 +$30 for the USB to MIDI cable assuming you have a monitor and keyboard around) but requires a little more attention to setting it up. I have created an image and instructions which can be found in this forum as a starting point to minimize the learning curve. It allows for running without a monitor and keyboard. The RPI can also be connected remotely via VNC or SSH (Secure shell) using your IOS device or PC over your network. If your are going to get the RPI, I would suggest you get the RPI2 because it is much faster. I upgraded the image to support the RPI2 earlier this year. The boot time of the RPI is around 55 seconds. I clocked this by turning on the PI, hitting my foot pedal and monitoring when the GP-10 changes patch. The RPI2 did it in around 25 seconds. Although not quite as fast as the MIDIX-10 it is much better than the RPI B+. The RPI is more of a patch bay and can connect inputs and outputs to which ever device you need which may give you better control over gear. The RPI is not plug and play so if you are on stage and one of your pedals go down and if you substitute another one, you will be required to go in to the RPI JackCtl utility and connect it even if it is another GP-10. This is because it recognizes the USB ID of the device plugged into to the USB port. This is where the MIDIX-10 shines as documented by CodeSmart. The MIDIX-10 is plug and play.

In summary, either will do for you. I suggest you get both if you can afford it :). It is an extra 35-40 buck for the PI and since you will need the USB MIDI interface for the MIDIX-10 anyway, you can use it for the PI. You will also need a power adapter as well as a wireless adapter if you don't want to be wired. I found the PI to be better suited for my needs because I use it for other things such as load OSMC and use it for streaming movies from the internet or off my local network as well programming. I have 3 of them now.

If you feel adventurous, here are some links to a RPI touchscreen add-on if interested.
http://swag.raspberrypi.org/products/raspberry-pi-7-inch-touchscreen-display (http://swag.raspberrypi.org/products/raspberry-pi-7-inch-touchscreen-display)
http://www.adafruit.com/products/2033 (http://www.adafruit.com/products/2033)

Enjoy! Happy new year to all!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: CodeSmart on January 03, 2016, 11:30:55 AM
Agree Loulea, there are pros and cons on both existing options. Great when people have to start eye bowling and lose there marbles ;D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MaidenHawaii on January 03, 2016, 03:29:02 PM
Quote from: loulea on January 03, 2016, 09:53:57 AM
Hi MaidenHawaii,

Either way you go will work for you but be aware of the of the limitations of both. The RPI is a cheaper than the MIDIX-10 (half - $35 +$30 for the USB to MIDI cable assuming you have a monitor and keyboard around) but requires a little more attention to setting it up. I have created an image and instructions which can be found in this forum as a starting point to minimize the learning curve. It allows for running without a monitor and keyboard. The RPI can also be connected remotely via VNC or SSH (Secure shell) using your IOS device or PC over your network. If your are going to get the RPI, I would suggest you get the RPI2 because it is much faster. I upgraded the image to support the RPI2 earlier this year. The boot time of the RPI is around 55 seconds. I clocked this by turning on the PI, hitting my foot pedal and monitoring when the GP-10 changes patch. The RPI2 did it in around 25 seconds. Although not quite as fast as the MIDIX-10 it is much better than the RPI B+. The RPI is more of a patch bay and can connect inputs and outputs to which ever device you need which may give you better control over gear. The RPI is not plug and play so if you are on stage and one of your pedals go down and if you substitute another one, you will be required to go in to the RPI JackCtl utility and connect it even if it is another GP-10. This is because it recognizes the USB ID of the device plugged into to the USB port. This is where the MIDIX-10 shines as documented by CodeSmart. The MIDIX-10 is plug and play.

In summary, either will do for you. I suggest you get both if you can afford it :). It is an extra 35-40 buck for the PI and since you will need the USB MIDI interface for the MIDIX-10 anyway, you can use it for the PI. You will also need a power adapter as well as a wireless adapter if you don't want to be wired. I found the PI to be better suited for my needs because I use it for other things such as load OSMC and use it for streaming movies from the internet or off my local network as well programming. I have 3 of them now.

If you feel adventurous, here are some links to a RPI touchscreen add-on if interested.
http://swag.raspberrypi.org/products/raspberry-pi-7-inch-touchscreen-display (http://swag.raspberrypi.org/products/raspberry-pi-7-inch-touchscreen-display)
http://www.adafruit.com/products/2033 (http://www.adafruit.com/products/2033)

Enjoy! Happy new year to all!

Aloha Loulea,

First off, thank you for the work you put in to the RPI fix...!  I read all of the threads regarding this, and because of how easy you made it to perform this upgrade, it is why I am here at all!  Like I said, I am no programmer nor computer genius...very far from it...but I can read a set instructions and google like my life depended on it!!! 
Also, thank you for the continued updating done, and all of the useful information regarding the RPI.  Although I am all about plug and play, I am so intrigued by the RPI fix...so as you have suggested, I'm gonna get both...!
Quote from: CodeSmart on January 02, 2016, 04:40:57 PM

If interest email sound@primova.se. The units look like this (Warning for offensive advertising in the wrong thread ;D )
(https://www.primovasound.com/gfx/midx-10_32.jpg)
Email sent... ;D  Love the Star Wars reference, also...!   :)
Got no big gigs set up in the near future, so figured why not fiddle with the RPI for a bit while I wait for the MIDX-10's availability.  The least it could do is make me feel a bit smarter... ;D

So I am looking to order this one.  Maybe look into the touchscreen down the road, but I do have an extra keyboard and monitor sitting around, so for now it will do.  Your thoughts, if any? 
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F91wD5oJpnzL._SL1500_.jpg&hash=90e42f43d490a1d503aeb504203ade4d58a7b967)
I have a M-Audio Uno Midi/usb converter already.  Would also like to install power off option at micro usb power port.  Something like this:
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fcdn.shopify.com%2Fs%2Ffiles%2F1%2F0262%2F4243%2Fproducts%2FFullSizeRender_1_grande_clipped_rev_1_866909f5-b9a4-46ac-8ae9-6d0644a5bf8f.png%3Fv%3D1446918950&hash=c6fd2b27de343b75ab047a225b03c2fab39753eb)
If I went with the touchscreen, I was thinking this one:
(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F51XlzicF0qL.jpg&hash=9dade39943924f2438fef29e887610497233aec9)
So many choices, though...can't seem to make up my mind! 
The gear bug usually hits me around this time of the year, as I celebrate my birthday 6 days into the New Year.  It's something that My wife has come accustom to over the years, and I continue to play to justify the G.A.S...! 
Thank you to those in this forum who have opened a whole new world for me to tweak on!  My wife hates you already!!!   ;D
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: whippinpost91850 on January 03, 2016, 03:38:26 PM
What is the functionality difference if any in the new batch of MIDX-10s
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: CodeSmart on January 03, 2016, 04:20:51 PM
Quote from: whippinpost91850 on January 03, 2016, 03:38:26 PM
What is the functionality difference if any in the new batch of MIDX-10s
The USB can can deliver more power (500mA or more). That's the only difference from the outside.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on January 03, 2016, 07:42:32 PM
Quote from: MaidenHawaii on January 03, 2016, 03:29:02 PM

Aloha Loulea,

First off, thank you for the work you put in to the RPI fix...!  I read all of the threads regarding this, and because of how easy you made it to perform this upgrade, it is why I am here at all!  Like I said, I am no programmer nor computer genius...very far from it...but I can read a set instructions and google like my life depended on it!!! 
Also, thank you for the continued updating done, and all of the useful information regarding the RPI.  Although I am all about plug and play, I am so intrigued by the RPI fix...so as you have suggested, I'm gonna get both...! Email sent... ;D  Love the Star Wars reference, also...!   :)
Got no big gigs set up in the near future, so figured why not fiddle with the RPI for a bit while I wait for the MIDX-10's availability.  The least it could do is make me feel a bit smarter... ;D

So I am looking to order this one.  Maybe look into the touchscreen down the road, but I do have an extra keyboard and monitor sitting around, so for now it will do.  Your thoughts, if any? 

Hi MaidenHawaii,

All the equipment you pointed is great but all you really need is the PI, Power supply and the image. The WiFi adapter is a good as long as the driver is loaded in the Raspian OS which most likely it is.

I believe another important thing is the power down switch because you can corrupt the image if you don't power down properly. I've done it a couple of times though rare. Make backups. The only problem I had with the switch was that it is cumbersome and can be damaged easily if you are not careful. I broke mine while hauling my board to rehearsal. The wire snapped off and took a couple traces on the circuit board of the power down circuitry. I purchased mine from Mausberry Circuits. What I did was wrote a small Python Script and connected my own power down hardware implementation using a couple resistors, LED and switch. Actually I used the LED from the Mausberry circuit board.

The only thing my implementation can't do is power up with the switch. I'm not going to suggest you use  this feature since you are not comfortable with tinkering :). If you do get the power down circuitry, be aware that you may have problems with the length of the wires when using a case. Since the power down PCB resides outside the box and you have to fish the wires through one of the box's access holes, you may end up a little short. This all depends on the enclosure you get.

Make sure to get a 16GB card. The image is 8GB but as documented in this forum, you may have problems when burning the image because not all cards are the same. Using a larger card eliminates the risk. Flash cards are pretty cheap these days.

The touchscreen monitor is really a toy and like you said, if the RPI is going to be your permanent solution, then maybe I would suggest it but for now just use the RPI and see if it has the functionality you need..

The material on my Google drive is a little outdated and need some updating to capture some changes I made to make it easier to find the PI on the network without having to know the IP address. You just use "raspberrypi.local". Most of it is there. Ping me if you get the PI and I haven't updated it.

The PI is supposed to be a cheap solution in my mind :). If you start adding a whole bunch of peripherals, at some point you have to ask yourself if it is worthwhile getting a cheap laptop or a Windows tablet. :)

Enjoy and my pleasure helping!


Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MCK on January 03, 2016, 09:28:34 PM
For all the Pi tinkerers, here's an interesting option. A UPS for your Pi... It comes with its own power down switch option as well and could power up your Pi for up to 8 hours. Fits in most Pi cases as well from what I understand.

http://www.modmypi.com/raspberry-pi/breakout-boards/pi-modules/ups-pico (http://www.modmypi.com/raspberry-pi/breakout-boards/pi-modules/ups-pico)

(https://www.vguitarforums.com/smf/proxy.php?request=http%3A%2F%2Fwww.modmypi.com%2Fimage%2Fcache%2Fdata%2Frpi-products%2Fbreakout-boards%2Fmodmypi%2Fpico%2FPIco_1-536x408.png&hash=fb0079c1d944fe016c3d197293fb34111e586a66)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on January 04, 2016, 06:18:38 AM
This UPS is a much better option!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MaidenHawaii on January 26, 2016, 12:28:46 AM
OK...so after a VERY long wait, my pi arrived in the mail this past Saturday...been working with it since, and finally...CONNECTIVITY!!!  . 
The image wouldn't load  at first, and I thought either there was something wrong with the card or the pi because all i would get was a solid red light...a little green flicker in the beginning but that was it.  So, I downloaded a copy of NOOBS, installed without any issues and determined there was nothing wrong with the pi.  So i tried the image once more, and it finally took.

I now have switching control over the GP-10 through the GT-100.  Patches on GP-10 moves with GT-100, which is all I really wanted!  Thank you for the great thread, information and knowledge to help me pull this off!!! 

My only thing is, when I start up the pi, after jackctl opens, I get an error message
' could not connect to JACK server as client'
'overall operation failed'
'unable to connect to server'

Although I was able to save the setup, and everything loads as should, the error and message/status box always pop up...I am assuming that it is not normal, but how do I get it to not pop up? 

Overall, am pretty pleased with the end result...I had everything hooked up in midiOX while I was waiting for the pi, and the latency was terrible...the pi has 0 latency and my amp switches like lightning fast now! 

And FYI, using the pi to post this message!!! 

This will definitely do until the MIDX10 becomes available...Thank you, VGuitarForum gurus!!! 
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Elantric on January 26, 2016, 12:59:23 AM
Quote
My only thing is, when I start up the pi, after jackctl opens, I get an error message
' could not connect to JACK server as client'
'overall operation failed'
'unable to connect to server'

I also experience this same exact message - AFAIK its normal and just ignore it.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on January 26, 2016, 06:14:50 AM
Quote from: MaidenHawaii on January 26, 2016, 12:28:46 AM

My only thing is, when I start up the pi, after jackctl opens, I get an error message
' could not connect to JACK server as client'
'overall operation failed'
'unable to connect to server'

Although I was able to save the setup, and everything loads as should, the error and message/status box always pop up...I am assuming that it is not normal, but how do I get it to not pop up? 

Glad you got it working MaidenHawaii. One of the instructions was to format the card using SDFormatter before you extract and load the image. This would have saved you some time.

Now as I have said many times in this forum, the error for the JackServer is NOT related to the JackMidi which you are using. There are two parts to JackCtl running on the PI. There is the MIDI portion and AUDIO portion. We only need the MIDI portion and the instructions I provided tells you how to set that up. The errors you are experiencing is for the audio server and this is because we have not configured the hardware interface. This can be ignored. Basically if you were to use the PI for audio, you would have to setup the PIs audio interface so that you can connect to other audio devices. The error has NO impact on the function that you seek.

Enjoy the versatility of the PI!
loulea   
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on January 26, 2016, 08:35:39 AM
MaidenHawaii,

If you don't want to see the popup every time, just deselect the "Messages" button on the main window and the next time you reboot, you won't see it. Same with the other windows as well. I'd say you are set. ;)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: MaidenHawaii on January 26, 2016, 09:28:39 AM
Quote from: loulea on January 26, 2016, 06:14:50 AM
Glad you got it working MaidenHawaii. One of the instructions was to format the card using SDFormatter before you extract and load the image. This would have saved you some time.

Now as I have said many times in this forum, the error for the JackServer is NOT related to the JackMidi which you are using. There are two parts to JackCtl running on the PI. There is the MIDI portion and AUDIO portion. We only need the MIDI portion and the instructions I provided tells you how to set that up. The errors you are experiencing is for the audio server and this is because we have not configured the hardware interface. This can be ignored. Basically if you were to use the PI for audio, you would have to setup the PIs audio interface so that you can connect to other audio devices. The error has NO impact on the function that you seek.

Enjoy the versatility of the PI!
loulea   
I had used the SDformatter...I think it was just my inexperience taking over...It all kinda came together after I installed NOOBS by itself...Once I got that working, I regrouped, burned the image again and presto! 
And funny thing is, I noted the error message while going through this thread, but wasn't sure what to look for when it did show up...I got so excited it worked, I forgot about the non-issue of the error message...! 

I rebooted the pi without the peripherals, and it took about 20 seconds to get connected...works like a charm!
Quote from: loulea on January 26, 2016, 08:35:39 AM


If you don't want to see the popup every time, just deselect the "Messages" button on the main window and the next time you reboot, you won't see it. Same with the other windows as well. I'd say you are set. ;)

I will do that when I log back in later.  I would say that I am set, too.  Thank you again for the work you have put in to this, and to all who have contributed...this guitarist appreciates it!   :)



Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Spawn-X on May 21, 2016, 04:19:23 AM
Flag!..
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: pasha811 on September 20, 2016, 06:14:48 AM
Do I need heatsinks or RPI, Cover and Power brick will do?

Best
Pasha
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: loulea on September 21, 2016, 09:16:58 AM
Quote from: pasha811 on September 20, 2016, 06:14:48 AM
Do I need heatsinks or RPI, Cover and Power brick will do?

Best
Pasha

Nope. Just put it in a RPI case and go. Of course if you make your own, provide adequate ventilation such as holes or fan.

Loulea
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: pasha811 on September 21, 2016, 10:34:24 AM
Quote from: loulea on September 21, 2016, 09:16:58 AM
Nope. Just put it in a RPI case and go. Of course if you make your own, provide adequate ventilation such as holes or fan.

Loulea

Thanks! :)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: pasha811 on September 21, 2016, 10:36:47 AM
Quote from: pasha811 on September 21, 2016, 10:34:24 AM
Thanks! :) I think the latest incarnation of RPI P3 it's best buy now. I need only the power brick.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: chopsuey on October 07, 2017, 03:58:42 PM
After struggling some time with images, wrong sd-card sizes, connecting monitor keyboard ect. and setting everything up, I found another way that may be of interest for some of you. I am using a 'Raspberry Pi Zero W' and 'MakerSpot 8-in-1 Raspberry Pi Zero W Mega Starter Pack' which comes at around 25-30 euros. *everything runs headless*

here are the steps I took:

1) Get PiBakery (https://www.raspberrypi.org/blog/pibakery/), Setup hostname/Pw/WIFI and flash Raspbian Lite
2) Find client IDs of your MIDI-USB devices (e.g. by connecting to pi via putty) running the command "aconnect -i"
3) Create another image which connects MIDI-USB devices on every boot (in my case SA-HH->OP-1, SA-HH->GP-10, GP-10->OP-1) by adding "aconnect <src id> <dst id>"

after that, hopefully everything runs and connects at every boot! (credit goes to bleo from https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=64340 )

edit: as the port number may change it is even better to use the device names instead, i.e., "aconnect 'GP-10':0 'OP-1 Midi Device':0"  instead of "aconnect 20:0 24:0".


(https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=16510;image)
(https://www.vguitarforums.com/smf/index.php?action=dlattach;topic=11998.0;attach=16659;image)
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: Bendy on November 12, 2017, 02:06:58 AM
Hi all

Well I have taken the plunge and ordered the gp-10. But have to wait for delivery!!!

I would really like to try this PI midi thing to connect to my iPad and other outboard midi stuff

Now my question. This is a long thread and I can't see the walkthrough of how to set this up?

Does anyone have the link please?

Thanks
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: chopsuey on November 25, 2017, 01:27:39 PM
Check the PiBakery method above if you want a fast and headless setup (no need for connecting montior/mouse/keyboard). If you know the names of the usb midi devices you can go directly to step 3) and have everything working in about 15 minutes.
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: emidvf on January 05, 2018, 10:18:25 AM
Quote from: chopsuey on November 25, 2017, 01:27:39 PM
Check the PiBakery method above if you want a fast and headless setup (no need for connecting montior/mouse/keyboard). If you know the names of the usb midi devices you can go directly to step 3) and have everything working in about 15 minutes.

Thank you Chopsuey!! Your method works perfectly (I have used an old Raspberry Pi 1 Model B+ with a 4GB sd card). Working in less than 15 minutes as you said. Really great!!!
Title: Re: Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi
Post by: admin on April 10, 2021, 08:18:42 AM
Philotomy wrote>
I don't know if this has been posted before, but if anyone is looking to make a raspberry pi into a USB host for midi, I just followed these instructions and it's very simple:

https://neuma.studio/rpi-midi-complete.html
https://neuma.studio/rpi-as-midi-host.html
Running the FTP into my Roland keyboard with the Pi is the lowest latency I've ever experienced. I'm very jazzed about this setup. It's starting to feel like the fulfilled promise of MIDI guitar when I first started down the road in the early 90s.

The neuma image will also work to add bluetooth midi to the Gp-10, no config just copy the image and plug in Gp-10