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
- Convert Cell Array of Symbolic Functions to Double Array of Symbolic Functions MATLAB
- How to restrict vpasolve() to only integer solutions (MATLAB)
- "Error in port widths or dimensions" while producting 27
- matlab has encountered an internal problem needs to close
- Minimize the sum of squared errors between the experimental and predicted data in order to estimate two optimum parameters by using matlab
- Solve equation with Crank Nicolson and Newton iterative method in Matlab
- Why options are not available in EEGLAB menu options?
- ash: ./MathWorksProductInstaller: not found, but file exists
- iterative GA optimization algorithm
- Create Symbolic Function from Double Vector MATLAB
- Fixing FEA Model loading with correct units and stress results
- loading variables from a python script in matlab
- Why cannot I set font of `xlabel` in `plotmf` in MATLAB?
- How would I go about filtering non-standardly formatted serial data which contains some junk binary between data entries?
- Cyclic Voltammetry Simmulation in MATLAB, I am running into issues with my data points returning as NaN values, i am a beginner, any help wanted
Related Questions in LOGARITHM
- fitting a log curve using lmfit and scipy.curve_fit - not working! (Dataset: The Ultimate Film Statistics Dataset - for ML)
- How to bin into the degree in a logarithm scale in a Pandas dataframe?
- Python Fitting polynomial to natural log, then reversing the transformation back into non-log space?
- Mismatch between Matlab log and Numpy np.log
- Logarithm of a positive number result in minus infinity python
- Intersection of two lines in semi-logarithmic plot
- Can one emulate bitwise arithmetic "and" or "or" using only non-bitwise operations?
- Writing CORDIC routines for log2 and exp2
- Combine 4 series of 12 boxplots unevenly over an even x axis in Python
- Calculating a Logarithmic Equation in Excel
- How to auto-update ylim for nans in x due to xscale(log)
- Save previous iteration value for comparison with next iteration
- semilogy plot does not proper color y-ticks
- Finding the log base 2 rounded up to integer the same as rounding up to power of two and finding the highest set bit?
- a big O question: Is log_c(n) always = O(n^(1/c'))?
Related Questions in EXPONENTIAL
- Solving exponential functions in Python with SymPy
- what is the direct method of finding nth power value of matrix say A is 2x2 matrix with say 2 2 3 4 values...now i want [A] ^n
- How to solve "TypeError: cannot convert the series to <class 'float'>"
- Why raising a vector of negative values to a fractional power gives NaN
- Exponential fit is failing in some cases
- how to divide exponential values in javascript
- Double exponential fit in Python
- How to do exponential curve fitting for y = a*(1- exp(-b*t)
- Java double converts more than 4 decimal points to exponential format and stores the same exponential format in the DB
- Racket// recursive function
- Code for non-linear constraints in CPlex opl
- The decimal value converting to scientific notation in API response if the value is big number
- Running exponential decay model in R
- calculating r using nth root
- how can I build a reactive app for choosing the starting values for exponential fit equation?
Related Questions in PITCH-DETECTION
- Frequency Detection Libraries with Android Jetpack Compose
- How to Find 3 Local Maxima in Fourier Transform Pitch Detection Function?
- Trim syllable audio recording to only the vowel part
- Algorithm for polyphonic pitch detection given a selection criteria?
- In ml5 pitch detection using crepe model, how to detect pitch above ±2kHz
- Accessing phone microphone with WebAudioAPI results in no sound (or distorted sound) being detected
- Fixing "shaky" pitch detection in Kotlin using TarsosDSP
- Change the melody of human speech using FFT and polynomial interpolation
- Real time pitch shifting from scratch using python
- ios how to combine AVAudioEngine speech recognition with AudioKit microphone pitch detection?
- Implementation of cross correlation function for pitch frequency detection
- React Native with Expo to Monitor user voice pitch from mic
- How to denormalize values to do the Harmonic Product Spectrum
- Detect specific frequency in audio file using R
- How to detect notes from a .mp3 music file and then display a midi time graph
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 # Hahtags
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.