-
Notifications
You must be signed in to change notification settings - Fork 39
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
play_wav_from_flash_blocking_reopen #39
Comments
the oscilloscope measurements show that the expected I2S signals are present. It is possible that the 8.0kHz frequency is too low for the I2S hardware. You can try to increase the frequency to see if sound is heard, e.g. The volume can be increased using the static method
|
Hello Mike, Mike, you're a professional. !!! The ES7148 cannot process 8.0kHz. Now I can try it out with the volume too. Thanks |
Hello Mike,
Thonny's picture only shows that the "side-to-side-8k-16bits-stereo.wav"
is in the Pico's flash memory.
But I still have no sound with "play_wav_from_flash_blocking.py".
I took measurements with an oscilloscope.
With "play_tone.py" I have on the pins
pin 18 > 104.2 kHz
pin 17 > 22.05 kHz
pin 16 > 705.6 kHz
And the 440 Hz tone is also very easy to hear.
A bit quiet compared to a test with an ESP32-Cam
and the "PlayMODFromPROGMEMToDAC.ino" from the "ESP8266Audio" library.
With "play_wav_from_flash_blocking.py" I have on the pins
pin 18 > 34.35 kHz
pin 17 > 8.00 kHz
pin 16 > 256.0 kHz
And there is absolutely nothing to hear.
Maybe it is too quiet that I can't hear anything.
I have a pair of PC speakers with an amplifier.
With PC VLC player the "side-to-side-8k-16bits-stereo.wav" can be heard well.
Can you change the volume in the code somehow?
Or somewhere with print to display the data for audio_out = I2S
_ = audio_out.write(wav_samples_mv[:num_read])
.
Peter
The text was updated successfully, but these errors were encountered: