Tag Info

New answers tagged

2

The audio processing tutorial is helpful here. Without information about the sampling rate, I'm not sure what 100 and 200 mean in your case, but this example should help. sound = Import[ "ExampleData/rule30.wav" ] soundlist = sound[[1]]; soundlist[[1, 1]] = Take[soundlist[[1, 1]], -79380/2]; Sound[soundlist] First, we import an example sound into sound. ...


3

I used the answer above to create a small function to grab a bit of sound using the default microphone on my computer. Clear[recordTime]; recordTime[t_: 1] := Module[{device = FrontEndExecute[FrontEnd`RecordSound[5]]}, FrontEndExecute[FrontEnd`RecordSound[1, Keys[First[device]], 1]]; Pause[t]; FrontEndExecute[FrontEnd`RecordSound[2]]; ...



Top 50 recent answers are included