After many months of works (on and off), I finally made it to a point that I can show people my progress.
First of all, I should point out that my guitar playing skills is at a level that I can only play the most basic chords. But I want to play accompaniment when I sing.
When I first found out that the Instrument has a Smart Strum mode, I wanted to give it a try. I got to say that, I was quite disappointed. I only got to play 12 pre-selected chords. On top of that, as easy as it sounds, going from chord 1 to chord 12 would require someone to travel all the way across the entire fretboard.
Some people might give up at that point. But fortunately, I can program. So, I started writing a program to remap the Instrument's grid mode so that most common chords can be played with just 1 to 2 fingers, with no pre-selection required like the Smart Strum mode.
Just the major and minor chord alone will be enough for most pop songs ever written. However, I also want to add in additional flexibility, so I added the 7th chords to my program.
hi did you ever finish your program such that it can be shared ?
Of course! After I clean up the codes a little bit, I am going to open source it. I am on vacation right now, so may be some times next week
Hi. Would it be possible for you to contact me? I am handicapped and am only able to play the Instrument 1 with 1 finger, (sometimes 2). Your programming sounds like it might solve my problem of only to be able to play 12 chords per song and/or having to program in each song individually. I have over 200 presets right now because I entered the chords for every song individually. I am VERY VERY interested in seeing your progress and chatting with you. ~ Sue
Hi, Sue. I've been trying to refactor it into a web page and here's a very very rough draft that you can try it on.
Before you can play, you need to configure your Instrument 1 like the following:
After that, go to the web page below (if asked, you need to grant MIDI access to the page):
Choose "INSTRUMENT 1" as the "MIDI Input". To get started, let's ignore the "MIDI Output" for now, and check the "Use Built-in Instrument" checkbox. Then, press the "Initialize" button.
At this point, if everything works as expect, strumming the bridge should produce some sounds generated by the built-in instrument.
Since my original post, I've made some changes to the chord patterns, but the major and minor chords are still done the same as before:
Back to using MIDI Output. If you want to use an external sound engine (more likely than not, you want to, because the built-in instrument just doesn't sound that good), you need to create a virtual MIDI port. You can find instructions at this page:
Once you create a virtual MIDI port, set it as the MIDI Output (you will need to reflesh the page to see the new port). Then, obviously, you will need to wire the virtual port to your VST or whatever sound engine that you are using.
Feel free to ask if you are having problems (it probably won't be problem-free).
Hi again. I configured the Instrument 1 on my iPhone as per your diagram. Then went to your webpage. Received an error. I did not write down the error but was able to bypass it. I CANNOT select Instrument 1 as the Midi Input. When I click on "MIDI Input" Screen says "No options"
Here is a screenshot of the error
Yes. I have an iPhone Mini 13 and I use Safari. Also have an iMac computer and use Safari. Got the same error on both. I'm so excited to try this. Thank you.
I am in Chrome on the Mac. Got as far as Initialize. Looks like Initialize works but no sound coming out. Went to my computer settings and changed input from Internal Speakers to Instrument 1 and Output from Internal Microphone to Instrument 1. Still no sound.
Did you check the "Use Built-in Instrument" checkbox before pressing "Initialize"? If there's still no sound coming out, it may have to do with the built-in sound. It is from an open source sound font player, and since I only use Windows and Android, I don't know if it works on the Mac as well. Although, the Chrome browser pretty much standardize everything among all its platforms (other than the iOS version).
Let me ask you one thing: After you press "Initialize", did you try press a chord on your Instrument 1? If you do, did you see the web page showing the name of the chord that you play? Did you make sure your Instrument's mode has been switched?
If you can, try openinging the Chrome DevTools by pressing F12 on your keyboard. Then click on "Console" to see if there's any errors.
Your speaker settings shouldn't affect the sound, though -- if you set it to your internal speakers, the sound should come out from the internal speaker.
One more thing, just to make sure. Click on the "lock" icon next to the URL in Chrome address bar. Then click "Site Settings" and check if MIDI devices is set to "Allow".
Yes. Use But in Instrument was checked before clicking Initialize.
Yes, tried pressing many different chords. No sound. But most of the chords generate a chord change on the Mac screen, ie. CScale0, AScale1, etc. Some of the chords don't change at all.
What do you mean by "make sure the instruments mode has been switched"?
I opened the Console and see 3 issues. Sorry I don't know anything about coding and can't seem to copy the text to send to you.
I clicked on the lock. Permission was set to Ask. I changed it to Allow. Still no sound.
Is this correct?