Tag: windows 10 iot core

uwp AudioGraph音频处理

我正在开发一个基于音频输入控制LED灯条的winodws IoT项目。 现在我有一些获取音频的代码并使用AudioGraph API将其写入缓冲区,但我不知道如何处理音频到一些有用的数据。 我的代码到目前为止: private async void MainPage_Loaded(object sender, RoutedEventArgs eventArgs) { try { // Initialize the led strip //await this.pixelStrip.Begin(); sampleAggregator.FftCalculated += new EventHandler(FftCalculated); sampleAggregator.PerformFFT = true; // Create graph AudioGraphSettings settings = new AudioGraphSettings(AudioRenderCategory.Media); settings.DesiredSamplesPerQuantum = fftLength; settings.DesiredRenderDeviceAudioProcessing = Windows.Media.AudioProcessing.Default; settings.QuantumSizeSelectionMode = QuantumSizeSelectionMode.ClosestToDesired; CreateAudioGraphResult result = await AudioGraph.CreateAsync(settings); if (result.Status != AudioGraphCreationStatus.Success) […]

RFID RC522 Raspberry PI 2 Windows IOT

我正在寻找一种在Windows IOT上的Raspberry Pi 2.0上使用RFID“RC522”的方法。 它当然不是官方兼容…… 官方的一个(OM5577演示板)在法国是昂贵的(我没有找到任何经销商出售它没有很多运费(总成本约80美元))。 RC522很便宜(<10 $)。 它适用于Arduino和Linux上的Raspberry Pi 2.0。 但不幸的是还没有Windows IOT。 我实际上是使用arduino作为桥梁……它不是最佳解决方案; 但工作良好,成本总是比OM5577低一半。 我找到了这个项目并尝试将它们转换为带有Windows IOT SIP和IO的VS(Visual C ++)项目……我很难失败…… 在我的梦想中,我将能够在C#中使用此设备与标准的Windows IOT“ProximityDevice”类。 你有什么想法吗? 提前致谢。