<?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[Stories by Hans-Martin (&quot;HM&quot;) Will on Medium]]></title>
        <description><![CDATA[Stories by Hans-Martin (&quot;HM&quot;) Will on Medium]]></description>
        <link>https://medium.com/@hmwill?source=rss-17cb302f142b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*x3ET6g_Q5vbK698n.</url>
            <title>Stories by Hans-Martin (&amp;quot;HM&amp;quot;) Will on Medium</title>
            <link>https://medium.com/@hmwill?source=rss-17cb302f142b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 20:57:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hmwill/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[That Music Production Copilot you are waiting for may not come any time soon…]]></title>
            <link>https://medium.com/@hmwill/that-music-production-copilot-you-are-waiting-for-may-not-come-any-time-soon-6192ea1a6987?source=rss-17cb302f142b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6192ea1a6987</guid>
            <category><![CDATA[music-production]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[ai-in-music]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[Hans-Martin ("HM") Will]]></dc:creator>
            <pubDate>Sat, 25 Nov 2023 19:23:46 GMT</pubDate>
            <atom:updated>2023-11-27T03:53:00.789Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PpucX1kX_YkauKYOLZGKCw.jpeg" /></figure><p>As we navigate through 2023, the landscape of generative AI in music has been rapidly evolving, with major players like <a href="https://www.musicbusinessworldwide.com/pink-floyd-david-gilmour-sony-music-debuts-generative-ai-project/">Sony Entertainment</a>, <a href="https://deepmind.google/discover/blog/transforming-the-future-of-music-creation/">Google (via DeepMind and YouTube)</a>, <a href="https://arxiv.org/abs/2306.05284">Meta</a> or <a href="https://musically.com/2023/11/17/startup-behind-grimess-ai-voice-clone-raises-4-6m-funding/">emerging startups</a> leading the charge. The spotlight, however, has been on creating complete tracks with minimal human intervention, leveraging vast datasets to train these AI systems.</p><p>Recently, I attended the <a href="https://audio.dev/conference/">Audio Developer’s Conference (ADC)</a> in London, a hub for professionals in audio and music software development. My mission was to gauge how the professional music software industry perceives the current wave of generative AI in music and its potential impact on the musician’s toolset for composition and music production.</p><p>Today, that toolset is called a Digital Audio Workstation (DAW), which has evolved over the past decades out of simpler MIDI and audio recording systems that started out in the late 80ies. Currently, this space is dominated by a few larger vendors offering products with rather overlapping (if not identical) feature sets. Since the late 90ies, functional gaps are commonly filled using so-called plugins, which are individual functional components provided by third parties providing additional forms of sound generation, audio processing, or automated control of parameters.</p><p><a href="https://medium.com/@hmwill/ai-in-music-production-heres-what-i-learned-f56612d8ed40">As I have written before</a>, a copilot for music composition and production would need to be deeply embedded into this toolset. It would require a deep understanding of the ongoing work, like existing melodies, harmonic progressions, and rhythmic patterns, to create complementary elements. It must also grasp the structure, emotional progression, and sonic language of the piece.</p><p>One of the fundamental questions here is how that integration of AI into the existing production workflow may be realized. <a href="https://a16z.com/the-future-of-music-how-generative-ai-is-transforming-the-music-industry/">As has been written elsewhere</a>, three main approaches to integrating AI into music production have emerged:</p><ol><li>Lightweight, browser-based tools focusing on specific steps in the production process, either before or after working in the traditional DAW environment.</li><li>Tools integrating into existing DAW and plugin architectures, often limited to single-track content due to architectural constraints.</li><li>Ambitious projects aiming to reinvent the DAW, overcoming the limitations of decades-old technology foundations.</li></ol><p>On the first point, at ADC, the most interesting take-away from the conference was the absence of session dedicated to browser-based production tools. For example, a year ago the then new Web Audio Modules 2.0 standard was presented, meant to become the foundation for a rich ecosystem of interoperable production tools. I will continue to monitor this space, which, from a technical perspective, has the potential for substantially overcoming many of the limitations of current toolsets.</p><p>On the second point, Josh Reiss’ keynote on the <em>“</em><a href="https://sched.co/1Pueo"><em>Commercialisation of audio technology</em></a><em>”</em> at Queen Mary University of London highlighted LANDR, an AI-assisted mastering service and DAW plugin. Originally aimed at mixing, LANDR shifted to mastering due to challenges with multi-track support across different DAWs. Companies like iZotope have addressed these challenges by creating proprietary back channels for their plugins, though this necessitates using their products exclusively for full AI context. Conversations with representatives from other vendors confirmed similar proprietary approaches taken.</p><p>Now, obviously, having vendors building their proprietary standards will not serve well customers, at least not in the long run. During several sessions dedicated to industry standards, I raised the issue of copilot scenarios across different software vendors. The consensus was that there is currently no initiative towards standardization in this area, which could hinder long-term customer satisfaction.</p><p>David Roland’s session, <em>“</em><a href="https://sched.co/1Pud4"><em>Why You Shouldn’t Write a DAW</em></a><em>,”</em> offered a detailed overview of the resources required to develop a DAW kernel (without UX) from scratch. David arrived at an overall estimate of 4,500 developer hours and an investment of £1.3M (approx. $1.64M; actually, a rather low number given the total number of engineering hours). For any start-up attempting to take this approach for delivering AI capabilities, this would be a quite significant investment just to meet undifferentiated, foundational customer expectations. He suggested licensing the Tracktion Engine for commercial product development as a more viable starting point and called out some of the extensions for AI-enablement he would consider.</p><p>In conclusion, despite the exciting possibilities of AI in music production, the journey towards a truly effective musical copilot for professionals is still unfolding. My impressions collected during this year’s ADC event indicate a longer wait before we see this technology fully integrated into our preferred DAWs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6192ea1a6987" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI in Music Production: Here’s what I Learned]]></title>
            <link>https://medium.com/@hmwill/ai-in-music-production-heres-what-i-learned-f56612d8ed40?source=rss-17cb302f142b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f56612d8ed40</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai-music-production]]></category>
            <category><![CDATA[ai-music-generator]]></category>
            <category><![CDATA[legal]]></category>
            <dc:creator><![CDATA[Hans-Martin ("HM") Will]]></dc:creator>
            <pubDate>Sat, 04 Nov 2023 18:30:32 GMT</pubDate>
            <atom:updated>2023-11-04T18:30:32.009Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the past few months, I have followed the topic of AI in Music more closely. Primarily motivated by personal interest in electronic music production, it has also been a great vehicle to take a closer look at the underlying generative AI technology while naturally narrowing the scope of literature to review.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zc4TOG0CkL2yAov-_s7SRw.jpeg" /></figure><p>I am now reaching my sixth month of this journey, and it feels like a good time to summarize some of my learnings and take-aways. BTW, I am not including all the pointers and references here backing up these points. Instead, you will find a lot of them in <a href="https://medium.com/@hmwill/ai-in-music-production-part-3-e59784c4d9d9">my previous blog series</a>:</p><ul><li><strong>Functional music (“muzak”) as beachhead:</strong> We see AI-generated music being first adopted in applications where music is playing a functional, secondary role, rather than being in the forefront. Examples are stock audio music for presentations and commercials, gaming audio, general background music. Interestingly enough, it is not so much the (currently!) lesser artistic quality of AI-generated music that is driving those areas of adoption. Instead, these are applications where one wants to <em>avoid paying royalties</em>, and it is actually <em>desirable to have music that comes across as familiar</em> rather than novel and surprising.</li><li><strong>We’ll see an oversupply of AI music generators:</strong> The more I am following this field, the more providers of AI-based tools for music production and music generators I am seeing. To a certain extent, I believe that is because music is an innate aspect of human nature, and therefore entrepreneurs are more likely to take on the risk that comes with creating a venture in this space. However, the end-state is likely going to be similar to the existing space of music technology, where we have a few larger platform vendors hosting content components (“plugins”) from many, many small vendors.</li><li><strong>Access to training data is key constraint:</strong> Overall, the community is lacking sufficiently large training sets of required depth and breadth to cover sufficiently broad musical spaces. In the language world, development of large language models was enabled by resources such as <a href="https://www.commoncrawl.org/">Common Crawl</a>, which are easily accessible even to small organizations. In addition, the question of what constitutes “fair use” when applied to language fragments tended to favor using crawled content over abstaining from it. In the case of music, the situation is a lot more complex. First, music tends to be locked up by a few large vendors inside pay-walled content platforms. Second, concerns of IP infringement are elevated because musical patterns that an AI may want to learn lend themselves more directly to being the reason an infringement claim.</li><li><strong>Gap between consumer- and pro-offerings:</strong> At present we can observe two major categories of applying AI in music production: 1. End-to-end generation of audio tracks, which requires only limited amount of input (e.g. textual prompts) and that is typically targeting a non-expert user. 2. Tools that integrate into the workflow of professionals, which target specific steps in the overall production process. This is also known as “Intelligent Music Production”. Between those two is an opportunity for AI-enabled composition and production tooling that can be used iteratively and interactively, and that becomes an intelligent partner and accelerator: <em>a copilot for making music</em>.</li></ul><p>With these factors at play, here’s a few opportunities for AI-based music technology that we are seeing.</p><ul><li><strong>Monitoring of IP violations:</strong> With concerns about IP so much in the center of the on-going discussion, an immediate opportunity is to use AI technology for audio content analysis to detect violations and opportunities for additional royalty collection. There are already vendors in this space covering some aspects, but there is an opportunity to cover larger parts of the overall value chain from musical motifs to TikTok videos.</li><li><strong>Providing a framework for fractional licensing and attribution:</strong> Coming from a different direction, one can conceive creating a framework that provides proper lineage and attribution of IP across the value chain. For example, for elements created using an AI model, fractional attribution may be given to the originators of the underlying training content to the extent it was applied. Technically, this would require an integration between models and content generation platforms to allow for required watermarking and tracing, for example using distributed ledger technologies.</li><li><strong>Providing a platform for AI-enabled music production:</strong> I’m coming back to the idea of a copilot for music production. In order for such a copilot to provide assistance throughout the creative process from idea to final production, it needs to have the ability to access it across all its constituent elements. For example, it needs to understand melodic, harmonic and rhythmic patterns across voices to understand their interactions and musical development. However, the current generation of Digital Audio Workstations (DAW), while providing plugin interfaces at the level of individual components to be inserted into individual tracks, does not provide such a view to external extensions. We’ve seen isolated workarounds: For example, iZotope’s mixing and mastering plugins use a separate back-channel to enable AI-assisted adjustments across tracks. But that capability is limited to tracks that have one of iZotope’s components present, and it only works for those specific tools by that one vendor. So, I posit that there is an opportunity to create and establish a technology and platform architecture that supersedes the current DAW design going back to the 90-ies (yes, that’s 30 years back).</li></ul><p>In parallel, here’s my take on how generative AI will affect and influence the success of human artists. To a certain extent, these are along trajectories that came with the general democratization of music production over the past two decades (“laptop artists”):</p><ul><li><strong>Standing out means breaking away from the crowd:</strong> With the barrier to creating music that sounds “professional” and “familiar” being lowered even further through the use of generative AI, the true opportunity for artists lies in standing out and providing something different than the average and established mainstream. Nothing really new here, but given that generative AI is creating artifacts driven by the center of gravity of statistical distributions — that is averages in the most direct sense — deviating from the common is the most effective way to overcome this competitive threat. That, of course, does not prevent an artist from using AI techniques as productivity enhancing tools.</li><li><strong>Performer and entertainer versus content generator:</strong> In addition, beyond creating content that is unique, it will be even more important to build a profile as performer and entertainer rather than mere content creator. We have reached a point where a single AI platform has over the course of a few months created more content than the overall inventory of one of the largest streaming services. So content in itself will be lost unless augmented by something else. Again, not a new trend, but a trend being exponentially accelerated by AI. Therefore, any form of building direct relationship with the audience as performer, entertainer or social media personality will ultimately shadow the quality of musical content alone.</li><li><strong>Developing true musical and entertainment skills more important than ever:</strong> And this previous point really leads to this last corollary. In order to stand out from the crowd as musician and being able to capture audiences, those underlying skills are the ones that will need to be continuously stretched and developed to stand out from the masses.</li></ul><p>Those these points above summarize my key takeaways from the past few months. Obviously, generative AI in music is a hot topic these days, and announcements and news are coming in daily. As such, we can look forward to many, exciting new developments in this space. However, it will be interesting to see to what extents those observations and insights above will hold or be invalidated. I am also looking forward to any comments or feedback you may have.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f56612d8ed40" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI in Music Production (Part 3)]]></title>
            <link>https://medium.com/@hmwill/ai-in-music-production-part-3-e59784c4d9d9?source=rss-17cb302f142b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e59784c4d9d9</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[musicais]]></category>
            <category><![CDATA[ai-music-generator]]></category>
            <category><![CDATA[future-of-music]]></category>
            <category><![CDATA[music-production]]></category>
            <dc:creator><![CDATA[Hans-Martin ("HM") Will]]></dc:creator>
            <pubDate>Wed, 21 Jun 2023 21:25:26 GMT</pubDate>
            <atom:updated>2023-06-23T06:40:31.641Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the third part of the mini-series on state-of-the-art, applications and impact of AI in music production. In this third part, we will be looking at how AI already has and continues to find its way into the musician’s creative process and production workflow. With pace of advancement that we see in Generative AI, we will also look at some of things we can expect or would like to see in the not-too-distant future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LuW-wvurwyBv-EUDA3i6aw.jpeg" /><figcaption>No AI or robots in this picture. We are interested in human ingenuity at the center of the creative process.</figcaption></figure><p>In case you have not seen them, the previous posts in this series were:</p><ol><li>Part I: Origins of AI, generative AI and examples for using generative AI in music. You can find <a href="https://medium.com/@hmwill/ai-in-music-production-part-1-c1bc3ed3d5bf">Part 1 here</a>.</li><li>Part II: Key approaches of the most recent AI technology wave, and specific additional techniques relevant to musical applications. You can find <a href="https://medium.com/@hmwill/ai-in-music-production-part-2-d20220aa1d76">Part 2 here</a>.</li></ol><p>As always, I am looking forward to any comments, discussion points or additional pointers you may have. Have fun!</p><h3>AI in Music Production Today</h3><p>AI has surely found its way into the contemporary music production setup. I mentioned the <a href="https://press.dittomusic.com/60-of-musicians-are-already-using-ai-to-make-music">recent online survey by Ditto</a>, a music distribution service, amongst more than 1200 of their users in Part 1 of this series. Nearly 60% of the participants, which are independent musicians, indicated that they would already be using AI within their music projects. 77% of the respondents indicated that they would use AI tools to create their album artwork, 66% for mixing and mastering their music, and 62% for music production. So, Mixing and Mastering is an area where AI &amp; ML have found quite some adoption.</p><h4>Mixing and Mastering</h4><p>Prominent example of production tools for mixing and mastering that incorporate AI are the <a href="https://www.izotope.com/en/products/music-production-suite.html">iZotope Production Suite</a> (with <a href="https://www.izotope.com/en/products/ozone.html">iZotope Ozone</a> for mastering, <a href="https://www.izotope.com/en/products/neutron.html">iZotope Neutron</a> for mixing, etc.). These tools have been trained on broad collections of audio material to match specific input signals against proposed processing recommendations. Those are then applied to what is essentially a traditional signal processing chain. The value proposition and suggested benefit of those tools is to provide cost-effective access to high-quality (“professional)” mixing and mastering to musicians, who may not have the required training (both listening skills and utilization of tools). For professionals, the AI support may streamline the initial setup and configuration. <a href="https://www.izotope.com/en/learn/izotope-brand-news.html">iZotope just recently became part of Native Instruments</a>, which only underlines their broad adoption and relevance.</p><p>Similarly, there is a growing portfolio of online services that are tapping into the same space. LANDR, for example, is building out an online music creation and collaboration platform that started out with a <a href="https://app.landr.com/library/masteringPreview">mastering service</a>. Similarly, <a href="https://dolby.io/products/music-mastering/">Dolby provides a mastering service</a> that can be integrated by third parties into their own applications. For example, Soundcloud, an online music and audio platform, <a href="https://soundcloud.com/you/mastering">integrates the Dolby Mastering Service</a> to get “your tracks release-ready” “for a fraction of the cost”.</p><p>We are also seeing an increasing number of products for audio effects processing, such as reverb, that integrate AI. Again, the idea is to help the user to determine best parameter settings based on the profile of the incoming signal. Examples are <a href="https://www.accentize.com/chameleon/">Accentize Chameleon</a>, or <a href="https://riviumsoftware.com/">Rivium AI</a>, or <a href="https://www.izotope.com/en/products/neoverb.html">iZotope Neoverb</a>. We will likely see smart selection of processing parameters finding their way into other audio processing tools as well.</p><h4>Sound Separation for Sampling and Remixing</h4><p>While AI for mixing and mastering was mostly about streamlining and ease of use, sound separation is an area that is truly enabled by AI. It is essentially the reverse of mixing and mastering, that is, extracting individual audio signals that have been mixed together with others (say, extract a vocal line from a finished song) or to remove certain processing that has been applied, such as echo or reverberation. Once isolated, those parts can be used for creating a remix or to incorporate into another production. Examples of such tools are <a href="https://audionamix.com/xtrax-stems/">Audionamix XTRAX STEMS</a>, <a href="https://hitnmix.com/remix-software/">Hit’n’Mix RipX</a>, <a href="https://www.lalal.ai/">lalal.ai</a>, <a href="https://fadr.com/">fadr.com</a>, or <a href="https://splitter.ai/">Splitter.ai</a>, the latter focusing on Karaoke. <a href="https://moises.ai/">Moises</a> specifically addresses scenarios for practicing an instrument.</p><p>Of course, because original creators will usually have access to the original audio material, those tools will be most useful for others who do not. In particular when in comes to incorporating others material, there’s been a <a href="https://www.latimes.com/archives/la-xpm-1989-08-06-ca-454-story.html">long</a>, <a href="https://dailytargum.com/article/2022/01/like-it-or-not-sampling-is-here-to-stay-why-music-is-made-better-with">on-going</a> <a href="https://www.theguardian.com/music/2022/aug/05/common-decency-beyonces-renaissance-sparks-debate-about-the-politics-of-music-sampling">debate</a> about whether sampling is <a href="https://berkeleyhighjacket.com/2022/entertainment/critisism-of-sampling-in-hip-hop-reveals-bias-in-the-industry/">art</a>, <a href="https://blog.landr.com/sampling-isnt-theft/">theft</a> or <a href="https://www.themsqshop.com/post/sampling-music-the-ever-looping-debate">laziness</a>. With ever-improving AI tools for sound separation, this debate will only continue… Of course, there are exceptions, such as <a href="https://www.npr.org/2023/06/13/1181906529/beatles-john-lennon-voice-song-ai">recovering John Lennon’s voice for finishing a Beatle’s song posthumously</a>. Which opens other ethical questions about creative ownership and control past one’s own demise.</p><h4>Voice Synthesis, Virtual Singers and Digital Replica</h4><p>Synthesis of spoken language as used, for example by digital assistants such as Alexa, Siri or the Google Assistant, was transformed by AI techniques to become ever more realistic and human-like. The same underlying techniques have since been evolved where human singing voice can be simulated with a high degree of realism and expressiveness. The progress can be appreciated when, for example, comparing a <a href="https://www.youtube.com/watch?v=udpqzT7bpRw">Vocaloid Reel from 3 years ago</a>, with <a href="https://on.soundcloud.com/cqJpn">an emotional cover song</a> recreated using contemporary approaches and AI models.</p><p>This latter example was created using a software called <a href="https://dreamtonics.com/synthesizerv/">Synthesizer V by Dreamtonics</a>. Synthesizer V received a lot of publicity in 2022 when the <a href="https://www.eclipsedsounds.com/solaria">SOLARIA voice was released</a>, which is based on a real artist, <a href="https://www.emmarowleymusic.com/about">Emma Rowley</a>. The creation of the SOLARIA voice was initially crowdfunded via Indiegogo. More recently, we have seen quite a debate around distinction between the creative performance of a human artist and the utilization of a model. In this case here, even though the voice is based on a human’s recorded voice, music created using the AI model should credit SOLARIA rather than referring to Ms. Rowley. At the same time, the artist was <a href="https://www.emmarowleymusic.com/post/new-virtual-singer-solaris-is-officially-funded">actively involved in the creation of the model</a>.</p><p>This is rather different from building a model replicating an artists voice without their permission. For example, recently a track <a href="https://www.nytimes.com/2023/04/19/arts/music/ai-drake-the-weeknd-fake.html">“Heart on My Sleeve” that used synthetic replica of the voices of Drake and the Weeknd</a> went viral on music streaming platforms before being taken down. Even when there is consent, there are still questions about the appropriate licensing and revenue model when AI is trained on data derived and traceable back to individuals. Grimes’ experiment <a href="https://www.nytimes.com/2023/05/24/arts/music/grimes-ai-songs.html">inviting the use of building an AI imitation in exchange for a 50% revenue</a> share is just one example of possible approaches.</p><p>At a <a href="https://lu.ma/aimusic">panel discussion on AI &amp; Music at the FYI campus in Hollywood</a> that was organized as part of the 2023 LA Tech Week, <a href="http://will.i.am/">will.i.am</a>, both event host via <a href="https://fyi.fyi/team/">FYI</a> and panel member, predicted that in the future artists would want to invest into building their own model that would encompass all of an artist’s creative input and potential. He has been a proponent of this vision for a long time, <a href="https://www.youtube.com/watch?v=CUFsQ5lTo6g">even depicting it in a video as far back as 2010</a>, prior to the big breakthroughs of Deep Learning. Through FYI, will.i.am is personally engaged in <a href="https://uproxx.com/technology/william-fyi-ai-messenger-launch/">bringing AI to the creative process</a>.</p><h3>Generative AI for the Creative Process</h3><p>Generative AI, which creates text, images, and audio using textual descriptions, so-called prompts, has taken the world by storm and is very much at the core of the current AI hype. I have covered examples and some of the core technology concepts in <a href="https://medium.com/@hmwill/ai-in-music-production-part-1-c1bc3ed3d5bf">Part 1</a> and <a href="https://medium.com/@hmwill/ai-in-music-production-part-2-d20220aa1d76">Part 2</a> of this series. In a nutshell, one can say that there are 3 important ingredients that AI technology provides us with:</p><ol><li>Learning the rules, including exceptions, that make up a structure. This is what language models do for spoken or written language, and it is how Music Language Models can capture specific aspects of cultures, musical genres, or composers and artists.</li><li>Reducing complex spaces to a set of essential dimensions and parameters that capture the essence and allow to traverse and recreate the original universe.</li><li>Drive the quality of generated output to levels that are indistinguishable from “true” examples.</li></ol><p>In addition, the current wave of large language models allows us to intuitively interact with AI systems by simply saying what we mean and iterate and clarify within a natural dialogue. Not only that, but with multi-modal models we can even provide non-verbal information, such as audio snippets or even relevant visual cues. So then, here’s a few tools that we can expect to see in the near future:</p><ol><li><strong>Finding and creating new sounds based on prompts and examples:</strong> Rather than having to sift through large collections of recordings of sounds (“samples”) or endless list of parameter settings for synthesizers (“patches”), we can envision an iterative approach to sound design. We start by describing the kind of sound we are looking for, and we can iteratively refine it by simply saying what we mean. We could even start out by providing an acoustic example: “Give me a drum sound like the one here, but…”. Or, we could ask the system to find suitable sounds that complement what we already have, given knowledge of certain genres and styles, for example.</li><li><strong>Interactively building rhythms, harmonies and melodies:</strong> Rather than relying on rule-based systems or collections (like currently available virtual drummers or virtual keyboarders), again, we can envision an interactive and iterative process to create song elements. Because a Music Language Model understands the “internal language” and natural structure of possibly a very large body of works, we can look forward to fluid exploration of creative space. Again, we will be able to adjust elements of the generated material through additional verbal descriptions, or we can provide melodic and other tonal snippets that will be seamlessly integrated into the composition process.</li><li><strong>Building song structures and arrangements, including transitions and the overall emotional journey:</strong> These are same concepts as above, just applied to the highest level of abstraction. In addition, we can envision providing references in more abstract form. For example, the overall structure and emotional journey may be derived from a video clip. Or, for example, lyrics and music can influence each other and be converged towards a common outcome. We may provide a few examples and ask the AI to create outcomes in a certain, abstract “style” that is embodied in the provided examples.</li></ol><p>Overall, these previous examples are not too distinct from how artists with different skills sets would collaborate with each other. As such, generative AI my find a place as natural, additional partner in the overall creative process among a group of individuals.</p><h3>Summary</h3><p>The continued evolution of generative AI and the emergence of multi-modal systems combining picture, language and sound will surely brings us more exciting capabilities in the near future. Beyond the technological evolution, it will be even more interesting to see how the artist community is going to adopt and integrate those possibilities in their creative process. As we have seen with the impact of sampling or digital audio processing, we may see the emergence of complete new musical genres. At the same time, there is going to be continued discussion about the nature of artistic creation and expression, and how to attribute and credit contributions by previous generations of artists that have influenced or been incorporated into newly created works.</p><p>This post concludes this mini-series of articles providing an overview of AI in music production. I will continue to write further articles that will focus on specific topics within this broader space, touching on creative aspects, ethical considerations, new products and technologies, and impact on affected industries in general. Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e59784c4d9d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI in Music Production (Part 2)]]></title>
            <link>https://medium.com/@hmwill/ai-in-music-production-part-2-d20220aa1d76?source=rss-17cb302f142b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d20220aa1d76</guid>
            <category><![CDATA[music-technology]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[music-production]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Hans-Martin ("HM") Will]]></dc:creator>
            <pubDate>Wed, 14 Jun 2023 19:59:00 GMT</pubDate>
            <atom:updated>2023-06-15T01:25:38.015Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e2gCzis_aXI1-6sxpG8g-Q.png" /></figure><p>This is the second part of the mini-series on state-of-the-art, applications and potential impact of AI in music production.</p><p>The outline of the overall mini-series is as follows:</p><ol><li>Part I: Origins of AI, generative AI and examples for using generative AI in music. In case you missed it, you can find <a href="https://medium.com/@hmwill/ai-in-music-production-part-1-c1bc3ed3d5bf">Part 1 here</a>.</li></ol><p>2. Part II (this here): Key approaches of the most recent AI technology wave, and specific additional techniques relevant to musical applications</p><p>3. Part III: Potential AI applications along the music production workflow and future outlook</p><p>As I am writing this second part, I realize that it is somewhat challenging to talk about AI technology <strong>and</strong> music without assuming too much about the reader’s background; regarding AI as much as music and sound processing. So, hopefully, what’s following here is useful as a kind of translation and juxtaposition of how certain techniques correspond to musical concepts.</p><h3>Key AI Concepts relevant to Processing Music</h3><p>There are a few types of neural network architectures that are of particular importance for music applications.</p><h4>Convolutional Neural Networks</h4><p><a href="https://en.wikipedia.org/wiki/Convolutional_neural_network">Convolutional Neural Networks</a> (CNN) apply to data and information that has a natural 1- or higher-dimensional organization. For example, audio streams can be represented as a series of samples, or digital images have a representation as 2-dimensional arrangement of same-sized, square pixels. Given a specific time point in the case of audio or a specific pixel in the case of an image, a convolution operation caluclates a weighted average for that location using a small neighborhood. We may consider, for example, 5 time points before and after the time of interest when calculating such a weighted sum. Or, we may decide to consider the square 3 pixels left, right, up and down relative to our pixel of interest as its neighborhood. The weights that are used in this operation are then called a kernel.</p><p>These operations that compute weighted sums using kernels are quite similar to applying a filter in the sense of traditional digital signal processing. The key addition that neural networks provide is that the specific values of the kernel are not specified ahead of time but rather learned as part of the training process. And because filters allow us to extract certain properties of the incoming signal, what we have are trainable extractors and detectors. CNNs also provide so-called pooling layers, which aggregate the incoming signal or image to a lower resolution. This corresponds to down sampling a signal in traditional processing.</p><p>There is also a conceptual inverse of computing a convolution, which is called a <a href="https://towardsdatascience.com/what-is-transposed-convolutional-layer-40e5e6e31c11">transposed convolution</a>. Transposed convolutions can be used to transform a filtered signal back to the original input. Like the convolution kernel, the vector of weights defining the transposed convolution are typically learned as part of a training process. We find transposed convolutions commonly in so-called decoders, which transform an internal representation of a signal back to its external form. For example, in the music setting, a decoder would transform an internal representation back to an audio waveform that can then be played back and listened to.</p><h4>Recurrent Networks</h4><p><a href="https://en.wikipedia.org/wiki/Recurrent_neural_network">Recurrent Neural Networks</a> (RNN) are networks that include cycles in their network topology. This creates a feedback loop that allows the network to learn dependencies over time. To a certain extent, these feedback loops are similar to feedback lines used in traditional signal processing for the purpose of creating delay, echo, chorus or phaser effects. However, for each of these effects, it is primarily the time delays and the amount of feedback that is influencing the overall result, and additional processing on the signal being fed back is rather secondary. For RNNs, there is a fixed size loop in the system, but the specific processing, which may include certain forms of memory, are learned through training.</p><p>A specific sub-family of networks adds explicit gated memory, and the rules to update and use memory state are part of the training process. The most well-known network type with gated memory is <a href="https://en.wikipedia.org/wiki/Long_short-term_memory">long short-term memory</a> (LSTM) networks, and a second popular type is <a href="https://en.wikipedia.org/wiki/Gated_recurrent_unit">gated recurrent units</a> (GRU). With gated memory, we gain two important properties: (i) There is explicit state that the system is maintaining over time (“memory”). (ii) There is control in the system when this state is being updated (“gated”). Thus, in principle, such a system can learn rules involving time and incoming signal properties. It is therefore not surprising that recurrent networks have been used extensively for the generation of melodies and other audio or music patterns.</p><p>RNNs have been successfully used for speech synthesis, and the underlying models, such as WaveNet <a href="http://arxiv.org/abs/1609.03499">(van den Oord et al. 2016)</a>, can be adapted to general sound synthesis [<a href="http://arxiv.org/abs/1910.12381">(Zhao et al. 2019)</a>]. In addition, LSTMs have been used for speech recognition, and as such can be used for sound analysis and classification. As direct application to music processing, LSTMs have been used for building emulations of guitar amplifiers and effects [<a href="https://www.mdpi.com/2076-3417/10/3/766/htm">(Wright et al. 2020)</a>] by directly learning a transfer function from input to output signal. <a href="https://guitarml.com/">GuitarML </a>is a project site collecting a few audio processors created using such networks.</p><h4>Variational Autoencoders</h4><p><a href="https://en.wikipedia.org/wiki/Variational_autoencoder">Variational Autoencoders</a> (VAE) were proposed as an approach to learn a smooth, lower-dimensional representation (mathematically: a manifold) of the space represented by a training data set [<a href="http://arxiv.org/abs/1312.6114v11">(Kingma and Welling 2013)</a>]. VAE consists of two parts: An encoder network that maps an input example to a lower-dimensional parameter space, and a decoder network that is trained to recreate the example from the lower-dimensional parameters. During the training process, noise is being added in a controlled form to ensure that the mapping is smooth, that is, small changes to parameters results in small changes in the generated output. Once trained, the decoder can be used to generate output based on a set of parameters provided by the user. Because the mapping is smooth, it is possible to traverse a path in the parameter space, which results in continuous, smooth changes to the generated output. Therefore, it is possible to control parameters through envelopes or automation.</p><p>For example, RAVE (<a href="https://forum.ircam.fr/projects/detail/rave/">project</a>, <a href="https://forum.ircam.fr/projects/detail/rave-vst/">VST</a>, <a href="https://forum.ircam.fr/projects/detail/nn/">Max</a>) [<a href="http://arxiv.org/abs/2111.05011">(Caillon and Esling, 2021)</a>] is a real-time audio synthesizer and synthesize plug-in that is trained on audio material to construct a low-dimensional parameter space. Once trained, it can synthesize audio signals from parameter values and transitions between them. For example, if the parameter values are derived from another audio signal, this system performs real-time style transfer, such as converting an audio signal from one instrument to another.</p><h4>Generative Adversarial Networks</h4><p><a href="https://en.wikipedia.org/wiki/Generative_adversarial_network">Generative Adversarial Networks</a> (GAN) were originally proposed by <a href="https://arxiv.org/abs/1406.2661">Goodfellow et al (2014)</a>. Training a GAN works by training two networks in parallel: A generator is learning to generate artifacts such as an image or a waveform that mimics the distribution of examples provided as training data. Often, the generator will learn to generate output as a function from a latent distribution or parameter space. The discriminator, in turn, is trained to distinguish generated output from real examples. By training these two networks together, the generator is learning to “fool” the discriminator. This process has the goal that ultimately content generated cannot be distinguished from the provided training data just by looking at the artifact itself.</p><p>GANs are therefore a common building block for creating “realistic” high-fidelity output. In the case of music applications, <a href="https://arxiv.org/abs/2111.05011">RAVE</a>, for example, is using a GAN stage as part of its training for achieving high-quality synthesis results.</p><h4>Transformer Models and Language Models</h4><p><a href="https://en.wikipedia.org/wiki/Transformer_(machine_learning_model)">Transformer models</a> were originally proposed by <a href="https://arxiv.org/abs/1706.03762">Vazvani et al. (2017)</a> as architecture for machine translation and form the underlying technology for <a href="https://en.wikipedia.org/wiki/Large_language_model">large language models</a>. Transformers have been applied in other areas as well, including computer vision and as a key component of AlphaFold 2, which can predict the 3D structure of a protein based on the sequence of amino acids making up the molecule. In the case of machine translation, transformer networks learn to map a sequence in an input language to a sequence in an output language. In this setting, the overall network can be split into an encoder stage that creates a latent representation of the input, and a decoder stage that is trained to predict the next symbol of the output based on the input sequence and the output that has been generated thus far.</p><p>For language models for a single language (or across multiple languages, but outside the realm of machine translation), transformers are trained to backfill symbols or words that have been masked away (“fill in the blanks”). This approach allows to train transformer networks using semi-supervised learning: Instead of costly data labeling, one can simply utilize a large corpus of relevant example data (such as a web crawl) and create individual training examples by masking away input and using the unmasked version as ground truth.</p><p>Key building block of transformer networks is so-called attention, which allows the network to learn interdependencies between different elements of the sequence, even if those are not in direct proximity. This is a key differentiator to CNN architectures, where the neighborhood is fixed. In the case of natural language, attention allows transformer networks to learn grammatical dependencies within a sentence, semantic and contextual carryover across sentences, or the ability to rhyme. This ability to learn and represent long-distance relationships sets transformers apart from recurrent networks.</p><p>For musical applications, transformers have been used for learning and generating melodic patterns and accompaniments [<a href="http://arxiv.org/abs/1809.04281">(C.-Z. A. Huang et al. 2018)</a>]. Transformers serve as the foundation for several systems aiming to generate end-to-end music based on textual prompts by virtue of “music language models”. Key examples include Google’s MusicLM [<a href="http://arxiv.org/abs/2301.11325">(Agostinelli et al. 2023)</a>] and MusicGen out of Meta [<a href="http://arxiv.org/abs/2306.05284">(Copet et al. 2023)</a>]. MusicLM builds on an earlier transformer-based model called AudioLM [<a href="http://arxiv.org/abs/2209.03143">(Borsos et al. 2022)</a>], which uses a hierarchical approach to represent semantic patterns, coarse acoustic patterns and fine acoustic patterns. MusicLM expands AudioLM by conditioning the generation process on textual descriptions and other signals, such as melody. MusicGen, as well, utilizes a transformer-based decoder conditioned on a text or melody representation. Given the importance but also complexity of these models, I plan to write a dedicated, separate article about music language models.</p><h3>Music-specific Techniques</h3><p>This section collects a few prominent techniques utilized for synthesizing audio signals.</p><h4>Spectral Processing via Short-term Fourier Transform</h4><p>A <a href="https://en.wikipedia.org/wiki/Fourier_transform">Fourier Transform</a> (FT) converts a representation of a signal over time, say, as a sequence of sample values, into a representation in frequency space: amplitudes and phases of sinoid waves. However, the traditional FT is “fixed” in the sense that the full signal is converted into a single vector of frequency phases and amplitudes. This, however, makes it difficult to apply an FT to a longer or even continuously playing audio signal. Interactive and real-time applications become impossible. For these kinds of applications it is desirable to apply FT to smaller fragments of the signal, but in a way that allows them to properly “stitch together”. A way to do this is <a href="https://en.wikipedia.org/wiki/Short-time_Fourier_transform">Short-Term Fourier Transform</a> (STFT).</p><p>STFT applies Fourier transformation using a window sliding over a longer recording to create a <a href="https://en.wikipedia.org/wiki/Spectrogram">spectrogram</a> that captures the magnitude and phase of frequency components over time. In the discrete case, the data to be transformed is broken up into chunks or frames, which usually overlap each other to reduce artifacts at the boundary. Each chunk is then Fourier transformed, and the complex result is appended to form a matrix, which records magnitude and phase for each point in time and frequency. A specific form of STFT is computing a MEL spectrogram, which represents frequencies on the <a href="https://en.wikipedia.org/wiki/Mel_scale">mel scale</a>. The mel scale uses a unit of pitch such that equal distances within this scale sound equally distant to the listener, and it is particularly useful for applications modeling how a sound is perceived by a human (for example speech recognition) [<a href="https://pubs.aip.org/asa/jasa/article/8/3_Supplement/208/716666/A-Scale-for-the-Measurement-of-the-Psychological">(Volkmann, Stevens, and Newman 1937)</a>].</p><p>With STFT, music can be condensed into a representation that requires a lot less time points per second compared to raw audio. Therefore, quite a few systems utilize spectrograms obtained via STFT as internal representation where musical and sonic patterns are learned, which are then transformed into high-fidelity audio using an appropriate decoder stage.</p><h4>Resynthesis</h4><p>Resynthesis approaches aim to derive control parameters for a given synthesis engine with the aim of reproducing sounds as presented during training of the underlying ML model. For example, an ML model can be constructed to derive parameters for a concrete synthesizer engine such as the <a href="https://en.wikipedia.org/wiki/Yamaha_DX7">Yamaha DX7</a> in order to match example sounds provided as audio data [<a href="http://arxiv.org/abs/2208.06169">(Caspe, McPherson, and Sandler 2022)</a>]. Effectively, the ML is learning the inverse synthesis function, which maps resulting audio to synthesis parameters. In order for such approaches to work, it is necessary to have a differentiable mathematical model of the synthesis process, which can be plugged into the optimization process underlying ML model training.</p><h4>Differential Digital Signal Processing</h4><p>A specific kind of synthesis is <a href="https://en.wikipedia.org/wiki/Additive_synthesis">additive synthesis</a>, where the amplitude of a fundamental frequency alongside the harmonics are controlled directly. Differential Digital Signal Processing (DDSP) is a technique proposed by [<a href="http://arxiv.org/abs/2001.04643">(Engel et al. 2020)</a>], which combines additive synthesis with filtered noise. Within this framework, the ML model is tasked to predict a fundamental frequency and relative amplitudes of the harmonics for the additive part alongside amplitude and filter parameters for the noise component. More specifically, the ML model will generate time series for all these parameters to describe the formation of a sound over time.</p><h4>Predicting Sample-by-Sample</h4><p>The most general and fundamental approach to generating audio is to have an ML model create a direct sequence of signal amplitudes (“samples”) over time. For high quality output, this implies that the model needs to create a series of amplitude values at a frequency of 44.1KHz or higher. The most prominent method in this category is probably WaveNet [<a href="http://arxiv.org/abs/1609.03499">(van den Oord et al. 2016)</a>], which was proposed and has been used as the foundation for speech synthesis engines. For practical implementations, output amplitudes are commonly represented using a 1-hot encoding. This means that, say, an amplitude range of 0 to 255 is represented using a binary vector with 256 components, where only one vector component corresponding to the selected value is set to 1, while all other values are set to zero. For a higher resolution, such as 16-bit with 216 = 65,536 different values, this amounts to the ML model creating output vectors of dimension 216, which can be computationally expensive and more difficult to train. For this reason, such approaches tend to either predict amplitudes with less precision (and thus higher noise components). A compromise is using non-linear scales to represent amplitude, such as exponential mappings.</p><h3>Next</h3><p>Having discussed key techniques in current AI and music processing, I will focus on applications and implications of all of this in the next part of this series. Stay tuned!</p><h3>References</h3><p>Agostinelli, Andrea, Timo I. Denk, Zalán Borsos, Jesse Engel, Mauro Verzetti, Antoine Caillon, Qingqing Huang, et al. 2023. “MusicLM: Generating Music From Text.” <em>arXiv [cs.SD]</em>. arXiv. <a href="http://arxiv.org/abs/2301.11325">http://arxiv.org/abs/2301.11325</a>.</p><p>Borsos, Zalán, Raphaël Marinier, Damien Vincent, Eugene Kharitonov, Olivier Pietquin, Matt Sharifi, Olivier Teboul, David Grangier, Marco Tagliasacchi, and Neil Zeghidour. 2022. “AudioLM: A Language Modeling Approach to Audio Generation.” <em>arXiv [cs.SD]</em>. arXiv. <a href="http://arxiv.org/abs/2209.03143">http://arxiv.org/abs/2209.03143</a>.</p><p>Caillon, Antoine, and Philippe Esling. 2021. “RAVE: A Variational Autoencoder for Fast and High-Quality Neural Audio Synthesis.” <em>arXiv [cs.LG]</em>. arXiv. <a href="http://arxiv.org/abs/2111.05011">http://arxiv.org/abs/2111.05011</a>.</p><p>Caspe, Franco, Andrew McPherson, and Mark Sandler. 2022. “DDX7: Differentiable FM Synthesis of Musical Instrument Sounds.” <em>arXiv [cs.SD]</em>. arXiv. <a href="http://arxiv.org/abs/2208.06169">http://arxiv.org/abs/2208.06169</a>.</p><p>Copet, Jade, Felix Kreuk, Itai Gat, Tal Remez, David Kant, Gabriel Synnaeve, Yossi Adi, and Alexandre Défossez. 2023. “Simple and Controllable Music Generation.” <em>arXiv [cs.SD]</em>. arXiv. <a href="http://arxiv.org/abs/2306.05284">http://arxiv.org/abs/2306.05284</a>.</p><p>Engel, Jesse, Lamtharn Hantrakul, Chenjie Gu, and Adam Roberts. 2020. “DDSP: Differentiable Digital Signal Processing.” <em>arXiv [cs.LG]</em>. arXiv. <a href="http://arxiv.org/abs/2001.04643">http://arxiv.org/abs/2001.04643</a>.</p><p>Goodfellow, Ian J., Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. 2014. “Generative Adversarial Networks.” <em>arXiv [stat.ML]</em>. arXiv. <a href="https://arxiv.org/abs/1406.2661">https://arxiv.org/abs/1406.2661</a></p><p>Huang, Cheng-Zhi Anna, Ashish Vaswani, Jakob Uszkoreit, Noam Shazeer, Ian Simon, Curtis Hawthorne, Andrew M. Dai, Matthew D. Hoffman, Monica Dinculescu, and Douglas Eck. 2018. “Music Transformer.” <em>arXiv [cs.LG]</em>. arXiv. <a href="http://arxiv.org/abs/1809.04281">http://arxiv.org/abs/1809.04281</a>.</p><p>Huang, Qingqing, Aren Jansen, Joonseok Lee, Ravi Ganti, Judith Yue Li, and Daniel P. W. Ellis. 2022. “MuLan: A Joint Embedding of Music Audio and Natural Language.” <em>arXiv [eess.AS]</em>. arXiv. <a href="http://arxiv.org/abs/2208.12415">http://arxiv.org/abs/2208.12415</a>.</p><p>Kingma, Diederik P., and Max Welling. 2013. “Auto-Encoding Variational Bayes.” <em>arXiv [stat.ML]</em>. arXiv. <a href="http://arxiv.org/abs/1312.6114v11">http://arxiv.org/abs/1312.6114v11</a>.</p><p>Liu, Haohe, Zehua Chen, Yi Yuan, Xinhao Mei, Xubo Liu, Danilo Mandic, Wenwu Wang, and Mark D. Plumbley. 2023. “AudioLDM: Text-to-Audio Generation with Latent Diffusion Models.” <em>arXiv [cs.SD]</em>. arXiv. <a href="http://arxiv.org/abs/2301.12503">http://arxiv.org/abs/2301.12503</a>.</p><p>Oord, Aaron van den, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. 2016. “WaveNet: A Generative Model for Raw Audio.” <em>arXiv [cs.SD]</em>. arXiv. <a href="http://arxiv.org/abs/1609.03499">http://arxiv.org/abs/1609.03499</a>.</p><p>Rombach, Robin, Andreas Blattmann, Dominik Lorenz, and Patrick Esser Bjorn Ommer. n.d. <em>Latent-Diffusion: High-Resolution Image Synthesis with Latent Diffusion Models</em>. Github. Accessed April 26, 2023. <a href="https://github.com/CompVis/latent-diffusion">https://github.com/CompVis/latent-diffusion</a>.</p><p>Vaswani, Ashish, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Ł. Ukasz Kaiser, and Illia Polosukhin. 2017. “Attention Is All You Need.” In <em>Advances in Neural Information Processing Systems 30</em>, edited by I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, 5998–6008. Curran Associates, Inc. Also: <a href="https://arxiv.org/abs/1706.03762">[1706.03762] Attention Is All You Need (arxiv.org)</a>.</p><p>Volkmann, J., S. S. Stevens, and E. B. Newman. 1937. “A Scale for the Measurement of the Psychological Magnitude Pitch.” <a href="https://pubs.aip.org/asa/jasa/article/8/3_Supplement/208/716666/A-Scale-for-the-Measurement-of-the-Psychological"><em>The Journal of the Acoustical Society of America</em> 8 (3): 208–208</a>.</p><p>Wright, Alec, Eero-Pekka Damskägg, Lauri Juvela, and Vesa Välimäki. 2020. “Real-Time Guitar Amplifier Emulation with Deep Learning.” <a href="https://www.mdpi.com/2076-3417/10/3/766/htm"><em>NATO Advanced Science Institutes Series E: Applied Sciences</em> 10 (3): 766</a>.</p><p>Zhao, Yi, Xin Wang, Lauri Juvela, and Junichi Yamagishi. 2019. “Transferring Neural Speech Waveform Synthesizers to Musical Instrument Sounds Generation.” <em>arXiv [eess.AS]</em>. arXiv. <a href="http://arxiv.org/abs/1910.12381">http://arxiv.org/abs/1910.12381</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d20220aa1d76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI in Music Production (Part 1)]]></title>
            <link>https://medium.com/@hmwill/ai-in-music-production-part-1-c1bc3ed3d5bf?source=rss-17cb302f142b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1bc3ed3d5bf</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[creative-process]]></category>
            <category><![CDATA[generative-ai]]></category>
            <dc:creator><![CDATA[Hans-Martin ("HM") Will]]></dc:creator>
            <pubDate>Wed, 07 Jun 2023 17:26:26 GMT</pubDate>
            <atom:updated>2023-07-30T13:01:38.579Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fmFERrB_daH6KY8UA3HQVg.png" /></figure><p><em>This is the first part of a mini-series on state-of-the-art and potential of AI for music composition and production.</em></p><h3>Introduction</h3><p>Having worked for about two decades in the areas of Machine Learning and Big Data, I became recently interested in the potential of AI for music production. Creating music, particularly using electronic instruments, has been a long-term passion of mine, going back to my high-school years. So, when the impact of AI on producing music came up the other day chit chatting with a music professional after finishing a track, I decided to take a closer look at state of the art of technology, potential applications and longer-term impact. Specifically, for this series, I want to focus on opportunities for AI supporting and being integrated into the creative process. I am looking less at end-to-end generation of music to provide background tracks for movies, presentations and games, albeit there is a lot of activity and potential in those areas as well.</p><p>While the overall field is obviously still in its infancy, there’s already indications that music creatives will be open to adopting AI technology and tools. As one data point, Ditto, a music distribution service, <a href="https://press.dittomusic.com/60-of-musicians-are-already-using-ai-to-make-music">conducted an online survey</a> amongst more than 1200 of its users in early 2023. Nearly 60% of the participants, which are independent musicians, indicated that they would already be using AI within their music projects. 77% of the respondents indicated that they would use AI tools to create their album artwork, 66% for mixing and mastering their music, and 62% for music production. However, only 47% said that they would use AI for their songwriting, and 28% stated that they would not use AI for any music purposes.</p><p>The tentative outline of this mini-series is as follows:</p><ol><li>Part I (this here): Origins of AI, generative AI and examples for using generative AI in music</li></ol><p>2. <a href="https://medium.com/@hmwill/ai-in-music-production-part-2-d20220aa1d76">Part II</a>: Key approaches of the most recent AI technology wave, and specific additional techniques relevant to musical applications</p><p>3. <a href="https://medium.com/@hmwill/ai-in-music-production-part-3-e59784c4d9d9">Part III</a>: Potential AI applications along the music production workflow and future outlook</p><p>I hope you will find it’s useful, and I’d be looking forward to any comments, discussion points or additional pointers you may have.</p><h3>Origins of AI</h3><p>Artificial Intelligence (AI) as a discipline has existed almost as long as electronic computers and has been an umbrella term for various techniques aiming to build a thinking machine. In particular, the field has been for a long time divided into <a href="https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence">Symbolic AI</a>, which favored rule-based systems grounded in logical reasoning and formal methods, and connectionist approaches, which aim to mirror the network structure found in biological brains.</p><p>For the longest time, formal approaches dominated the field: We had <a href="https://en.wikipedia.org/wiki/Formal_grammar">formal grammar</a> dominating language processing into the early 90-ies of the last century, “logical programming” giving us programming languages such as <a href="https://en.wikipedia.org/wiki/Prolog">Prolog</a>, <a href="https://en.wikipedia.org/wiki/Expert_system">expert systems</a> providing rule-based assistance in specialty fields, and last but not least, knowledge graphs and the notion of a semantic web, which seem to have a revival even in most recent years. Rule-based approaches have been quite popular for musical applications: For example, musical instruments (<a href="https://en.wikipedia.org/wiki/Audio_plug-in">“plug-ins”</a>) that emulate not only sound but also playing style — such as virtual drummers, guitarists or keyboard players — often contain libraries of drumming or strumming patterns and associated rule sets of how to transition between them. An early example of PC software going into more exploratory territory was <a href="https://en.wikipedia.org/wiki/Laurie_Spiegel">Laurie Spiegel’s <em>Music Mouse</em></a> back in the 80-ies, which wrapped built-in knowledge of chord and scale convention and stylistic constraints into an easy-to use graphical user interface (GUI).</p><p>The connectionist approach was first formulated with the proposal of the <a href="https://en.wikipedia.org/wiki/Perceptron">Perceptron as “artificial neuron” by McCullouch and Pitts in 1943</a>, and it is considered the first work associated with artificial intelligence as a research discipline. Mathematically, a neuron is represented as a weighted sum over a set of input variables, followed by a non-linear transfer function. More generally, “<a href="https://en.wikipedia.org/wiki/Machine_learning">Machine Learning</a>” is used as an umbrella term for methods where a computer system builds a mathematical model based on training data.</p><p>Following ups and down over the course of its existence, “Artificial Intelligence” and “AI” as concepts came back to the forefront of technology when “<a href="https://en.wikipedia.org/wiki/Deep_learning">Deep Learning</a>” approaches started to find their way into practical applications in the early 2000s. Deep learning follows the connectionist approach utilizing layers of “artificial neurons”, and it improves over previous generations of neural networks by utilizing larger numbers of network layers (hence “deep”). Deep neural networks became possible with the advent of affordable parallel computing utilizing <a href="https://en.wikipedia.org/wiki/Graphics_processing_unit">Graphical Processing Units (GPUs)</a> and the availability of large data sets, commonly sourced from the Internet, and so-called <a href="https://en.wikipedia.org/wiki/Big_data"><em>Big Data</em></a> processing techniques developed for creating and managing various Internet sites (e.g. Google Search, Facebook Social Graph, Ad Personalization).</p><p>At the time of writing, Deep Learning has somewhat taken over the field of AI due to its transformative successes across a vast range of different problem spaces, including but not limited to image recognition and computer vision, speech recognition and synthesis, natural language understanding, natural language generation and machine translation. For several of these applications, AI systems are now exceeding the abilities of humans. However, more traditional approaches to machine learning are still relevant and may be advantageous due to lesser requirements on computational resources needed.</p><h3>Generative AI</h3><p>Until most recently, AI was predominantly used for classification, information extraction and understanding of various forms of information. There have been areas where AI has been generating content, but the extent was rather controlled and not necessarily recognized as such. For example, speech synthesis would use AI methods to fluently transition from generated phoneme to phoneme while generating the resulting audio stream. Or, for example, a machine translation system would use an AI-driven component to generate appropriate language structure in the target language based on information extracted from an input sentence. <a href="https://en.wikipedia.org/wiki/Generative_artificial_intelligence">Generative AI systems</a> move the focus from understanding to generation of content. Generally, “Generative AI” describes systems capable of generating text, images, or other media in response to so-called “prompts”, which are short descriptions of the desired output.</p><p>The launch of <a href="https://en.wikipedia.org/wiki/DALL-E">DALL-E by OpenAI</a> at the beginning of 2021 brought generative AI out of primarily academic research communities into public consciousness. DALL-E can create digital images in all different kinds of artistic styles based on short textual descriptions. Since late 2022, so-called “large language models” (LLM) have received a lot of attention with the release of <a href="https://en.wikipedia.org/wiki/ChatGPT">ChatGPT by OpenAI</a>. ChatGPT provides a chatbot experience that allows a user to easily interact with an LLM that has been trained using a large training corpus substantially derived from the public Internet. Effectively utilizing the content of the dialog between user and system as a prompt, ChatGPT can answer complex questions, write essays and even rhyme while maintaining context through the chat session. Given the hype and overall amount of content generated day-over-day on these kinds of systems, I am refraining from even attempting to say more about them here.</p><h3>Examples of Generative AI in Music</h3><p>Albeit the focus of this blog series is on AI in support of the creative process, I am using a few examples of end-to-end generation to illustrate potential and state of the art.</p><h4>Online Services</h4><p>Amper Music <a href="https://www.mirrorreview.com/amper-music-launches-first-ai-music-composition/">used to be a browser-based tool</a> to generate full songs based on the genre, mood and duration. It has been <a href="https://www.shutterstock.com/press/19093">acquired by Shutterstock</a> and is now integrated into its digital asset marketplace for stock art, which covers, images, video, music and 3D models. While the tool is still available as a web service for third-party developers, the tool has been used to populate the Shutterstock online store with over 100,000 exclusive and royalty-free tracks that were pre-generated by Amper Music.</p><p><a href="https://aiva.ai/">AIVA</a> is a soundtrack generator that has been trained on a large corpus of end-to-end compositions. AIVA can generate tracks using a set of predefined styles or based on an “influence”, which is a track that can be provided as a MIDI file. Subscription plans allow for the use of the generated tracks for commercial purposes (incl. utilization in social media) or to even retain copyright for a generated composition.</p><p><a href="https://mubert.com/">Mubert</a> is a similar platform that can generate royalty free content in different styles. As a differentiator from other services, Mubert allows artists to publish sample packs and templates with a revenue sharing model when the material is being incorporated into generated material. In December 2022 Mubert added textual prompts to guide the generation process (se multi-modality below).</p><h4>Tech Demos</h4><p><a href="https://openai.com/research/musenet">OpenAI MuseNet</a> is a technology demonstration that utilizes a deep neural network that can generate 4-minute musical compositions with 10 different instruments. MuseNet can combine styles from country to Mozart to the Beatles. MuseNet was not explicitly programmed with an understanding of music, but instead “discovered” patterns of harmony, rhythm, and style by learning to predict the next token in hundreds of thousands of MIDI files. MuseNet uses a large-scale transformer model trained to predict the next token in a sequence, similar to the general-purpose unsupervised technology underlying the GPT series of large language models.</p><p><a href="https://www.blog.google/technology/ai/musiclm-google-ai-test-kitchen/">Google’s MusicLM</a> is a system that can turn text descriptions into music tracks, and as of May 2023, it is accessible for experimentation. MusicLM can generate music that remains consistent over several minutes, which allows for musical applications. Quite a few of the details behind MusicLM are discussed in the accompanying <a href="https://arxiv.org/abs/2301.11325">publication</a>. I will cover some of the technology behind this system more deeply in later parts of this blog series.</p><p><a href="https://www.riffusion.com/?&amp;prompt=moody+melodic+house+&amp;seed=3324&amp;denoising=0.75&amp;seedImageId=og_beat">Riffusion</a> is an <a href="https://github.com/riffusion/riffusion">open source project</a> (explicitly marked as “hobby”) that applies the <a href="https://en.wikipedia.org/wiki/Stable_Diffusion">stable diffusion algorithm known from AI image generation</a> to spectrograms that have been labeled with descriptions. The generated spectrograms can then be rendered as audio. The web portal allows the generation of ~5 second audio snippets based on textual descriptions. With code and data sets being open source, Riffusion has spawned a <a href="https://discord.gg/yu6SRwvX4v">community of enthusiasts</a> building their own models and experimenting with Riffusion for their own creative projects.</p><h3>Next</h3><p>With all the promise and potential that generative AI has for musical applications, let’s dive deeper into how these systems work and then apply those insights into understanding possible applications and commercial opportunities. In the next part of this series, I will provide an overview of key approaches relevant for this most recent AI technology wave and will cover also specific additional techniques relevant to musical applications.</p><p>Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1bc3ed3d5bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>