New answers tagged

0

All credit goes to Simon Woods. Simple mathematical modelling of a sound with graphical representation and playback. Sound synthesis done in plain Wolfram Language. Wu! I suggest to leave "Envelope lenght" slider where is at. Don't take the "Frequency" values seriously; my impression is there's something there to be fixed yet. segment[t_, t1_, t2_, a1_, ...


11

First let me observe that your coding style makes debugging difficult, I highly recommend breaking giant expressions into manageable pieces. Second, in the code below I have used a different definition for the segments. Your version: $y=(x-x_1)^{curvature}\frac{y_2-y_1}{x_2-x_1}+y_1$ does not give an amplitude of $y_2$ at $x=x_2$ if $curvature\neq1$. I ...


2

I have copied the data from your notebook and would like to share some information. Fit Individual Components In order to facilitate the fitting and plotting I created groups of six {x,y} pairs, one group for each of the six variables. dataGroup = Map[Transpose@ Join[{data7[[1 + (# - 1)*9 ;; #*9, #]], data7[[1 + (# - 1)*9 ;; #*9, 7]]}] &...



Top 50 recent answers are included