Click here to Skip to main content
15,922,650 members
Home / Discussions / C#
   

C#

 
GeneralRe: Remove empty textbox spaces Pin
ferronrsmith11-Feb-09 10:45
ferronrsmith11-Feb-09 10:45 
QuestionHelp with my project again ;) Pin
cdpace11-Feb-09 8:29
cdpace11-Feb-09 8:29 
AnswerRe: Help with my project again ;) Pin
Muammar©11-Feb-09 10:19
Muammar©11-Feb-09 10:19 
Questionretrieve values from delegate Pin
member0919090911-Feb-09 8:25
member0919090911-Feb-09 8:25 
AnswerRe: retrieve values from delegate Pin
ABitSmart11-Feb-09 15:58
ABitSmart11-Feb-09 15:58 
QuestionSyntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Alaric_11-Feb-09 7:22
professionalAlaric_11-Feb-09 7:22 
AnswerRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Ennis Ray Lynch, Jr.11-Feb-09 7:41
Ennis Ray Lynch, Jr.11-Feb-09 7:41 
GeneralRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Alaric_11-Feb-09 7:50
professionalAlaric_11-Feb-09 7:50 
GeneralRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Dave Kreskowiak11-Feb-09 8:01
mveDave Kreskowiak11-Feb-09 8:01 
GeneralRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Dan Neely11-Feb-09 8:11
Dan Neely11-Feb-09 8:11 
GeneralRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Dave Kreskowiak11-Feb-09 8:41
mveDave Kreskowiak11-Feb-09 8:41 
GeneralRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Dan Neely11-Feb-09 8:09
Dan Neely11-Feb-09 8:09 
GeneralRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Daniel Grunwald11-Feb-09 9:22
Daniel Grunwald11-Feb-09 9:22 
GeneralRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Dan Neely11-Feb-09 10:29
Dan Neely11-Feb-09 10:29 
AnswerRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Dave Kreskowiak11-Feb-09 7:52
mveDave Kreskowiak11-Feb-09 7:52 
AnswerRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Pete O'Hanlon11-Feb-09 9:10
mvePete O'Hanlon11-Feb-09 9:10 
GeneralRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Alaric_11-Feb-09 9:18
professionalAlaric_11-Feb-09 9:18 
News[Message Deleted] Pin
AmeetP11-Feb-09 7:05
AmeetP11-Feb-09 7:05 
GeneralRe: Good Site Can have a look Pin
Dave Kreskowiak11-Feb-09 7:18
mveDave Kreskowiak11-Feb-09 7:18 
GeneralRe: Good Site Can have a look Pin
AmeetP11-Feb-09 8:09
AmeetP11-Feb-09 8:09 
GeneralRe: Good Site Can have a look Pin
EliottA11-Feb-09 8:11
EliottA11-Feb-09 8:11 
GeneralRe: Good Site Can have a look Pin
#realJSOP11-Feb-09 9:59
professional#realJSOP11-Feb-09 9:59 
Questionsong/tune comparison Pin
Vishnu Prem11-Feb-09 7:03
Vishnu Prem11-Feb-09 7:03 
AnswerRe: song/tune comparison Pin
musefan11-Feb-09 7:06
musefan11-Feb-09 7:06 
AnswerRe: song/tune comparison Pin
Alan Balkany11-Feb-09 8:24
Alan Balkany11-Feb-09 8:24 
Although off-topic, it's a very interesting question. Some high-level ideas:

1. Since the singer's key can vary, you need to transpose all melodies to a common base key. E.g. if you transpose the first note to C for every melody, you can find matches even if the singer is singing in another key.

2. A voice isn't a pure tone. All instruments (except synthesizers using a single oscillator) have harmonics (frequencies higher than the lowest). Fourier analysis will allow you to isolate the different frequency components. Ignore all but the lowest for simplicity.

3. Voices aren't exactly in tune. You will have to round each frequency to the nearest musical tone. The standard is 440 cycles per second for an 'A'. Consecutive chromatic tones have a ratio of 1 : the 12th root of 2. Thus, when you go through the 12 tones of an octave, you get (the 12th root of 2) to the 12th power = 2. So a note an octave higher has twice the frequency of the lower note.

4. The rhythm is also going to be off for a human's performance, so you will need to adjust the lengths of each note with respect to a selected granularity. E.g. round the length of each note to the nearest eighth note.

5. This will "standardize" a melody hummed into an A-to-D converter, allowing you to compare it with the melodies in the database. Of course people will make errors, so if there's no exact match, you need some kind of error metric to find the closest match in your database.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.