frequency-analysis

.NET Library to Identify Pitches

I'd like to write a simple program(preferably in C#) to which I sing a pitch using a mic and the program identifies to which musical note that pitch corresponds. Thank you very much for your prompt responses. I clarify: I'd like a (preferably .NET) library that would identify the notes I sing. I'd like that such a library: Identifi...

Word lists for a lot of articles - document-term matrix

I have nearly 150k articles in Turkish. I will use articles for natural language processing research. I want to store words and frequency of them per article after processing articles. I'm storing them in RDBS now. I have 3 tables: Articles -> article_id,text Words -> word_id, type, word Words-Article -> id, word_id, article_id, frequ...

How could I do frequency analysis on a string without using a switch.

I am working a school project to implement a Huffman code on text. The first part of course requires a frequency analysis on the text. Is there a better way aside from a giant switch and an array of counters to do it? ie: int[] counters for(int i = 0; i <inString.length(); i++) { switch(inString[i]) case 'A': counters[0]++; ...

How to determine the frequency of the input recorded voice in iphone ?

I am new to iphone development.I am doing research on voice recording in iphone .I have downloaded the "speak here " sample program from Apple.I want to determine the frequency of my voice that is recorded in iphone.Please guide me .Please help me out.Thanks. ...

Capture Sound from Mic/Headphone and trigger action at perticular frequency

I am using .NET 3.5. I need to Capture Sound from Mic/Headphone and trigger action at particular (not exact) frequency (Need to perform some action when player hits ball with stick while playing golf). So, 1. How to capture sound from Mic/Headphone using .NET 3.5? 2. Trigger action at particular (not exact) frequency? Any ideas? ...

Is it possible to programmatically edit a sound file based on frequency?

Just wondering if it's possible to go through a flac, mp3, wav, etc file and edit portions, or the entire file by removing sections based on a specific frequency range? So for example, I have a recording of a friend reciting a poem with a few percussion instruments in the background. Could I write a C program that goes through the entir...

Word Frequency in Text using Python but disregard stop words

This gives me a frequency of words in a text: fullWords = re.findall(r'\w+', allText) d = defaultdict(int) for word in fullWords : d[word] += 1 finalFreq = sorted(d.iteritems(), key = operator.itemgetter(1), reverse=True) self.response.out.write(finalFreq) This also gives me useless words like "the" "an" "a" My qu...

Need help on designing an algorithm that outputs a time period that can be used for sampling signals within a given range

I need to count frequencies in the 0.1Hz to 1.99GHz range. At my disposal is a 16bit counter with an additional overflow bit, a timer accurate to 1uS, frequency dividers and a microcontroller to glue all these together. The logic I have decided to use is so: Condition the input signal to give a 50% duty cycle 5Vpp square wave Feed th...

Frequencies of lucene unigrams and bigrams

Hi! i am storing in lucene index ngrams up to level 3. When I am reading the index and calculating scoring of terms and ngrams I am obtaining results like this TERM FREQUENCY.... TFIDF minority 25 16.512926 minority report 24 16.179296 report 27 13.559037 cruise ...

SQL query: How to count frequency over a many-to-many relation?

I have a table for blogposts and a table for tags, with a many-to-many relation between them. How can I extract the most frequent tag across a subset of blogposts? (e.g. only those from the past year) Is there a way to extract the frequencies of all the tags associated with the blogposts subset? Thanks Edit: my schema: CREATE TABLE ...

SQL: how to get a weighted count using GROUP BY?

How can I make a query like: select myvalue, count() as freq from mytable group by myvalue; But where freq sums values from a weight column instead of counting each row as 1? I'm using MySQL 5.1. ...

how can I statistic my key press frequency and count

I am try to remap my keyboard to type better. But I need to know the frequency of each key include symbol, It will be great if include tab shift ctrl. I need all the keypress acounting not only frequency of letters appears in english words. I am using ibus-pinyin as my input method. and archlinux, awesome wm, without kde and gnome inst...

How to replace and count frequency of a word or word sequence?

I need to do two things, first, find a given text which are the most used word and word sequences (limited to n). Example: Lorem *ipsum* dolor sit amet, consectetur adipiscing elit. Nunc auctor urna sed urna mattis nec interdum magna ullamcorper. Donec ut lorem eros, id rhoncus nisl. Praesent sodales lorem vitae sapien volutpat et ac...

Input audio frequency analysis and generating particular frequency to output

My aim is to have a set of frequencies like 2 frequencies that represent the bits (0 and 1). I want to send those frequencies to the audio out through sound card. At the other end I connect the cord to mike in of the sound card. I like to sense that signal (generated series of 2 fixed frequencies) from other computer and re-form the data...

Cryptography. English "normal text" ?

I was asked to make a software that will encrypt and decrypt a "normal English" text based on letter frequencies. The question is where do I find some text samples where the official frequencies will match? So far, I have tried "War and Peace" by Lev Tolstoy, it didn't work well.. LE: I don't need just a list of words, I need a text s...