Click here to Skip to main content
15,905,322 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Projects/Libraries On Tuning? Pin
Ravadre31-Dec-08 12:35
Ravadre31-Dec-08 12:35 
QuestionC# .NET Windows Media Player WM_COPYDATA *whimper* Pin
spamoom27-Dec-08 13:44
spamoom27-Dec-08 13:44 
AnswerRe: C# .NET Windows Media Player WM_COPYDATA *whimper* Pin
Richard Andrew x6427-Dec-08 14:45
professionalRichard Andrew x6427-Dec-08 14:45 
QuestionRe: C# .NET Windows Media Player WM_COPYDATA *whimper* Pin
spamoom28-Dec-08 0:13
spamoom28-Dec-08 0:13 
AnswerRe: C# .NET Windows Media Player WM_COPYDATA *whimper* Pin
Richard Andrew x6428-Dec-08 1:36
professionalRichard Andrew x6428-Dec-08 1:36 
GeneralRe: C# .NET Windows Media Player WM_COPYDATA *whimper* Pin
spamoom28-Dec-08 2:04
spamoom28-Dec-08 2:04 
Question[Message Deleted] Pin
TwoSocks27-Dec-08 13:40
TwoSocks27-Dec-08 13:40 
Questionlock the windows xp Pin
abu rakan27-Dec-08 12:06
abu rakan27-Dec-08 12:06 
AnswerRe: lock the windows xp Pin
User 665827-Dec-08 13:00
User 665827-Dec-08 13:00 
Questionavi file Pin
manishkumarcse27-Dec-08 11:57
manishkumarcse27-Dec-08 11:57 

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.