Student Support Forum: 'Problem with Sample Rate.' topicStudent Support Forum > General > "Problem with Sample Rate."

 Next Comment > Help | Reply To Topic
 Author Comment/Response Jakub. H 05/29/10 5:18pm Hello, can anybody help mew with this please?: I need play a very special function: Play[f(t) Sin[440 2 Pi t], {t, 0, 1}] where f(t) is defined as: InterpolatingPolynomial[ {{0.05, 0.1099}, {0.1, 0.1099}, {0.15, 0.1099}, {2, 0.1099}, {2.5, 0.2404}, {3, 0.2404}, {3.5, 0.2404}, {4, 0.2404}}, x] i used too set sample rate in play on 20 and I have a suspicion that mathematica is not samping in 0.05,0.1 .... becouse: Play[(0.1099` + (-0.05` + t) (0.` + (-0.1` + t) (0.`/ + (-0.15` + t) (0.`/ ^2 + (-2 + t) (0.018888406426400346`/ ^3 + (-2.5` + t) (-(0.027072084931302032`/ ^4) + (-3 + t) (0.020795344947353474`/^5 - ( 0.011164174391133095` (-3.5` + t))/ ^6))))))) Sin[440 2 Pi t], {t, 0, 0.4}, SampleRate -> 20] gives error: Sound::ssnf:sample points did not evaluate to real numbers. please try it in your mathematica: i only want a different intensity for different time in my synthetis as you can see. THANK YOU URL: ,

 Subject (listing for 'Problem with Sample Rate.') Author Date Posted Problem with Sample Rate. Jakub. H 05/29/10 5:18pm Re: Problem with Sample Rate. Peter Pein 06/01/10 7:07pm
 Next Comment > Help | Reply To Topic