Pages: [1]   Go Down
Author Topic: 1/4" Guitar Cable + Arduino  (Read 983 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi! I took a 1/4" cable output from a guitar effect pedal, and I soldered wires to them. Now, I'm not sure if I need some transistors to hook it up to the arduino.
I need to connect the Arduino to my Guitar Amp with it.

Do I need any transistors so I can hook it up properly?

Also, Is there a way I can read the hertz of a note through the arduino?

Its for my project I'm working on.
Logged

Chester, UK
Offline Offline
Sr. Member
****
Karma: 2
Posts: 489
Trying to return the love to none logic level MOSFETS
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What are you trying to achieve with the Arduino?
Logged

If your system involves lethal voltages/life critical/flamable elements - you probably shouldn't need to ask.
The Arduino != PC.

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34599
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You seem confused as to what you want to do. Do you want to take the output of your effects peddle and connect it to the input of an arduino. If so use the circuit at the front of this circuit:-
http://interface.khm.de/index.php/labor/experimente/arduino-realtime-audio-processing/
Feed the back end to your amplifier.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is what I want to achieve.

So, the guitar player plays a note.
The Arduino reads the note, and finds the hertz of the note.
The arduino uses the hertz of that note, and finds the right tone to play, using the Tone Library

The only thing I need to do is to figure out how to read the note with the arduino.

I fixed the 1/4" cable, no transistors needed.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34599
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry but you will never achieve that. It is far too difficult to do with any processor let alone a low power one like an arduino. It will misidentify the notes.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There has to be some way. It can misidentify notes, I don't care. I will delay it, but there has to be some way to read notes. Is there a library for reading notes?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34599
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is there a library for reading notes?
No,
if you want to try then look up the FFT.
Logged

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
There has to be some way.

There is.  Pick the right hardware.  The Arduino is based on the ATmega328.  The ATmega328 is a microcontroller.  You are looking for a microprocessor

You are looking to do DSP (Digital Signal Processing) with your Arduino, which is a lousy platform for DSP.  From a hardware perspective 2k of SRAM just isn't enough even for what you are trying to do. 

You might want to look at something like the Maple platform (http://leaflabs.com/).  Similar to Arduino is concept but is based on a ARM 32-bit processor.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 27386
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe adapt this for really small bands...

http://www.roguerobotics.com/wikidocs/projects/rmp3/spectrum_analyzer_demonstration
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34599
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

A spectrum analyser or more powerful processor is not going to do it for you. There is no known commercial product that will do this well. Many try and do it imperfectly.
Logged

0
Online Online
Shannon Member
****
Karma: 217
Posts: 12581
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Probably worth looking for some free software guitar-tuner and seeing how it does it.  It may be quite simple to do if you are prepared to wait a bit, harder to do quickly.  FFT is overkill when looking for one frequency, correlations and convolutions are the sort of technique to use and you only need 8-bit samples for this kind of task anyway.  For instance correlating with a chirp might yield useful results.

You will need a grounding in signal processing though...
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: