Click here to Skip to main content
15,921,840 members
Home / Discussions / C#
   

C#

 
QuestionActiveX PDF problem Pin
frappydan27-Dec-08 23:10
frappydan27-Dec-08 23:10 
QuestionVPN programmin Pin
sepel27-Dec-08 23:01
sepel27-Dec-08 23:01 
QuestionPython to .Net tool Pin
George_George27-Dec-08 21:20
George_George27-Dec-08 21:20 
AnswerRe: Python to .Net tool Pin
Dave Kreskowiak28-Dec-08 4:51
mveDave Kreskowiak28-Dec-08 4:51 
GeneralRe: Python to .Net tool Pin
George_George28-Dec-08 18:37
George_George28-Dec-08 18:37 
GeneralRe: Python to .Net tool Pin
Dave Kreskowiak28-Dec-08 19:38
mveDave Kreskowiak28-Dec-08 19:38 
GeneralRe: Python to .Net tool Pin
George_George28-Dec-08 19:42
George_George28-Dec-08 19:42 
GeneralRe: Python to .Net tool Pin
Dave Kreskowiak29-Dec-08 1:46
mveDave Kreskowiak29-Dec-08 1:46 
GeneralRe: Python to .Net tool Pin
George_George30-Dec-08 0:28
George_George30-Dec-08 0:28 
GeneralRe: Python to .Net tool Pin
Dave Cross2-Mar-10 3:58
professionalDave Cross2-Mar-10 3:58 
AnswerRe: Python to .Net tool Pin
EliottA28-Dec-08 5:28
EliottA28-Dec-08 5:28 
GeneralRe: Python to .Net tool Pin
George_George28-Dec-08 18:38
George_George28-Dec-08 18:38 
Questionxsd? Pin
dec8227-Dec-08 18:06
dec8227-Dec-08 18:06 
AnswerRe: xsd? Pin
Lev Danielyan27-Dec-08 20:24
Lev Danielyan27-Dec-08 20:24 
AnswerRe: xsd? Pin
Aman Bhullar27-Dec-08 22:37
Aman Bhullar27-Dec-08 22:37 
GeneralRe: xsd? Pin
Lev Danielyan28-Dec-08 1:58
Lev Danielyan28-Dec-08 1:58 
QuestionProjects/Libraries On Tuning? Pin
Brandon X.27-Dec-08 14:44
Brandon X.27-Dec-08 14:44 
AnswerRe: Projects/Libraries On Tuning? [modified] Pin
Ravadre28-Dec-08 17:32
Ravadre28-Dec-08 17:32 
Hi,

I've recently wrote project that could help you (in c#).
What I did was:
1. Write library wrapper to MM, which enables me to catch sound from microphone as pure data.
2. Write functions that will do FFT on that data
3. Check what sound (frequency) is "the loudest".
4. That's all folks! Smile | :) .

I've tested it on my piano and some youtube piano songs and my program is able to tell what tone I am playing (not as correctly as I would like though).

Anyway:
My approach was a bit different than yours, I wasn't comparing my sound to wav file with recorded, instead I was transforming small chunks of data, fe. 8192 samples (with 44.1kHz sampling rate, you will get enough samples after 1/5 sec, so that's the shortest sound you can catch), transform it to frequency domain using DFT / FFT, get "loudest" frequency from that sample and check what sound (tune) it is. If you decide to try write your soft that way, write if you will have any questions on that.

Good luck,

Ravadre

modified on Sunday, December 28, 2008 11:57 PM

QuestionRe: Projects/Libraries On Tuning? Pin
Brandon X.29-Dec-08 6:47
Brandon X.29-Dec-08 6:47 
AnswerRe: Projects/Libraries On Tuning? Pin
Ravadre29-Dec-08 7:33
Ravadre29-Dec-08 7:33 
GeneralRe: Projects/Libraries On Tuning? Pin
Brandon X.29-Dec-08 8:10
Brandon X.29-Dec-08 8:10 
GeneralRe: Projects/Libraries On Tuning? Pin
Ravadre29-Dec-08 8:16
Ravadre29-Dec-08 8:16 
QuestionRe: Projects/Libraries On Tuning? [modified] Pin
Brandon X.29-Dec-08 19:29
Brandon X.29-Dec-08 19:29 
AnswerRe: Projects/Libraries On Tuning? Pin
Ravadre30-Dec-08 4:42
Ravadre30-Dec-08 4:42 
QuestionRe: Projects/Libraries On Tuning? [modified] Pin
Brandon X.31-Dec-08 10:24
Brandon X.31-Dec-08 10:24 

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.