<?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 Jakob Schmid on Medium]]></title>
        <description><![CDATA[Stories by Jakob Schmid on Medium]]></description>
        <link>https://medium.com/@skinkebarn?source=rss-f649f47cb3a1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-GJ0T1Q3s5eHEExN</url>
            <title>Stories by Jakob Schmid on Medium</title>
            <link>https://medium.com/@skinkebarn?source=rss-f649f47cb3a1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 09:35:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@skinkebarn/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[Unity DSP Performance Test]]></title>
            <link>https://medium.com/@skinkebarn/unity-dsp-performance-test-376937c29ee?source=rss-f649f47cb3a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/376937c29ee</guid>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[audiodev]]></category>
            <category><![CDATA[unity3d]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[cpp]]></category>
            <dc:creator><![CDATA[Jakob Schmid]]></dc:creator>
            <pubDate>Sat, 08 Sep 2018 14:43:33 GMT</pubDate>
            <atom:updated>2018-09-08T14:43:33.839Z</atom:updated>
            <content:encoded><![CDATA[<p>I have performed a series of tests for different approaches to sine computation, the goal being to evaluate the relative performance of different approaches to DSP code for use in Unity. This is relevant for anyone who wants to write realtime <strong>software synthesizers and effects for Unity games</strong>. The example used is a simple algorithm that computes a sum of sines using different approaches: library functions, polynomial approximation, and lookup tables of different sizes.</p><p>The key result of the tests was:</p><p><strong>C# in Unity with the IL2CPP scripting backend performs comparably to C++</strong>,</p><p>which indicates that C# could be viable for implementing DSP code.</p><p>The following graph shows the performance of 4 different sine computation algorithms (lookup tables are the fastest), implemented using C++ and C# with different scripting backends:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I6TT3RASg9DuEZZAHPTBkg.png" /></figure><p>In Unity PlayerSettings, the IL2CPP scripting backend is enabled here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*yl3UJzUGMIXjjJub0pGMFA.png" /><figcaption>Unity Player Settings: IL2CPP</figcaption></figure><p>You can <a href="https://github.com/schmid/Unity-DSP-Performance-Test/blob/master/README.md">read the full article and review the source code at github</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=376937c29ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>