You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# record 8000 samples at 8000Hz (1 sec), mono (1 channel)a<- record(8000, 8000, 1)
wait(a) # wait for the recording to finishx<-a$data# get the resultx[1:10] # show first ten samples#sample rate: 8000Hz, mono, 16-bits# [1] 0.018100981 0.017364085 0.016479610 0.013326526 0.010764275 0.011048204# [7] 0.010541249 0.010892886 0.007960078 0.006703259
close(a); rm(a) # you can close the instance at this point
play(x) # play back the result# amplify and crop the signaly<-x*2y[y<-1] <--1y[y>1] <-1# play the amplified signal
play(y)
The text was updated successfully, but these errors were encountered:
Można zrobić wczytywanie głosu przez apkę i wyświetlenie wieku mówcy.
http://www.rforge.net/audio/
The text was updated successfully, but these errors were encountered: