필터 지우기
필터 지우기

Raspberry Pi - Audio play, sample rate error.

조회 수: 4 (최근 30일)
Deeapk Jangid
Deeapk Jangid 2013년 12월 25일
답변: Murat Belge 2014년 2월 25일
I am designing a simulink model for Raspberry pi - 'To play audio file on Raspberry Pi'. I got this error Please help me with it.
Error reported by S-function 'alsa_audio_playback_sfcn' in 'trial111/ALSA Audio Playback': Sample rate of the signal connected to the input port is not consistent with the sample rate of 44100 Hz set on the block mask. This block requires 44100 samples per second for correct operation. You are supplying 100000 samples per second instead.

답변 (1개)

Murat Belge
Murat Belge 2014년 2월 25일
The number of samples going into the block is higher than the block can accommodate. You have to change the sample time of the signal going into the ALSA Audio Playback block to match the 44100 samples per second.

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by