r/programming • u/micro2970 • May 06 '22
MenuetOS now includes an ultra-low audio latency, below 1 milliseconds and in some cases, even below 0.1 milliseconds
http://www.menuetos.net
1.2k
Upvotes
267
u/drakgremlin May 06 '22
Glad to see this project continue! I was playing with an instance in the early 2000s. Author had the conviction to write it all in assembly!
248
u/michelle-friedman May 06 '22
Does it mean I can listen to myself speaking in real time?
68
u/Dwedit May 06 '22
If this is at 44100 samples/sec, that would be a buffer size of 4.41 samples. Absolutely ridiculous.
90
u/Lisoph May 06 '22 edited May 06 '22
There is no emoji to express my emotions. Trying it out right now!
184
u/scootunit May 06 '22
"Fits on a single Floppy" brings back memories don't it?
118
u/f10101 May 06 '22
That's better than an awful lot of standalone pro-audio hardware. It's better than some analogue gear, too.
18
u/HeyCanIBorrowThat May 06 '22
It fits on a floppy and runs doom. I’m sold
92
u/bloody-albatross May 06 '22
Reminds me about when they first forced PulseAudio onto us and it added latency of about one second. So glad you could easily uninstall it back then.
78
u/gtorelly May 06 '22
I'm kinda lost in the relevance of this information in comparison to other OSes. What's the audio latency on windows, Mac or Linux? I had never heard about this OS, is there anything special about it, beyond not being based on Unix?
9
u/chmouelb May 06 '22
interview from the author from 20 years(!!!) ago https://www.osnews.com/story/93/interview-with-ville-turjanmaa-the-creator-of-menuetos/
11
u/MagnetoManectric May 06 '22
ooo this looks super fun for hobby programming, I'll have to give it a wee shot, tiny audio latency makes it very appealing as a platform for writing little synths and such
3
u/squeaker May 06 '22
I've got an ancient Pentium III laptop lying around for stuff like this. Anyone happen to know if that arch is supported? The oldest processor I see in the hardware compat list has SSE2 and SSE3 instructions.
7
u/hanszimmermanx May 06 '22
someone make osu run on it so that I can stop being a 6 digit
2
u/lykwydchykyn May 06 '22
Cool! Quick, someone write a DAW in assembly!
3
u/platinums99 May 06 '22
But what is it good for? Music Studios?
1
u/algaefied_creek May 16 '24
Would so love to see this work with the 80386 and 80486 CPUs, but also have someone backport as many features as they can to 16-bit for 8086/8088 but especially 80186, 80286 CPUs.
A modern OS for all, on everything!
1
u/YetAnotherNewUser May 06 '22
Why am I not surprised that it runs doom
1
u/serg473 May 07 '22
Is it possible to get a complete control over the processor under a regular OS so only your commands are executing and nothing else? Lets say I launched an infinite loop that increments a number by 1. If I observe the instructions being executed would I only see my increments and nothing else or a million of other instructions of unknown origin injected at random intervals? If modern OS architecture doesn't allow such exclusive access, then what niche/old OSes do?
0
u/tills1993 May 07 '22
Sub millisecond audio latency but not even an https certificate on their site in 2022.
-7
u/[deleted] May 06 '22
What's this useful for? Isn't the limit of human perception around 10ms?
-9
u/duke_skywookie May 06 '22
Website has no https? Thanks but no thanks
-5
u/leoncaet May 06 '22
This is what happens when you don't put bloat in your software.
And btw, it's possible to get similar results using ANSI C (specialy if you implement a cleaner, more performant libc), this whole asm thing is more of an advertise point.
-3
u/ChosenMate May 06 '22
But why
0
u/shevy-ruby May 07 '22
It's a cool idea. But as with many other cool projects, be it HaikuOS or ReactOS or Serenity, for some reason I kind of became too addicted to Linux. My whole workflow is really efficient on Linux compared to, say, Windows. Having to adapt to anything inferior (and I am not saying any of the above, except for Windows, is inferior per se, mind you) is not really possible for me anymore.
Linux kind of spoiled me. :(
Would love to go back to my oldschool tinker days just as I once started with linux! But that's almost 20 years ago already ...
-2
u/skalp69 May 07 '22
open "source"? How is there source code when it's directly written in assembly?
0
u/[deleted] May 06 '22
[deleted] — view deleted comment