Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ssfrr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
ssfrr
5y ago
Yeah, I wonder if that's part of the confusion. "Signing Bonus" is a weird name for what amounts to a large salary boost for the first 2 years. I think a lot of people think of a signing bonus as a lump sum you get when you a
62.
▲
by
ssfrr
5y ago
The "waiting for my vesting" mindset only makes sense to me if your TC is back-loaded, but I think Amazon offers are usually pretty consistent TC over the first 4 years, it's just that the balance shifts from bonus to stock.
63.
▲
by
ssfrr
5y ago
Is your inner audio processing loop implemented in CL? What kind of real-time guarantees does it provide?
64.
▲
by
ssfrr
5y ago
I’ve been learning OCaml over the past week or two and these videos have been extremely helpful. They’re well-organized well-edited. Seems like a ton of work went into them.
65.
▲
by
ssfrr
5y ago
1303789 (the wierdest flex). It's wild that that number is wedged so deeply into my brain, like a lot of things that were on my mind as a teenager. Makes me want to make sure my kids are doing something worthwhile when they're tha
66.
▲
by
ssfrr
5y ago
But after you convolve in the time domain it will change the distribution, right? Every point in the convolved signal will be the sum of a bunch of points in the original signal multiplied by the kernel, which would make their distributions
67.
▲
by
ssfrr
5y ago
Sure for any specific signal x you can craft the corresponding signal X so that ifft(X)==x, but the idea here is to generate a random signal with certain properties (blue spectrum and uniformly-distributed time-domain values). This is the t
68.
▲
by
ssfrr
5y ago
Does that approach end up with a uniform distribution if values in the time domain? That seemed like the difficult part here.
69.
▲
by
ssfrr
5y ago
Can you clarify? It’s not clear to me how to target a particular distribution in time and frequency domain simultaneously.
70.
▲
by
ssfrr
5y ago
The goal is not well-defined here. If the goal is to generate uniformly-distributed points in a circle then this algorithm is wrong, but it’s not clear that’s actually what they want. Generating a spectrum with a given magnitude distributio
71.
▲
by
ssfrr
5y ago
I wonder if there’s some iterative algorithm that would work here. When synthesizing audio from the short-time Fourier transform (STFT) sometimes you have unknown or noisy phase, and there’s an algorithm called Griffey-Lim that’s pretty com
72.
▲
by
ssfrr
5y ago
Yeah I think that uniform time(space)—domain distribution constraint is the one that the author identifies as the main problem here.
73.
▲
by
ssfrr
5y ago
The goal is to generate a random spectrum that corresponds to a real-valued signal. If the positive and negative frequencies aren’t conjugate-symmetric then the resulting signal after the IDFT will be complex-valued. You can think of it in
74.
▲
by
ssfrr
5y ago
The author is sampling random magnitude and also random phase for each frequency bin, so I don’t think anything is missed here.
75.
▲
by
ssfrr
5y ago
Most people don’t killed by bears. It’s not because they are somehow strong enough to beat a bear in a fight, it’s because they don’t get attacked by bears.
76.
▲
by
ssfrr
5y ago
I stand corrected - thanks for the clarification.
77.
▲
by
ssfrr
5y ago
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 cha
78.
▲
by
ssfrr
5y ago
Reminds me a lot of the Bela project [1]. The idea is that they expose the raw audio device interrupt handler so applications can do DSP processing without the kernel being involved at all. Wonder if this is doing something similar? [1] ht
79.
▲
by
ssfrr
6y ago
Super cool hack and great write up. It’s nice to see this go all the way from poking at hardware to decompiling binaries and then some signal processing. Kudos. You mentioned you were getting distortion/noise when downsampling below 92
80.
▲
by
ssfrr
6y ago
I love this demo. It’s a good example of how much our perception is affected by our priors. This is a other great example, where speech is synthesized with an acoustic piano (though the keys are controlled digitally, the sound is just from
81.
▲
by
ssfrr
7y ago
Really nice visualizations - they feel really snappy. I really like in the linear visualization how you can see the kick drum hits move down the spectrum!
82.
▲
by
ssfrr
7y ago
I'd definitely love to hear more about your technique once you're willing to say more about it. I'm really interested in time-frequency representations in general. One way to get high frequency resolution from the STFT or Wav
83.
▲
by
ssfrr
7y ago
When folks say spectrogram they usually mean the magnitudes or power of the STFT, so as you say, it throws away the phase. I would say that the spectrogram is a visualization of the STFT magnitudes, in the same way that a line plot is a vis
84.
▲
by
ssfrr
7y ago
The difficulty he's describing also applies to wavelet transforms: higher frequency bands have wider bandwidth, so they need to be sampled more often. This means the resolution is different in different frequency bands. With the short-
85.
▲
by
ssfrr
7y ago
Another thing about that code that I think irks some folks but is also reminds me of reading math is that it's much easier if you are aware of some common conventions and notation. For instance, the lines: #define V1(f) A f(w)A w
86.
▲
by
ssfrr
7y ago
This should apply to any high-level glue language that's wrapping primitives implemented in a "fast" language, right? I'm thinking in particular something like python with numpy. As long as most of the work is done withi
87.
▲
by
ssfrr
7y ago
> What interpreters such as GNU APL does is to first evaluate b+c, resulting in a new array, and then add that result to a. Is this really what most implementations would do? I'd assume it would parse the expression `a+b+c` into a t
88.
▲
by
ssfrr
7y ago
A lot of useful ideas are pretty timeless, and for learning fundamental technical content, a _good_ book is worlds better than a collection of blog posts and wikipedia pages. I remember when I was learning about quaternion math, I spent a f
89.
▲
Media Lab to the MoMA: A Complicated Reality of Dreams Coming True
(medium.com)
1 points
by
ssfrr
7y ago
|
0 comments
90.
▲
by
ssfrr
7y ago
I think the issue is that an Apple ID is used for multiple things (iCloud backup, the app store, etc.), and also that the seamlessness of SMS/iMessage (usually a good thing) causes them to be conflated. This person doesn't use the
More ›