<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Raphael TAN</title>
    <description>The latest articles on DEV Community by Raphael TAN (@raphael_tan_9c17abd05a891).</description>
    <link>https://dev.to/raphael_tan_9c17abd05a891</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4215721%2F6dbca5e2-e3ac-4c61-877c-7d220015a4b8.jpg</url>
      <title>DEV Community: Raphael TAN</title>
      <link>https://dev.to/raphael_tan_9c17abd05a891</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/raphael_tan_9c17abd05a891"/>
    <language>en</language>
    <item>
      <title>How to organize a sound effects library</title>
      <dc:creator>Raphael TAN</dc:creator>
      <pubDate>Mon, 09 Nov 2026 19:28:46 +0000</pubDate>
      <link>https://dev.to/raphael_tan_9c17abd05a891/how-to-organize-a-sound-effects-library-56i8</link>
      <guid>https://dev.to/raphael_tan_9c17abd05a891/how-to-organize-a-sound-effects-library-56i8</guid>
      <description>&lt;p&gt;When I need a sound, I want to know if I already have it before I go looking online. A file name search can't tell me that. &lt;code&gt;Impact_03_v2.wav&lt;/code&gt; could be anything.&lt;/p&gt;

&lt;p&gt;So I'd search, find nothing that fit, and go download another pack. It's rarely a shortage problem. Sonniss has been giving away a free GDC Game Audio Bundle since 2015, and the March 2026 one alone is 7.47 GB. Add a few free packs from Kenney, and it's easy to own more sounds than you'll ever use.&lt;/p&gt;

&lt;p&gt;Organizing a library comes down to making one check fast: do I already have this? If you do, you use it. If you don't, you now know exactly what to look for.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; keep each pack whole with its license, keep the library outside your projects, and search it by how things sound instead of by file name. Listen to what comes up. Go online only when nothing fits.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you find a sound effect you don't know the name of?
&lt;/h2&gt;

&lt;p&gt;You search by what it sounds like, and you listen to what comes up. A file name says what was recorded. It doesn't say what the sound is good for, and in a game, that's the whole question.&lt;/p&gt;

&lt;p&gt;When I posted my sound search tool on r/Unity3D, the top comment asked why I don't just name my assets properly. It's a fair question, and the same comment conceded the answer: naming stops working once you have thousands of sounds from different packs.&lt;/p&gt;

&lt;p&gt;Film sound shows why. A bone break on screen is often a stick of celery. Good libraries know that one and put "bone break" in the celery file's name. But that only works for uses the recordist predicted.&lt;/p&gt;

&lt;p&gt;Here's one nobody predicted. In my library, searching "bone break" ranks &lt;code&gt;dice-grab-1.ogg&lt;/code&gt; high. It's a hand grabbing dice, from a free casino sound pack, and it does sound like a bone breaking. I would never have looked in a casino pack for that.&lt;/p&gt;

&lt;p&gt;The point isn't that one file ranks first. It's that sounds that fit your search rise to the top, whatever they're called, and you listen and pick the one that works.&lt;/p&gt;

&lt;p&gt;Names don't agree across vendors either. One pack says &lt;code&gt;GUNSHOT_Pistol_01&lt;/code&gt;, the next says &lt;code&gt;wpn_fire_close_v2&lt;/code&gt;. Keyword search only finds the words you guessed. You know the moment you need. The file name doesn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is renaming your sound files worth it?
&lt;/h2&gt;

&lt;p&gt;Sometimes, for consistency. It won't make the files say what they're good for.&lt;/p&gt;

&lt;p&gt;If your library mixes many vendors, the Universal Category System (UCS) is a free, public-domain category list for sound effects, and there are renaming tools that apply it to a whole folder. Keyword search gets much more consistent.&lt;/p&gt;

&lt;p&gt;But renaming has a cost beyond the time: once files from ten packs are renamed and merged into one folder, you can no longer tell which pack, and which license, a sound came from. I don't rename or tag. I keep each pack whole, in its own folder, with its license next to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Are your sound effects safe to use in a commercial game?
&lt;/h2&gt;

&lt;p&gt;Only if you know where each one came from. "Free" and "royalty-free" don't mean "no conditions".&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Freesound&lt;/strong&gt; mixes licenses file by file: CC0 (do anything), CC BY (credit the author) and CC BY-NC (no commercial use). A CC BY-NC sound can't go in a game you sell.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kenney's&lt;/strong&gt; packs are CC0.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sonniss GDC bundles&lt;/strong&gt; are royalty-free for commercial projects, but the terms change from year to year. Read the license that came with each bundle.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI-generated sound effects&lt;/strong&gt; are the murkiest case. Rules on who owns generated audio, and on what the models were trained on, are unsettled and still changing, and storefronts have their own rules on top: Steam &lt;a href="https://www.pcgamer.com/software/ai/steam-updates-ai-disclosure-form-to-specify-that-its-focused-on-ai-generated-content-that-is-consumed-by-players-not-efficiency-tools-used-behind-the-scenes/" rel="noopener noreferrer"&gt;asks developers to disclose&lt;/a&gt; AI-generated content that players consume. Until that settles, free libraries recorded by people give you sounds with clear licenses, and there are more of them than most developers will ever use.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keeping each pack whole with its license is what lets you answer "can I ship this?" a year later.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where should you store your sound library?
&lt;/h2&gt;

&lt;p&gt;In one folder outside your projects. Bring in only the clips you use.&lt;/p&gt;

&lt;p&gt;Unity imports every audio file under Assets. Drop a 10 GB pack in there and you pay for it: a long first import, a Library folder that fills with re-encoded copies, and, if you use version control, a repository full of sounds you'll never ship. Then you do it again in the next project.&lt;/p&gt;

&lt;p&gt;One shared folder, with clips copied into a project only when you actually use them, keeps every project light and leaves you a single library to check.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you reverse search a sound effect?
&lt;/h2&gt;

&lt;p&gt;Use a tool that listens to the audio itself. It runs a model over every file once and turns each sound into a fingerprint: a list of numbers that describes how it sounds. Sounds that sound alike get similar fingerprints, so a search becomes "find the fingerprints closest to this one". "This one" can be a sound you already have, a recording, or a description you type.&lt;/p&gt;

&lt;p&gt;That's similar sound search. It works on files with no tags and useless names, so you never have to guess someone else's vocabulary.&lt;/p&gt;

&lt;p&gt;Which tool depends on where you work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Outside an engine:&lt;/strong&gt; Soundly's Find Similar searches your local and cloud libraries by sound. Sononym is a sample browser built around similarity search, on Windows, Mac and Linux. SFX Stacks searches local folders by plain-language description and by similarity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;In Wwise:&lt;/strong&gt; Audiokinetic and Sony AI added Similar Sound Search, by text or by audio, starting with the Wwise 2025.1 beta.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;In Unity, with its built-in audio:&lt;/strong&gt; I wanted this right where I pick sounds, next to the AudioClip field, so I built Sound Finder for Unity.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How do you find sound effects for games in Unity?
&lt;/h2&gt;

&lt;p&gt;Search your library from the AudioClip field, listen, and assign the pick in one click. Here's how that works with Sound Finder for Unity.&lt;/p&gt;

&lt;p&gt;I pointed it at my library: about 5,700 files, mostly the Sonniss GDC bundles, plus Kenney's packs and other free downloads, each pack in its own folder with its license. It indexes once, in the background: the 4,491 files from the GDC bundles took about three minutes on an RTX 4060 laptop GPU. I haven't downloaded a new sound in a long time. Then:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I typed what the moment needs.&lt;/strong&gt; "bone break" ranks files by how each clip sounds compared with the words, and by what its file name means. A file that only shares a word with your query, like a windshield for "magic shield breaks", doesn't jump ahead for that alone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I made the sound myself.&lt;/strong&gt; Hold the mic button, imitate the sound, release, and it searches the library for clips that sound like what you made.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I searched with a reference.&lt;/strong&gt; On Windows, Sound Finder can record whatever is playing on your PC (a trailer, a game, a video) and search your library for sounds like it. Dropping a clip you already have onto the search bar works the same way.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I picked one.&lt;/strong&gt; One click assigns it to the AudioClip field I opened the search from, and only that clip is copied into the project. Crop &amp;amp; assign trims it first if you only want part of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  When should you buy new sound effects?
&lt;/h2&gt;

&lt;p&gt;When you've searched by sound, listened, and nothing fits. Sound Finder also shows a banner when it finds no good match. At that point you know exactly what's missing, so you get one pack for one gap instead of another 10 GB of maybes.&lt;/p&gt;

&lt;p&gt;Before buying, stretch what you found. Pitch it down, layer two candidates, cut the tail. In Unity 6, an Audio Random Container randomizes pitch and volume across a set of clips from the Inspector, which turns three good clips into a whole family of variations.&lt;/p&gt;

&lt;h2&gt;
  
  
  The details
&lt;/h2&gt;

&lt;p&gt;Sound Finder for Unity runs in the Unity 6 editor and is editor-only, so nothing ships in your builds. It runs entirely on your machine: no account, no API key, and your audio never leaves your PC. Your external library is indexed once and shared by every project on the machine.&lt;/p&gt;

&lt;p&gt;Text search works out of the box. The optional Stable Audio Open Small model gives closer matches, runs faster and uses less memory. It is a one-time download of about 1 GB, powered by Stability AI, under the Stability AI Community License.&lt;/p&gt;

&lt;p&gt;The download is about 1.4 GB. Indexing and audio search use 1.2 to 2.1 GB of GPU memory. Text search uses about 5 GB with the built-in model and 4 to 5 GB with the optional one. I develop and test it on Windows with an RTX 4060 laptop GPU (8 GB). With the optional model, it still worked with only 1 GB of GPU memory free: text searches took about 5 to 8 seconds instead of 2 to 3. Integrated GPUs, smaller cards and Mac are untested. Recording from the PC is Windows-only.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://assetstore.unity.com/packages/slug/392296" rel="noopener noreferrer"&gt;Sound Finder on the Unity Asset Store&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Questions are welcome in the comments. Bugs and feature requests for Sound Finder go to &lt;a href="https://github.com/RaphTan63/SoundFinder/issues" rel="noopener noreferrer"&gt;GitHub issues&lt;/a&gt;, and you can find me on &lt;a href="https://www.linkedin.com/in/raphaeltan-prog/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article is not sponsored by or affiliated with Unity Technologies or its affiliates. Unity is a trademark or registered trademark of Unity Technologies or its affiliates in the U.S. and elsewhere.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>unity3d</category>
      <category>audio</category>
      <category>sounddesign</category>
    </item>
    <item>
      <title>Running neural networks in a Unity editor tool with compute shaders</title>
      <dc:creator>Raphael TAN</dc:creator>
      <pubDate>Thu, 29 Oct 2026 16:49:53 +0000</pubDate>
      <link>https://dev.to/raphael_tan_9c17abd05a891/running-neural-networks-in-a-unity-editor-tool-with-compute-shaders-mf5</link>
      <guid>https://dev.to/raphael_tan_9c17abd05a891/running-neural-networks-in-a-unity-editor-tool-with-compute-shaders-mf5</guid>
      <description>&lt;p&gt;I recently released Sound Finder, a Unity Asset Store plugin, and building it meant solving an unusual problem: running up to twelve neural networks inside the Unity editor, without Sentis, ONNX Runtime or Python.&lt;/p&gt;

&lt;p&gt;The plugin searches a sound library by how things sound. That takes models that turn sounds and text into fingerprints you can compare, a pitch model, an onset detector, and two text-to-audio models built from four networks each. They all run on an inference runtime I wrote in C# and HLSL compute shaders.&lt;/p&gt;

&lt;p&gt;On my laptop's RTX 4060, the runtime generates about 12 seconds of audio in 2.45 seconds. ONNX Runtime, Microsoft's reference engine for these models, does the same 32-bit math on the same GPU in 1.35 seconds with DirectML.&lt;/p&gt;

&lt;p&gt;Why would a search tool generate audio? When you type a description, Sound Finder generates a short example sound and looks for real sounds close to it, alongside matching your words against the sounds and the filenames. The example is only a search key. The results always come from your library.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; running a model in Unity is easy. Running it inside someone else's Unity project is the hard part, because you don't control their builds, their GPU, their download or their editor. Each of those changed how I built this.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not use Sentis?
&lt;/h2&gt;

&lt;p&gt;Sentis, Unity's own inference package (now called Inference Engine), is the obvious way to run a model in Unity. For a game, it's probably the right one.&lt;/p&gt;

&lt;p&gt;Sound Finder isn't part of a game. It's editor-only: it helps you pick sounds, and nothing of it ends up in your build. Sentis is a runtime package, so depending on it would mean adding it to every customer's project, for a tool that never runs in their game. I didn't want that.&lt;/p&gt;

&lt;p&gt;For the same reason, there's no native code: no ONNX Runtime DLLs, no Python process. A native plugin means a binary per platform and per CPU architecture, and one more licence to carry. Sound Finder is C# and compute shaders only.&lt;/p&gt;

&lt;p&gt;That left writing my own runtime. To be clear about one thing: I never benchmarked Sentis against it. The comparisons in this article are with ONNX Runtime.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does an inference runtime actually need?
&lt;/h2&gt;

&lt;p&gt;Less than I expected. The models are ONNX files: a graph of operations, plus the weights. Running one takes four pieces.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A parser.&lt;/strong&gt; A small hand-written reader for ONNX's protobuf format, so there's no protobuf dependency. It also reads weights stored in separate files, which large models use.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A plan.&lt;/strong&gt; Order the graph so every operation runs after its inputs exist, and free each intermediate tensor right after its last use. GPU buffers come from a pool, so freeing and reusing them is cheap.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kernels.&lt;/strong&gt; A kernel is a compute shader function that runs one kind of operation on the GPU. 56 kernels in 23 .compute files, plus CPU code for shape operations, cover 68 ONNX operation types, and the twelve models Sound Finder uses need 61 of them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Everything around the model.&lt;/strong&gt; Tokenizers for the text models, written in C#, and the audio front-end: the mel spectrogram the audio model expects, computed with an FFT on the GPU.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What surprised me is how few kinds of operation the models use. Attention has no kernel of its own: once exported, it's matrix multiplications and a softmax. GELU, RMSNorm and rotary embeddings arrive already broken down into basic math. Matrix multiplication, convolution, normalization and elementwise math, done well, covered every model I needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you know the GPU is computing the right thing?
&lt;/h2&gt;

&lt;p&gt;A broken kernel rarely crashes. It returns numbers, and the rest of the model turns them into output that looks plausible. So before trusting any speed figure, I compared every stage with a reference implementation on the same inputs: ONNX Runtime on the CPU for the large models, PyTorch for the small ones. For the bundled text-to-audio model, every stage matches ONNX Runtime with a correlation of 1.000000.&lt;/p&gt;

&lt;h2&gt;
  
  
  What made it fast, and what made it slower?
&lt;/h2&gt;

&lt;p&gt;The first version that ran Stable Audio Open Small end to end took 35 seconds cold and 17 warm. What made the difference:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tiled matrix multiplication.&lt;/strong&gt; Each group of 256 threads computes a 64×64 block of the output. It loads the inputs into shared memory 16 values deep at a time, and each thread accumulates a 4×4 block of results in registers, in 32-bit floats.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Convolutions without im2col.&lt;/strong&gt; The usual trick copies input patches into a big matrix and runs a matrix multiply on it. My 1-D convolutions read their input directly and skip taps that fall outside the signal. The audio decoder got 4.9 times faster.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fusion.&lt;/strong&gt; The decoder's activation, SnakeBeta, is five operations in the exported graph. The runtime spots that pattern at load and runs it as one kernel, in all 36 decoder blocks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Constant folding.&lt;/strong&gt; Parts of the graph that depend only on the weights are computed once, at load. That cut one model's dispatch time from 103 ms to 58 ms.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free casts.&lt;/strong&gt; The exported models convert between 16-bit and 32-bit floats in places. My runtime does all its math in 32-bit, so those conversions just reuse the buffer. T5, one of the text encoders, went from 861 ms to 351 ms.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two textbook optimizations made it slower.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Command buffers.&lt;/strong&gt; The standard advice for cutting CPU overhead in Unity is to record dispatches into a CommandBuffer and submit them together. In my runtime, it only gave correct results if no buffer went back to the pool until the command buffer had run. That meant about ten times more live buffers: the decoder went from about 20 to about 200, many over 1 MB. The text encoder got 15% faster, each diffusion step got 56% slower, and the decoder 230% slower. I reverted it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Half precision.&lt;/strong&gt; Storing weights as 16-bit floats halves their size, and 16-bit math should be faster. I built 16-bit input and output variants of the decoder's convolution and activation kernels. All passed their tests, and none was measurably faster on my RTX 4060 under DX11. DX11's shader compiler, FXC, ignores the min16float hint, so the math stays 32-bit anyway. Real 16-bit math needs the newer DXC compiler and DX12. My DXC attempt ran measurably slower, and I can't choose which graphics API my customers' editors run on. ONNX Runtime shows what that costs: through DirectML, which runs on DX12, its 16-bit path takes 0.9 seconds instead of 1.35.&lt;/p&gt;

&lt;p&gt;So the math is 32-bit everywhere, and low precision is only a storage format. 16-bit weights stay packed in GPU memory where the matrix and convolution kernels can read them directly. The 8-bit format in the next section exists only on disk.&lt;/p&gt;

&lt;h2&gt;
  
  
  What if the model can't ship in your package?
&lt;/h2&gt;

&lt;p&gt;For text search, I wanted Stable Audio Open Small, a text-to-audio model from Stability AI. Its weights couldn't go in the package. That's a licence problem: as I read the Asset Store's submission guidelines, the Stability AI Community License isn't one they allow for components bundled inside an asset. And I wanted the base asset to be fully working and compliant.&lt;/p&gt;

&lt;p&gt;My first answer was a server: generate on a cloud GPU and send the audio back. The model was fast there, but the hosting platform's cold starts put queries at 6 to 14 seconds, and nothing on my side could fix that. A search box can't wait that long, so I shut the server down and went fully local.&lt;/p&gt;

&lt;p&gt;Sound Finder now bundles MeanAudio, an open text-to-audio model of about a billion parameters, and offers Stable Audio Open Small as an optional one-time download from my own GitHub, checked by hash. Bundling MeanAudio raised two problems.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Size.&lt;/strong&gt; In 32-bit floats, MeanAudio is 4.4 GB. The usual shortcut, converting the whole graph to 16-bit, broke it: the converted graphs mixed types and output all zeros. So I wrote my own 8-bit format: each output channel of a weight is stored as 8-bit integers, with one 32-bit scale. MeanAudio went from 4.4 GB to 1.1 GB. The mean error per tensor is about 1%, and in a listening test with 10 prompts at a fixed seed, the two versions sounded very close.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Load time.&lt;/strong&gt; With the integers turned back into 32-bit floats on the CPU, loading took 17.9 seconds. Doing it in a compute shader, straight into the GPU buffers, brought it to 3.1 seconds, with zero mismatches against the CPU version across the 479 million weights I checked.&lt;/p&gt;

&lt;p&gt;The 8-bit format saves download size and disk space, not GPU memory: on the GPU, the weights are 32-bit again. Once it has generated, MeanAudio holds about 3.8 GB of GPU memory, on top of about 0.45 GB for the search models. Stable Audio Open Small holds about 2.6 GB: 1 GB of 16-bit weights, and 1.6 GB of buffers the runtime keeps pooled for the next generation.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you keep the editor usable while models run?
&lt;/h2&gt;

&lt;p&gt;In a game, you decide what each frame is spent on. In an editor tool, the person is typing, scrolling and listening while the models work, and in Unity, GPU work belongs to the main thread, the same one that draws the editor. What I ended up with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Time slices.&lt;/strong&gt; Generation runs the graph on the main thread, operation by operation, and yields after 12 ms until the next editor update.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One queue to the GPU.&lt;/strong&gt; Indexing decodes and analyses audio on worker threads. Anything that touches the GPU goes through a queue that the main thread drains two calls at a time per editor update, so a big batch doesn't hold the editor long enough for Unity's "Hold on" dialog.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No waiting on readbacks.&lt;/strong&gt; Results come back through AsyncGPUReadback, with a blocking fallback after 30 frames.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A budget for decoding.&lt;/strong&gt; Clip decoding gets at most 30 ms per editor update.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Working in the background.&lt;/strong&gt; When the editor loses focus, Unity updates it much less often. The indexer requests its own updates, so indexing keeps going while you're in another window.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPU setup on the main thread.&lt;/strong&gt; Parsing a model can happen on a worker thread. Creating its GPU buffers can't.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Domain reloads.&lt;/strong&gt; Every script change reloads the C# domain, and GPU buffers that aren't released before it leak. Everything is disposed on reload.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What's still not great: the optional Stable Audio model doesn't use those time slices yet. Each of its stages runs as one call, so the editor freezes for about 0.2 seconds per diffusion step and 0.7 seconds for the final decoding.&lt;/p&gt;

&lt;h2&gt;
  
  
  What would I tell another asset creator?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Decide first what you won't put in your customers' projects.&lt;/strong&gt; That decision picks your runtime.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compare every stage against a reference you didn't write,&lt;/strong&gt; before you measure speed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Measure textbook optimizations on your customers' hardware.&lt;/strong&gt; Command buffers and 16-bit math made mine slower or no faster.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep low precision for storage when you can't choose the graphics API,&lt;/strong&gt; and do the math in 32-bit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Give editor work a time budget per update,&lt;/strong&gt; and keep every GPU call on the main thread.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The details
&lt;/h2&gt;

&lt;p&gt;Soundly, Soundminer and Sononym search a sound library from their own app. Sound Finder does it inside the Unity editor: describe the sound, imitate it into your microphone, or drop in a clip, and the pick goes straight into your AudioClip field. It's an editor-only tool for Unity 6 that runs entirely on your machine, with no account and no API key. I develop and test it on Windows.&lt;/p&gt;

&lt;p&gt;How I organize the library it searches, from licenses to where the files live, is in &lt;a href="https://dev.to/raphael_tan_9c17abd05a891/how-to-organize-a-sound-effects-library-56i8"&gt;How to organize a sound effects library&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Text search works out of the box with MeanAudio. The optional higher-quality model, a one-time download of about 1 GB, is Stable Audio Open Small, powered by Stability AI, under the Stability AI Community License.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://assetstore.unity.com/packages/tools/audio/sound-finder-truly-listening-audio-search-browser-392296" rel="noopener noreferrer"&gt;Sound Finder on the Unity Asset Store&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Questions about the runtime are welcome in the comments. Bugs and feature requests for Sound Finder go to &lt;a href="https://github.com/RaphTan63/SoundFinder/issues" rel="noopener noreferrer"&gt;GitHub issues&lt;/a&gt;, and you can find me on &lt;a href="https://www.linkedin.com/in/raphaeltan-prog/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Cover: Unity Inspector illustration over a photo of a Palit GeForce RTX 5090 by &lt;a href="https://commons.wikimedia.org/wiki/File:Palit_GeForce_RTX_5090_Gamerock_20250530_HOF4166_RAW-Export.png" rel="noopener noreferrer"&gt;PantheraLeo1359531&lt;/a&gt;, &lt;a href="https://creativecommons.org/licenses/by/4.0/" rel="noopener noreferrer"&gt;CC BY 4.0&lt;/a&gt;, cropped and composited. This article is not sponsored by or affiliated with Unity Technologies or its affiliates. Unity is a trademark or registered trademark of Unity Technologies or its affiliates in the U.S. and elsewhere.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>unity3d</category>
      <category>gamedev</category>
      <category>machinelearning</category>
      <category>gpu</category>
    </item>
  </channel>
</rss>
