Boss GP-10 - How to implement 5 pin MIDI I/O with Raspberry Pi

Started by loulea, July 31, 2014, 01:22:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

loulea

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.
Music is in everyone!!

sixeight

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...

Elantric

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.

loulea

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/ . Let me know and I can send you link via a personal message if you are interested.
Music is in everyone!!

loulea

Hi, currently testing the image on 8GB since mine is 16GB. Almost there.
Music is in everyone!!

gumtown

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.
Free "GR-55 FloorBoard" editor software from https://sourceforge.net/projects/grfloorboard/

loulea

#31
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.
Music is in everyone!!

Elantric


loulea

Cool!

Here is my PI. Notice the LED on top ;)!
Music is in everyone!!

Elantric

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

I assembled my Rapberry Pi


- 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 -



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.














Upon completion I recycled the power and  the system re-launched with "Raspberry Pi Software Configuration Tool (Raspi-Config)

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

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.

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,



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)



- 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" -



I left clicked this once , and finally saw the:
JACK AUDIO Connection Kit app main panel.



I clicked on Setup,



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



 




** 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




, and then set the patch bay



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.



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
 


gumtown

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.
Free "GR-55 FloorBoard" editor software from https://sourceforge.net/projects/grfloorboard/

MusicOverGear

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.

loulea

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)






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!!!
Music is in everyone!!

mbenigni

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!

loulea

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!
Music is in everyone!!

drbill

Ditto on the awesome!

I could throw my GP-10 & Softstep in a backpack with no computer for rehearsals.
GP-10, KPA
BM i2.13p, '76 Les Paul Deluxe w/GK-3, MiM RRS, Ibanez RG420GK, Charvel strat copy w/GK-2a, FTP

Elantric

Just in time for the Roland / Boss USB to 5 pin MIDI adapter

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.

whippinpost91850

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.

Elantric

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


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

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

http://store.raspberrypi.com/projects



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/


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
 





http://www.pcworld.com/article/2023218/turn-your-raspberry-pi-into-a-tiny-linux-laptop.html


loulea

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.

Music is in everyone!!

whippinpost91850

Please send it to me. Thanks

loulea

Quote from: whippinpost91850 on August 06, 2014, 12:24:00 PM
Please send it to me. Thanks

You should have it! Enjoy!
Music is in everyone!!

whippinpost91850

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

loulea

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
Music is in everyone!!

Elantric

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