I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise
-
AI is currently really bad at writing DSP code.
the reverb&delay code is really looks like something from r/programminghorror btw
I can already hear the pop and clicks followed by a loud-ass feedback lol. -
Hise Forum is the best meme page by far.
-
@d-healey yeah you're right
plus as I've said elsewhere, large part of HISE is not code-based
No way through HISE currently other than the hard way. which may become increasingly inaccessible as people become super impatient with AI doing their shit for them in seconds in other areas of life. I do often think how impossible it will be for us to relate to the new kids, given how we had to go and read 300 pages of docs before writing some code back in the day.
Now it's all just a prompt away.
-
You're a Picasso worrying about how to relate to people who call stuff like this art...
lol
ask them to explain the logic? There is none. Its 'vibe'. I myself appreciate the learning curve and the mid entry level requirements to get something decent done. I can already imagine the MESS ai is gonna make of everything before it makes things better.
Who will maintain all this
code??? lol
-
@Chazrox You'll like this
-
-
@Chazrox said in I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise:
Who will maintain all this
code??? lol
The point is that you shouldn't look at it. Does it work? Is the performance acceptable? Have you tested for security issues? Just ship it. That's the current way of things. Some of the stuff I'm seeing in new repos popping up is the stuff of nightmares, but hey, it works.
I mean it's incredible, it's literal science fiction stuff, you write an instruction as if you were writing it to a developer on your team, and it becomes reality. If you told me 3 years ago this would be a reality today I would've called you crazy. Of course, currently it's just step by step, so you still need to have the big picture, understand on high level how things work so your instructions can be accurate etc.
But code developed both to be functional and to be readable to humans so they can write it and debug it. This is no longer necessary, so I have no trouble imagining a language coming up in a very near future that is completely oriented to be written by LLMs.
The potential is just too much to ignore.
-
@aaronventure I agree with the potential implications. We're just not there yet obviously and i'll probably make fun of it til then...
Best believe when ai can figure out how to properly write an Auto-Tune in HISE, WE are ALL gonna go crazy and i'll be first in line!
Until then, we're asking an infant to do gymnastics. <-- just more jokes. lol.
I do use ai myself but only for extending index libraries and/or help with math. Other than that, it just makes a mess without proper (in-depth) context.
Based on your experience, what are you're thoughts on best use cases as it stands today?
...pertaining to HISE of course. -
@Chazrox Writing small pieces of code, like functions. Connect it to context7 so it can get docs, but obviously that only works if the docs are complete, and HISE docs are not.
I did once write a full 3d rendering engine in HISE PaintRoutine, with frustum culling and all the jazz. You'd just pass it a "mesh" like a an array of points relative to a center, pass it a location for the the mesh center, pass it camera specs like xyz, pitch, yaw, fov and it would render the whole scene using line calls. Of course it was all running on the CPU so it wasn't very efficient at all.
I did eventually move to WebView and three.js because that's what three is made for and it runs on the GPU, but this is the kind of stuff where even testing it out meant you had to go and learn computer graphics from complete zero just to implement this here, but the toughest question would be where to even look and what to look for. With AI it was much faster to find the relevant information and get it going.
So in a world where a question "is this even viable to try to implement" can be answered in days instead of months, it's like magic wand.
-
@aaronventure said in I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise:
small pieces of code
same.
@aaronventure said in I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise:
3d rendering engine in HISE PaintRoutine,
Wahh?? I'll say it again.. you guys are geewwwwd! haha.
@aaronventure said in I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise:
So in a world where a question "is this even viable to try to implement" can be answered in days instead of months, it's like magic wand.
I agree.
-
@aaronventure said in I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise:
I did once write a full 3d rendering engine in HISE PaintRoutine, with frustum culling and all the jazz. You'd just pass it a "mesh" like a an array of points relative to a center, pass it a location for the the mesh center, pass it camera specs like xyz, pitch, yaw, fov and it would render the whole scene using line calls. Of course it was all running on the CPU so it wasn't very efficient at all.
I found this video pretty interesting on learning about 3D graphics: https://www.youtube.com/watch?v=gYRrGTC7GtA
-
I think this is a really interesting topic, especially for HISE since it's almost impossible to vibe code in HISE in the sense that people use the term, since AI knows almost nothing about HISE and if it does, it tries its darndest to infect it with traditional JS or non-existent API calls and fictional Engine.addTheSpecialHiseAutoTune . After learning to code a bit with HISE, I spent around two weeks working with ChatGPT to try and come up with a drum sequencer. It was an absolute nightmare and a mess and in the end I found myself having to learn everything bit by bit to then teach the AI how to do what I wanted in order for it to give me a working script, at which point I realised I had figured out what to do already. Looking at the script that CGPT gave me, it was a total mess, around 2000 lines of code, for a basic sequencer. The only thing that it was quite helpful at was providing some ideas about what to implement, but even then, many of those ideas were overcomplicated and unnecessary. What I found AI was eventually good for was cleaning up or refactoring code that was already created. So, I think AI is actually quite great for HISE, but only if you actually already understand how to script in HISE and even then, it is important to inspect every bit of code it gives to remove all the unnecessary bulk it likes to add. Use with caution is what I suppose I'm trying to say. And use Claude, ChatGPT is a complete lunatic
-
@rglides haven't tried Claude yet but I've been using ChatGPT for some web stuff, css styling, php and simple js. I assume Claude is better at that too?
-
@DanH I'm not sure but I'd assume so, Claude so far has been overall better at everything I've tried and it is designed for code specifically. Try Claude 3.7 preview in VSCode
-
@rglides I’ve asked Claude to create custom c++ node dsps for HISE import and within a couple revisions it can create something that sounds decent. Meanwhile when I ask chatGPT the same thing it takes like 50 revisions just to get it to run without error
-
@mmprod haha yeah! The difference is huge
-
@mmprod said in I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise:
it can create something that sounds decent.
But is it good code?
-
@rglides said in I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise:
Engine.addTheSpecialHiseAutoTune
lol fr
@rglides said in I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise:
but only if you actually already understand how to script in HISE and even then
@rglides said in I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise:
ChatGPT is a complete lunatic
-
@VirtualVirgin said in I wasted 3 hours on deepseek trying to create Autotune, Reverb and Delay in Hise:
I found this video pretty interesting on learning about 3D graphics: https://www.youtube.com/watch?v=gYRrGTC7GtA
It's a little glitchy and the code is a mess, but I'm going to bed, so I leave it for someone else to improve.
HiseSnippet 2610.3oc0Z01aaajDlxIpnR20hVf6CGv8k87GJjiTjk7awujz5Z63yFMNVHNWNaXXTrlbkzFSsTGIksXa8Of6m08Op+CxMytKIW9hbR7k.bmQfM24kcmY1Yd1gbSOeOaVPfmuUk5uNZLypxer5IQhvg6NjxEVGtmUk+P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