# Build me a tuner

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:

octave = positioninthearray;

}

( 0件のレビュー ) Auckland, New Zealand

プロジェクトID: #17723846

## 9人のフリーランサーが、このジョブに平均\$531で入札しています

technorizen

Hello, I m fulltime available for work , I have 6 years of experienced on mobile application ( Android +iphone/ ipad ) and App admimn with development web services where admin can manage the app from backend もっと

\$505 NZD 10日以内
(168件のレビュー)
8.5
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 もっと

\$400 NZD 10日以内
(85件のレビュー)
7.5
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 もっと

\$555 NZD 10日以内
(52件のレビュー)
7.2
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 10日以内
(14件のレビュー)
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, もっと

\$555 NZD 1日以内
(10件のレビュー)
5.2

Hello Sir/Mam, We have done the similar project like this. We will give you quality work on your budget and time. Regards, Amlidaz Softwares +91 9011530454 Skill: Android,IOS,Unity,PHP,Codeigniter,Wordpress,Web De もっと

\$555 NZD 10日以内
(18件のレビュー)
4.5
videostreaming

Dear sir I have completed projects similar to your requirement in the past. If you could share your project detail requirements, I will share relevant past work and demo. I already developed 100+ apps and webs もっと

\$600 NZD 10日以内
(2件のレビュー)
4.0
smartwinz

Hi, Being a highly skilled developer I suggest you experience is golden factor with this type of project. Skills :- IOS, Swift, Xcode, iOS API, Objective C, Cocoapods, Injections, Appcode, Android studio, SDK, Java, もっと

\$500 NZD 10日以内
(6件のレビュー)
4.1
punitlakra

Hello, Hope you are doing fine. Please go through the questionaire & revert me back [login to view URL] are your project core features & Functionality? 2. Who's building the application program interface (API)? 3. Does もっと

\$555 NZD 10日以内
(レビュー1件)
1.6