Play Audio in nrf52 boards

How to Play Audio (.wav file) like human voice not the beep sound in nrf52832 boards?

Parents Reply
  • Hi,

    I have the custom board of nrf52832 for which the speaker is already inbuilt, it works for beep sequence 

    static uint16_t /*const*/ seq_values[] =
    {
    0x8000, 0,
    0x8000, 0,
    0x8000, 0,
    0x8000, 0,
    0x8000, 0,
    0x8000, 0,
    0x8000, 0,
    0x8000, 0,
    0x8000, 0
    };


    nrf_pwm_sequence_t const seq =
    {
    .values.p_common = seq_values,
    .length = NRF_PWM_VALUES_LENGTH(seq_values),
    .repeats = 0,
    .end_delay = 0
    };

    but when I tried to use wav file hex code it's making noise

Children
Related