Build me a tuner

Cerrado Publicado hace 5 años Pagado a la entrega
Cerrado Pagado a la entrega

I am embarking on a new software invention. To kickstart it, I need your java code to have functions that I can integrate with my own code.

Essentially you'd make me a program that takes input from a microphone and outputs the frequency, octave and note.

I'd like to store time stamps of each distinctive note also.

What this looks like practically:

User hums a tune into the microphone -

Doe ray me ------------- far so

then the program detects

c3 (start 0.5 seconds end 1.03 seconds) , d3 (start 2.3 seconds end 3.35 seconAds) e3 (start 5.12 seconds end 6.08 seconds) f3 (start 9.22 seconds end 10.41 seconds) g3 (start 13.17 seconds end 14.47 seconds)

that data could then be stored in such a way that I could retrieve it and use it in my own java class.

Essentially it's just storing notation an timing based upon a recorded human voice.

-------------------------------------------------------------------------------------------

here's some pseudocode if it helps at all just to give some ideas:

// list frequencies for notes in arrays

// the index of each entry in an array refers to the octave of that note

private double freq_c[] = {16.352,32.703, 65.406,130.81,261.63,523.25,1046.5,2093,4186,8372};

private double freq_d[] ={18.354,36.708,73.416,146.83,293.66,587.33,1174.7,2349.3,4698.6,9397.4};

private double freq_e[] = {20.602,41.203,82.407,164.81,329.63,659.26,1318.5,2637,5274,10548};

private double freq_f = {21.827,43.654,87.307, 174.61,349.23,698.46,1396.9,2793.8,5587.7,11175};

private double freq_g = {24.5,48.999,97.999,196,392,783.99,1568,3136,6271.9,12544};

private double freq_a = {27.5,55,110,220,440,880,17603520,7040,14080};

private double freq_b = {30.868,61.735,123.47,246.94,493.88,987.77,1975.5,3951.1,7902.1,15804};

public int getFrequency ()

{

return frequency;

}

public int getOctave()

{

return octave;

}

public int getNote()

{

int note = frequencyToNote();

return note;

}

public void frequencyToNote()

{

loopthrough arrays

compare currentfrequencyinarray with recordedfrequency

if this is the closest match, then

{

note = arrayname;

// if array = 0 then note = 'c';

// if array = 1 then note = 'd';

// if array = 1 then note = 'e';

// if array = 1 then note = 'f';

// if array = 1 then note = 'g';

// if array = 1 then note = 'a';

// if array = 1 then note = 'b';

// -- note

actually the program would need to include sharps and flats with those frequencies also.

I have simplified this pseudocode to include just naturals, but the scope of this program really requires all sharps, naturals and flat notes.

//The full list of frequencies can be found at:

// [login to view URL]

octave = positioninthearray;

}

Android Java Desarrollo de apps móviles Música

Nº del proyecto: #17723846

Sobre el proyecto

8 propuestas Proyecto remoto Activo hace 5 años

8 freelancers están ofertando un promedio de $523 por este trabajo

yashtechsolution

Hello, I am a full stacking developer, I have worked many Application and live on application store, we will discuss about project feature and I will give you the best work of mine in estimate time duration.I'm very Más

$400 NZD en 10 días
(91 comentarios)
7.6
Julian29

Hello, I am available full time for work. I am experienced Android App developer, and looking to start working with you on your project STEP BY STEP FURTHER i have experienced with Android Studio PROGRAMMING and BA Más

$555 NZD en 10 días
(59 comentarios)
7.3
AleenaIlyas

Hi there, I have read the details I am experienced with Android, Java, Mobile App Development, Music. I can help you with this job, Please come to chat so we can discuss this job.

$555 NZD en 10 días
(15 comentarios)
6.1
luiswilliam

I am java expert, I am java expert, I am java expert, I am java expert, I am java expert, I am java expert, I am java expert, I am java expert, I am java expert, I am java expert, I am java expert, Más

$555 NZD en 1 día
(11 comentarios)
5.5