alt.hn

7/26/2026 at 8:02:15 PM

Simulate cassette tape audio profiles using FFmpeg

https://github.com/AARomanov1985/Audio-Cassette-Simulation

by xterminal

7/26/2026 at 9:59:49 PM

Can this be modeled with Neural Amp Modeler (open source) and Tone 3000 like a Space or a Pedal or an Outboard? https://www.tone3000.com/amalgamaudio

by westurner

7/26/2026 at 10:19:00 PM

Of course ! By the way, I'd love to see more HN posts about NAM. I've been following the project since day one, and it's been an absolute game changer for guitar amp modeling. It's genuinely exciting to see an open-source project have such a profound impact on the entire industry,not just modelers but software plugins and hardware solutions

by lateralux

7/26/2026 at 10:15:28 PM

You might want to have a look at https://github.com/jatinchowdhury18/AnalogTapeModel

Available as a (free) DSP: https://chowdsp.com/products.html#tape

by i_am_proteus

7/26/2026 at 10:25:09 PM

From https://github.com/jatinchowdhury18/AnalogTapeModel :

> CHOW Tape is an analog tape machine physical model, originally based on the Sony TC-260. The current version can be used to emulate a wide variety of reel-to-reel tape machines. Feel free to build and use for your own enjoyment.

> CHOW Tape is currently available in the following formats: VST, VST3, AU, AAX, AUv3, CLAP, LV2, Standalone plugin

That's like all of the DAW/DSP plugin formats.

Hopefully BespokeSynth VST3/LV2/CLAP plug-in hosting on Linux w/ Pipewire will be stable for it.

I found ToobAmp, which has a Neural Amp Modeler plug-in and also "TooB ML Amplifier" Artificial-Intelligence/Machine-Learning-based emulation of a number of different guitar amps and overdrive/distortion pedals based on Jatin Chowdhury's ML Amplifier library" https://github.com/rerdavies/ToobAmp

by westurner

7/26/2026 at 10:27:24 PM

If you're interested in this topic, here are a few projects I found particularly interesting :

LTSpice Guitar Pedals : A collection of LTspice simulations of classic guitar pedals, useful for studying, modifying, and experimenting with analog circuits. https://github.com/cushychicken/ltspice-guitar-pedals

spiceAmp : An analog guitar amplifier simulator based on SPICE, designed to model tube amp circuits with high fidelity. https://github.com/olegkapitonov/spiceAmp

LiveSPICE : A real-time SPICE circuit simulator that lets you play audio through virtual analog circuits, making it possible to prototype and audition pedals and amplifiers interactively. https://github.com/dsharlet/LiveSPICE

by lateralux

7/27/2026 at 12:14:11 AM

Guitarix v0.46.0+ supports running multiple instances of neural modules, blending models via a multi-module, and loading RTNeural (.json / .aidax) engines alongside Neural Amp Modeler (.nam) files

guitarix2-0.46.0 released - LinuxMusicians: https://linuxmusicians.com/viewtopic.php?t=26855

brummer10/guitarix.vst: guitarix vst3 wrapper for linux: https://github.com/brummer10/guitarix.vst

"Using Artificial Intelligence to set a guitar sound" Fedora Magazine; https://fedoramagazine.org/using-artificial-intelligence-to-...

Re: building a solid USB Pedal [set] https://news.ycombinator.com/item?id=45409295

From https://news.ycombinator.com/item?id=44120903 :

> A board of guitar pedals with IDK one USB-A and a USB-C adapter with OSC and MIDI support; USB MIDI trololo pedals

Re: JUCE on embeded, Rust DSP: https://news.ycombinator.com/item?id=48910657

Bluetooth pedal config probably works 99% of the time, reconfigurably

by westurner

7/26/2026 at 10:00:58 PM

Has anyone come across a Dolby B (or similar) encode / decode program?

I've been wanting to experiment with quantizing Dolby (or similar) encoded audio to 8 bits, and then unencoding to see how well it can sound.

by gwbas1c

7/27/2026 at 3:17:14 AM

Dolby was just pre-emphasis of the higher frequencies before they were written to the tape.

It will sound the same with 8 bits. 8bit quantization will give you 48dB dynamic range (best case). Call it 36dB practical, around the same as an average cassette tape.

by RachelF

7/27/2026 at 12:31:16 AM

U-he Satin emulates Dolby encoding/decoding.

by vor_

7/27/2026 at 1:42:35 AM

The only one I'm aware of is DDi Codec by Anaxwaves.

by IHeartGaming

7/26/2026 at 9:44:33 PM

How would one go about determining what effect to add for each cassette type? I don't know much about cassettes, I'm curious if this was something that could be done by ear or if these are commonly held opinions about the sound of each tape.

Again knowing nothing about tape, if I were tasked with this I would probably try to record the same audio to each of the tapes and then compare it with the original.

by massagedpelican

7/26/2026 at 9:59:57 PM

Similar to how the different film stocks affected the look of the image, the different tape formats would effect the sound similarly. Crudely explained, the more light brown the tape, the more noisy it would be. The darker the tape, the cleaner it could be. If you like the sound of someone standing behind you constantly saying shhhhhhhhhhhhhhhhhhhh, then choose a brown tape.

By now, the audiophiles have lots of profiles of what the various tape formats would sound like. It's been ages since I've looked at audio plugins, but I would be shocked if there's not presets to make your pristine audio sound like a Maxell cassette that's been played hundreds of times.

by dylan604

7/26/2026 at 10:27:29 PM

There's great VST plugins like "Sketch Cassette 2" that will do hiss, flutter, all of that, along with some great presets. That one's less about creating authentic sound profiles, more like creating lo-fi tracks and instruments for music production.

by tempoponet

7/27/2026 at 9:12:37 AM

Yeah

Tape hiss comes from the particle size on the tape and the amplifier "playing" that random natural orientation https://en.wikipedia.org/wiki/Tape_hiss

(I though it was more due to the amplifier but decided to look up first)

by raverbashing

7/27/2026 at 1:03:46 AM

Wavesfactory Cassette does exactly that for several well-known models.

by vor_

7/27/2026 at 7:18:17 AM

I was too young to do much with this information, but I not-so-vaguely recall my father cared deeply about getting metal-tapes. Not the music, but the material. I don't know if they lasted longer or sounded better (and now I would suspect: maybe have a sound profile he liked, rather than have high fidelity), but it was important to him.

by brnt

7/27/2026 at 12:28:49 PM

Metal tape (the dark black tape) sounded much better but only if you had high end equipment. Pure metal tape was rare outside japan and contributed to japan's 80s status as a mecca for consumer electronics.

by sandworm101

7/27/2026 at 12:38:38 PM

I think he only had Japanese equipment (Awai, TDK) and mostly TDK tapes.

by brnt

7/27/2026 at 8:41:30 AM

In my opinion, nothing is quite the same as real analog cassette sounds. It's nice to play around and prototype, but if you really want a good cassette sound effect, you have to use real hardware, for now.

by speedgoose

7/27/2026 at 1:34:49 PM

My pioneer tape deck has a high end DSP that spanks dolby and removes tape noise and I love the sound it produces.

by hypercube33

7/27/2026 at 9:51:41 AM

There's a number of VST plugins that get very close - much closer than a static set of filters every possibly could. This is just an approximation.

by TonyTrapp

7/27/2026 at 10:04:35 AM

"very" close is subjective. In my opinion it is nowhere near running audio through real tape. The computation capability needed to fully simulate tape in real time is not there yet. To model all subtle interactions, phase etc you'd need to run audio in 10-100+ MHz range.

by varispeed

7/27/2026 at 10:32:28 AM

TAAS ?

Tape as a service ? Upload your music and get it recorded to cassette and re uploaded to you ?

It’s all a moot point most of the time since it’s going to be compressed to crap by Bluetooth codecs before reaching most ears.

by 999900000999

7/27/2026 at 10:42:02 AM

what is the appeal of cassette sound effects / analog cassette sounds? is it nostalgia?

by raffael_de

7/27/2026 at 11:51:50 AM

Nostalgia for sure, but it also makes the sound less perfect in a way that can be interesting musically. It adds harmonics, slightly detune everything, compresses, adds noise.

It's a good tool to make a sound that sound very artificial, sharp, perfect, into something more soft and perhaps interesting to some.

by speedgoose

7/27/2026 at 12:12:52 PM

Ie they sounded like crap. Those of us old enough to live through the tail end of cassettes loathed them. Just like records before tape, every time you played them they sounded a little worse than the last time. And you rolled the dice on whether your player would eat the cassette. CDs were like magic. Nobody should look back.

by sandworm101

7/27/2026 at 4:47:31 PM

> Nobody should look back

Vinyl has outsold CDs for many consecutive years in the recent past. A strong retro-trend is booming right now with (mostly young) people rebelling against things that are aesthetically too sharp or crisp. The imperfections you decry, are seen as "authentic".

A few people are paying more for their wedding to be recorded on an old SD Camcorder rather than 8k. I suspect it's part of a whiplash against (tech) companies "ruining everything" and a yearning for a simpler time by people too young to have experienced it

by overfeed

7/27/2026 at 7:42:00 PM

Simpler time my ass. Try organizing anything without email or cellphones. It was hell. Filming your wedding on vhs isnt nostalgia when you also have a hundred iphones in the room. Nostalgia would be using a VHS only to have it fail and your wedding video disappear... forever. It's up their with nostalgia for slide rules and cars without seatbelts: they seems cool now because you do not have to actually rely on such things.

by sandworm101

7/27/2026 at 12:44:28 PM

Those qualities are exactly what makes the casette/analogue sound appealing to some ('organic', 'imperfect' etc.) Sonic aesthetics cannot be reduced to a question of fidelity alone.

by TrojanHookworm

7/27/2026 at 2:36:51 PM

I’m old enough. The bad sound quality is the point.

It’s like emulating old video games. On a perfect display it doesn’t look very pleasing but if you add CRT and NTSC analog artefacts, it may have some charms.

by speedgoose

7/27/2026 at 4:20:26 PM

No, it's not quite...

by LearnYouALisp

7/28/2026 at 5:21:00 PM

Tell me you've never heard a good Type IV recording without saying you've never heard a good Type IV recording.

by LocalH

7/26/2026 at 11:27:13 PM

This is interesting as I would assume multiple passes from each output would result in further multi generational loss akin to tape trading of band demos, soundclashes and dj mixes from pirate radio

by omar_alt

7/26/2026 at 9:39:19 PM

What is "wow"?

by _def

7/26/2026 at 10:48:28 PM

Half of wow and flutter. The tape speed wasn't perfectly constant, so the pitch wobbled.

Wow was slow speed variations (under 4Hz). Flutter was quicker warbles.

Both were caused mechanically. The rubber wheel - pinch roller - that moved the tape might not be perfectly circular, the motor that pulled the reels might be uneven, and the tape case sometimes pressed on the tape reels causing variable friction.

Analog media really were a bit crap. I get the creative distortion idea, but even so - ewww. I'm so happy these kinds of imperfections are optional now, and not baked into music distribution systems as an expected flaw.

by TheOtherHobbes

7/27/2026 at 5:43:39 AM

> Analog media really were a bit crap. I get the creative distortion idea, but even so - ewww.

On digital music production some randomisation (sometimes called swing in sequencers) is often added so the notes aren't played exactly at the right time.

Perfection often sounds a bit dull the same way seeing a perfectly symmetrical human face feels weird.

by prmoustache

7/27/2026 at 12:46:33 AM

Off topic, but only a couple of years ago the 3d printer community re-discovered these same kinds of flaws in the extruder gears that result in visible ripples in prints. When you put a gear on a stepper motor, and set it with a set screw, you’re pretty much always off center slightly.

by abracadaniel

7/27/2026 at 8:18:31 AM

> I'm so happy these kinds of imperfections are optional now, and not baked into music distribution systems as an expected flaw.

99.9% of the stuff on the music distribution systems we have now is lossily compressed with perceptual coding. That introduces a shitload more artifacts than any analogue wobble.

(I wonder if people 50 years from now will have special algorithms to introduce that coveted "authentic mp3 artifact vibe of the vintage 2010's".)

by otabdeveloper4

7/27/2026 at 8:33:31 AM

If anyone wants a natural example of what tape can sound like, here's an interesting album on Spotify: Alice Atieno by Collela Mazee – https://open.spotify.com/album/6j72tDGcz97abyKDOP3aWp

Kenyan benga music from the early '80s or so. It's got every type of tape artifact. It's horrible, haha. There are even tracks where the tape head seems to be picking up the other side of the cassette in reverse.

It's not supposed to sound like that. Just a result of stewardship and rightsholders and incentives. Someone somewhere has a cassette tape and digitizes it. And uploads it to Spotify. Then it's forever.

(Frankly, I think it's gorgeous. The combination of the music and the recording is accidentally something really special. Laid-back but gently enthusiastic and warm 4/4 music, bright bur melancholy. Sounds like the Mega-Man 1 soundtrack played by a live band? And a really, really good band. And then it's all tragically messed up by the gears of history. Fluttering, swaying underwater. And… it's all so pretentious when I type it out… but it just… there's something about it. It's pretty great music for programming, haha.)

by AnthonBerg

7/26/2026 at 11:19:52 PM

I wouldn't call the pro reel-to-reels crap. The imperfections were barely noticeable. Besides, there were other pros to the analogue days, like records having their actual own sound with human imperfections in-tact (unless you had a tonne of money and could afford to spend hours slicing tape). I despise how perfect and same-y everything sounds over the past 20 years. Of course I understand that this is all very subjective, but there just isn't as much access to more raw sounding records as, even very talented musicians who are probably capable of getting great takes which still quantize everything.

But ya ya, old man yells at clouds, I know.

I still record to tape, it's a lot of fun (cassette tape)! There are a bunch of problems to solve that take away from "just being creative" but I don't mind it. Part of that is that it's a forcing factor to improve musicianship because punching in on those consumer four-track machines doesn't really work (even though they have the capability).

by sodapopcan

7/27/2026 at 9:02:08 AM

> Analog media really were a bit crap.

True but I find it strange how many of my favourite recording were made with this "crap" analogue equipment (well before I was born) and how many modern "perfect" recording sound terrible to me.

To me the sound of even subtle autotune is "eww". I can't stand the over compressed, "sugary" sound of current pop music. It's just not for me.

Perfection is Herbie Hancock's Head Hunters where his analogue synth goes out of tune and he brings it back without loosing the groove. The recording is better for that detail IMHO.

I never listen to Nevermind or Collected Ambient Works 1 and think, that would be better if it was recorded with a DAW.

Horses for courses I guess.

by Lio

7/27/2026 at 2:40:29 PM

Over compression is horrible, but unrelated to this.

I grew up with cassettes, but was happy to switch to CDs when I was around 18. The better the recording and playback, the closer it is to what the artist intended, and to how it would sound if the artist was playing right in front of you (if they don't use autotune or compression).

It's a fact that people get accustomed to the distortions in music playback, in the old days it was the noise of vinyl, which got better later, then cassettes, then heavily compressed MP3s. People should aim for the best possible audio quality and get rid of their preference for distortion.

by mark_something

7/27/2026 at 7:27:12 PM

> the closer it is to what the artist intended, and to how it would sound if the artist was playing right in front of you

This doesn't really bear any relationship to what happens in recording studios.

Almost no "recordings" are a recreation of a single live event. Producers choose microphones, consoles, compressors, limiters, equalisers and FX because of the way they colour sound.

It's a completely artistic set of choices.

When someone like Dave Grohl chooses a studio with a Neve and a 2" multitrack he's not doing it because he wants more fidelity. Again, recording to a DAW would not necessarily improve the end product.

You mention over compression of MP3s, well people have also used bit crushing as an effect for a long time too.

by Lio

7/26/2026 at 9:59:03 PM

Basically, on analog media, playback speed isn't perfect. There's constant speedups and slowdowns. This creates a "waa waa" or "wow wow" effect that's noticeable when playing a constant pure tone.

by gwbas1c

7/26/2026 at 10:00:48 PM

don't forget that tapes also stretch so that can also give similar sounds

by dylan604

7/28/2026 at 12:15:55 PM

> Basically, on analog media, playback speed isn't perfect

Thank god we have digital now. My car is able to play music, close to normal quality, at around 16 °C. At other temperatures, the sound is non natural.

by hulitu

7/26/2026 at 11:33:05 PM

I read that audio engineers actually use specialized and very expensive ripoff hardware in their signal processing chain to replicate the effect of the electromagnetics (hysteresis?) of tape systems on the audio.

To me, this seems like wasted effort. Any such filter can be implemented using DSP.

by brcmthrowaway

7/27/2026 at 12:36:01 AM

I’m wondering besides the hiss and wow/flutter, what is the frequency range of cassette tape? Is there an “eq” to tape where certain frequencies are rendered more strongly than others? And how does it compare with records?

by JSR_FDED

7/27/2026 at 1:12:03 AM

Back in the day, the plastic that wrapped blank tapes was printed with details about the tape inside, including a frequency response chart.

Of course it differed by brand.

It's also worth considering that a lot of tapes were recorded with Dolby B noise reduction, which boosted high frequencies on the recorded tape, to increase the signal to noise ratio. (You had to use Dolby B at the playback end, too, or it would sound too bright.)

by rahimnathwani

7/27/2026 at 1:12:02 AM

I’m not sure of the correctness, but I see the author adjusting eq in the source, this is from the “BASF LH Extra C90” preset:

> highpass=f=50,lowpass=f=13000

> equalizer=f=500:width_type=q:width=0.8:g=-1.2,equalizer=f=6000:width_type=q:width=0.7:g=-4

by spencerap

7/27/2026 at 12:04:24 AM

Would be interested to see something like this to simulate VHS effects

by isiahl

7/27/2026 at 12:20:53 AM

That might be of interest: https://ntsc.rs/

by boredemployee

7/27/2026 at 2:03:38 AM

"ntsc-rs is written in Rust, and is multithreaded and SIMD-accelerated."

This made me lol. I know so few video editor types that would use a plugin like this that would know what Rust was to be "impressed" by this bit of PR.

by dylan604

7/26/2026 at 10:09:13 PM

To which analog gain would 0 dBFS be mapped?

by atoav

7/26/2026 at 11:20:59 PM

i don’t think any dynamic range manipulation is being done, beyond the slight variations as a consequence of the other processing.

generally 0dBVU is mapped to -18dBFS with VU style RMS metering being used on the digital side as well. but that isn’t some kind of physical translation, it’s rather arbitrary and more a convention.

by pitchlatte

7/27/2026 at 8:30:08 AM

So no tape saturation? That would be to me one of the most interesting bits of the tape sound, at least for musical applications.

by atoav

7/27/2026 at 12:48:20 PM

One generation's distortion is the next generation's instrument. I love it.

by crmd

7/27/2026 at 2:59:00 PM

Noise, in a wide, aesthetic sense, is rich. "Clean" is shapeless, soulless.

by Funes-

7/26/2026 at 11:18:12 PM

Well i would say wow and flutter is a property of the device playing the tape, not of the tape itself

by secretsatan

7/26/2026 at 11:28:15 PM

Crappy old tape and a warped shell can cause wow and flutter too if the tape is sticking or the reels are binding.

by wildzzz

7/27/2026 at 8:55:51 AM

Wonder if there would be a preset called "I left the tape on the dashboard too long last summer"

by markedathome

7/26/2026 at 11:33:58 PM

The tape is driven by rollers directly, the reels only pick up the slack.

by jojobas

7/27/2026 at 7:44:51 AM

What about device recording the tape though

by ShinyLeftPad

7/26/2026 at 11:21:51 PM

Well, rather your ears than mine.

by tom_

7/27/2026 at 3:06:21 AM

This is awesome and very useful for one of my projects !! Thank you so much

by flyingcapabara

7/27/2026 at 8:50:55 AM

Easy-to-access examples of different sounds would be nice.

by dandare

7/26/2026 at 8:30:13 PM

Interesting! What tape simulation do you find yourself favoriting?

by AmazingEveryDay

7/27/2026 at 12:43:37 PM

I remember using pure metal tapes...

by Alien1Being

7/27/2026 at 1:11:47 AM

vaporwave fans rejoice

by dcl

7/27/2026 at 7:23:11 AM

Aha, there are later type TDK D90s, I wonder if they'll add mid-80s ones? Either way it may be possible to test an idea I've had for a long time that borders on "low stakes conspiracy theories".

All those albums you loved in the mid-to-late 80s, if you're about my age, like Appetite for Destruction, Master of Puppets, Somewhere in Time, First and Last and Always, Fear of a Black Planet, or even Pretty Hate Machine - these were all mastered not to sound best in a pristine recording but to sound best when pirated off your mate's big brother's CD of it onto a TDK D90 that had been rattling around in your schoolbag for months.

Because these are just some of the pirated tapes I have on hand from when I was 14 or 15 or so, and they definitely sound better than the bought-and-paid-for CDs I eventually bought once I had money to spend on such things.

by ErroneousBosh