I'm new to MATLAB, and am working on a program that deals with frequency of the human voice based on microphone input. The biggest problem I am running into is that musical notes (what I am dealing with in this project) increase in frequency exponentially, about 1.059463^x for each semitone in the musical scale.
In the program I am dealing with, I need to both scale the graph so the detected frequency is close to the note number it corresponds to as well as scale the data so that I can work with the note numbers in terms of notes and musical cents so the frequency graph can be converted easily to MIDI data.
The only other option I have found has been to create a library of frequencies for the recorded frequencies to be compared to, but that is unnecessarily complicated and time consuming.
So, in essence, I am trying to scale the data so that A2, with a frequency of 110Hz, would correspond to its note number 45. Is there a way to do this?
MATLAB semilog scaling
123 Views Asked by Aaron B. At
1
There are 1 best solutions below
Related Questions in MATLAB
- How to open and read video stream in Matlab
- Interpolation and replace zeroes
- How can I fix my code to do line by line conditional statements in Matlab
- matlab crash during acquisition of pointgrey images
- Calling text file
- Apply gaussian filter on text
- re-plotting of data on same GUI axes in matlab
- Issue with nume1 in MATLAB
- Multiply two variables in Matlab with vpa - high precision
- ODE - Solving Parameter Dependent on Variable [Matlab]
- Need help in detecting multiple blobs
- How does TIC TOC in matlab work?
- Image based steganography that survives resizing?
- lowering computaional cost in finding the location of minimum distance
- FFT Filtering of signal
Related Questions in LOGARITHM
- Convert float to log space in python
- R: Using logarithmic and linear axis scale on one axis
- Plotting data in logarithmic scale using stat_summary: summary range reaches zero
- Math.log() in Java not working as expected
- Behavior of log axis
- What is equivalent for logf from C in JAVA?
- How to write a log base 10 function in c++?
- getting wrong answer by logarithm in c++
- Matrix Logarithm in Base 2
- The base of the Logarithm in ITK
- Python, matplotlib: how to set tick label values to their logarithmic values
- Scattered pie chart on a logarithmic axis in Matlab?
- Log values by SFrame column
- Math.log returns incorrect value
- Random Even Logarithmic Distribution Between Two Doubles
Related Questions in EXPONENTIAL
- How to find string value is in exponential format in C#?
- how can I calculate exponential fraction
- Find an Inverse for the Exponential Integral function
- C - Exponentiation with non integer exponent
- Javascript - Prevent exponotial notation in style
- calculating decimal power of 10
- Sympy Fourier Transform of exponential decay
- Better way to find the powers of 2
- Can you pre-compute a table of powers of 2 using templates
- Why are some simple sums coming out as exponential numbers Perl?
- Random Even Logarithmic Distribution Between Two Doubles
- Matrix Exponential
- How to neglect an exponential function containing a variable in MATLAB?
- Simplifying equations in Maple
- Is it possible to evaluate a fraction of exponetial to sum of exponentials
Related Questions in PITCH-DETECTION
- Matlab - better understanding the FFT and finding Pitch
- How to perform a Cepstrum for pitch detection
- Algorithm for polyphonic pitch detection given a selection criteria?
- Is it feasable to use AVAudioEngine to detect pitch in real time?
- Real time pitch shifting from scratch using python
- Is my understanding of FFT and Pitch Detection correct here?
- In ml5 pitch detection using crepe model, how to detect pitch above ±2kHz
- Convert Audiorecord Data to process FFT
- How to denormalize values to do the Harmonic Product Spectrum
- Trim syllable audio recording to only the vowel part
- Estimation of Pitch from Speech Signals Using Autocorrelation Algorithm
- fundamental frequency of female voice
- Perform Fourier Transform on sections of a wav file python
- Audio processing library for android
- Frequency Detection Libraries with Android Jetpack Compose
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I think this does what you want:
Examples:
f = 110givesf = 345givesin accordance with this reference and this converter.