<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Intrasonics - Medium]]></title>
        <description><![CDATA[Intrasonics is the leading technology for data-over-sound solutions and audio recognition - Medium]]></description>
        <link>https://medium.com/intrasonics?source=rss----a70e50ad68d7---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Intrasonics - Medium</title>
            <link>https://medium.com/intrasonics?source=rss----a70e50ad68d7---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 18:31:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/intrasonics" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Robust, continuous audio recording:]]></title>
            <link>https://medium.com/intrasonics/robust-continuous-audio-recording-c1948895bb49?source=rss----a70e50ad68d7---4</link>
            <guid isPermaLink="false">https://medium.com/p/c1948895bb49</guid>
            <category><![CDATA[reconnect]]></category>
            <category><![CDATA[ffmpeg-streaming-service]]></category>
            <category><![CDATA[ffmpeg]]></category>
            <category><![CDATA[audio-streaming]]></category>
            <category><![CDATA[audio-streaming-software]]></category>
            <dc:creator><![CDATA[Michael Lee]]></dc:creator>
            <pubDate>Thu, 17 Mar 2022 09:54:26 GMT</pubDate>
            <atom:updated>2022-03-17T09:54:26.257Z</atom:updated>
            <content:encoded><![CDATA[<h3>The reconnect command in FFmpeg</h3><p>At Intrasonics we’ve been using FFmpeg and FFprobe as reliable tools to stream audio. These open-source libraries are great; however the sheer extent and complexity of the library means that some features are not well documented (This is not a slight against the FFmpeg community, it is simply that the task is pretty immense. Seriously look at the number of <a href="https://ffmpeg.org/ffmpeg.html">options</a> available. This is without getting into codecs and audio/video formats and…).</p><p>This article is about the reconnect flag in FFmpeg. We’ve been using these commands in our operations involving continuous audio streaming and so spent a fair bit of time puzzling things out. Some of this was found out by some experimentation and some by puzzling out the behaviour of the source code. Many thanks to fellow devs Abbie and Alejandro for their help investigating, and Jose for proof reading and commentary.</p><p>This flag does as you might expect, it attempts to reconnect a lost connection — valuable when say constantly streaming audio/video from an online source and there’s a temporary network issue. While it sounds simple on paper, there’s little documentation about <a href="https://ffmpeg.org/ffmpeg-protocols.html#http">it</a> and the answers that do exist on places like stack overflow are quite vague. It is simple to state `<em>use -reconnect 1 -reconnect_streamed 1</em>` to attempt a reconnect but if you want the precise details of what will happen, you’ve come to the right place.</p><h3>A word about versions</h3><p>Firstly, this is only available in FFmpeg 4.4.1 and above. If you’re using Ubuntu 16 or above, this won’t be available from the standard repos and you’ll need to add Rob Savoury’s<a href="#_ftn1">[1]</a> <a href="https://launchpad.net/~savoury1/+archive/ubuntu/ffmpeg4">repos</a> (ppa:savoury1/ffmpeg4). All comments that I’ve made work the same in the recently released <a href="https://ffmpeg.org/download.html#release_5.0">FFmpeg 5</a>.</p><h3>What does reconnect actually do?</h3><p>This seems like a silly thing to say, as the name seems self-explanatory but for the purposes of precision, the flag will make FFmpeg reconnect to a stream of data and attempt to append the packets upon successful reconnect directly to where it stopped. What this means is that, if for example you have a live broadcast that you’re capturing with FFmpeg, FFmpeg disconnects and then successfully reconnects after 7 seconds, you will likely notice a seven second jump in the output. This is important to remember.</p><p>Another point is that reconnection does not take away from the overall time of output. So, if you define FFmpeg to record a stream to produce a maximum of 20 minutes of data and a reconnect happens (or several reconnects even), you will in fact get 20 minutes of data. Just keep in mind, this might be 20 minutes with jumps in them. This means that if you allow your `<em>reconnect_delay_max</em>` value to be quite large, you can potentially end up with very large jumps in your end product.</p><h3>How to use reconnect</h3><p>FFmpeg’s documentation doesn’t seem to detail anything about the `<em>-reconnect</em>` flag, but lists these details about the other possible flags under the <a href="https://ffmpeg.org/ffmpeg-protocols.html#http">HTTP section of their protocol documentation</a>.</p><blockquote>reconnect_at_eof</blockquote><blockquote>If set then eof is treated like an error and causes reconnection, this is useful for live / endless streams.</blockquote><blockquote>reconnect_streamed</blockquote><blockquote>If set then even streamed/non seekable streams will be reconnected on errors.</blockquote><blockquote>reconnect_on_network_error</blockquote><blockquote>Reconnect automatically in case of TCP/TLS errors during connect.</blockquote><blockquote>reconnect_on_http_error</blockquote><blockquote>A comma separated list of HTTP status codes to reconnect on. The list can include specific status codes (e.g. ’503’) or the strings ’4xx’ / ’5xx’.</blockquote><blockquote>reconnect_delay_max</blockquote><blockquote>Sets the maximum delay in seconds after which to give up reconnecting</blockquote><p>However to get any of these to work, you’re required to include the `<em>-reconnect 1</em>` flag. Note that simply using the reconnect flag on its own won’t do anything.</p><p>Additionally the positioning of these flags is important — they must go before the input flags (-i, -re).</p><h3>An example</h3><p>If you’re keen to try this, do the following:</p><blockquote>ffmpeg -reconnect 1 -reconnect_on_network_error 1 -i http://badurl.bad ./output.mp3</blockquote><p>And you’ll get the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MZOVzq01VhSARLaY09zTrw.png" /></figure><p>As you can see it attempts to do staggered reconnections, eventually giving up. Note that this pattern of text is slightly misleading — it does not attempt to reconnect 63 seconds into the operation and then stop, but in fact 2 minutes in. Each `will reconnect` message is indicating how long FFmpeg will wait to try again. So it tries right away, then waits 1 second. Then after that another 3 seconds. Then after that another 7 seconds… and so on. I’ll get into the details of the precise pattern going on here and how this relates to `<em>reconnect_delay_max</em>` later (see the section on reconnection attempts if you just want that).</p><h3>Definitions in more detail</h3><p>To some degree these definitions are self-explanatory, although there are few points to note. Firstly `<em>reconnect_on_network_error</em>` and `<em>reconnect_on_http_error</em>` are not the same, as you might casually suppose. If the error in question is a HTTP Error, this won’t be counted under the `<em>reconnect_on_network_error</em>` flag.</p><p>This means that for instance `<em>-reconnect 1 -reconnect_on_network_error 1</em>` will exit out if for some reason it receives a 500 error from the server. To catch that you’d need `<em>reconnect_on_http_error 500</em>` or more generally `<em>reconnect_on_http_error 5xx</em>` which will deal with any 5XX error. If you do use these options note that the xx is case sensitive `<em>-reconnect_on_http_error 4xx,5xx</em>`, will work, but `<em>-reconnect_on_http_error 4XX,5XX</em>` will not.</p><p>Moreover, these reconnection commands only apply to the <em>initialisation of the recording</em>. If you want to protect yourself from interruptions partway through a stream, you’ll need at least `<em>reconnect_streamed</em>` and quite likely `<em>reconnect_at_eof</em>` (this is from experience, as some audio streams have EOF problems).</p><h3>A caveat about reconnect_at_eof</h3><p>One small thing about `<em>reconnect_at_eof</em>`. It does not work with .mpd streams. The mpeg-dash format requires you to first download a playlist file which then coordinates the audio streams. What happens then is that FFmpeg stumbles over this first step — once it is finished downloading the playlist file an End Of File error is raised, which causes a reconnect, which causes the playlist file to be redownloaded, which then raises an EOF error… As it is, the other part of the reconnect command works fine with .mpd streams, so your best advice is to leave it out.</p><h3>How do the reconnection attempts work?</h3><p>Lastly, we have `<em>reconnect_delay_max</em>`. How does this work? How does it relate pattern of output?</p><p>So firstly, the reconnect_delay_max is not a timeout setting for reconnections — that is if you set it to 150 seconds it will not wait to 150 seconds, making reconnections with that pattern detailed above and then disconnect at that point. What it in fact will do is wait to 247 seconds then disconnect. Why is that? Because 247 seconds is the <em>cumulative delay of multiple attempts to reconnect</em>, each taking longer and longer to happen, with 127 being the longest delay between attempts (after that it will stop trying and fail).</p><p>FFmpeg has a predefined pattern of delays between attempts. Using 150 in this case will make FFmpeg take as its maximum delay the value in its pattern closest beneath that value. In this case, that’s 127.</p><p>This sequence for the delays is determined by 2^n-1 from n &gt;= 0. So we have a pattern that goes from 0, 1, 3, 7, 15, 31, 63, 127,… You can use this formula to work out what position in the sequence you’ll get from a given n. You can then use the summation formula 2^(n + 1)-n-2 to find out how much total clock time reconnections will take.</p><p>Note that this means there’s no value in setting <em>reconnect_delay_max</em> value any higher then the intended value in the sequence. 8, will always terminate after it reaches the 7 second delay.</p><h3>About Intrasonics</h3><p><em>Intrasonics is the leading global provider of audio recognition technology. Our audio watermarking and audio matching technology is widely used in audience research, content protection, synchronised apps and interactive toys. We are market leaders in providing the tools required for audio recognition and synchronised content response triggers.</em></p><p><em>Our technology is platform independent, inaudible, noise tolerant and fully protected by more than 20 patents. Integration possibilities include development kits and software/hardware encoders.</em></p><p><a href="#_ftnref1">[1]</a> Rob Savoury has been doing some excellent work providing software for Ubuntu releases. He’s currently looking for funding at <a href="https://www.paypal.com/paypalme/Savoury1">https://www.paypal.com/paypalme/Savoury1</a> (alt links at <a href="https://launchpad.net/~savoury1">https://launchpad.net/~savoury1</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1948895bb49" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intrasonics/robust-continuous-audio-recording-c1948895bb49">Robust, continuous audio recording:</a> was originally published in <a href="https://medium.com/intrasonics">Intrasonics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Has Apple re-enabled ‘Connected Ads’ with ShazamKit ?]]></title>
            <link>https://medium.com/intrasonics/has-apple-re-enabled-connected-ads-with-shazamkit-af2370c9cfb?source=rss----a70e50ad68d7---4</link>
            <guid isPermaLink="false">https://medium.com/p/af2370c9cfb</guid>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[shazam]]></category>
            <category><![CDATA[attribution]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[advertising]]></category>
            <dc:creator><![CDATA[Stephen Beattie]]></dc:creator>
            <pubDate>Fri, 25 Jun 2021 12:58:51 GMT</pubDate>
            <atom:updated>2021-06-25T12:58:51.653Z</atom:updated>
            <content:encoded><![CDATA[<h3>Has Apple re-enabled ‘Connected Ads’ with ShazamKit?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tr26-eJI2PXBqUeXqyAj4A.jpeg" /><figcaption>ShazamKit — announced by Apple at WWDC21</figcaption></figure><p>Apple have announced a lot of great new software features at their Developer Conference WWDC21.</p><p>One that stuck out as particularly interesting was <a href="https://developer.apple.com/shazamkit/">ShazamKit</a>. We at <a href="https://www.intrasonics.com/">Intrasonics</a> have been keenly waiting to see what Apple will do with Shazam’s technology and this was the first serious glimpse of an unfolding strategy.</p><p>In addition to Shazam’s party trick of solving the “What am I listening to?” problem, ShazamKit allows developers to build their own catalog of media to match against (albeit locally on the consumer’s device rather than sending a query hash to the server).</p><p>This capability enables second-screen interactions like the ones shown in the<a href="https://developer.apple.com/videos/play/wwdc2021/10044/?time=207"> WWDC21 session video</a> — use cases mocked up included synchronising presentations for students and making TV “shoppable”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uhTWnwgFOvO_KvrTgDJu8Q.png" /><figcaption>Shopping link and AR preview triggered by ShazamKit</figcaption></figure><p>Client-side matching is a smart move for Apple here, and not just for technical reasons. It also dovetails nicely with their focus on privacy. They can genuinely say that no audio samples leave the device.</p><h4>Shazam-enabled Ads</h4><p>Back in 2012, <a href="https://econsultancy.com/itv-to-launch-shazam-enabled-ads/">ITV (a leading commercial UK terrestrial TV broadcaster) signed a deal with Shazam</a> to provide interactive TV advertising to the then 10M app users.</p><p>There were early reports of success at transitioning consumers online with one ad campaign delivering <strong>more than 20% more interest</strong> than from other sources.</p><p>Now, with Shazam’s technology embedded at a deeper level within the iOS platform, it should be possible to ‘catch up’ on interactive ads at a later date.</p><p>I can imagine it being possible to click on items in a rolling list of interactives accompanying ads to which the consumer has been passively exposed.</p><p>This puts less pressure on the consumer to fumble with their phone and scramble to act in the moment, instead empowering them to follow up at a more convenient time.</p><h4><strong>Attribution</strong></h4><p>Monitoring ad exposure with Audio Matching has its drawbacks, however.</p><p>Because no additional information is added, there is no broader context for the match. It’s therefore not possible to distinguish live from recorded content, nor attribute listening to a particular channel.</p><p>As the Connected Ads concept gains traction (and with Apple’s announcement we’re sure it will get a boost) the need for finer grained monitoring that scales becomes clear to see precisely when and where ad spend is most effective.</p><h4>Audio Watermarks</h4><p>In 2018 I wrote an article <a href="https://medium.com/intrasonics/can-audio-watermarked-connected-ads-reverse-the-drop-in-tv-ad-spend-and-help-save-commercial-tv-8df06fa3a94b">promoting the idea of Connected Ads</a>, suggesting Google was well-placed to profit from the sizeable terrestrial television ad revenue spent away from its platforms.</p><p>I described how Intrasonics audio watermarks provide unambiguous, real-time attribution and a mechanism to elegantly transition users from one screen to another. Consumers are sent directly to review purchase options without the need for a disconnected search potentially leading them to a competitors website.</p><p>And, just like ShazamKit’s custom catalogs, the Intrasonics SDK detects audio watermarks on-device too, even offline. No audio leaves the device.</p><p>What’s more, with <a href="https://www.intrasonics.com/developers.html">Audio Watermarking SDKs for iOS, Android and the web</a>, Intrasonics offer a greater potential reach than Shazam.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AGppMIIQbIP8ul7ge0kX7g.png" /></figure><p><a href="https://webdec.intrasonics.com/">Intrasonics JS Decoder</a> works in Safari, Firefox, Chrome across both desktop and mobile. It’s 100% Javascript. No extra software, plugins or browser extensions need to be installed by consumers — so long as they have a microphone they’re ready to go.</p><h4>Shazam-enabled Ads: Take Two ?</h4><p>So, now Apple have seemingly more deeply integrated Shazam into their iOS, iPadOS and MacOS, I wonder if we’ll be seeing a return of the Shazam-enabled TV advert. This time with much less for the consumer to do to start interacting with related content on their device.</p><p>And, to give commercial broadcasters like <a href="https://www.itv.com/">ITV</a> less to do, Intrasonics offer a complete end-to-end audio watermarking solution. From dedicated hardware to embed watermarks in real-time to live transmissions, to our second-screen engagement platform <a href="https://www.hyperchannel.com/">Hyperchannel</a> we are able to offer the toolkit required for:</p><ul><li>Interaction &amp; Loyalty</li><li>Advertising &amp; Shopping</li><li>Analytics &amp; Attribution</li></ul><p>We warmly welcome Apples announcement of ShazamKit, and look forward to seeing what creative and engaging second-screen content emerges from advertisers and content creators in the coming months.</p><h4>Intrasonics</h4><p>Intrasonics, based in Cambridge UK, is a leading global provider of audio recognition technology.</p><p>Our audio watermarking and fingerprinting tech is widely used for audience research, synchronised apps and interactive toys.</p><p>We are market leaders in providing the tools (SDK, Software/Hardware Encoders) required for audio recognition and response triggers to help our customers monetise on the moment of engagement. Our technology has been fully protected by more than 20 patents in this area.</p><p><a href="http://www.intrasonics.com/">www.intrasonics.com</a></p><h4>Further Reading</h4><ul><li><a href="https://developer.apple.com/shazamkit/">https://developer.apple.com/shazamkit/</a></li><li><a href="https://www.intrasonics.com/">https://www.intrasonics.com/</a></li><li><a href="https://developer.apple.com/videos/play/wwdc2021/10044/?time=207">https://developer.apple.com/videos/play/wwdc2021/10044/?time=207</a></li><li><a href="https://econsultancy.com/itv-to-launch-shazam-enabled-ads/">https://econsultancy.com/itv-to-launch-shazam-enabled-ads/</a></li><li><a href="https://medium.com/intrasonics/can-audio-watermarked-connected-ads-reverse-the-drop-in-tv-ad-spend-and-help-save-commercial-tv-8df06fa3a94b">https://medium.com/intrasonics/can-audio-watermarked-connected-ads-reverse-the-drop-in-tv-ad-spend-and-help-save-commercial-tv-8df06fa3a94b</a></li><li><a href="https://webdec.intrasonics.com/">https://webdec.intrasonics.com/</a></li><li><a href="https://www.hyperchannel.com/">https://www.hyperchannel.com/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af2370c9cfb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intrasonics/has-apple-re-enabled-connected-ads-with-shazamkit-af2370c9cfb">Has Apple re-enabled ‘Connected Ads’ with ShazamKit ?</a> was originally published in <a href="https://medium.com/intrasonics">Intrasonics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Protecting and Tracking Content through Forensic Watermarking]]></title>
            <link>https://medium.com/intrasonics/protecting-and-tracking-content-through-forensic-watermarking-44bcc1be3e1c?source=rss----a70e50ad68d7---4</link>
            <guid isPermaLink="false">https://medium.com/p/44bcc1be3e1c</guid>
            <category><![CDATA[copyright]]></category>
            <category><![CDATA[drm]]></category>
            <category><![CDATA[watermarking]]></category>
            <category><![CDATA[digital-rights-management]]></category>
            <category><![CDATA[audio-watermarking]]></category>
            <dc:creator><![CDATA[Jerome Schalkwijk]]></dc:creator>
            <pubDate>Fri, 18 Oct 2019 16:28:21 GMT</pubDate>
            <atom:updated>2019-10-18T16:28:21.171Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*998neegxmHxeFJn11lGsoQ.png" /></figure><p>Content is now more important than ever in the tech sector. Twenty years ago, user-friendliness and technological advance were the main drivers of success for the big tech companies of the world. Google serves the user’s mind by creating a search engine that is easier to use and provides more relevant results to the user. Facebook serves user’s desire to communicate by allowing you to connect with friends in an easier way, and by suggesting more people that are relevant to you.</p><p>Now, however, content is the key for the tech giants. All of the four FANGs — the best performing tech stocks, Facebook, Amazon, Netflix and Google, have expanded to the content market. Facebook has been looking to produce its own TV shows; Netflix’ entire business resolves around video content. Amazon launched Prime Video as well as Prime Music. Google spent many millions on acquiring YouTube, recently branching out to a paid subscription model for YouTube Premium.</p><h4><strong>Piracy</strong></h4><p>Piracy is a big threat to content owners, creators and distributors. Original content is a key draw for users and hence controlling the distribution of the content is of prime importance. Through proper protection, content owners can ensure that they are accredited for the distribution of their original assets. Content distributors ensure that users are drawn to their sources, and revenues are placed accordingly to the parties that invested in content creation. This means that original creators are funded and can continue creating content. However, protecting such content is and has always been a difficult task.</p><p>Over 2017, illegal music sites logged more than 100 billion visits1. That’s 10x more visits than spotify.com receives2. In January 2019, users made an estimated 363 million visits to sports piracy websites3. If these visits were redirected to ESPN.com, that would have increased its monthly pageviews by 46%4. In fact, London-based consultancy Ovum pegs the loss to industry at 16% of all digital TV and video earnings — that’s an estimated $37.4 billion USD3.</p><p>It can be seen easily that pirated streaming video and music sources are bigger than ever, competing for the same users and stealing attention from the original, legal sources of content. This renders content protection more important than ever.</p><h4><strong>Anti-Piracy Measures</strong></h4><p>Protection is achieved through what is often called “anti-piracy” measures. Generally, anti-piracy measures fall into two strategies; <em>preventive </em>measures to prevent transgression and <em>reactive </em>measures to detect and respond to piracy after it’s happened.</p><h4><strong>DRM</strong></h4><p><em>Preventive </em>measures aim to limit content to subscribers only. Often, such measures are called <em>DRM </em>measures, Digital Rights Management. (Strictly speaking, Digital Rights Management describes the full suite of solutions around content rights, including reactive measures. In common use, however, DRM tends to be used to indicate preventive measures). Popular DRM systems are <a href="https://www.widevine.com/">Widefine (Google)</a>, <a href="https://www.microsoft.com/playready/">Microsoft PlayReady</a>, <a href="https://en.wikipedia.org/wiki/FairPlay">Fairplay (Apple)</a> and Adobe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5hfhzN8DPWDcYldoPmWczg.jpeg" /></figure><p>Preventive measures tend to be technically implemented as a combination between some form of encryption and an internet validation service. The encryption serves to make sure that the content cannot be opened without being validated, i.e. behaves as the lock. The internet validation service determines whether the user has the rights to access the content and serves as the key that opens the lock. In the past, one would often see “serial codes” or similar serve as a key, but these are easily distributed or even reverse-engineered and generated, resulting in uncontrolled piracy. Additionally, by validating access through an internet service, the content owner can make sure a user accesses content only from a reasonable number of devices, and therefore isn’t sharing their access uncontrollably.</p><p>DRM has been very successful in managing rights access to online interactive content like multiplayer games. In those areas in which users are online perpetually, DRM can be implemented nearly invisibly and very effectively.</p><p>However, in those cases were DRM isn’t invisible, it may impact the user directly. This may significantly impact the user friendliness of your product. Just try a search in Medium for “DRM”. Search results have titles like: “If you use DRM, I hate you”5, “DRM &amp; Loathing in Los Angeles”6, “DRM is still here, and it still sucks”7.</p><p>Furthermore, DRM is often not a complete solution. It only requires a single pirate to “crack” the DRM system, after which the pirate often can redistribute the content uncontrollably. In fact, this pirated content in some cases is distributed so well and in a user-friendly manner that users of pirated content often don’t even realise they’re consuming illegal content.</p><h4><strong>Forensic watermarking</strong></h4><p>Therefore, it is wise to ensure illegal distribution can be detected and responded to. One of the most flexible and powerful approaches to identifying illegal content is forensic watermarking.</p><p>A forensic watermark is an imperceptible marker that is embedded into target content. The marker itself contains a unique identifier that references metadata relevant to the content. Metadata can include further information regarding the content, e.g. authors and contributors, title, album, genre, etc.</p><p>As an example of how a watermark can be used, imagine a copyrighted music track is used as background audio in creative works posted on YouTube. In this case, if the music was watermarked, one would still be able to identify the original metadata in the background audio, such that the original artist can be compensated for usage of their material.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*MjW9q7hfk15n5On_d-Iqdg.png" /></figure><p>Forensic watermarks can further be used to embed information relating to the distribution and/or subscriber of the content. In this case, a watermark is inserted deeper in the distribution chain. The watermark refers to information about the distributor and/or subscriber of the content. For instance, the subscriber of OTT (Over-The-Top) sports content can be embedded into the content, so that if that sports content is pirated and redistributed, the pirated content can be traced back to the subscriber, who can subsequently be warned or even banned.</p><p>To be useful, a good forensic watermark must be <em>robust to attack, </em>whether the attack is intentional or not. For instance, content often changes form and format during redistribution. A simple example of this is <em>transcoding, </em>in which format changes in order to make it more suitable for the next stage of distribution. A video uploaded to TikTok, for instance, is automatically transcoded. Traditional metadata often gets lost during transcoding, but watermarks survive the process.</p><p>In a rapidly changing digital world, media redistribution is a continuous and unpredictable factor for any content creator. Forensic watermarks provide a strong guarantee that no matter what form the redistribution, the content can be traced back to its origins.</p><h4>About Intrasonics</h4><p><a href="https://www.intrasonics.com/">Intrasonics</a> is the leading global provider of audio watermarking solutions. Intrasonics’ patented audio watermark technology is used by market leaders in the fields of audience research, interactive (broadcasting) engagement and rights management. Intrasonics’ watermarks are robust enough to survive most, if not all, pirate attacks and even survive recording ambient audio. Intrasonics can provide a combined solution to provide protection, engagement as well as audience measurement in one. More technical detail about Intrasonics’ watermarking methods can be found in the Medium article below.</p><p><a href="https://medium.com/intrasonics/hiding-data-in-sound-c8db3de5d6e0">Hiding data in sound</a></p><p><a href="http://www.intrasonics.com/">https://www.intrasonics.com</a></p><h4>References</h4><ol><li><a href="https://www.muso.com/annual-piracy-reports">https://www.muso.com/annual-piracy-reports</a></li><li><a href="https://hypestat.com/info/spotify.com">https://hypestat.com/info/spotify.com</a></li><li><a href="https://www.muso.com/magazine/inside-the-complex-world-of-illegal-sports-streaming/">https://www.muso.com/magazine/inside-the-complex-world-of-illegal-sports-streaming/</a></li><li><a href="https://hypestat.com/info/espn.com">https://hypestat.com/info/espn.com</a></li><li><a href="https://medium.com/the-coffeelicious/if-you-use-drm-i-hate-you-8e496b9f6180">https://medium.com/the-coffeelicious/if-you-use-drm-i-hate-you-8e496b9f6180</a></li><li><a href="https://medium.com/@samred/drm-loathing-in-los-angeles-1a904fa0456c">https://medium.com/@samred/drm-loathing-in-los-angeles-1a904fa0456c</a></li><li><a href="https://medium.com/@creativecommons/drm-is-still-here-and-it-still-sucks-aad7a8c33b1f">https://medium.com/@creativecommons/drm-is-still-here-and-it-still-sucks-aad7a8c33b1f</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44bcc1be3e1c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intrasonics/protecting-and-tracking-content-through-forensic-watermarking-44bcc1be3e1c">Protecting and Tracking Content through Forensic Watermarking</a> was originally published in <a href="https://medium.com/intrasonics">Intrasonics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making Better Permission Requests]]></title>
            <link>https://medium.com/intrasonics/making-better-permission-requests-54945e57bda1?source=rss----a70e50ad68d7---4</link>
            <guid isPermaLink="false">https://medium.com/p/54945e57bda1</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[cookies]]></category>
            <category><![CDATA[permission]]></category>
            <category><![CDATA[notifications]]></category>
            <dc:creator><![CDATA[Michael Lee]]></dc:creator>
            <pubDate>Wed, 03 Jul 2019 16:28:19 GMT</pubDate>
            <atom:updated>2019-07-03T16:28:18.967Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a minor piece on UX and asking for permission for notifications, the microphone or other things on the web. I consider it the bare minimum that someone should implement when requesting permissions.</p><p>You’ve probably seen it; you go on a website and before you can even browse the content you’re bombarded with different requests. This news site wants to send you <a href="https://gizmodo.com/how-to-block-super-annoying-website-notification-reques-1797499616">notifications</a>. It also needs to <a href="https://www.bbc.co.uk/news/business-38583001">inform you that it has cookies and uses them appropriately</a>. Perhaps its of <a href="https://www.theguardian.com/technology/askjack/2018/jul/05/what-should-i-do-about-all-the-gdpr-pop-ups-on-websites">vital importance that you know that its GDPR compliant</a>, also we never, ever use your data inappropriately, we promise.*</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RP9D1xUiqlnRuaxE0rmsTA.jpeg" /><figcaption>I considered putting in a gif of being bombarded by prompts, but this frankly seemed more pleasing. <a href="http://www.freepik.com/">(Designed by lifeforstock / Freepik</a>)</figcaption></figure><h3>Popup spam for the modern age</h3><p>Do you look at these? Do you read them? Most likely not. With some perhaps its not within the developer’s control — we’re obliged to ask about Cookies and Data compliance (although I don’t know if it has to be so obnoxious), but with other things we’ve made the web worse. Its spam. And we shouldn’t add to it.</p><p>The context for this is our new Web API. At <a href="https://www.intrasonics.com/">Intrasonics</a> we’ve developed an SDK that listens for encoded media and allows a developer to create interactive content online, implemented in Javascript.</p><p>That’s great! However, to do this we need to explicitly ask for permission for the microphone.</p><p>If we do this without thinking and naively initialise the SDK once the website has loaded fully, the user will load the page and be immediately be prompted to allow access to the microphone. This prompt is handled by the browser.</p><p>Two problems:</p><p>1) As mentioned before it immediately fires the prompt which is annoying, especially if several such things are fired.</p><p>2) It does not give any context as to why you need to use the microphone.</p><p>This is bad, not just because its obnoxious but because we need to be trusted in our microphone use. Users are rightly <a href="https://www.aclu.org/blog/privacy-technology/privacy-threat-always-microphones-amazon-echo">more</a> <a href="https://techcrunch.com/2019/02/20/nest-secret-microphone/">concerned</a> <a href="https://www.vox.com/the-goods/2018/12/28/18158968/facebook-microphone-tapping-recording-instagram-ads">about</a> <a href="https://www.vice.com/en_uk/article/wjbzzy/your-phone-is-listening-and-its-not-paranoia">privacy</a>. A website that asks, without any justification for microphone or webcam access will be rightly judged with suspicion.</p><p>Compounding this, changing these permissions on a mobile phone is not particularly simple. Desktop browsers have gotten better at making this easy to change, but once a user has denied permission once on a mobile, you’re probably not going to get them to change their mind, purely because it’s not convenient (even having a few additional steps in a tucked away menu can make this inconvenient and by then you’ve lost your user).</p><h3>Context and Control are King</h3><p>So what do you do? Simply put you need to provide context and justification for what you’re doing. Making a permission request is best saved for those times when a user can actually evaluate what you’re asking of them and make an informed decision, and not simply confirm or deny out of frustration.</p><p><a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia">Permission requests for access to the microphone or the webcam are things that are handled by the browser</a>. They trigger automatically as soon you attempt to use the functionality in question. In our case, attempting to use the microphone will prompt the user for permission.</p><p>Ideally, you stagger when the permission is asked for with an explicit button, where that button starts the functionality in question. You give additional text explaining what you intend to do with the functionality you’re asking for.</p><p>For Intrasonics, we need to explain that the microphone is used to enable interactivity:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5CY93kn40KN2W60d72JLoQ.png" /><figcaption>A bit of explanation and a start button. Simple.</figcaption></figure><p>I’d suggest against putting this in a modal that pops up once the site has loaded, because while you’re providing more context, you’re still obnoxiously bombarding a user with things at the beginning of their experience.</p><p>The permissions API has been defined so that a website cannot repeatedly ask for access for the same thing once it has <a href="https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/state">been</a> <a href="https://www.w3.org/TR/permissions/#requesting-more-permission">denied</a>. This means there isn’t a controllable mechanism to continuously trigger prompts. This is fine if the prompt being triggered is tucked away behind a button or some other controllable mechanism. However, some prompts, such as the one to install a PWA, trigger immediately.</p><p>To deal with these you <a href="https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent">defer when the prompt shows</a>. You may need to use <a href="https://love2dev.com/blog/beforeinstallprompt/">preventDefault() to cover Chrome 67 and earlier versions from triggering automatically</a>.</p><p>Putting some contextual information, letting the user control when to receive the prompt — it makes a lot of difference to the User’s experience.</p><p>*So long as you don’t look too closely at the terms and conditions…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54945e57bda1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intrasonics/making-better-permission-requests-54945e57bda1">Making Better Permission Requests</a> was originally published in <a href="https://medium.com/intrasonics">Intrasonics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s Amazon’s Strategy for TV ?]]></title>
            <link>https://medium.com/intrasonics/whats-amazon-s-strategy-for-tv-316a592b493d?source=rss----a70e50ad68d7---4</link>
            <guid isPermaLink="false">https://medium.com/p/316a592b493d</guid>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[audio-watermarking]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[television]]></category>
            <category><![CDATA[advertising]]></category>
            <dc:creator><![CDATA[Stephen Beattie]]></dc:creator>
            <pubDate>Wed, 23 Jan 2019 11:13:14 GMT</pubDate>
            <atom:updated>2018-11-02T09:13:18.185Z</atom:updated>
            <content:encoded><![CDATA[<h3>What’s Amazon’s Strategy for TV ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*soq05fIkvEbwxTTk3WMMTA.jpeg" /><figcaption>Announcement of Fire TV Recast (September 2018)</figcaption></figure><p>Amazon recently launched a new Fire TV device capable of receiving free-to-air commercial TV channels. The <a href="https://www.amazon.com/Fire-TV-Recast-over-the-air-DVR-500GB-75-hours/dp/B01J6A6H74">Fire TV Recast</a> is a device with digital tuners that can distribute live TV throughout the home, and record shows for later viewing on other Fire TV devices.</p><p>Much like a <a href="http://www.slingbox.com/">Slingbox</a>, or the <a href="https://www.silicondust.com/">HD HomeRun</a> tuners that can be used with <a href="https://www.plex.tv/en-gb/live-tv-dvr/">Plex Media Server</a>, it seems like a great product that provides consumers with more options on how they watch.</p><blockquote>So why, with their streaming platform Prime Video, do Amazon want us to watch free-to-air content I wonder ?</blockquote><p>I think it has a lot to do with controlling the advertising we see and monitoring closely what we choose to watch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*337diTV-u1H0hok9jqza9Q.jpeg" /><figcaption>Fire TV Recast — an unassuming black box with great powers</figcaption></figure><h4>Advertising</h4><p>Amazon is reportedly considering adding <a href="http://www.aftvnews.com/amazon-is-working-on-commercial-skipping-and-content-discovery-for-the-fire-tv-recast/">commercial skipping</a> features to Fire TV Recast. This will no doubt help minimise the impact of brand campaigns that conflict with competing products currently being promoted on Amazon’s shopping sites.</p><p>And, even if ads aren’t skipped, because Amazon control the hardware, they will know which ads viewers are exposed to, simply by matching the channel selected and time of day against a dataset from Ebiquity/Nielsen. This data will be useful in pushing follow-up notifications via the Amazon Shopping app for the advertised brands, or to heat up demand from competitors with products on sale through Amazon.</p><h4><strong>Better Targeted Content</strong></h4><p>As well as the advertising opportunity, Amazon will be interested in knowing which shows are popular, and in which parts of the world. This will help them make the right show commissioning decisions for Prime TV and help them target out-of-home advertising for shows more effectively in different regions. It might even help them identify the next ’Top Gear’ to help quickly break into a foreign market.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TG1-iKR7XK6JmiM4qY7_Zw.jpeg" /><figcaption>James May, Jeremy Clarkson &amp; Richard Hammond — Former ‘Top Gear’ Presenters</figcaption></figure><p>In the UK, Amazon effectively poached the presenters of a top BBC show for “The Grand Tour” on Amazon Prime creating an enormous demand for the FireTV devices and Amazon Prime subscriptions needed to watch it. It was a content coup that firmly established Amazon as a major player in the UK streaming video market.</p><h4><strong>Amazon “Free Dive”</strong></h4><p>At the same time, Amazon are <a href="https://www.theverge.com/2018/8/28/17793620/amazon-fire-tv-ad-supported-video-service-free-dive-prime-members-roku-channel">readying an ad-supported video service</a> reportedly called ‘Free Dive’ available to FireTV device users with or without a Prime subscription.</p><p>Focusing on licensing older TV shows from major studios, ‘Free Dive’ will feature TV ad breaks during the shows in much the same way as linear broadcast TV — except this time Amazon will have intimate knowledge of who has seen which ad and when.</p><blockquote>By being both the broadcaster and retailer, Amazon is positioned to steal advertisers and viewers away from traditional TV making revenue at every step of the consumer journey.</blockquote><p>Just as they launch a device that strips out or skips the ads that support free-to-air commercial TV channels, Amazon is introducing un-skippable ads on a free-to-watch video service of their own.</p><h4>Content and Conversion is the winning strategy</h4><p>I strongly believe that a battle is now underway that threatens to kill free-to-air commercial TV as we know it. Amazon’s bold approach and proven ability to execute paints a dark picture not just for ad supported linear broadcast TV but for other similar services such as <a href="https://www.cnet.com/news/roku-channel-puts-free-content-in-one-place/">The Roku Channel</a> too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_awtDuE77JbXoMz3VUidAg.jpeg" /><figcaption>Amazon Fire TV EPG</figcaption></figure><p>When Amazon are able to collect revenue not just from the advertising on their own free-to-watch video service but also profit from purchases made directly from it, there is a bigger pot of money for them to play with for the commissioning and production of shows. And with Amazon carefully collecting data to hone their content strategy for Free Dive and Prime Video, commercial broadcasters will struggle to compete.</p><p>Great content is what brings viewers to a platform, advertising is what makes it viable but enabling and profiting from consumers directly purchasing from the platform will be the deciding factor over who will win the war.</p><h4>What about Google ?</h4><p>It’s not just commercial TV broadcasters who should be worried. Google, who have yet to see major success with their Android TV platform will lose ground in terms of ad revenue too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kJM5HvC6r0_oRHdEah0N8Q.png" /><figcaption>Android TV Home screen UI</figcaption></figure><p>Google make a big noise about providing solutions to “<a href="https://www.thinkwithgoogle.com/marketing-resources/micro-moments/micro-moments-understand-new-consumer-behavior/">Micro-Moments</a>” — those times when we reach for a device to act on a desire to discover, learn about or buy something. They do this very well with information products like Google Search and Google Maps but not so well in terms of e-commerce focused products like Google Shopping. Google Shopping is too much of a protracted experience for the end user and there’s no hook up with TV Ads to help with this.</p><p>Amazon solve the product discovery problem much more effectively and, and as we’ve seen, will soon close the purchase loop by offering purchases directly from their own TV ads.</p><p>Amazon have taken the calculated approach of building and selling the TV receiver hardware consumers use to watch in order to achieve this goal. Google have the advantage of billions of Android devices already in consumers hands but still are unable to offer up purchase options at the time an ad is viewed on another screen.</p><h4>Connected Ads</h4><p>At Intrasonics, we’re working hard to offer advertisers, broadcasters and internet companies the chance to own the moment of engagement using sound to harness consumer interest when it matters most.</p><p>Amazon have led a strong first charge in the battle for TV advertising. If Google wish to prevent Amazon’s dominance and provide consumers with a shopping alternative, audio watermarking represents a great way to enter the fray.</p><p>In my <a href="https://medium.com/@stephenbeattie/can-audio-watermarked-connected-ads-reverse-the-drop-in-tv-ad-spend-and-help-save-commercial-tv-8df06fa3a94b">previous article</a> I pointed to how audio watermarking can reduce purchase friction and make broadcast TV ads more easily attributable to purchase decisions.</p><p>Connected Ads’ enable instant product discovery and impulse purchasing from advertising on both linear broadcast TV and streaming media.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QxT10BwYpatQOTuXyBWb0Q.jpeg" /><figcaption>Connected Ads concept for Google</figcaption></figure><p>The battle isn’t over yet. Perhaps now is the time for Google to start a charge of their own.</p><h4>Intrasonics</h4><p>Intrasonics, based in Cambridge UK, is a leading global provider of audio recognition technology.</p><p>Our audio watermarking and fingerprinting tech is widely used for audience research, synchronised apps and interactive toys.</p><p>We are market leaders in providing the tools (SDK, Software/Hardware Encoders) required for audio recognition and response triggers to help our customers monetise on the moment of engagement. Our technology has been fully protected by more than 20 patents in this area.</p><p><a href="https://www.intrasonics.com/">www.intrasonics.com</a></p><p><strong>Further Reading</strong></p><ol><li><a href="https://medium.com/@stephenbeattie/can-audio-watermarked-connected-ads-reverse-the-drop-in-tv-ad-spend-and-help-save-commercial-tv-8df06fa3a94b">https://medium.com/@stephenbeattie/can-audio-watermarked-connected-ads-reverse-the-drop-in-tv-ad-spend-and-help-save-commercial-tv-8df06fa3a94b</a></li><li><a href="http://www.slingbox.com/">http://www.slingbox.com/</a></li><li><a href="https://www.silicondust.com/">https://www.silicondust.com/</a></li><li><a href="https://www.plex.tv/en-gb/live-tv-dvr/">https://www.plex.tv/en-gb/live-tv-dvr/</a></li><li><a href="https://www.amazon.com/Fire-TV-Recast-over-the-air-DVR-500GB-75-hours/dp/B01J6A6H74">https://www.amazon.com/Fire-TV-Recast-over-the-air-DVR-500GB-75-hours/dp/B01J6A6H74</a></li><li><a href="http://www.aftvnews.com/amazon-is-working-on-commercial-skipping-and-content-discovery-for-the-fire-tv-recast/">http://www.aftvnews.com/amazon-is-working-on-commercial-skipping-and-content-discovery-for-the-fire-tv-recast/</a></li><li><a href="https://www.theverge.com/2018/8/28/17793620/amazon-fire-tv-ad-supported-video-service-free-dive-prime-members-roku-channel">https://www.theverge.com/2018/8/28/17793620/amazon-fire-tv-ad-supported-video-service-free-dive-prime-members-roku-channel</a></li><li><a href="https://www.thinkwithgoogle.com/marketing-resources/micro-moments/micro-moments-understand-new-consumer-behavior/">https://www.thinkwithgoogle.com/marketing-resources/micro-moments/micro-moments-understand-new-consumer-behavior/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=316a592b493d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intrasonics/whats-amazon-s-strategy-for-tv-316a592b493d">What’s Amazon’s Strategy for TV ?</a> was originally published in <a href="https://medium.com/intrasonics">Intrasonics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can Audio Watermarked “Connected Ads” reverse the drop in TV Ad spend and help save Commercial TV?]]></title>
            <link>https://medium.com/intrasonics/can-audio-watermarked-connected-ads-reverse-the-drop-in-tv-ad-spend-and-help-save-commercial-tv-8df06fa3a94b?source=rss----a70e50ad68d7---4</link>
            <guid isPermaLink="false">https://medium.com/p/8df06fa3a94b</guid>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[advertising]]></category>
            <category><![CDATA[search-engine-marketing]]></category>
            <category><![CDATA[digital]]></category>
            <category><![CDATA[audio-watermarking]]></category>
            <dc:creator><![CDATA[Stephen Beattie]]></dc:creator>
            <pubDate>Wed, 23 Jan 2019 11:12:55 GMT</pubDate>
            <atom:updated>2019-02-26T23:23:46.376Z</atom:updated>
            <content:encoded><![CDATA[<h3>Can Audio Watermarked Advertising save Commercial TV ?</h3><p>It has been mooted for some time but in 2017 it finally happened. Global digital ad spend overtook TV ad spend for the first time.</p><p>Digital advertising spend last year was <a href="https://www.recode.net/2017/12/4/16733460/2017-digital-ad-spend-advertising-beat-tv">$209 billion (41% of the market) compared to $178 billion(35% percent of the market) for TV</a>.</p><p>This watershed moment has been driven by a number of factors.</p><p>One that sticks out is that linear broadcast TV no longer seems a good place to reach younger consumers. Sixty-one percent of young adults in the US say the primary way they watch TV is through <a href="http://www.pewresearch.org/fact-tank/2017/09/13/about-6-in-10-young-adults-in-u-s-primarily-use-online-streaming-to-watch-tv/">streaming services like Netflix and HBO Go</a> and just five percent of millennials mainly watch TV through a digital antenna.</p><p>Another reason is that tracking the effectiveness of a TV advertisement is harder and results are less concrete than digital.</p><p>So, as the spending on online ads skyrockets, many brands and advertising agencies have subscribed to the idea that online advertising can deliver more bang for their buck and TV’s time is over.</p><h4>Which Half is Wasted?</h4><p>However, as a recent report from Ebiquity shows us, there is an over-confidence in the effectiveness of digital advertising.</p><blockquote><strong>“There is a clear disconnect between the scale of investment in online media and the value it delivers.”</strong> — <a href="https://www.radiocentre.org/re-evaluating-media/wp-content/uploads/2018/03/Ebiquity-Radiocentre-report-A4-web-singles-1.pdf">Re-evaluating Media</a>, Ebiquity 2018</blockquote><p>And brands that have stopped using TV ads see that campaigns take much longer to see results compared to just using digital.</p><blockquote><strong>“TV as a traditional medium is still important. When we run a heavy TV schedule, we see a lift in sales and product awareness. We need to run two weeks of digital to get the reach of one day of broadcast.”<br></strong>- <a href="https://adage.com/article/media/future-tv-advertising/303565/">Rich Lehrfeld</a>, Senior VP Global Brand, Marketing &amp; Comms. American Express</blockquote><p>Experienced marketers recognise that TV advertising remains a vital part of the mix. It’s important for brand story telling, and a good TV ad can hold the viewer’s attention and fire up emotions in a way that creates memories and promotes brand recall. Linear programming means TV is an inherently passive medium with a captive audience. Ads can’t easily be routinely skipped or flung off-screen with a finger as they can on YouTube and Facebook and there is no ad-blocker built-in to the TV set to contend with.</p><p>So, despite there now being more money being spent on digital, a very healthy £5.38B is projected to be spent on TV advertising in the UK (and $79.4B in the US) in 2019. That’s still an awful lot of money being spent away from the online platforms.</p><p>Which Half is Wasted? — As <a href="https://medium.com/u/3f5dbabb6556">Rick Webb</a> has been exploring with his series of articles on the subject of advertising, knowing what works matters more than what can be tracked. <a href="https://medium.com/s/which-half-is-wasted/googles-350-billion-haircut-fa1a0f33ace1">One such article</a> rather interestingly suggests that Google is over-valued from a shareholder perspective because it is locked out of accessing TV advertising budgets.</p><blockquote><strong>I can think of no reason that Google deserves its PE ratio of 36.5. It has zero advantages in the one big growth area it can realistically go after: The brand budgets currently spent on TV.</strong></blockquote><p>Google, Amazon or Facebook could tap into some of this revenue indirectly by harnessing the interest of TV viewers more directly and effectively than they do currently (read more below).</p><h4>The Second Screen</h4><p>We do know that the <a href="http://www.go-globe.hk/blog/second-screen-viewing/">vast majority</a> of TV viewers are multi-screening (watching with a mobile device or computer) but <a href="https://www.tobiipro.com/blog/google-eye-tracking-study-tv-youtube-ads/">still paying attention to the ads on TV</a>. As a result, most viewers are also searching for more information about the things they see on the TV.</p><p>Google have <a href="https://www.thinkwithgoogle.com/marketing-resources/experience-design/optimize-tv-ads-drive-product-discovery/">published some recommendations</a> on how to maximise the uplift in attributable searches from TV ads:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z27mw505qHcBOExTfs3CiQ.png" /></figure><p>Even with a very clear call-to-action flashed up at the end of the ad as Google suggests, the consumer can end up making a generic search for the product category or spelling the brand name incorrectly.</p><p>This can mean consumers fail to find the product they are looking for or, if an SEO strategy isn’t designed to support the ad correctly, consumers can be driven towards a competitor brand.</p><p>For example, a generic search for a new-to-market voice-assistant device may return results for the existing market leader.</p><p>The TV ad may engage the viewer’s emotion and raise an intent to purchase a product but knowing this for sure is actually quite difficult.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JmIefNZhFHVkZ2_hnIBdfQ.png" /></figure><p><a href="https://www.wired.com/2015/03/google-fiber-ads/">Google</a> and <a href="https://www.amazon.com/Fire-TV-Recast-over-the-air-DVR-500GB-75-hours/dp/B01J6A6H74">Amazon</a> are keenly interested in what ads are being watched and by whom on over-the-air channels. A huge amount of ad revenue is being spent away from their platforms. Without indirectly tracking TV ad exposure, important marketing data is being missed and there is no opportunity for follow-up advertising.</p><p>In 2014 <a href="https://techcrunch.com/2014/05/06/google-acquires-adometry/">Google purchased Adometry</a> to acquire their attribution algorithms that track web searches against exposure to TV advert broadcasts.</p><p>These algorithms look for likely related searches made shortly after the time an ad is known to air, and track any resulting visits to product pages or purchases. This is far from a perfect solution, however. It assumes marketers cover the range of full search phrases consumers may enter in the search box and requires marketers to know the time the ad airs. Furthermore, to see specifically which variant of a TV ad gives the biggest uplift in searches data from similar spots must be aggregated in order to see responses clearly. Insights are hard earned and based on inference rather than any explicit tracking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*094xrrqxR0DtT8Q8RLnt_A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rZUZ45QYTaIrx2ezhvdUaQ.jpeg" /></figure><h4><strong>A better solution — “Connected Ads”</strong></h4><p>At Intrasonics, we provide audio watermarking solutions that help connect consumers and brands.</p><p>We’ve been exploring how audio watermarking could be used with an app that already has access to the microphone and is always running in the background. For Android this app might be Google Search or Play Store. For Amazon it might be the Amazon Shopping app (or FireOS itself). Facebook it could be the Facebook app or Messenger app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tJXYOVA5vNA-krx6skzcww.jpeg" /></figure><p>Our idea is to use audio watermarking to simplify and make seamless the transition from TV screen to mobile device by raising a notification automatically at the end of an advertisement. The viewer can then choose to tap the notification and be taken to a purchase page, or to search results focused on the product advertised.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QxT10BwYpatQOTuXyBWb0Q.jpeg" /><figcaption>Notification triggered from TV advert with branded call-to-action</figcaption></figure><p>Ad exposure, click-through and conversions can be tracked directly and unambiguously and are attributable to a specific user watching a specific ad placement. There are no fumbled searches from users or SEO strategies to worry about. Consumers will be safely taken to a specific URL and not end up in the hands of a competitor to the advertiser.</p><p>From a privacy perspective, consumers can be assured no samples of audio leave their device to be analysed on a server. Consumers will only see notifications relevant to them based on their profile and if ignored these notifications will disappear automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SPPRiAuOLuFC4fSR8QCT9w.jpeg" /></figure><p>Audio watermarking used in this way reduces friction for the consumer making it easy for them to discover and purchase products they are interested in. It offers marketers an incontrovertible way to track the effectiveness of their advertising and, importantly for the likes of Google, Amazon and Facebook, it offers a way of tapping in to the global TV advertising spend.</p><p>The concept could even be extended to digital assistant devices such as Amazon Echo Show, Facebook Portal or Google Home Hub.</p><h4><strong>Is this enough to boost TV ad spend?</strong></h4><p>We think so. Audio watermarking bridges the digital gap from screen to sofa. For the likes of Amazon, Google and Facebook this means TV advertising can be harnessed and reported in the same way as digital advertising and help drive hard-to-reach consumers directly to their services.</p><p>However, for Connected Ads to work seamlessly for all consumers, audio watermark decoding needs to be integrated at the platform-level by at least one of the digital giants. At Intrasonics we’re working hard to make this happen. The first to do this can effectively claim the Connected Ads space and become the product discovery brand that transitions TV viewers online.</p><p>With TV advertising being tracked accurately and the ROI via notification click-throughs be easily measured, we believe that a confidence will return and commercial broadcasters will see an uptick in demand for ad spots. This might just reverse the trends we’re seeing now in ad spend and help save an ailing commercial TV industry.</p><h4>Intrasonics</h4><p>Intrasonics, based in Cambridge UK, is a leading global provider of audio recognition technology.</p><p>Our audio watermarking and fingerprinting tech is widely used for audience research, synchronised apps and interactive toys.</p><p>We are market leaders in providing the tools (SDK, Software/Hardware Encoders) required for audio recognition and response triggers to help our customers monetise on the moment of engagement. Our technology has been fully protected by more than 20 patents in this area.</p><p><a href="https://www.intrasonics.com/">www.intrasonics.com</a></p><p><strong>Further Reading</strong></p><ol><li><a href="https://www.recode.net/2017/12/4/16733460/2017-digital-ad-spend-advertising-beat-tv">https://www.recode.net/2017/12/4/16733460/2017-digital-ad-spend-advertising-beat-tv</a></li><li><a href="https://www.thinkwithgoogle.com/marketing-resources/experience-design/optimize-tv-ads-drive-product-discovery/">https://www.thinkwithgoogle.com/marketing-resources/experience-design/optimize-tv-ads-drive-product-discovery/</a></li><li><a href="https://www.campaignlive.co.uk/article/watch-live-thinkboxs-screen-life-event-bafta/1316163">https://www.campaignlive.co.uk/article/watch-live-thinkboxs-screen-life-event-bafta/1316163</a></li><li><a href="https://www.tobiipro.com/blog/google-eye-tracking-study-tv-youtube-ads/">https://www.tobiipro.com/blog/google-eye-tracking-study-tv-youtube-ads/</a></li><li><a href="https://www.statista.com/statistics/262710/television-advertising-revenue-in-the-uk/http://cnbccatalyst.com/why-moving-your-ad-spend-away-from-tv-can-cost-you-more-than-you-think/">https://www.statista.com/statistics/262710/television-advertising-revenue-in-the-uk/</a></li><li><a href="https://www.statista.com/statistics/262710/television-advertising-revenue-in-the-uk/http://cnbccatalyst.com/why-moving-your-ad-spend-away-from-tv-can-cost-you-more-than-you-think/">http://cnbccatalyst.com/why-moving-your-ad-spend-away-from-tv-can-cost-you-more-than-you-think/</a></li><li><a href="https://adage.com/article/media/future-tv-advertising/303565/">https://adage.com/article/media/future-tv-advertising/303565/</a></li><li><a href="https://www.broadcastingcable.com/news/groupm-sees-us-tv-ad-spending-at-794b-in-2019">https://www.broadcastingcable.com/news/groupm-sees-us-tv-ad-spending-at-794b-in-2019</a></li><li><a href="https://medium.com/s/which-half-is-wasted/googles-350-billion-haircut-fa1a0f33ace1">https://medium.com/s/which-half-is-wasted/googles-350-billion-haircut-fa1a0f33ace1</a></li><li><a href="https://www.wired.com/2015/03/google-fiber-ads/">https://www.wired.com/2015/03/google-fiber-ads/</a></li><li><a href="http://www.pewresearch.org/fact-tank/2017/09/13/about-6-in-10-young-adults-in-u-s-primarily-use-online-streaming-to-watch-tv/">http://www.pewresearch.org/fact-tank/2017/09/13/about-6-in-10-young-adults-in-u-s-primarily-use-online-streaming-to-watch-tv/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8df06fa3a94b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intrasonics/can-audio-watermarked-connected-ads-reverse-the-drop-in-tv-ad-spend-and-help-save-commercial-tv-8df06fa3a94b">Can Audio Watermarked “Connected Ads” reverse the drop in TV Ad spend and help save Commercial TV?</a> was originally published in <a href="https://medium.com/intrasonics">Intrasonics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Fingerprint for Audio]]></title>
            <link>https://medium.com/intrasonics/a-fingerprint-for-audio-3b337551a671?source=rss----a70e50ad68d7---4</link>
            <guid isPermaLink="false">https://medium.com/p/3b337551a671</guid>
            <category><![CDATA[audio]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[audio-recognition]]></category>
            <dc:creator><![CDATA[Jerome Schalkwijk]]></dc:creator>
            <pubDate>Fri, 14 Sep 2018 09:39:52 GMT</pubDate>
            <atom:updated>2018-09-14T09:44:24.966Z</atom:updated>
            <content:encoded><![CDATA[<p>The popularity of the human fingerprint has never been higher than it is now. No longer are human fingerprints solely used by forensic specialists to identify individuals. Nowadays, we identify ourselves with our fingerprint every time we unlock our phone.</p><p>Our use of the human fingerprint for identification purposes is an extremely succesful data reduction method. We can identify an individual with great certainty based only on a few key features in the fingerprint. Can we do something similar with audio, i.e. identify an audio track based on only a few key features?</p><h3>Why fingerprint audio?</h3><p>There are many reasons why one might want to identify an audio track. We might want to determine the title and author of the song we’re listening to. Audio fingerprinting may also be used not only to identify <em>what </em>track we’re listening to but also <em>where </em>in the track we’re listening, so that we can synchronise multiple pieces of content (for instance, allowing us to <a href="https://www.intrasonics.com/entertainment.html">join in on a TV quiz show</a>). The article <a href="https://medium.com/intrasonics/an-overview-of-audio-recognition-methods-e72ae059c071">“An Overview of Audio Recognition Methods”</a> described use cases of audio recognition in more detail. It also introduced audio fingerprinting as a method to perform audio recognition.</p><p>When compared to e.g. <a href="https://medium.com/intrasonics/hiding-data-in-sound-c8db3de5d6e0">audio watermarking</a>, fingerprinting is termed a <em>passive </em>technique, since it does not require altering the original content. Passive methods sample the audio as-is, and aim to perform recognition based on the sampled data. The main advantages of this methodology are its unobtrusiveness and the possibility to recognise audio that is unavailable for modification (e.g. audio tracks stored in the user’s home or controlled by a third party). The disadvantage is, in general, the need to compare sampled data to a database.</p><h3>History of techniques</h3><p>Although pioneering work on audio matching goes back to the very beginning of audio broadcasting, most of this work comprises straightforward correlation computation, that is, a direct comparison between audio data. This technique is prohibitively expensive to compute and to store, given that al raw audio of interest must be stored and compared. Around the year 2000, the first ideas were coined to create <em>audio fingerprints.</em> The idea is to extract the most important features that are characteristic of the audio yet robust to noise and distortion, and compare these features between samples and references. Note the similarity with real fingerprints: our fingerprints can be used to identify us because they are characteristic to the individual, whilst also being robust to noise and distortion (for instance, dirty fingers).</p><h3>Spectrograms</h3><p>Practically all audio fingerprints are based on features in a <em>spectrogram</em>. A spectrogram is an approximate decomposition of the signal over time and frequency. It is created by taking a short window of time of the signal, and then performing a Fourier transform that decomposes that window over its frequencies. By repeatedly performing this calculation for subsequent windows of time, we find the frequency composition of the audio as time progresses. To illustrate this, let’s look at the waveform of the first five seconds of Amy Winehouse’s “Back to Black”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hOwBpe1gsWgRA_aGiQn7A.png" /><figcaption>The waveform of the first five seconds of Amy Winehouse’s “Back to Black”.</figcaption></figure><p>The waveform shows the amplitude of the sound wave as time progresses. The music rhythm is clearly visible but, as we’ve seen in the overview on audio recognition, the exact shapes are rather sensitive to distortions. Now let’s look at the spectrogram of this same section of music:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AU_c2Xvz0S0jfELgyqTvJg.png" /><figcaption>A spectogram of the first five seconds of Amy Winehouse’s “Back to Black”.</figcaption></figure><p>Note the additional information provided by the spectrogram. It now becomes apparent that some of the beats manifest themselves in much higher frequencies than others. For instance, the beats at around 1.8 and 2.7 second have components at 5kHz and 15kHz, whereas the beats at around 1.2 and 2.2 second are characterised by frequencies of 1 kHz or lower. In the overview, we saw that the first set of beats are must more robust to distortion than the latter. This is no coincidence, but rather a natural result of distortions: lower frequencies tend to be more easily influenced by speaker and room set-up than the higher frequencies are.</p><p>To create a fingerprint, we must extract the characteristics that best define the audio from the spectrogram. There are many possible ways to do this. Let’s look at some market-leading variants.</p><h3>Shazam</h3><p>One of the first algorithms developed in the industry was developed by researchers from <a href="https://www.shazam.com/">Shazam</a>. Their solution is to identify the strongest peaks in the spectrogram, and to store the relative signatures of these peaks. The algorithm is illustrated in the image below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KDAXaLmemK_DxoB1Lh0nzw.png" /></figure><p>Red circles indicate the strongest peaks and red lines connect peaks that are close to each other. The result is a “spider web” over the spectrogram. The web is much sparser than the original spectrogram and can therefore be stored more efficiently. Furthermore, the web is robust to distortions like white noise, since that will have a relatively small impact on the strongest peaks. The web therefore acts like an audio fingerprint.</p><p>Some challenges remain. For instance, it is not immediately clear just how many peaks and connections we should store. The more intricate the web we create, the larger the dataset and the harder it is to compare with a reference. However, if the web is made simpler, the risk that it is impacted by noise increases, as well as the chance of a <em>false positive: </em>falsely reporting a match with a reference.</p><p>Furthermore, although many types of noise will not impact the strongest peaks, some distortions will shift or modify even the strongest peaks (for instance, low quality speakers). The web may also break if a strong burst of noise (for instance, someone talking) takes out an essential section.</p><h3>Philips</h3><p>Roughly at the same time as Shazam, the Philips audio research department presented another method of fingerprinting. Where Shazam’s algorithm selectively represents parts of the spectrogram that it considers most important, Philips’ algorithm revolves around compressing the full spectrogram as much as possible. The Philips algorithm looks out for <em>changes </em>in time and frequency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QAxVSh9SR3ORim1hfqovVw.png" /></figure><p>This is illustrated in the figure above, which shows the spectrogram changes of “Back to Black” (compare with the original spectrogram). Note that this technique naturally places an emphasis on the noise-robust high-frequency peaks and less so on the low-frequency peaks, since the latter don’t change as quickly.</p><p>The resulting figure is then rendered into a binary <em>fingerprint </em>by storing only whether the changes are larger than a threshold, as illustrated:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KGG2ULNTUHu4YJRBCiglSQ.png" /></figure><p>Though the above figure may not seem very useful to us, it codes a lot of essential information that is easily parsed and compared by a computer. This shows some key differences between this algorithm and Shazam’s algorithm: the Philips algorithm is much more resistant to a strong burst of noise or a shift of the peaks, since it doesn’t prefer any sections of the spectrogram to others. However, it is less resistant to continuous noise.</p><h3>Intrasonics</h3><p>Intrasonics have researched a solution that attempts to find the middle ground between the original philosophy of Philips and Shazam. Instead of deciding what part of the spectrogram we think is most important, the Intrasonics algorithm leverages modern <em>machine-learning</em> techniques to select the best features of the spectrogram. To do that, the Intrasonics fingerprinting algorithm first enters a <em>training </em>phase, in which the spectrogram is filtered by a range of possible filters at different frequencies, some of which are illustrated below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yw0NvRIjIvP-qVNcw78EVQ.png" /></figure><p>The shape of the filter roughly reflects the feature that the filter looks out for. During the training phase, more than 10&#39;000 filters are applied to the spectrogram, and the results are all collected together. These results are then analysed by the computer to <em>learn</em> which features are most characteristic of the audio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aNB5o89q-HudisPGK8D8EQ.png" /></figure><p>The image above illustrates what the computer is looking for. If a feature is very characteristic, it will look very different for differing audio segments (blue) whilst looking very similar for similar audio segments (red). The computer looks for features that separate the red and the blue data points as much as possible, and selects the best filters out of the filter candidates. Once a set of filters is selected that work well together, the training phase is completed.</p><p>The selected filters are then used to extract the features from the spectrogram that help us identify the audio best. The advantages of this methodology is that the system is not reliant on what we <em>think </em>may be distinctive features of the spectrogram, but on the features that have been <em>shown</em> to be. Furthermore, by adding noise to the training data, we can train the system to ignore similar noise in the future. The system can easily be re-trained for specific use case if so desired. These are typical advantages of using machine learning to aid feature extraction.</p><h3>Audio Matching</h3><p>Once the fingerprints have been extracted, the next challenge is to identify the content to which the fingerprint belongs. This process is often called audio matching (although arguably, it should be called fingerprint matching). In order to perform the matching, we must first establish a <em>reference database</em>. Essentially, the reference database is acquired by extracting fingerprints from the reference content. The reference content may be pre-existing (e.g. a film), or could be a live feed (e.g. a TV channel). The size of the reference database will generally determine the solution architecture.</p><p>Note: We will focus below on the use case of a mobile phone app. However, use cases in toys or other embedded devices are possible, as well.</p><h3>Small reference database</h3><p>The standard use case is characterised by recognition of only a small selection of audio. In this case, a small reference database is one that represents roughly 10 hours of audio or less. This is generally enough to create interactive solutions that synchronise with a film, tv show or similar.</p><p>The reference database is created by fingerprinting the reference material. The reference database can then be built into the app off-line, or it can be distributed later (on-line). Once the app has received the reference database, it can function locally and off-line. The app performs the following two-step process:</p><p>1. extract a fingerprint from audio captured with the microphone, and</p><p>2. compare the fingerprint to the reference database.</p><p>This results in a low-latency solution that doesn’t require any connectivity or server infrastructure. The app can work as a standalone unit and can recognise and synchronise to content whenever and wherever it is encountered.</p><h3>Large reference database</h3><p>In cases in which the app is designed to recognise and respond to a large body of content, the architecture of the previous section is no longer feasible. In this case, the storage and computational complexity required to handle the reference database is too much for it to be incorporated in an app. Therefore, the reference database is not distributed to the app, but maintained on the server instead.</p><p>It follows that the audio matching must be performed on the server, too. In this scenario, the app extracts the fingerprint from the audio and uploads it to the server that maintains the reference database. The server performs the audio matching, and the result is passed back to the app.</p><p>The advantage of this methodology is that the body of reference content may be arbitrarily large. An added benefit is the simplicity of appending more reference material into the database. This is especially useful in cases in which audio is continuously being added to the database, for instance for live TV matching.</p><h3>Data-rate and matching quality</h3><p>It is apparent that there is a wide range of techniques to create a fingerprint from audio, as well as a wide range of applications. It may not come as a surprise that no “ideal” system exists. For instance, we’ve seen that different types of noise affect different methodologies more than others. We’ve also seen use cases require a reference database size ranging from a few hours to nearly boundless (for the latter, simply imagine the number of songs that Shazam may need to match).</p><p>Let’s look at some of the most important performance metrics for an audio fingerprinting system:</p><p>· <strong>False negative probability </strong>— A <em>false negative </em>denotes the case that the audio-matching system fails to report a match when it should have (that is, the audio was present in the reference database).</p><p>· <strong>False positive probability</strong> — A <em>false positive </em>describes the case that the audio-matching system reports a match when it shouldn’t have (that is, the audio was not present in the reference database).</p><p>· <strong>Data rate </strong>— indicates the amount of data in a fingerprint</p><p>Although these are not the only relevant metrics, it is especially illustrative to consider the above metrics in more detail. We will see that choices in system design will generally impact multiple metrics simultaneously. For example, we will see that systems that aim for a very false negative probability tend to suffer with a higher false positive probability and vice versa.</p><h3>Data rate</h3><p>The data rate indicates the number of bytes generated for the fingerprint. If Shazam chooses to store more spectrogram peaks and connections, for instance, this increases the fingerprint size and therefore the data rate. Equally, if Intrasonics increase the number of filters applies to the spectrogram, the data rate increases. It may be obvious that an increased data rate leads to more storage required on the phone and potentially increased internet data and/or bandwidth usage. What may be less obvious is that an increased data rate leads to increased storage requirements for the reference database and slower matching. This happens because the reference database contains fingerprinted audio: if the fingerprint data rate increases, the references grow in size, and the matching must compare a bigger set of data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aNB5o89q-HudisPGK8D8EQ.png" /><figcaption>A reference distribution of bit differences between matching and non-matching audio segments.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vG116sgnt_lbqma42Y9m9A.png" /><figcaption>The distribution of bit differences between matching and non-matching audio segments, using 4x fewer bits than the reference above.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_j9mjceO7LUJEEoBb54PMA.png" /><figcaption>The distribution of bit differences between matching and non-matching audio segments, using 16x fewer bits than the reference (top picture).</figcaption></figure><p>So why increase the data rate? The data size of the fingerprint governs the maximum number of minutes of distinct audio that can be discerned by the system. Information theory teaches us that a fingerprint of only 4 bits, for example, can maximally discern 2*2*2*2 = 24= 16 different possibilities. If the system must be resilient to random noise, the possibilities are further reduced. In practice, the more bits we use, the better we can discern a larger reference database. To illustrate this, let’s look at the comparison between the red and the blue curves we’ve seen before (left).</p><p>As before, the red curve represents similar audio, the blue curve represents different audio. We wish that our audio-matching system classifies similar audio as “the same” (everything in the red curve) and classifies different audio as “different” (everything in the blue curve). The images above show, from top to bottom, the effect of reducing the number of bits in the fingerprint (with ratio 16:4:1). It is clear that the fewer bits used, the more overlap appears between the curves and the harder it is to discern similar audio from different audio.</p><h3>False negatives versus false positives</h3><p>Immediately relevant to this discussion is the tradeoff between false negatives and false positives. Once the red curve and blue curve have been established by choosing the data-rate, we must set a <em>threshold </em>that separates “similar” audio from “different” audio. This is illustrated in the figure below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GlkTgQEdTxvAc6gEjL2xyQ.png" /></figure><p>As illustrated, the threshold defines the cut-off point for audio that we classify as a match. Everything to the right-hand side of the cut-off point is classified as different audio. Thus, similar (red) audio samples to the right of the cut-off point will falsely be classified as different, that is, they will become <em>false negatives. </em>Conversely, different audio samples (blue) to the left of the cut-off point will falsely be classified as the same, that is, they will become <em>false positives.</em> As we set the cut-off further to the left, the <em>false negative probability </em>increases and the <em>false positive probability </em>decreases.</p><h3>Compromise</h3><p>As we’ve seen, the data rate, false positive rate and false negative rate combine into an intricate compromise. It is impossible to maximise the performance of all three performance indicators; rather, we must choose a compromise that suits the use case. Using machine learning to establish the system parameters, as Intrasonics do, provides the advantage that the system can be re-trained for new requirements when necessary.</p><h3>Privacy</h3><p>In the current time of tracking cookies and customer profiling, recording audio is a sensitive topic. Therefore, the Intrasonics fingerprinting solution is developed with privacy in mind. In the case of an in-app reference database, <em>no audio data leaves the phone. </em>That means that the entire interactive app can run without requiring WiFi, Bluetooth or access to the internet, making it especially suitable for privacy-centric applications.</p><p>Even in the case of an external reference database, the fingerprints that are uploaded are abstract signatures. The original audio cannot be recreated from its fingerprint; the fingerprint cannot be used to interpret voice or context.</p><h3>Further reading</h3><p><a href="https://www.spiedigitallibrary.org/conference-proceedings-of-spie/4518/0000/Issues-with-digital-watermarking-and-perceptual-hashing/10.1117/12.448203.short?SSO=1">Issues with digital watermarking and perceptual hashing</a> (Kalker et al., 2001)</p><p><a href="http://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf">An Industrial-Strength Audio Search Algorithm</a> (Wang, 2006)</p><p><a href="https://pdfs.semanticscholar.org/4f92/768276a0823cffeb9435ccda67beaca1f542.pdf">A Highly Robust Audio Fingerprinting System</a> (Haitsma and Kalker, 2002)</p><p><a href="http://slsp.kaist.ac.kr/~swkim/papers/journal_TIFS_2009.pdf">Pairwise Boosted Audio Fingerprint</a> (Jang et al., 2009)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b337551a671" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intrasonics/a-fingerprint-for-audio-3b337551a671">A Fingerprint for Audio</a> was originally published in <a href="https://medium.com/intrasonics">Intrasonics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hiding data in sound]]></title>
            <link>https://medium.com/intrasonics/hiding-data-in-sound-c8db3de5d6e0?source=rss----a70e50ad68d7---4</link>
            <guid isPermaLink="false">https://medium.com/p/c8db3de5d6e0</guid>
            <category><![CDATA[music]]></category>
            <category><![CDATA[audio-watermarking]]></category>
            <category><![CDATA[audio]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[signal-processing]]></category>
            <dc:creator><![CDATA[Jerome Schalkwijk]]></dc:creator>
            <pubDate>Mon, 10 Sep 2018 08:58:20 GMT</pubDate>
            <atom:updated>2019-10-18T16:06:46.960Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*MjW9q7hfk15n5On_d-Iqdg.png" /></figure><p>In our <a href="https://medium.com/intrasonics/an-overview-of-audio-recognition-methods-e72ae059c071">audio recognition document</a>, we described the concept and use cases of audio recognition. We have also introduced audio watermarking as a method to perform audio recognition. But how does one watermark audio in such a way that its robust to noise and distortions, but so that it won’t be noticed by a listener?</p><h3>Recognising audio</h3><p>The use of audio watermarking as a recognition method may not be entirely self-explanatory. Essentially, audio watermarking solves a more general problem, that of <em>sending additional data over sound </em>(more below). We can use these additional data to recognise the audio, if the watermark acts as a reference to metadata embedding the desired information in the audio.</p><p>Once the audio is watermarked, a phone (or other device) can extract the watermark and dereference the metadata, thus learning what it needs about the audio. This process is illustrated in the graphic below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RarxbLCqRNxgH--ZzCObWw.png" /><figcaption>Steps involved in audio recognition using watermarking.</figcaption></figure><p>In the graphic, a watermark <em>id </em>is added to original audio, creating watermarked<em> </em>audio (the blue waveform). The watermark id<em> </em>uniquely identifies metadata in an external metadata database. The metadata database may exist in the cloud or locally on the phone. When the phone captures the audio using its internal microphone, it can extract the watermark from it. The watermark can be dereferenced to obtain the audio metadata.</p><p>Using audio watermarking for recognition has the following advantages:</p><p>· Audio watermarks can be detected and extracted from the audio on any device with a microphone. No Bluetooth, WiFi or other connectivity is required. Watermark extraction is battery-efficient and can run even on old and/or slow hardware.</p><p>· Watermark recognition scales exceedingly well. Detection is as simple as extracting a watermark, no matter how large the audio set is that one wishes to recognise. Furthermore, since no servers are required, there’s no cost to increasing the user base.</p><p>· Audio watermarks can distinguish material that is indistinguishable to humans. For instance, a song might be watermarked differently on Spotify than on Apple Music, allowing watermark detection to establish the source of playback.</p><h3>Audio watermarking</h3><p>An important difference between traditional document watermarks and audio watermarks is their conspicuousness. Whereas it is acceptable for a document watermark to be visible (as long as it doesn’t impact the readability of the text), it is generally unacceptable for audio watermarks to be audible. Therefore, audio watermarking techniques aim to “hide” data in the audio in such a way that a listener won’t notice. A few approaches have been tried and tested over the years.</p><h3>Ultrasound watermarking</h3><p>Possibly the most obvious way to hide sound from humans is to hide it outside the human auditory spectrum. The human ear and brain work together to process sounds roughly between 20Hz and 20kHz, as illustrated below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/0*SL-lYshDM6F8hrrr.png" /><figcaption>Human sound level threshold for different frequencies.</figcaption></figure><p>The image shows the sound level threshold for different frequencies. This shows that the human auditory system only perceives sounds of sufficient loudness. The loudness required for sound to be perceived varies over frequency and age group. In practice, this means that humans tend not to perceive sounds above around 16kHz, and this threshold further lowers as they age. Therefore, the audio spectrum beyond 16kHz is sometimes called the <em>ultrasound </em>range.</p><p>Provided that mobile phone (or other) microphones can capture a part of the ultrasound range, it is thus possible to add additional data. The advantage of adding data in this frequency range is that its very simple, since we don’t have to worry about impacting the audio quality. This technique therefore allows for high volumes of data to be embedded.</p><p>The problem with ultrasound watermarking, however, is that the watermark is easily removed. Since the watermark exists in distinctively separate frequencies as the main content does, the watermark can be removed without impacting the content. This makes the technique ineffectual for forensic purposes.</p><p>Furthermore, it is not always by intent that the watermark gets removed. Since ultrasound is not audible to humans, it often gets removed in compression. For instance, the following figure shows what happens if we upload a file to YouTube or Vimeo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DXzD7VGAIZmGEgvhdFgKiw.png" /><figcaption>The spectrum (frequency distribution) of a white noise clip (original in blue) after it’s been uploaded to popular video platforms.</figcaption></figure><p>We can see that if an input of constant amplitude per frequency is uploaded to YouTube or Vimeo, the streaming service’s compression algorithms remove audio content with frequencies higher than, respectively, 15.8kHz or 17.0kHz. This figure is made using the best upload and playback settings available to us in each respective service. This implies that any watermarks added beyond the maximum frequency will be lost as soon as the video is uploaded.</p><p>Ultrasound compression is not limited to YouTube and Vimeo. The below images are audio spectral analyses taken from Netflix and BBC iPlayer, respectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RkrsuGmFCp49aqn1fjpZYQ.png" /><figcaption>Frequency spectrum calculated from a typical Netflix broadcast.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cIsA_0lvo3eh110WfMCLfA.png" /><figcaption>Frequency spectrum calculated form a typical BBC iPlayer broadcast.</figcaption></figure><p>The figures show that Netflix’ compression algorithms strongly compress audio above the 10kHz mark, and the BBC iPlayer removes anything higher than 15kHz. Although these figures may be somewhat dependent on internet speed and contract type (in case of Netflix), the majority of content will have its watermark stripped out on these channels. Compressions algorithms like these are active even on TV broadcasting, although quality in these cases will be much more diverse depending on contract, geographic location and channel.</p><h3>Spread spectrum</h3><p>The disadvantages related to ultrasound watermarking have led to the invention and use of spread spectrum watermarking. Spread spectrum watermarking was originally used in image watermarking, but was later modified to be usable in audio, too. As the name implies, the idea for this technique is to distribute the watermark over the whole spectrum. This implies that the watermark becomes intertwined with the actual content, rendering it hard to remove the watermark. And since the watermark exists in the same frequency range as the content, it won’t be removed by compression algorithms.</p><p>Because the watermark exists in the same frequency range as content, we must be more careful with its placement. In order to avoid degrading the original content, watermarks must leverage weaknesses in the human hearing to avoid being noticeable. A spread spectrum watermark is generally added in the form of low amplitude noise over the full spectrum. As long as the original content comprises a wide enough range of frequencies, the human auditory system won’t notice the low level noise.</p><p>Spread spectrum watermarking solves many of the problems and limitations of ultrasound watermarking, but is not without limitations itself. For one, it seems that not all listeners are equally insensitive to low level noise. Depending on aggressiveness of watermark insertion and the type of audio content, some listeners report hearing the watermark as a “hum”.</p><p>Secondly, spread spectrum watermarking tends to be very sensitive to <em>pitch</em> <em>shifts</em>. If the frequencies of the sender differ from the frequencies that the receiver expects, watermark extraction fails. One common case of pitch shifting is the <em>Doppler effect</em>. The Doppler effect describes the perception that audio seems to experience a <em>frequency shift</em> when the sender and receiver are not moving at the same speed. We experience the Doppler effect when we hear the sirens of an ambulance vehicle change pitch as it comes toward us, passes us and then moves away from us. Spread spectrum watermarking is generally so susceptible to the Doppler effect that extraction of a watermark may fail if the phone and speaker aren’t perfectly still, limiting its use in day-to-day applications.</p><h3>Echo-Modulation</h3><p>In principle, sound echoes off every object in earshot. The reason we don’t usually hear these echoes is because the human auditory system has evolved to filter out echoes, especially the short ones. After all, if we heard every echo from every object, our senses would get overwhelmed. We only hear the long echoes, which is why we <em>can </em>hear echoes over long distances, i.e. in a big empty church or cave. Echo-Modulation techniques make use of this insensitivity to hide data in short echoes. Intrasonics is currently the only party offering echo-modulation watermarking.</p><p>Echo-modulation watermarking involves taking the original content, calculating what its natural echoes would be, and adding data into these echoes. These artificial echoes have the same structure as natural echoes, but are placed in such a way that devices can selectively extract the artificial echoes to determine the watermark. The shape of the echo determines the data content. If required, multiple non-overlapping echoes can be added simultaneously to increase the data rate.</p><p>Because echo-modulation techniques use echoes of the original content, audibility and decode-ability of the watermark are dependent on the original content. For example, it may be understood that echo-modulation techniques <em>cannot </em>watermark silence (since silence has no echoes). Since artificial echoes are different from random noise, the watermarks don’t sound like a noisy hum. In fact, echo-modulation watermarks are practically inaudible in audio in which we usually experience many echoes (e.g. a football match). On the other hand they may be more audible in situations where we’re not accustomed to echoes (e.g. a single-instrument classical music piece).</p><p>Echo-modulation techniques are far less sensitive to frequency and timing shifts than spread-spectrum watermarking is. Echo-modulation watermarks are very robust to the Doppler effect and can easily be picked up from a moving phone.</p><h3>Practical considerations</h3><p>Watermarking audibility is determined by watermarking <em>amplitude</em>, i.e. the strength of the watermark that’s introduced. If the watermarking amplitude is very low, it will practically be inaudible, but very little data can be sent. Conversely, more data can be sent over a stronger watermark, but it’ll be more audible. Second, a certain amount of data is used for <em>error correction</em>, which ensures that even a partially received watermark can still be successfully extracted. Error correction compensates for noise that hinders the retrieval of artificial echoes, ensuring that watermarking remains <em>robust </em>even in heavily distorted or noisy audio. Error correction comes at the cost of useful data rate, though.</p><p>Watermark quality is thus a trade-off between data rate, robustness and audibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*Jdno1pPAOa7BT-IhawATwQ.png" /><figcaption>The trade-off diagram for the design of audio watermarks.</figcaption></figure><p>This trade-off is visualised in the figure above. A watermark that is designed completely for being inaudible will have a low data rate and won’t be very robust. A watermark designed for very high data rate will likely suffer in robustness and will be more audible. This illustrates that no perfect watermark exists. Rather, we may want to choose different watermark <em>configurations </em>that apply to different situations. At Intrasonics, we call these configurations <em>schemes</em>. Schemes are designed to select a trade-off that fits a certain scenario. Intrasonics offer a range of standard schemes that are suitable to common scenarios.</p><h3>Further reading</h3><p><a href="http://www.cs.utsa.edu/~jortiz/CS4953/Papers/Techniques%20for%20Data%20Hiding-p.pdf">Techniques for data hiding</a> (Bender et al., 1996)</p><p><a href="http://dns2.asia.edu.tw/~ysho/YSHO-English/2000%20Engineering/PDF/IEE%20Tra%20Ima%20Pro6,%201673.pdf">Secure Spread Spectrum Watermarking for Multimedia</a> (Cox et al., 1997)</p><p><a href="https://www.sciencedirect.com/science/article/pii/S1051200409000426">Robust Audio Watermarking using Improved TS Echo Hiding</a> (Erfani and Siahpoush, 2009)</p><p><a href="http://www.fim.uni-linz.ac.at/lva/Rechtliche_Aspekte/2001SS/Stegano/leseecke/echo%20data%20hiding%20by%20d.%20gruhl%20and%20w.%20bender.pdf">Echo Hiding</a> (Gruhl et al., 1996)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8db3de5d6e0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intrasonics/hiding-data-in-sound-c8db3de5d6e0">Hiding data in sound</a> was originally published in <a href="https://medium.com/intrasonics">Intrasonics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An overview of audio recognition methods]]></title>
            <link>https://medium.com/intrasonics/an-overview-of-audio-recognition-methods-e72ae059c071?source=rss----a70e50ad68d7---4</link>
            <guid isPermaLink="false">https://medium.com/p/e72ae059c071</guid>
            <category><![CDATA[audio]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[sound]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[audio-recognition]]></category>
            <dc:creator><![CDATA[Jerome Schalkwijk]]></dc:creator>
            <pubDate>Thu, 23 Aug 2018 16:00:07 GMT</pubDate>
            <atom:updated>2019-06-04T17:31:22.367Z</atom:updated>
            <content:encoded><![CDATA[<h3>Use cases</h3><p>Audio recognition is the discipline of establishing whether two audio clips are “the same”; that is, to <em>recognise </em>audio as something that’s already known. Some of the reasons why we might wish to do so are:</p><p>· <strong>Information retrieval</strong> — We all know the feeling of hearing a piece of music that we really like, and wondering what it is. If that information is not announced to us, we might be able to find out using audio recognition: <a href="https://www.shazam.com/">Shazam</a> is a well-known example of this use-case.</p><p>· <strong>Synchronisation </strong>— By recognising what audio is playing and how far into the track we are, a secondary device may synchronise with audio or video. This enables synchronised interactive experiences: for instance, a <a href="https://www.intrasonics.com/entertainment.html">TV show may offer a play-along quiz</a> for your smartphone, or a phone app might show synchronised lyrics during a concert.</p><p>· <strong>Determining audience </strong>— It is important for content creators and distributors to know the size of their audience. It is now possible for audience researchers to install <a href="https://www.intrasonics.com/broadcasters.html">audio recognition apps</a> onto volunteer’s phones. The app can determine what content is being heard and reports this back to the researchers.</p><p>· <strong>Copyright protection </strong>— To protect content creators, it is important for them to know who is distributing their material, and whether that material is properly licensed. Automated audio recognition solutions may help find their content in a wide range of media platforms and allow them to determine whether a licence is in place.</p><h3>Audio distortions</h3><p>In the previous section, the words “the same” were written in quotes. Intuitively, the concept of “the same” needs no explanation. For instance, we all easily recognise our favourite song on the radio when it comes on. So what is the difficulty with establishing whether two audio clips are the same?</p><p>In the digital world, we call two datasets identical if every bit in the two sets is identical. Digital audio is just a dataset. After all, audio, like everything else in the digital world, is represented by a set of bits. It is easily understood, however, that two audio clips that humans would refer to as “the same” may not comprise identical bits. For instance, if we store our favourite song in a wav file, it will comprise different bits than the same song stored in mp3 format. The bits will differ again between mp2, aac, flac, and so forth. Irrespective of the format, however, it remains the same song to us. When we refer to “audio recognition”, we must recognise this concept and create a digital solution that will identify audio in all these different formats as being “the same”.</p><p>As Intrasonics, we’ve set ourselves an even more ambitious goal. Intrasonics provides audio recognition that isn’t limited to the digital domain only. That is, we wish to recognise <em>ambient audio, </em>audio that is travelling through air. Most of us realise that our favourite song sounds different when played out of different speakers, or even when played out of the same speakers but in a different room. But to realise just how<em> </em>different our song is in these scenarios, let’s have a look at the <em>waveform</em> of our song. The <em>waveform </em>illustrates how amplitude (roughly: volume level) varies over short periods of time. A beat at a constant frequency, for instance, would show up as a series of peaks and troughs at regular intervals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hOwBpe1gsWgRA_aGiQn7A.png" /><figcaption>Waveform visualising the first 5 seconds of Amy Winehouse’s “Back to Black”.</figcaption></figure><p>The figure above shows the waveform of the first five seconds of Amy Winehouse’s “Back to Black”. The song’s rhythm is clearly visible. This waveform is created from the original, digital version of the song. Now let’s play this song through high-quality Tannoy speakers, and record the sound 150cm away from the speakers, with high quality recording equipment, without any noise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PmqzVDM4R5fHCrKUVNQ81w.png" /><figcaption>Waveform visualising the first 5 seconds of Amy Winehouse’s “Back to Black”, after playback and recording.</figcaption></figure><p>The first five seconds of the resulting recording is visualised in the waveform above. Although some of the strongest beats are clearly recognisable (compare the beats, for instance, 1.8 seconds into the track), some of the other characteristic features of the waveform have disappeared or have been smudged (compare the beats, for instance, 1.2 seconds into the track). Interestingly enough, if you’d listen to the original and the recording, you wouldn’t hear many differences, except for some general loss in audio quality.</p><p>A recording made by a mobile phone listening to the same track in a noisy environment, played from lower quality speakers, would show a waveform hardly recognisable as the same as that pictured above. It seems that our human ears and brains have developed techniques to mask out most of the sound distortions that happen in a normal environment. Even though the waveform might look very different, we can easily recognise the audio as being “the same”.</p><h3>Automated audio recognition</h3><p>So how do we automate audio recognition? In other words, how do we develop a computer system that identifies whether two tracks are similar enough to classify as “the same” to the human ear? It turns out that the computer science of determining whether two datasets are identical may be easy, but determining whether two datasets are alike is rather hard.</p><p>There are two main approaches to automated audio recognition: <em>active</em><strong><em> </em></strong>and <em>passive</em><strong><em> </em></strong>recognition, sometimes called <em>watermarking</em> and <em>fingerprinting</em>, respectively. Both of these approaches have their advantages and disadvantages. Intrasonics provides a solution for each of these approaches, as they each have their use cases, and can complement each other well.</p><h3>Watermarking</h3><p>Active recognition methods modify, or <em>watermark</em>, the original audio. The term watermarking refers to the long-standing method of adding a watermark to a text document. When an <em>audio watermark </em>is added to the original audio clip, a recognition system can look for the existence of this watermark in a second audio clip to determine whether the clips are the same.</p><p>Intrasonics have developed audio watermarking that is robust enough to persist through all forms of mp3, aac, mp2 or other compression. Furthermore, the watermarks are robust enough to persist even after playing audio through speakers and recording it. Our watermarking detection is, sensitive enough to pick up watermarks even in a noisy environment: the watermarks can be detected in the background music over a conversation, in the music of a shopping mall, or in a revving car.</p><p>An important difference between the traditional document watermarks and audio watermarks is their conspicuousness. Whereas it is acceptable for a document watermark to be visible (as long as it doesn’t impact the readability of the text), it is generally unacceptable for audio watermarks to be audible. Intrasonics’ watermarking technology is unique in that it is inaudible to the human ear, but can nevertheless easily be identified even in highly compressed media (for instance, Youtube, Netflix, etc).</p><p>One big advantage of watermarking is the ease of audio recognition. Once audio has been watermarked, the watermarks can easily be detected by phone, tablet, laptop or an embedded device. No internet or Bluetooth connectivity is required because audio does not need to be sent to a server: detection is local and off-line. Furthermore, detection requires very little processor effort, so it has negligible impact on the battery life of portable devices. Interested in more detail into how audio watermarking works? Read <a href="https://medium.com/intrasonics/hiding-data-in-sound-c8db3de5d6e0">our watermarking article</a>!</p><p>Watermarking is not possible in all use cases, however. In some cases one may not have the possibility to modify the original audio. This might be due to the original audio being already available to users, or because we wish to recognise audio controlled or distributed by a third party.</p><h3>Fingerprinting</h3><p>For such cases, audio <em>fingerprinting </em>may present a solution. Fingerprinting, sometimes also called “audio hashing”, is a form of <em>passive </em>recognition because it requires no modification of the source material. Instead, the goal is to recognise an audio clip by comparing it to a reference database of audio, and determining whether a match can be found.</p><p>The waveforms above clearly illustrate why direct comparison of the audio waveform is not effective. Instead, the audio is reduced to a <em>fingerprint</em>. The naming is chosen because an audio fingerprint functions much like a real fingerprint: it represents features of the audio which can be compared to a reference. By creating a database of audio references we’re interested in, we can compare an audio sample with these references to identify it, similar to how a forensic department might identify an individual from their fingerprint.</p><p>In cases where we’re looking to identify something specifically, for instance a movie, the reference database doesn’t need to be large. In these cases, it is possible to perform fingerprinting and reference look-up locally and off-line much like watermarking. However, in cases where the possibilities span a larger set of content, this approach becomes infeasible. In that case, the fingerprint is uploaded to a server that compares the fingerprint to references. The server then responds back with the result of the match, similarly to how Shazam performs music lookup.</p><p>Interested in more detail into how audio fingerprinting works? Read our <a href="https://medium.com/intrasonics/a-fingerprint-for-audio-3b337551a671">fingerprinting article</a>.</p><h3>Further reading</h3><p><a href="http://www.cs.utsa.edu/~jortiz/CS4953/Papers/Techniques%20for%20Data%20Hiding-p.pdf">Techniques for data hiding</a> (Bender et al., 1996)</p><p><a href="http://www.music.mcgill.ca/~ich/classes/mumt611_08/fingerprinting/cano02review.pdf">A review of algorithms for audio fingerprinting</a> (Cano et al., 2002)</p><p><a href="http://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf">An Industrial-Strength Audio Search Algorithm</a> (Wang, 2006)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e72ae059c071" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intrasonics/an-overview-of-audio-recognition-methods-e72ae059c071">An overview of audio recognition methods</a> was originally published in <a href="https://medium.com/intrasonics">Intrasonics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>