|
本帖最后由 terefere 于 2022-8-12 05:03 编辑
I solder 0,5W 8R speaker and I have two problem.
1. I change button sound from buzzer to speaker, it works but sound is very quiet. Volume is set to 100
2. I add button who call play_sound("3:/sounds/roadruner.wav")
I read that path wull be 3:/ but when bootloader burn this firmware then I see that it land at A:/ Which patch are correct.
3. Sound play not work, I run debuger and I get info about disconected DAC, it's normall?
- 22:46:26.595 DBG smtkAudioMgrSetVolume=100
- 22:46:26.598 DBG [Audio mgr] set NetworkError 0 #line 2528
- 22:46:26.598 DBG I2S# DAC is 'NOT' running, skip deinit DAC !
- 22:46:26.658 DBG [Audio mgr] set NetworkError 0 #line 2528
- 22:46:26.658 DBG I2S# DAC is 'NOT' running, skip deinit DAC !
复制代码
4. bootloader show that is burned several key sound also (key1 key2 etc). It's possible to chose it?. Is some easy way to add own button sound, or I need to add code in LUA ( in on_control_notify function)
|
|