Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

AudioUtil is not working on Android #204

Open
shovelingpig opened this issue Mar 23, 2023 · 0 comments
Open

AudioUtil is not working on Android #204

shovelingpig opened this issue Mar 23, 2023 · 0 comments

Comments

@shovelingpig
Copy link

shovelingpig commented Mar 23, 2023

Version

0.2.4

Problem Area

react-native-pytorch-core (core package)

Steps to Reproduce

I want to create a simple speech recognition app using PlayTorch.

I'm working on the Expo Snack environment.

However, I found that AudioUtil is not working on Android.

Here is the simplest reproducible code.

  • App.js
import {AudioUtil} from 'react-native-pytorch-core';

export default function App() {
  AudioUtil.startRecord();
}

After downloading the PlayTorch app on Android, when I scan the QR code shown on Snack, an error message "Device disconnected" appears as shown in the attached image.

My final goal is to reproduce the Wav2Vec example.

How can I achieve this goal?

Expected Results

Error Message: "Device disconnected"

Code example, screenshot, or link to repository

스크린샷 2023-03-23 오후 7 38 00

스크린샷 2023-03-23 오후 7 35 35

@shovelingpig shovelingpig changed the title AudioUtil is not working on Android. AudioUtil is not working on Android Mar 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant