Skip to content

Way to default to Intel GPU or save user preset settings? #389

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

Open
desktopArchivist opened this issue Apr 25, 2025 · 2 comments
Open

Way to default to Intel GPU or save user preset settings? #389

desktopArchivist opened this issue Apr 25, 2025 · 2 comments

Comments

@desktopArchivist
Copy link

Is there a way to make an Audacity OpenVINO plugin default to using an (Intel) GPU instead of the CPU? I've been using an Intel Iris Xe iGPU to process and have noticed that manually changing the plugin setting to use the GPU is around twice as fast as just the CPU.

I have a large amount of digitized audio from voice cassette tapes that I would like to process in batch and am considering getting an Intel Arc B580 for the project, but am hoping to find out first if I can somehow either make the plugin default to the GPU for processing or make Audacity use the GPU in a macro. I know that I can manually change the dropdown for "OpenVINO Inference Device" from CPU to GPU in the Audacity OpenVINO plugin for that session. Unfortunately, whenever I try saving the plugin settings as a user preset with the intention of later specifying that user preset as a parameter in a macro, Audacity does not appear to actually have saved any of the plugin settings in the user preset.

Thanks for your help!

@RyanMetcalfeInt8
Copy link
Contributor

Hi @desktopArchivist! Interesting, do you have an example macro that I can try it out with? I don't think I've actually tried this out, but happy to take a look. Perhaps we're missing some logit to pull settings from user presets when they are set.

Thanks!
Ryan

@desktopArchivist
Copy link
Author

Yes, here is an example macro. Thanks for taking a look!

SelectTracks:Mode="Set" Track="0"
SelTrackStartToEnd:
Compressor:Use_Preset="Factory Preset:Voice Memos Balancer"
Normalize:Use_Preset="User Preset:Normalize1"
OpenvinoMusicSeparation:Use_Preset="User Preset:VocalsNoiseSepartion1"
SelectTracks:Mode="Set" Track="0"
SelectTracks:Mode="Add" Track="1"
RemoveTracks:

I'm using the OpenVINO Music Separation plugin (demucs) to 2-stem separate the vocals in the recordings from the noise (i.e. everything else). I find it works much better in my testing than the Noise Suppression plugin for isolating the vocals from noise without causing distortion. However, both plugins have the same issue with the user preset not appearing to save any settings for the plugin.

If I attempt to export settings from the plugin, this is all I get in the file regardless of what I change
OpenvinoMusicSeparation:

Here are the exported settings from the normalize plugin user preset "Normalize1", for example
Normalize:ApplyVolume="1" PeakLevel="-5" RemoveDcOffset="1" StereoIndependent="1"

Let me know if I can provide any more information.

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