5 ms·
Our new SAM audio model transforms audio editing
- ajcp 10mo agoGiven TikToks insane creator adoption rate is Meta developing these models to build out a content creation platform to compete?
- deleted 10mo ago[deleted]
- mgraczyk 10mo agoI doubt it, although it's possible these models will be used for creator tools, I believe the main idea is to use them for data labeling. At the time the first SAM was created, Meta was already spending over 2B/year on human labelers. Surely that number is higher now and research like this can dramatically increase data labeling volume
- embedding-shape 10mo ago> I doubt it, although it's possible these models will be used for creator tools, I believe the main idea is to use them for data labeling. How is creating 3D objects and characters (and something resembling bones/armature but isn't) supposed to help with data labeling? As synthetic data for training other models, maybe, but seems like this new release is aimed at improving their own tooling for content creators, hard to deny this considering their demos. For the original SAM releases, I agree, that was probably the purpose. But these new ones that generate stuff and do effects and what not, clearly go beyond that initial scope.
- yjftsjthsd-h 10mo ago> Visual prompting: Click on the person or object in the video that’s making a sound to isolate their audio. How does that work? Correlating sound with movement?
- yodon 10mo agoThink about it conceptually: Could you watch a music video and say "that's the snare drum, that's the lead singer, keyboard, bass, that's the truck that's making the engine noise, that's the crowd that's cheering, oh and that's a jackhammer in the background"? So can AI. Could you point out who is lead guitar and who is rhythm guitar? So can AI.
- scarecrowbob 10mo agoI mean, sometimes I -mixing- a show and I couldn't tell you where a specific sound is coming from....
- yodon 10mo ago> sometimes I -mixing- a show and I couldn't tell you where a specific sound is coming from And in those situations it won't work. Is any of this really a surprise?
- recursive 10mo agoI thought about it. Still seems kind of pointless. That doesn't seem any better than typing "rhythm guitar". In fact, it seems worse and with extra steps. Sometimes the thing making the sound is not pictured. This thing is going to make me scrub through the video until the bass player is in frame instead of just typing "bass guitar". Then it will burn some power inferring that the thing I clicked on was a bass.
- yjftsjthsd-h 10mo agoTo be fair, it's one of 3 ways to prompt
- janalsncm 10mo agoIf it’s anything like the original SAM, thousands of hours of annotator time. If I had to do it synthetically, take single subjects with a single sound and combine them together. Then train a model to separate them again.
- ac2u 10mo agoI wonder if the segmentation would work with a video of a ventriloquist and a dummy?
- m3kw9 10mo agoCan I create a continuous “who farted” detector? Would be great at parties
- IncreasePosts 10mo agoEach person's unique fartprint is yet another way big tech will be tracking us
- BoorishBears 10mo agoThey're already analyzing poop, what's a mic to go with your toilet camera? https://www.kohlerhealth.com/dekoda/ https://www.kohlerhealth.com/dekoda/
- samat 10mo agoAnd ads based on a fart! I guess you could throw in some spectrography for content aware ads too!! ‘Hmm, I sense you like onions, you would love French soup in the restaurant downstairs today!’
- rmnclmnt 10mo agoBighead is back! « Fart Alert »!
- teeray 10mo agoI wonder if this would be nice for hearing aid users for reducing the background restaurant babble that overwhelms the people you want to hear.
- ks2048 10mo agoI recently discovered Audacity includes plug-ins for audio separation that work great (e.g. split into vocals track and instruments track). The model it uses also originated at Facebook (demucs).
- tantalor 10mo agoIs "demucs" a pun on demux (demultiplexer)?
- ipsum2 10mo agoYes.
- TylerE 10mo agoAudacity is very very very far from state of the art in that respect.
- wellthisisgreat 10mo agoWhat’s a good alternative ?
- 5-0 10mo agoI suppose that depends on the use case. For mash-ups specifically, using yt-dlp to download music and split into stems with Demucs, using the UVR frontend, before importing into a DAW is effortless. The catch is that you can't expect to get OK-ish separation on anything other than vocals and "other", which really isn't a problem for mash-ups. https://github.com/Anjok07/ultimatevocalremovergui https://github.com/Anjok07/ultimatevocalremovergui
- deleted 10mo ago[deleted]
- nartho 10mo agoIS there any DAW plugins that do that ?
- yunwal 10mo agoThis is hilariously bad with music. Like I can type in the most basic thing like "string instruments" which should theoretically be super easy to isolate. You can generally one-shot this using spectral analysis libraries. And it just totally fails.
- duped 10mo agowhat in theory makes those "super easy" to isolate? Humans are terrible at this to begin with, it takes years to train one of them to do it mildly well. Computers are even worse - blind source separation and the cocktail party problem have been the white whale of audio DSP for decades (and only very recently did tools become passable).
- yunwal 10mo agoThe fact that you can do it with spectral analysis libraries, no LLM required. This is much easier than source separation. It would be different if I were asking to isolate a violin from a viola or another violin, you’d have to get much more specific about the timbre of each instrument and potentially understand what each instruments part was. But a vibration made from a string makes a very unique wave that is easy to pick out in a file.
- duped 10mo agoAre you making this up? What spectral analysis libraries or tools? String instruments create similar harmonic series to horns, winds, and voice (because everything is a string in some dimension) and the major differences are in the spectral envelope, something that STFT tools are just ok at approximating because of the time/frequency tradeoff (aka: the uncertainty principle). This is a very hard problem "in theory" to me, and I'm just above casually versed in it.
- 613style 10mo agoHe's not making it up and there's no reason for that tone. Strings are more straightforward to isolate compared to vocals/horns/etc because they produce a near-perfect harmonic series in parallel lines in a spectrogram. The time/frequency tradeoff exists, but it's less of a problem for strings because of their slow attack. You can look up HPSS and python libraries like Essentia and Librosa.
- throwaw12 10mo agoThis is super cool. Of course, it is possible to separate instrument sounds using specialized tools, but can't wait to see how people use this model for bunch of other use cases, where its not trivial to use those specialized tools: * remove background noise of tech products, but keep the nature * isolate the voice of a single person and feed into STT model to improve accuracy * isolating sound of events in games and many more
- 7734128 10mo agoFinally a way to perhaps remove laugh tracks in the near future.
- sefrost 10mo agoThere are examples on YouTube of laughter tracks being removed and there are lots of awkward pauses, so I think you'd need to edit the video to cut the pauses out entirely. - https://www.youtube.com/watch?v=23M3eKn1FN0 https://www.youtube.com/watch?v=23M3eKn1FN0 - https://www.youtube.com/watch?v=DgKgXehYnnw https://www.youtube.com/watch?v=DgKgXehYnnw
- embedding-shape 10mo agoCutting the pauses will change the beats and rhythm of the scene, so you probably need to edit some of the voice lines and actual scenes too then. In the end, if you're not interested in the original performance and work, you might as well read the script instead and imagine it however you want, read it at the pace you want and so on.
- vintermann 10mo agoAnd have a video model render an entirely new version for you, I guess.
- samuell 10mo agoI tried this to try to extract some speech from an audio track with heavy noise from wind (filmed out on a windy sea shore without mic windscreen), and the result unfortunately was less intelligible than the original. I got much better results, though still not perfect, with the voice isolator in ElevenLabs.
- AkshatJ27 10mo agoYou can try it out in the playground: https://aidemos.meta.com/segment-anything/gallery/ https://aidemos.meta.com/segment-anything/gallery/ There seem to be many more fun little demos by meta here like automatic video masking, making 3d models from 2d images, etc.
- theflyestpilot 10mo agosample anything model?
- Oras 10mo agoTo try: https://aidemos.meta.com/segment-anything/editor/segment-audio https://aidemos.meta.com/segment-anything/editor/segment-aud... Github: https://github.com/facebookresearch/sam-audio https://github.com/facebookresearch/sam-audio I quite like adding effects such as making the isolated speech studio-quality or broadcast-ready.
- keepamovin 10mo agoFB has been a pioneer in voice and audio, somehow. A couple of years ago FB-Research had a little repo on GitHub that was the best noise-removal / voice-isolation out there. I wanted to use it in Wisprnote and politely emailed the authors. Never heard back (that's okay), but I was so impressed with the perceptual quality and "wind removal" (so hard).
- websiteapi 10mo agoI wonder if it works for speaker diarization out of the box. I've found that open source speaker diarization that doesn't require a lot of tweaking is basically non-existent.
- hamza_q_ 10mo agoYeah I was frustrated by slow and hard to use OSS diarization too; recently released a library to address that, check it out: https://github.com/narcotic-sh/senko https://github.com/narcotic-sh/senko Also https://zanshin.sh https://zanshin.sh, if you'd like speaker diarization when watching YouTube videos
- websiteapi 10mo agolooks interesting. will check it out.
- noman-land 10mo agoHey, thanks for this. Been trying it out and it's very fast but seems to hear more speakers than are in the audio. I didn't see a way to tweak speaker similarity settings or merge speakers in some way. Any advice?
- hamza_q_ 10mo agoThanks for checking it out! Yeah unfortunately, since the diarization is acoustic features based, it really does require high recorded voice fidelity/quality to get the best results. However, I just added another knob to the Diarizer class called mer_cos, which controls the speaker merging threshold. The default is 0.875, so perhaps try lowering to 0.8. That should help. I'll also get around to adding a oracle/min/max speakers feature at some point, for cases where you know the exact number of speakers ahead of time, or wanna set upper/lower bounds. Gotten busy with another project, so haven't done it yet. PR's welcome though! haha
- noman-land 10mo ago
- IndySun 10mo agoA lot of comments here exhibit the Gell-Mann amnesia effect writ large.
- AlexeyBelov 10mo agoYour comment is just a meta-comment and that's just as bad. I suggest gently correcting people instead of just pointing out very non-specifically that someone is wrong.
- IndySun 10mo agoI have. I did. I do. But like so many cocktail sticks launched towards the mammoth, eventually one lobs a final ineffectual remark. But also agreed (with you, yes), for the vast majority of moments, ignore and don't add more noise. But sometimes... human after all.