I used AI to make a useful tool (I think)

I despise AI when it comes to replacing the music making process, BUT I do think it can be a useful tool for learning and making life easier.

SO, I made a little tool, that lets you bulk process samples and do a few useful actions you can’t easily do in your daw:

  1. Reduce sample rate
  2. Reduce bit depth
  3. Add dithering for weird sample rates (e.g. 12 bit, 15 bit, etc.)
  4. Speeding samples up
  5. Normalizing samples
  6. Converting samples to stereo or mono
  7. Applying fades

These actions are great for making samples take up less space if you use samplers with space limitations OR alternatively make your samples more gritty and lofi.

I also added playback on the output so you can hear the samples before downloading, in addition to downloading all the output as a zip.

The other fun thing is, all of the processing happens locally using the web audio api so no data is ever uploaded anywhere as far as I know (and I literally haven’t nor even know how to hook up a DB to the site yet lmao).

Anyway - if you want to test it out, have fun! Be careful with your files tho, make sure you back 'em up and whatnot just in case there’s a weird bug.

23 Likes

How does this use LLMs?

1 Like

Probably after Github started allowing it’s entire database to be trawled. In exchange for cash I’m sure.

https://arxiv.org/pdf/2306.06191

2 Likes

I used an LLM to build it because i’m an ultimate noob at html / css / javascript.

The actual site is a regular website - no integrations with LLMs at this point and not really planning for any :smile:

My goal is to add more features other the coming weeks:

  • fx (delay, chorus, reverb, etc.) so you can bulk process samples with fx if you want
  • a synth to create and easily export one shots for use with samplers like the digitakt and ko2
  • a drum synth where you can easily generate one shots
  • a single cycle waveform converter - where you can drop any sample and convert it into a bunch of single cycle waveforms

But honestly it’s mostly just me having fun and exploring what useful things you can do to aid the creative process.

5 Likes

sounds great, i’d vote this for top of list

3 Likes

Nice work! Let me know if you want any help hooking up a DB. I see you’re on Vercal; not very familiar with them so not sure if they offer any DBs but I use Cloudflare a lot and you could hook up something like their D1 DB (free to use), or there’s other options. Depends what you want to do, ultimately; I assume at the moment it’s entirely front-end.

I’ll add that to the top of my list!

1 Like

What I’m learning about web audio processing is it all happens locally, so there’s no need to have a proper backend (yet!).

But I do eventually want to let people do things like store settings / make presets / etc., so I might have to implement some sort of auth and then a DB to store settings.

Ok, so instead of a single cycle wave converter, I think I made something even better lol.

Introducing wave designer! It’s a tool that let’s you design your own custom waveforms. There are some fun tools, and effects that change the wave as you apply them.

You can also select areas of the grid and do things to only the selected area.

When you’re satisfied you can name and download the single cycle wave form. It’s exactly 674 samples in length, which is tuned to C2.

If you use it let me know, would love feedback! Also thinking of adding more effects and additional shapes over time.

[Mod edit] Discuss here:

3 Likes

Oh what a wonderful little tool your wavedesigner is!

Would it possible to make changes audible while you listen?

Yeah I thought about that! Is the problem, that you don’t want to keep clicking play after making a change, and you’d rather it play back the audio after you’re done changing the shape in the editor (i.e. you release the mouse click?).

Right now the way it works is, as you make changes you have to click on play to listen to the change.

I have it on my list to see if there’s a way to make this a little more seamless.

OK that is a nice idea!

Yes, being able to have a drone with a single waveform could be a nice thing for designing a wav.

I’ve used it (well ChatGPT with Perplexity to check code) and made a Pico 8 game which was a faff but it did work in the end. However I also tried it for making a really basic M4L application and it confidently failed.

I’d be curious what you used as I want to build a sample tool that picks out nice short zero crossed loops - not single cycle but a couple of seconds - from samples I made in my own sample library that I can load into old samplers (and stuff like the DT and M:S) that then loops without issue from the off, no dicking around, especially given I won’t have a crossfade setting available. An option to take one side or fold them into mono would help too.

Yeah I definitely don’t think the AI is ready to develop M4L applications yet (but hopefully it can in the future!).

Initially I used v0.dev (it’s a tool by Vercel). The model is really geared towards quickly creating pretty UIs, and if you mess around with it enough it can put together a working app. What’s also nice is you can connect the chat to github to commit your app somewhere. You can also publish your app via vercel all in one place. This was an easy way to get started; however, their AI doesn’t seem to be great at the coding part (outside of the UI). It can also get pricey after a while, because they charge per call using a credit system, which I’m not the biggest fan of.

That’s when one of my friends told me to check out Claude code. Claude is MUCH better at the coding part, and it was able to keep the UI consistency, so I’ve been sticking with that for the past few days. Also I’m on the pro plan, and haven’t yet run into any limitations on usage.

1 Like

Ask and you shall receive - drone feature is now live!

Tl;dr you can tap the drone button to enable it (next to stop button), then as you switch up the wave shape the sound will change in real time. You can control volume w/ the volume knob.

If you find a single cycle wave you like you can quickly download it and keep going. :smile:

Enjoy!

1 Like

Interesting, thank you. I think Perplexity has Claude as an option, I might have used it for Pico8. Good to know then that something is maybe possible using these tools, will have to check them out and see what is possible.

I have ‘created’ a simple application to find little loops in a piece of audio you upload. It’s made for making snippets to use with synth plugins with sampler and granular oscillators and hardware samplers with limited memory, including vintage ones.

It was made using the Minimax agent and when I have some more credits I’ll get it to potentially add mono and 16 bit conversion to save more memory in hardware.

MacOS only at the moment, requires node.js installed to work, and there’s a little chmod instruction to allow it to run. Runs in your browser.

2 Likes