Clip the audio between two beep

80 views
Skip to first unread message

Lokesh Tiwari

unread,
Jan 18, 2016, 3:24:21 AM1/18/16
to musicg-api
Hi, 
   I have 100 telecalling telephone conversation which include two beep file for as a start and end marker. I want to cut out those part by detecting beep.
I have both input with me.
  Audio have been recorded on same phone where same beep is.

Here is code sample I m trying

         String recording = "src/musicG/moiz_sample_1.wav "; // Size is 30 sec
         String beep = "src/musicG/beep_exotel.wav";  // Size is 0.4 Sec
         
         Wave waveRecording = new Wave(recording);
         Wave waveBeep = new Wave(beep);

         FingerprintSimilarity similarity = waveRecording.getFingerprintSimilarity(waveBeep);
         System.out.println("clip is found at "+ similarity.getsetMostSimilarTimePosition());

But it is not giving correct time of beep where it occured.
What I am doing wrong??
What should I take care before doing this??

Reply all
Reply to author
Forward
0 new messages