Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HAELocalAudioSeparationFile initialization #19

Open
Juanjo3299 opened this issue Jan 22, 2023 · 1 comment
Open

HAELocalAudioSeparationFile initialization #19

Juanjo3299 opened this issue Jan 22, 2023 · 1 comment

Comments

@Juanjo3299
Copy link

Juanjo3299 commented Jan 22, 2023

Hello, I am using the HAELocalAudioSeparationFile api, but I noticed that, like the HAESpaceRenderFile api, a data download process is carried out, but in the HAELocalAudioSeparationFile api it does not know when the download of said data is finished and it would be fine if it had a DownloadCallback to see if it was initialized correctly. With that, you could prevent executing an operation without it being correctly initialized.

Something like that:
HAELocalAudioSeparationFile val = new...;
val.initEngine(DownloadCallback callback)

@xuxiapu
Copy link
Contributor

xuxiapu commented Jan 29, 2023

@Juanjo3299 Dear developer,
At present, our model download operation is handled in the AudioDepartionCallBack callback of the startSeparationTask interface. The model will only be downloaded once. After the download is completed, the model will not be downloaded again.
The initialization is successful when the startSeparationTask interface is called and the task is successfully started.
AudioDepartionCallBack interface, please refer to the following link:
https://developer.huawei.com/consumer/en/doc/development/Media-References/audioseparationcallback-0000001190927067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants