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

[Bug] Some audio assemblies are not present in the Microsoft.Psi.Audio NuGet package #325

Open
HannahBruch opened this issue Aug 25, 2024 · 4 comments

Comments

@HannahBruch
Copy link

HannahBruch commented Aug 25, 2024

I was trying to use the classes ExportAudioToWaveFileTask and ExportAudioToWaveFileTaskConfiguration but they are not contained in the Nuget package.

var v = new ExportAudioToWavFileTaskConfiguration();

The above line of code results in a compile error, with code CS0246 and message "The type or namespace name 'ExportAudioToWavFileTaskConfiguration' could not be found (are you missing a using directive or an assembly reference?)". My code contains a reference using Microsoft.Psi.Audio;

Steps to reproduce:

  • Create a new .Net console app in Visual Studio
  • Add the Microsoft.Psi.Audio NuGet package to the solution

If you do this, you can use the object browser to see that several items from the Microsoft.Psi.Audio assembly are missing, including both ExportAudioToWaveFileTaskConfiguration and ExportAudioToWaveFileTask. Strangely, the classes these two inherit from are present (BatchProcessingTask and BatchProcessingTaskConfiguration), though they are both from the Microsoft.Psi.Data assembly.

Here's a screenshot of the installed NuGet packages and the Object Browser with missing classes in VS

Screenshot of missing classes

@HannahBruch
Copy link
Author

I was trying to use these classes to export several audio streams stored in a PsiStore to a single audio file. If there's a better way to do this please tell me.

@chitsaw
Copy link
Contributor

chitsaw commented Aug 26, 2024

These classes were added since the last release so are available in source code only. You can still use them by building PsiStudio from source.

@HannahBruch
Copy link
Author

Ah, thank you. Any idea when the next release will ship?

@chitsaw
Copy link
Contributor

chitsaw commented Aug 29, 2024

No definitive timeframe as of now, but we hope to by the end of the year.

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