<?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>Thingy 52 microphone</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73359/thingy-52-microphone</link><description>Hello, 
 I am trying to extract audio from the thingy&amp;#39;s microphone using the microphone driver. I know that the data it produces is encoded in dvi_adpcm. I would like to decode this data in order to have the audio samples and play the audio. I tried converting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Apr 2021 09:14:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73359/thingy-52-microphone" /><item><title>RE: Thingy 52 microphone</title><link>https://devzone.nordicsemi.com/thread/303410?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 09:14:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ff403e9-33e0-448b-82fa-d0f642f82482</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again, Miguel!&lt;br /&gt;&lt;br /&gt;I got back from one of the developers that ADPCM encoded recordings require some care with regards to framing. It&amp;#39;s&amp;nbsp;typically encapsulated into blocks of x milliseconds of audio and a header with encoder state attached. The C++ ADPCMDecoder you&amp;#39;re using may expect a certain framing or header format that&amp;#39;s different from the one provided by the Thingy:52. Hence, I suggest that you make sure to match the header format that the decoder expects with the one from the Thingy.&lt;br /&gt;&lt;br /&gt;Good luck and best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 52 microphone</title><link>https://devzone.nordicsemi.com/thread/302698?ContentTypeID=1</link><pubDate>Wed, 31 Mar 2021 10:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87af4a25-04a4-4b37-bb0a-262b340aa2e6</guid><dc:creator>Miguel Carvalhosa</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Thank you for the suggestion. If you could do that, I would really appreciate it!&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Miguel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 52 microphone</title><link>https://devzone.nordicsemi.com/thread/302688?ContentTypeID=1</link><pubDate>Wed, 31 Mar 2021 09:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4d3db05-d764-45c4-b79c-a877897392cc</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi, Miguel!&lt;br /&gt;&lt;br /&gt;I can ask around internally to see if anyone at Nordic has experience with this. In the meantime I suggest checking out some of the source code for the Thingy:52 user applications, like the android app, to see how microphone data is handled there. You can find the source code on &lt;a href="https://github.com/NordicSemiconductor/Android-Nordic-Thingy/blob/7c9dab382447e55819f0f71344d9c2ffc4ec25f5/app/src/main/java/no/nordicsemi/android/nrfthingy/sound/ThingyMicrophoneService.java"&gt;GitHub&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>