Live data from Hacker News

Elk OS – Audio Operating System

elk.audio

101–110 of 165 posts

Re: Elk OS – Audio Operating System

#101
post #61

Earlier quoted context omitted.

'real time' generally means latency guarantees and trading some throughput for consistent low latency for interrupts and scheduling. So faster in some dimensions and slower in others. The Arch Linux wiki has some description of their real time patches: https://wiki.archlinux.org/title/Realtime_kernel_patchset

Arch wiki is an amazing source of practical information. It's like graybeard forums but distilled into a readable text. My last laptop ran Mint distro; whenever I searched around for HW issues it was always their wiki, fully stocked with useful info and steps how to fix stuff.

"graybeard forums" = ?

Re: Elk OS – Audio Operating System

#102
post #37

Earlier quoted context omitted.

It only takes a small amount of latency (5 ms or so) to noticeably impact performances by musicians. Latency is also an issue when you want to monitor a live signal along with other recorded audio, like in a DAW. It is not as big a deal with a playback only device.

Interesting, I wouldn't have expected it to be that low, though in the aircraft space, control harmony can be disrupted with as little as 20ms of delay between control input and control surface movement[0]. Do you have any research you can suggest for that 5ms number? [0] http://www.klabs.org/history/history_docs/reports/dfbw_tomay... (Keeping the delay at or under 10ms was the recommendation I got from the study P.I…

Here's one :

https://www.jstor.org/stable/10.1525/mp.2006.24.1.49?seq=1

And another (follow the links to the article, but I thought that particular graph was most informative) :

https://www.researchgate.net/figure/Audio-latency-tolerance-...

Re: Elk OS – Audio Operating System

#103

Earlier quoted context omitted.

I’ve never understood the latency requirement for professional gear, are you able to articulate why there’s a need for lower latency than average consumer gear?

Three things come to mind-- 1. If you strum the strings of a guitar and want your laptop to make you sound like Jimmy Hendrix, it had better output sound quickly enough that you perceive it happening "immediately." (I.e., it should sound and feel just like an electric guitar that's hooked up to an amp.) 2. Such a laptop like the one above had better make you sound like Jimmy Hendrix for every moment you are playing t…

what does the "hungry hippos" metaphor/idiom stand for? https://en.wikipedia.org/wiki/Hungry_Hungry_Hippos didn't help

Re: Elk OS – Audio Operating System

#104
post #63

Earlier quoted context omitted.

rule of thumb is that sound travels roughly 1ft per ms, so 5ms is the same as standing 5 extra feet from the speaker. Most musicians don't have much trouble up to around 10-20ms. Jitter is killer though - if the latency is randomly changing it's really annoying.

Most musicians use headphones / earplugs in professional settings

which is interesting but not the point?

Re: Elk OS – Audio Operating System

#105
post #58

Earlier quoted context omitted.

>more-or-less hard real time Also known as soft realtime. For hard realtime, you need guarantees. Linux is too complex and cannot possibly offer them; this is the territory of formal proof, with complexity growing exponentially with code size. Look at seL4 for hard realtime.

Even with the "guarantees" offered by e.g. seL4, you still need cooperating hardware. SMIs on most mobos cannot be masked, and can take an eternity to be handled by the BIOS. Fortunately, for realtime audio, you don't need hard realtime unless you're very close to overloading the CPUs. Soft realtime (i.e. 99% of all interrupts handled within N usecs, 100% handled with N*2) is good enough.

100% handled with N*2 would be hard realtime.

Re: Elk OS – Audio Operating System

#107
post #63

Earlier quoted context omitted.

rule of thumb is that sound travels roughly 1ft per ms, so 5ms is the same as standing 5 extra feet from the speaker. Most musicians don't have much trouble up to around 10-20ms. Jitter is killer though - if the latency is randomly changing it's really annoying.

Is the speed of sound relevant in most recording scenarios? Assuming headphones and instrument/vocal mics that are within a few inches, then everything is traveling as electrical signals at the speed of light. Or is this just meant as a visualization of latency in these scenarios versus what it would be like with musicians playing x ft apart from each other in a room?

It absolutely is. Many times when rigging halls for recording live events I've had to insert delay in to sub mixes to match latency to the back of the room. It's standard fair for a live audio tech (a thing I do on the side occasionally)

Re: Elk OS – Audio Operating System

#108

Earlier quoted context omitted.

I’ve never understood the latency requirement for professional gear, are you able to articulate why there’s a need for lower latency than average consumer gear?

Press a key on a real piano - instant sound. At 10ms (and possibly less), you will start to notice the lag and it will affect your performance. https://www.soundonsound.com/sound-advice/q-how-much-latency...

Nope, you sit 3 or 4 feet from the soundboard in a piano, so the latency is around 3 or 4ms.

Re: Elk OS – Audio Operating System

#109
post #63

Earlier quoted context omitted.

rule of thumb is that sound travels roughly 1ft per ms, so 5ms is the same as standing 5 extra feet from the speaker. Most musicians don't have much trouble up to around 10-20ms. Jitter is killer though - if the latency is randomly changing it's really annoying.

Is the speed of sound relevant in most recording scenarios? Assuming headphones and instrument/vocal mics that are within a few inches, then everything is traveling as electrical signals at the speed of light. Or is this just meant as a visualization of latency in these scenarios versus what it would be like with musicians playing x ft apart from each other in a room?

I recently played on an electronic drum set and it was absolutely fine with headphones. But when we hooked it up to the speakers across the room there was a very noticable delay (~5ms as we calculated) when hitting the pads with the stick.

Since I only used acoustic drums until then I never gave much thought to the idea of having your drums sound delayed. It was quite eye opening.

Re: Elk OS – Audio Operating System

#110

Earlier quoted context omitted.

Ah, must have been a BBC Micro-only thing, because I never heard about it.

It certainly was, yes. The BBC Micro had an optional hardware speech synth you could add, but it was very inflexible, limited to a fairly small set of pre-defined words. "Speech!" could render arbitrary phonemes which make it a lot more flexible.

Flexible enough to say the word "Citadel!" for example. :)

Post reply on HN