<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>BLE Audio Streaming from Android App to nRF5340 Audio DK: Seeking Guidance on LC3 Codec Implementation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114535/ble-audio-streaming-from-android-app-to-nrf5340-audio-dk-seeking-guidance-on-lc3-codec-implementation</link><description>Problem Statement: 
 I am working on a project where I want to stream audio from a customized Android app to the nRF5340 Audio DK over Bluetooth Low Energy (BLE) . The nRF5340 Audio DK supports LC3 codec for efficient BLE audio streaming, but I am facing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Sep 2024 08:48:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114535/ble-audio-streaming-from-android-app-to-nrf5340-audio-dk-seeking-guidance-on-lc3-codec-implementation" /><item><title>RE: BLE Audio Streaming from Android App to nRF5340 Audio DK: Seeking Guidance on LC3 Codec Implementation</title><link>https://devzone.nordicsemi.com/thread/502569?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 08:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a545cbdc-6ca1-4a13-98e4-33e5f07e06ed</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user="Engr Abdul"]Here’s the dongle I’m referring to: &lt;a href="https://www.aliexpress.com/item/1005006813913821.html?spm=a2g0o.detail.pcDetailTopMoreOtherSeller.9.23c9bpuabpuauo&amp;amp;gps-id=pcDetailTopMoreOtherSeller&amp;amp;scm=1007.40050.354490.0&amp;amp;scm_id=1007.40050.354490.0&amp;amp;scm-url=1007.40050.354490.0&amp;amp;pvid=ae9eac2b-f285-4529-abad-32323cf07e16&amp;amp;_t=gps-id:pcDetailTopMoreOtherSeller,scm-url:1007.40050.354490.0,pvid:ae9eac2b-f285-4529-abad-32323cf07e16,tpp_buckets:668%232846%238109%231935&amp;amp;isseo=y&amp;amp;pdp_npi=4%40dis%21PKR%217246.45%217246.45%21%21%2125.99%2125.99%21%402141069c17262262334061457e5f3b%2112000040355210412%21rec%21PK%216035390218%21XZ&amp;amp;utparam-url=scene%3ApcDetailTopMoreOtherSeller%7Cquery_from%3A" target="_new"&gt;LE Audio Dongle&lt;/a&gt;.[/quote]
&lt;p&gt;We are not familiar with this product and cannot provide any feedback on this.&lt;/p&gt;
[quote user="Engr Abdul"]Would using this dongle allow us to add LC3 codec support to older Android phones (or phones that don&amp;#39;t support LC3 by default) and enable these phones to stream audio using BLE to the nRF5340 Audio DK, which already has LC3 support?[/quote]
&lt;p&gt;I can only answer for the nRF5340 Audio DK, as the LC3 support on the phones is not something we can control. I cannot answer in regards to any dongle on the phone. You will need to reach out to e.g. Android community for the support on LC3 codec on the phone side.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Audio Streaming from Android App to nRF5340 Audio DK: Seeking Guidance on LC3 Codec Implementation</title><link>https://devzone.nordicsemi.com/thread/502541?ContentTypeID=1</link><pubDate>Sun, 15 Sep 2024 10:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d5cf081-b462-47b7-81cb-9ea5832f7268</guid><dc:creator>Engr Abdul</dc:creator><description>&lt;p&gt;Any suggestion please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Audio Streaming from Android App to nRF5340 Audio DK: Seeking Guidance on LC3 Codec Implementation</title><link>https://devzone.nordicsemi.com/thread/502476?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2024 12:03:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5921899-6ac4-4257-813d-bb7798c4e8ba</guid><dc:creator>Engr Abdul</dc:creator><description>&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div&gt;
&lt;div class="pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-8 w-8 items-center justify-center overflow-hidden rounded-full"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="group/conversation-turn relative flex w-full min-w-0 flex-col agent-turn"&gt;
&lt;div class="flex-col gap-1 md:gap-3"&gt;
&lt;div class="flex max-w-full flex-col flex-grow"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="463756b3-f4be-45a0-ae4f-35f950940d54"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;p&gt;Here&amp;#39;s your reply message:&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Hi &amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;I hope you&amp;#39;re doing well!&lt;/p&gt;
&lt;p&gt;Thanks for your detailed and valuable feedback on my question. Your explanation helped me better understand LE audio, the LC3 codec, and how the bandwidth is managed without LC3.&lt;/p&gt;
&lt;p&gt;I have just one technical question remaining regarding the nRF5340 Audio DK. As we know, the LC3 codec is available in most recent Android phones, but it isn&amp;#39;t easily accessible for developers to use directly.&amp;nbsp;To address compatibility issues with older Android versions that do not natively support the LC3 codec, I was wondering if it would be possible to use an LE Audio Dongle, such as the &lt;strong&gt;LE Audio USB C Bluetooth 5.4 Audio Transmitter with APTX Adaptive Low Latency LC3&lt;/strong&gt;, to add LC3 codec functionality to these older devices.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s the dongle I&amp;rsquo;m referring to: &lt;a href="https://www.aliexpress.com/item/1005006813913821.html?spm=a2g0o.detail.pcDetailTopMoreOtherSeller.9.23c9bpuabpuauo&amp;amp;gps-id=pcDetailTopMoreOtherSeller&amp;amp;scm=1007.40050.354490.0&amp;amp;scm_id=1007.40050.354490.0&amp;amp;scm-url=1007.40050.354490.0&amp;amp;pvid=ae9eac2b-f285-4529-abad-32323cf07e16&amp;amp;_t=gps-id:pcDetailTopMoreOtherSeller,scm-url:1007.40050.354490.0,pvid:ae9eac2b-f285-4529-abad-32323cf07e16,tpp_buckets:668%232846%238109%231935&amp;amp;isseo=y&amp;amp;pdp_npi=4%40dis%21PKR%217246.45%217246.45%21%21%2125.99%2125.99%21%402141069c17262262334061457e5f3b%2112000040355210412%21rec%21PK%216035390218%21XZ&amp;amp;utparam-url=scene%3ApcDetailTopMoreOtherSeller%7Cquery_from%3A" target="_new"&gt;LE Audio Dongle&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Would using this dongle allow us to add LC3 codec support to older Android phones (or phones that don&amp;#39;t support LC3 by default) and enable these phones to stream audio using BLE to the nRF5340 Audio DK, which already has LC3 support? Essentially, we want to know if this dongle can act as a bridge to provide LC3 codec functionality on the phone side, allowing the nRF5340 Audio DK to receive and play high-quality LE Audio.&lt;/p&gt;
&lt;p&gt;I hope this clarifies my question. I&amp;rsquo;m eager to hear your thoughts on whether this solution would work!&lt;/p&gt;
&lt;p&gt;Thank you so much for your time and guidance. :)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Engr. Abdul&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Audio Streaming from Android App to nRF5340 Audio DK: Seeking Guidance on LC3 Codec Implementation</title><link>https://devzone.nordicsemi.com/thread/502251?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 09:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74d6c097-36b4-42c2-9a4e-f61793d587a0</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;You can also have a look at our &lt;a href="https://webinars.nordicsemi.com/events?nordic_recommended=&amp;amp;tags=Bluetooth+LE+Audio"&gt;BLE Audio webinars covering this topic&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Audio Streaming from Android App to nRF5340 Audio DK: Seeking Guidance on LC3 Codec Implementation</title><link>https://devzone.nordicsemi.com/thread/502250?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 09:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00e79415-fa13-41bf-a391-154881827591</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello, I&amp;#39;ve discussed this internally and have the following answers to you.&lt;/p&gt;
[quote user="Engr Abdul"] However, I am now uncertain how to manage the app side in Flutter. Specifically:[/quote]
&lt;p&gt;I&amp;#39;m afraid we can&amp;#39;t provide much help with the Android side.&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;We have no knowledge of Flutter and how that uses codecs. I suspect that the LC3 codec is available somewhere general in Android and can be used. LC3 is mandatory in LE Audio, but in case he just wants to get audio over the air in a proprietary manner, it is possible to use a different compression algorithm, but that needs to be on the kit side as well. As we only support LC3 in our SDK, you will need to add this compression algorithm yourself.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]Data Rate Concerns:[/quote]
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt; Yes, sending uncompressed data is only possible for low/medium quality or one PCM stream. The total effective bandwidth of Bluetooth on a 2MPHY is around 1.4 Mbit/s, and will be a bit less if&amp;nbsp;you want to use CIS ISO as there are some data used for the ACL connection. See &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/applications/nrf5340_audio/doc/firmware_architecture.html#application_modes"&gt;more information on BL Audio here&lt;/a&gt;&lt;br /&gt;You can possibly&amp;nbsp;get 1 Mbit/s over ISO and that means a single channel in one direction at e.g. 48000 Hz * 16 bit = 0.768 Mbit/s. This leaves no room for re-transmits so the sound will easily get choppy. 24000 Hz * 16 bit at least leaves room for one retransmit. &lt;strong&gt;This is all in all a hacky option.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]I would greatly appreciate any &lt;strong&gt;guidance, links, or example projects&lt;/strong&gt; you can share.[/quote]
&lt;p&gt;&lt;span dir="ltr"&gt;The nRF5340 Audio applications is the best starting point for understanding BLE Audio. This should also let you stream sound from an Android phone to the nRF5340 Audio DK without any Android app.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Audio Streaming from Android App to nRF5340 Audio DK: Seeking Guidance on LC3 Codec Implementation</title><link>https://devzone.nordicsemi.com/thread/501979?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 16:32:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41b696a9-33b9-4326-ace9-12f18b5b2526</guid><dc:creator>Engr Abdul</dc:creator><description>&lt;p&gt;&lt;strong&gt;Hi &amp;Oslash;yvind,&lt;br /&gt;&lt;br /&gt;Thanks for your response &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Yes, I am using a phone with an Android version that supports the &lt;strong&gt;LC3 codec&lt;/strong&gt; and &lt;strong&gt;Bluetooth LE Audio&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;In my project, I am building a &lt;strong&gt;customized Android app&lt;/strong&gt; using &lt;strong&gt;Flutter&lt;/strong&gt; to stream music to the &lt;strong&gt;nRF5340 Audio DK&lt;/strong&gt;. Additionally, I have connected an &lt;strong&gt;ADC module&lt;/strong&gt; to the nRF5340 Audio DK via &lt;strong&gt;I2C (SCL and SDA pins)&lt;/strong&gt;. My goal is to process incoming values from the ADC module on the nRF5340 Audio DK and send them back to the Android app while &lt;strong&gt;simultaneously&lt;/strong&gt; streaming audio.&lt;/p&gt;
&lt;p&gt;I previously attempted the same project using the &lt;strong&gt;nRF52840 DK&lt;/strong&gt;. In that implementation, I was successfully receiving values from the ADC on the Android app, but I faced challenges with the audio streaming. I tried converting &lt;strong&gt;.mp3&lt;/strong&gt; files to &lt;strong&gt;.pcm&lt;/strong&gt; format on the app side and sent them over &lt;strong&gt;BLE packets&lt;/strong&gt; to the nRF52840 DK, but the audio was distorted, possibly due to the data rate limitations of BLE.&lt;/p&gt;
&lt;p&gt;Because of this issue, I have now moved my project to the &lt;strong&gt;nRF5340 Audio DK&lt;/strong&gt; to leverage its support for &lt;strong&gt;LC3&lt;/strong&gt; and better handle audio streaming. However, I am now uncertain how to manage the app side in Flutter. Specifically:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Previously, I converted the &lt;strong&gt;.mp3 to .pcm&lt;/strong&gt; format on the app side before sending it to the nRF52840 DK.&lt;/li&gt;
&lt;li&gt;Now, I am confused about how I should encode the audio data to the &lt;strong&gt;LC3 codec&lt;/strong&gt; on the app side or if there is another approach I should follow to stream the audio efficiently.&lt;/li&gt;
&lt;li&gt;My aim is to get &lt;strong&gt;audio streaming&lt;/strong&gt; working alongside receiving &lt;strong&gt;real-time values&lt;/strong&gt; from the ADC module connected to the nRF5340 Audio DK.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I am relatively new to BLE, and I would appreciate your guidance on the best approach to take to achieve both tasks simultaneously. I apologize for the lengthy details and truly appreciate your patience.&lt;/p&gt;
&lt;p&gt;Looking forward to your valuable feedback.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Audio Streaming from Android App to nRF5340 Audio DK: Seeking Guidance on LC3 Codec Implementation</title><link>https://devzone.nordicsemi.com/thread/501754?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 13:08:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8bf5112-22aa-4b67-b8bc-3d1ff8e8006c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""]I am working on a project where I want to stream audio from a &lt;strong&gt;customized Android app&lt;/strong&gt; to the &lt;strong&gt;nRF5340 Audio DK&lt;/strong&gt; over &lt;strong&gt;Bluetooth Low Energy (BLE)&lt;/strong&gt;. The nRF5340 Audio DK supports &lt;strong&gt;LC3 codec&lt;/strong&gt; for efficient BLE audio streaming, but I am facing the following challenges:[/quote]
&lt;p&gt;What phone are you using? Does it support Bluetooth LE Audio? As long as the phone has support, you should be able to connect to the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/applications/nrf5340_audio/index.html"&gt;nRF5340 Audio DK running the correct FW&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Wireless/Bluetooth-LE-Audio"&gt;More information can be found on our website&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>