microsoft / psi

Platform for Situated Intelligence
https://github.com/microsoft/psi/wiki
Other
540 stars 96 forks source link

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

Open HannahBruch opened 2 months ago

HannahBruch commented 2 months ago

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:

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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

chitsaw commented 2 months ago

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