btb4198
- 570
- 10
so I am thinking f(x) = sin(x) for -1<= f(x) =0.5; f(x) = e^(x)/10 for f(x)= <=1 ; f(x) = cos(x) for f(x) >=0.5
f(x) = -cos(x)
um... i do not think this is right.
help
The discussion revolves around how to create a mathematical function that can accurately represent a graph derived from the sound of a 12 Hole Ocarina playing the note "e". Participants explore methods for graphing, manipulating functions, and approximating complex signals, including the use of piecewise definitions and Fourier decomposition.
Participants do not reach a consensus on the feasibility of creating a function to represent the graph accurately. Multiple competing views regarding the methods of approximation and representation remain, with some participants advocating for piecewise definitions and others for spectral analysis.
The discussion highlights limitations in defining functions based on real-world data, particularly in the context of musical notes, and the challenges of achieving mathematical precision in such representations.
Nice. From your graph you can see that there is a harmonic in the background (probably its frequency corresponds to your "e"), but there is something else on top of it that reflects the fact that you are close to producing an "e", but you do not manage to do that with mathematical perfection.btb4198 said:hi, so that is graph of an 12 Hole Ocarina playing the note e.
wait I can't make a function out of it ?
I think that is what the OP was trying to do.Nidum said:A method commonly used in engineering computation is to break down the curve of interest into a sequence of segments where each segment can be defined with a simple function .
Krylov said:I think that is what the OP was trying to do.
Because it appears this is the recording of a real musical instrument playing an "e", to me it would provide most insight to Fourier decompose the recording, keep as many modes as one likes and use these to reconstruct an approximation to the original signal.
The OP could do both: direct approximation using piecewise definition (using e.g. splines, as Nidum suggested) and a spectral approximation, and compare.
sorry,Krylov said:Nice. From your graph you can see that there is a harmonic in the background (probably its frequency corresponds to your "e"), but there is something else on top of it that reflects the fact that you are close to producing an "e", but you do not manage to do that with mathematical perfection.
Probably a spectral decomposition would show a peak at the "e" frequency, but in addition there will be some much smaller mini-peaks around it.