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
Hello.
I'd like to use the TarsosDSP library in order to decode DTMF symbols when a user speaks using Android device.
I found an example in the TarsosDSP archive named GoertzelDTMF.java. I tried to run just as it is but encounter the following error in method public void process(...) at line dispatcher.addAudioProcessor(new BlockingAudioPlayer(format, stepSize, 0));:
E/AndroidRuntime: FATAL EXCEPTION: Thread-4981
Process: ua.promin.calladapter, PID: 4336
java.lang.IllegalArgumentException: No line matching form [pcm_signed 44100.0 Hz 16 bits 1 channels little endian]; minBufferS -1; maxBufferS -1 is supported.
at ua.promin.calladapter.audio.lib.sampled.AudioSystem.getLine(AudioSystem.java:425)
at ua.promin.calladapter.audio.lib.BlockingAudioPlayer.(BlockingAudioPlayer.java:52)
at ua.promin.calladapter.audio.Recording.decodeDTMFStatic(Recording.java:108)
at ua.promin.calladapter.audio.Recording.access$100(Recording.java:20)
at ua.promin.calladapter.audio.Recording$1.run(Recording.java:46)
at java.lang.Thread.run(Thread.java:818)
What does this error mean and how to fix it?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Aroxed
changed the title
TarsosDSP Android Studio cannot find while importing
TarsosDSP Android Studio cannot be found while importing
Jan 17, 2021
Aroxed
changed the title
TarsosDSP Android Studio cannot be found while importing
TarsosDSP on Android. GoertzelDTMF example: No line matching form ERROR
Jan 19, 2021
Hello.
I'd like to use the TarsosDSP library in order to decode DTMF symbols when a user speaks using Android device.
I found an example in the TarsosDSP archive named GoertzelDTMF.java. I tried to run just as it is but encounter the following error in method public void process(...) at line dispatcher.addAudioProcessor(new BlockingAudioPlayer(format, stepSize, 0));:
E/AndroidRuntime: FATAL EXCEPTION: Thread-4981
Process: ua.promin.calladapter, PID: 4336
java.lang.IllegalArgumentException: No line matching form [pcm_signed 44100.0 Hz 16 bits 1 channels little endian]; minBufferS -1; maxBufferS -1 is supported.
at ua.promin.calladapter.audio.lib.sampled.AudioSystem.getLine(AudioSystem.java:425)
at ua.promin.calladapter.audio.lib.BlockingAudioPlayer.(BlockingAudioPlayer.java:52)
at ua.promin.calladapter.audio.Recording.decodeDTMFStatic(Recording.java:108)
at ua.promin.calladapter.audio.Recording.access$100(Recording.java:20)
at ua.promin.calladapter.audio.Recording$1.run(Recording.java:46)
at java.lang.Thread.run(Thread.java:818)
What does this error mean and how to fix it?
Thanks in advance.
The text was updated successfully, but these errors were encountered: