Open javadrajabi opened 2 years ago
Did you complete the setup by following the guide?(permission_handler, tflite model file...)
I have done the step-by-step guide. I also gave a permission. Even the file can be loaded, but there is a problem in accessing the resources. resource failed to call close.
Did you run it on a real device?
If you also have other error messages, please comment :)
yes real device still error
Same error, any issue?
I mannually allow recording permission on setting and its works, I think its just permission issue
i got this error:
[+1825 ms] V/FLUTTER_PITCH_TRACKER(20514): Audio Engine Prepare [ +1 ms] I/tflite (20514): Initialized TensorFlow Lite runtime. [ ] V/FLUTTER_PITCH_TRACKER(20514): Tflite Model Successfully Loaded [+3510 ms] W/System (20514): A resource failed to call close. [ +1 ms] W/System (20514): A resource failed to call close. [+15148 ms] I/ViewRootImpl@c809cb6MainActivity: ViewPostIme pointer 0 [ +76 ms] I/ViewRootImpl@c809cb6MainActivity: ViewPostIme pointer 1 [ +308 ms] V/FLUTTER_PITCH_TRACKER(20514): Start Recognition [ +36 ms] E/IAudioFlinger(20514): createRecord returned error -1 [ +1 ms] E/AudioRecord(20514): createRecord_l(0): AudioFlinger could not create record track, status: -1 [ ] E/AudioRecord-JNI(20514): Error creating AudioRecord instance: initialization check failed with status -1. [ ] E/android.media.AudioRecord(20514): Error code -20 when initializing native AudioRecord object. [ ] E/FLUTTER_PITCH_TRACKER(20514): Audio Record can't initialize!