You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the attention, I'm using the example in the README, referencing the package version <PackageReference Include="SoundFingerprinting" Version="10.3.1" />,Windows 10 system, .net 9.0.100-preview.3. 24204.13
System.ArgumentException: Sample rate of the given file is not supported Format: SampleRate $1650422383, Channels $27233, BitsPerSample $28531, Length $221411. Supported sample rates 5512,8000,11025,16000,22050,44100,48000,96000. Submit a github request if you need a different sample rate to be supported.
at SoundFingerprinting.Audio.SoundFingerprintingAudioService.CheckInputFileFormat(WaveFormat format, Double startsAt)
at SoundFingerprinting.Audio.SoundFingerprintingAudioService.ReadMonoSamplesFromFile(String pathToSourceFile, Int32 sampleRate, Double seconds, Double startAt)
at SoundFingerprinting.Command.FingerprintCommand.<>c__DisplayClass13_0.<From>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Program.<Main>$(String[] args) in A:\learn-soundfingerprinting\sfp\Program.cs:line 9
at Program.<Main>(String[] args)
This is the audio file information output by ffprobe,it shows that my audio file is 44100 Hz
Thanks for the attention, I'm using the example in the README, referencing the package version
<PackageReference Include="SoundFingerprinting" Version="10.3.1" />
,Windows 10 system, .net 9.0.100-preview.3. 24204.13The sample code is as follows:
The exception is thrown as follows:
This is the audio file information output by ffprobe,it shows that my audio file is 44100 Hz
this is my file :
sample.zip
The text was updated successfully, but these errors were encountered: