espnow receaver how to differentiate data #839
-
I am sending data of different encooder to espnow . Mostly sbc , mp3 and wave . But at receiver end how could i DFFERENTATE which encode type data it is so to write it correct decoder |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
You can use my BinaryContainer and send the format as metadata |
Beta Was this translation helpful? Give feedback.
-
Alternatively you can also just analyse the file format! StreamCopy contains some basic logic which should recognise mp3, wav and aac |
Beta Was this translation helpful? Give feedback.
-
No, just look at the source code: You can implement a similar logic directly in your sketch yourself: Just have a look at notifyMime |
Beta Was this translation helpful? Give feedback.
-
The mime type for mp3 is audio/mpeg |
Beta Was this translation helpful? Give feedback.
-
And how to know again that if new formate data is coming because I will
check only fist time espnow data receive .. How will I know again data
formate has changed ?
…On Tue, May 16, 2023, 18:56 Phil Schatzmann ***@***.***> wrote:
The mime type for mp3 is audio/mpeg
—
Reply to this email directly, view it on GitHub
<#839 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APTMWZXSDO47HW6EBGRM4C3XGOBRFANCNFSM6AAAAAAYAT7YSY>
.
You are receiving this because you authored the thread.Message ID:
<pschatzmann/arduino-audio-tools/repo-discussions/839/comments/5916955@
github.com>
|
Beta Was this translation helpful? Give feedback.
You can use my BinaryContainer and send the format as metadata