Web (server) based guitar tuner.

Started by Beach, September 30, 2017, 01:47:25 PM

Previous topic - Next topic

Beach

Dear forum

Searched the web for a chromatic tuner, there are several but I did not find one with the following spec:

- Runs on linux
- Guitar plugged in (not via microphone)
- runs on a webserver, with a webinterface
- chromatic (not only EADGBA)
- nice human interface.
- free to download and install on a private webserver.

I normally have a linux raspberry pi (zero) computer with me with which I control my floorboard, it would be very practical if I can plug in my guitar and could tune it via a webapplication running on the same raspberry. It must be ´silent´ i.e. I do have a good app on my phone (via microphone) but then the rest of the bandmembers must be quiet. And that seems to be (well proves to be)  impossible. Since the shed we play in varies temperature I have to tune every half hour or so. 

I need a server side guitar tuner in which I can plug in and browse it with my smartphone. For clarity: the guitar plugs in the webserver itself, the smartphone is only a sort of monitor.

Does that exists?

Forgot to mention: I do not have internet access in the shed

Thanks
Arjen

Transmogrifox

Cool idea but I don't know of anything exactly like that.

You can find chromatic tuners for Linux, and lots of JACK applications with tuners -- but then you need something you can access with your phone.

Can you do VNC or remote desktop from your phone?  If you could do something like that then you could go that route for using a normal GUI-based tuner.

Here is an interesting angle at it:
https://www.raspberrypi.org/forums/viewtopic.php?t=81165

If you can set up web-browser-based VNC session then there are a lot more options for tuners on the Linux desktop.
trans·mog·ri·fy
tr.v. trans·mog·ri·fied, trans·mog·ri·fy·ing, trans·mog·ri·fies To change into a different shape or form, especially one that is fantastic or bizarre.

stallik

A quick google search turned up this.
https://github.com/googlearchive/guitar-tuner
At first glance, it looks like it might do what you want. Not looked in any detail but it certainly runs on a local webServer. You might have to poke around a bit to route the signal directly but that surely can't be too hard
Insanity: doing the same thing over and over again and expecting different results. Albert Einstein

Beach

Funny, I searched extensively before and yesterday I did find indeed the very same link. Sometimes you just need the exact right search phrase.

The VNC method might work too. I thought of that too, but -being lazy- I hoped an out of the box solution would be available. I´ll dig into  both suggestions.
Thanks for the input.

Transmogrifox

Quote from: stallik on October 01, 2017, 05:38:17 AM
You might have to poke around a bit to route the signal directly but that surely can't be too hard
Depends how much experience you have tinkering with web programming.  You will almost certainly need to tweak something in the source to get it to connect to audio on localhost even though it's serving an external device. 

Its intended use is getting audio from the client.  So "...surely can't be too hard" has the same kind of tongue-in-cheek nature to it as RG Keen's ASMOP (A Simple Matter Of Programming).

I also can't tell from a first glance whether this is a true chromatic tuner or whether it is just EADGBE.
trans·mog·ri·fy
tr.v. trans·mog·ri·fied, trans·mog·ri·fy·ing, trans·mog·ri·fies To change into a different shape or form, especially one that is fantastic or bizarre.

stallik

I wasn't trying to be clever or dismissive with my comment. If it came across in this manner, I apologise.

My Pi isn't too clever at audio input. There are audio boards available to do this job well though I've not played around with one. From my light reading, it appears that this program sits on the Pi which is running a web server and takes its input from the selected audio port on the Pi. The web server in turn pushes out a GUI to a browser to see whats going on and to do some control and adjustments, not send audio to the server.

So, the poking around was referring to getting the audio input sorted on the Pi in such a way as to work with the program. Pi users seem to me to be pretty happy doing this sort of thing and the OP's comment 'using it to control my floorboard' does nothing to dispel this view. Also, the programmers would have been aware of this and so presumably left some control and instruction on how to use it.

But there might be an easier way to do this. How about downloading TC Electronics Polytune (it's free) to the mobile device and switching the guitar signal to that?
Just tried it using this and it works fine.

I've omitted jack 2 and used a DPDT footwitch to route either guitar-->amp or guitar-->iPhone-->amp on mine so I can also use it with midiguitar and sampletank


Insanity: doing the same thing over and over again and expecting different results. Albert Einstein

Beach

#6
Thanks again for all input. I am the OP of this thread as well http://www.diystompboxes.com/smfforum/index.php?topic=118693.0

To clarify why I have a PI at hand. So yes I do know my way around linux and (some) webprogramming.

The webbased guitar tuner mentioned above seems to be chromatic, however, if you dig a bit into the code it is programmed around the well known EADGBE set. I´d like it to be chromatic, because I use open_G tuning as well, and the vocalist is trying to get us to tune a half or whole step lower. I´d like to try that as well, I expect the sound to get somewhat thicker then.

Transmogrifox

Quote from: stallik on October 01, 2017, 03:45:04 PM
I wasn't trying to be clever or dismissive with my comment. If it came across in this manner, I apologise.
No worries.  Either way sounds like the OP isn't feeling like tweaking this is out of his league :)

Maybe another idea kind of off the original idea is to use a head-stock tuner.  I have one that works really great.  Ambient noise would have to be enough to vibrate your guitar head-stock to get fooled by external sound -- and really that kind of sound would couple into your pickups and be a problem with a hard-wired tuner.

Anyway, my tuner registers all notes in the scale -- I can watch each one A, Bb, C, C#... as I crank up the tuning peg.

But then, maybe buying a tuner takes all the fun out of it. Happy hacking!
trans·mog·ri·fy
tr.v. trans·mog·ri·fied, trans·mog·ri·fy·ing, trans·mog·ri·fies To change into a different shape or form, especially one that is fantastic or bizarre.