Live data from Hacker News

Canyon.mid

canyonmid.com

151–160 of 214 posts

Re: Canyon.mid

#151

Earlier quoted context omitted.

If your YT/Winamp/whatever volume isn't at 100%, then what you're doing is: 1. generate audio signal 2. reduce volume of that signal, losing information because it's quantised 3. take that volume-reduced signal and boost it right back up again, but now with the lower bits destroyed You can make this effect as bad as you like, e.g. turn it down to 1% and then amplify by 100x... but why?

Because in order to get the best dynamic range while listening to diverse music, you need to detect the loudness of tracks and albums and adjust the gain of each track/album accordingly. In order to have room for the music player to adjust the volume higher for quieter tracks, you need to apply a "pregain" to lower the volume overall, while turning up your speakers to compensate. This solves the problem, but by doing…

I'm a bit star-struck to have you reply to my somewhat offhand comment, am aware of your audio player work and really want to be a Zig convert (just missing those vec3 and complex operators, having equal mathematical standing to ints and floats) and your original Zig intro video is IMO one of the best tech presentations of all time, but I digress...

I'm aware of ReplayGain and this processing is important for per-track overall gain, but what I'm getting at is lower level: instead of there being two lossy/rounded stages of dimming and amplification, you want to communicate to the OS a log2 "dimming factor", so that this can be subtracted from a later log2 amplification factor such that we ideally waste no processing time if the sum is zero, and otherwise don't suffer the twice-quantised signal degradation (at most one accurate scaling pass, instead of two arbitrarily precision-reducing ones). It's maybe a minor point / imperceptible as others have noted, but IMO this seems like the Correct (TM) approach.

Re: Canyon.mid

#152
post #57
post #30

Earlier quoted context omitted.

This is a silly question. It will never be enough until we can manipulate the fabric of space and time directly as gods and create entirely new universes and physics and live forever for an infinity infinities. The ratio of our infinitesimal, geologically small existence to the whole of the light cone and the observable universe - it is just a glimpse at the fractal of what will be enough to satiate our curiosity and…

This. The same drive for betterment that made our species “kill such beautiful minimalism” was the one that lifted billions out of subsistence farming and 50% infant death rate, and will be the one to escape the destruction of planet earth by sun’s evolution. You cannot have one without the other.

There is societal improvement and then there is the huge amount of ego driven waste and externalized harm. Ideally, theoretically, we could have a lot of the former without a lot of the latter. In practice this ratio seems to be getting worse. Me-first attitudes are way up, profit is misunderstood as merit.

Re: Canyon.mid

#153

Earlier quoted context omitted.

The PC speaker could only play square waves, and had only one voice. There is no "correct" sound for a MIDI file as it's just note and tempo data. But many people probably associate them with the OPL2 synthesizer chip on AdLib and early SoundBlaster cards. [1] Now that we have high fidelity digital sound output on even the cheapest computers/devices, at least 44 kHz, at least two channels, and at least 16 bits per sa…

"The PC speaker could only play square waves, and had only one voice." I am reminded of Mean Streets and Martian Memorandum, which let the PC speaker output something beyond just bleeps and bloops.

So Sony figured out something called a “1-bit DAC”. It’s something like dither, and so was the method of generating voice audio in Mean Streets.

Re: Canyon.mid

#154

Earlier quoted context omitted.

> Computers had enough gaming Had they? I gamed in the 90s and I game now. And boy, its not even remotely the same and iam thrilled to see what comes next (hello, gta6)

Games are now infinitely more complex -- I can run an improved version of Ultima VII (1992) on a device that fits in my pocket, while the original wouldn't have run on this (it required a 486 and even the latest possible Tandy systems maxed out at the 386), and that's not even getting into stuff like Factorio or Satisfactory.

Gentle reminder that Ultima VII was probably the best period-relative RPG until Baldur's Gate 3, even considering Neverwinter Nights and Dragon Age :)

No words for how this game blew my mind back in those days...

Re: Canyon.mid

#155

Earlier quoted context omitted.

If your YT/Winamp/whatever volume isn't at 100%, then what you're doing is: 1. generate audio signal 2. reduce volume of that signal, losing information because it's quantised 3. take that volume-reduced signal and boost it right back up again, but now with the lower bits destroyed You can make this effect as bad as you like, e.g. turn it down to 1% and then amplify by 100x... but why?

Because in order to get the best dynamic range while listening to diverse music, you need to detect the loudness of tracks and albums and adjust the gain of each track/album accordingly. In order to have room for the music player to adjust the volume higher for quieter tracks, you need to apply a "pregain" to lower the volume overall, while turning up your speakers to compensate. This solves the problem, but by doing…

Why not use a compressor?

Re: Canyon.mid

#157

You remind me that I didn't have a sound card at the time and I played all my games (mostly LucasArts) with the PC speaker. For me, the MIDI versions are too boring as they lack the "raw electric power" of the speaker that I loved for years.

I can still perfectly hear the twang of the Monkey Island theme song on PC speaker, and vastly prefer it to generic MIDI renditions. My, where did the years go...

At first I couldn't understand this sentiment; pc speaker always sounded so abrasive to me. Then I followed the link below and a wave of nostalgia washed over me.

Re: Canyon.mid

#158
post #11

I'm slightly impressed that the video (3.4 MB) is only 100 times larger than the original MIDI (33 kB)

If you want Midi to render consistently across devices, you are “Significantly Out of Luck.” The audio sounds like it sounds because Microsoft Licensed Roland’s GS Wavetable. Without that you lose timbral information.

I remember being _very_ frustrated as a child that the music in "Hover!" sounded significantly different when we upgraded from our 486 to a Pentium II machine. The Sound Blaster gave the music a very distinct quality that was lacking in the software MIDI synthesizer.

Re: Canyon.mid

#159

Earlier quoted context omitted.

What's an A round?

The first funding round for a startup. "Series A", "Series B", etc. (… although there are sometimes "seed" rounds that precede a series A, or even pre-seed rounds … like everything else, it's complicated & messy. But hopefully you see the metaphor the parent was trying to paint.)

Are there good resources to learn about this?

Re: Canyon.mid

#160
This reminds me of the demo tape that came with old Sony cassette players. It had Entertainer on side A, and another instrumental called Andalusia (or somehting similar) on side B, which I have never been able to track down.
Post reply on HN