News for hackers. Stuff that matters.
Re:Makepad- Synthesizer Written in Rust by rvdca on Tuesday July 04, 2023 @01:24AM (#36582537)
For anyone interested, the main author (if I understood properly) did a presentation at RustNL on the UI aspect that was quite impressive performance wise : https://youtu.be/rC4FCS-oMpg
Re:Makepad- Synthesizer Written in Rust by usrusr on Tuesday July 04, 2023 @03:11AM (#36583248)
Technically, that talk is by the author of the UI system/IDE that uses the synthesizer as an extended hello world. The synthesizer itself is by a different guy ( https://thisisnotrocketscience.nl ) who's been calling his bassline syths somethingmetallicfish since almost forever.
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @05:41AM (#36584310)
The RustNL presentation is a nice up to date view of where we are with makepad.
Re:Makepad- Synthesizer Written in Rust by chaosprint on Tuesday July 04, 2023 @02:55AM (#36583137)
Very impressive UI work with Rust. As @rvdca pointed out the author had a great presentation. Definitely recommend it.

I notice that there is a bug when I open the console: a note will be triggered and stay there forever.

The audio worklet uses postMessages (https://makepad.nl/makepad/platform/src/os/web_browser/audio...), which is not GC free.

For those are interested, I am maintaining https://glicol.org/ which is also an Rust/WASM audio app in browsers.

Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @04:42AM (#36583914)
The audio worklet doesnt use postmessages anymore btw. I removed that way of commmunicating with the main thread. It's all shared memory in wasm now.
Re:Makepad- Synthesizer Written in Rust by chaosprint on Tuesday July 04, 2023 @04:59AM (#36584046)
Cool. There is no doubt that you guys can nail it.
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @04:45AM (#36583951)
We also have a much newer version however the workload of 'everything' has been a bit overwhelming since we aren't actually making a synth(thats just an example application) but an IDE, designtool and a framework.
Re:Makepad- Synthesizer Written in Rust by chaosprint on Tuesday July 04, 2023 @04:57AM (#36584030)
So is it going to be a Figma style tool?
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @05:40AM (#36584304)
Yep, with a visual studio style IDE for Rust. so Big project.
Re:Makepad- Synthesizer Written in Rust by thumbuddy on Tuesday July 04, 2023 @07:18AM (#36585149)
Why didn't you integrate with VSC?
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @07:28AM (#36585226)
We might, but only after we made our own. Our editor will finally break the barrier of inlining widgets/controls performantly. The editor is one piece with the visual designer (2 sides of a coin)
Re:Makepad- Synthesizer Written in Rust by thumbuddy on Tuesday July 04, 2023 @10:12PM (#36594807)
Sounds cool I'll be keeping an eye on you guys
Re:Makepad- Synthesizer Written in Rust by logicchains on Tuesday July 04, 2023 @06:38AM (#36584804)
What's Figma?
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @07:01AM (#36584998)
Figma is an online designtool mostly used for doing UI designs.
Re:Makepad- Synthesizer Written in Rust by rapnie on Tuesday July 04, 2023 @03:14AM (#36583282)
> Written in Rust

Mentioning that.. is this open source?

Re:Makepad- Synthesizer Written in Rust by maeln on Tuesday July 04, 2023 @03:34AM (#36583436)
https://github.com/makepad/makepad

It's the iron fish project.

Re:Makepad- Synthesizer Written in Rust by WhiteNoiz3 on Tuesday July 04, 2023 @07:38AM (#36585319)
The Makepad fractal zoom example crashed my browser in all kinds of of ways that a browser is not supposed to be able to crash.
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @08:01AM (#36585524)
It's using lots of workers and SIMD. What is your OS/browser?
Re:Makepad- Synthesizer Written in Rust by 3836293648 on Tuesday July 04, 2023 @10:29AM (#36587215)
Wait what, that's a thing on web now? I thought simd was only on native, not wasm
Re:Makepad- Synthesizer Written in Rust by pengaru on Tuesday July 04, 2023 @11:00AM (#36587580)
I saw mention of it in the emscripten docs but haven't experimented yet:

https://emscripten.org/docs/porting/simd.html

Re:Makepad- Synthesizer Written in Rust by uglycoyote on Tuesday July 04, 2023 @10:48AM (#36587481)
I was disappointed in that example for a different reason. it ran on my phone, but when I pinch -zoomed (which is what I assumed a zoom widget built for web was supposed to support) it kept zooming towards the same point, which was a boring black spot. it didn't pan and zoom like I would have expected.
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @10:52AM (#36587520)
Good point, i'll work on it
Re:Makepad- Synthesizer Written in Rust by alkonaut on Tuesday July 04, 2023 @04:28AM (#36583796)
Does anyone know if the native UI framework supports being "hosted" in the sense that makes it useable for audio plugin dev (VST3 and others)?
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @04:43AM (#36583923)
We can definitely support it being hosted, however this is extra work on the platform side. VST is a licensing nightmare tho, i didnt really feel like stepping into that for now.
Re:Makepad- Synthesizer Written in Rust by odiroot on Tuesday July 04, 2023 @06:18AM (#36584638)
Maybe try going the CLAP way instead?
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @06:30AM (#36584718)
Yea that one is highest on the list.
Re:Makepad- Synthesizer Written in Rust by elric on Tuesday July 04, 2023 @05:16AM (#36584138)
As a hardware synth lover, I'm pleasantly surprised by how good this sounds. Great work!
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @05:41AM (#36584313)
Thanks :) All the work of 'this is not rocket science'
Re:Makepad- Synthesizer Written in Rust by paulgb on Tuesday July 04, 2023 @07:11AM (#36585083)
For those who haven’t seen it, Makepad is also an in-browser code editor with an open-source UI toolkit. Looks like this synth is one of the examples of the UI toolkit.

https://makepad.dev/

Re:Makepad- Synthesizer Written in Rust by chaosprint on Tuesday July 04, 2023 @07:36AM (#36585305)
press option on mac. it's amazing
Re:Makepad- Synthesizer Written in Rust by faitswulff on Tuesday July 04, 2023 @10:18AM (#36587049)
That is fantastic
Re:Makepad- Synthesizer Written in Rust by ta988 on Tuesday July 04, 2023 @10:39AM (#36587340)
What does it do?
Re:Makepad- Synthesizer Written in Rust by ledgerdev on Tuesday July 04, 2023 @11:28AM (#36587951)
It sort of zooms out and shows top level lines at regular size, but a mini-map like view of code underneath the top level. It's very smooth too.
Re:Makepad- Synthesizer Written in Rust by ledgerdev on Tuesday July 04, 2023 @11:29AM (#36587983)
Pressing Alt seems to invoke the same on linux/gnome, probably alt key on windows as well.
Re:Makepad- Synthesizer Written in Rust by csomar on Tuesday July 04, 2023 @07:15AM (#36585116)
It feels much more snappier than Electron-based apps.
Re:Makepad- Synthesizer Written in Rust by paulgb on Tuesday July 04, 2023 @07:52AM (#36585450)
Rather than going through the browser’s rendering engine, it’s entirely rendered on the GPU. Super impressive.
Re:Makepad- Synthesizer Written in Rust by thumbuddy on Tuesday July 04, 2023 @07:19AM (#36585158)
Looks like old school synth software in a good way. Cool
Re:Makepad- Synthesizer Written in Rust by bazeblackwood on Tuesday July 04, 2023 @08:00AM (#36585517)
The 6th note row from the bottom isn't working for me, for some reason! Otherwise, very cool.
Re:Makepad- Synthesizer Written in Rust by srg0 on Tuesday July 04, 2023 @10:19AM (#36587059)
It's very impressive.

I'd suggest to reset sliders on double click like most plugin instruments do.

Re:Makepad- Synthesizer Written in Rust by thaway_thaway34 on Tuesday July 04, 2023 @02:56PM (#36591124)
I got just a blank page in dark grayish/brown color
Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @03:04PM (#36591216)
What browser/OS are you on? Works fine here. Needs wasm+webaudio worklets and shared memory to work
Re:Makepad- Synthesizer Written in Rust by beezlewax on Tuesday July 04, 2023 @03:11PM (#36591307)
This is awesome. I saw a talk on this the other day on YouTube.

This looks good even on my crappy phone. Is there a reason though that the html on hackernews renders text more sharply than the text on the makepad apps?

Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Tuesday July 04, 2023 @03:50PM (#36591741)
Yea we're struggling a bit with super sharp rendering on lower DPI screens. It's on our todolist.
Re:Makepad- Synthesizer Written in Rust by 3836293648 on Wednesday July 05, 2023 @03:23PM (#36605744)
Cool and very smooth. Shame Firefox doesn't support it (yet?).

It's very blurry though? Seems like it's trying to run at ~1080p (on a 1440p screen)

Re:Makepad- Synthesizer Written in Rust by rikarendsmp on Thursday July 06, 2023 @06:15AM (#36613728)
It shouldnt be 'that' blurry tho, sounds like maybe you have a browser-zoom level thats not 100%. I try to deal with that, but there are browsers that mess it up (safari can for instance)
Re:Makepad- Synthesizer Written in Rust by lostmsu on Tuesday July 11, 2023 @06:37PM (#36688187)
Worked on Windows with Firefox.
Re:Makepad- Synthesizer Written in Rust by berlonce on Wednesday July 12, 2023 @03:35AM (#36691458)
It seems to be able to target app builds for everything but IOS. Is there a plan/timeline to add it?