File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ This is particularly useful if you are decoding an audio (or any signal) stream.
4747#### For 1 channel signal (mono)
4848``` java
4949int Fs = 8000 ;
50- double [] samples = {\ * array of samples * \ }
50+ double [] samples = {/ * array of samples */ }
5151DTMFUtil dtmf = new DTMFUtil (samples, Fs );
5252dtmf. decode();
5353String sequence = dtmf. getDecoded()[0 ];
@@ -56,7 +56,7 @@ String sequence = dtmf.getDecoded()[0];
5656#### For 2 channel signal (stereo)
5757``` java
5858int Fs = 8000 ;
59- double [][] samples = {{\ * array of samples from first channel * \ },{\ * array of samples from second channel * \ }}
59+ double [][] samples = {{/ * array of samples from first channel */ },{/ * array of samples from second channel */ }}
6060DTMFUtil dtmf = new DTMFUtil (samples, Fs );
6161dtmf. decode();
6262String [] sequence = dtmf. getDecoded();
You can’t perform that action at this time.
0 commit comments