9 ms·
Bark – Text-prompted generative audio model
- awaller1 3y agothis is incredible
- 101008 3y agoThe Spanish example (Miguel) is really bad.
- wtk 3y agoPolish one very realistic on the other hand
- Tade0 3y agoJust about the only unrealistic thing is it recommending Szczecin's old town.
- gkucsko 3y agoit's more meant to show code switching. more examples here: https://suno-ai.notion.site/Bark-Examples-5edae8b02a604b54a42244ba45ebc2e2 https://suno-ai.notion.site/Bark-Examples-5edae8b02a604b54a4...
- seydor 3y agoWell i can see it becoming sexy soon
- turnsout 3y agoSoon? Is the model filtered/censored?
- jamilton 3y agoFrom the readme: >Bark has the capability to fully clone voices - including tone, pitch, emotion and prosody. The model also attempts to preserve music, ambient noise, etc. from input audio. However, to mitigate misuse of this technology, we limit the audio history prompts to a limited set of Suno-provided, fully synthetic options to choose from for each language. It's not immediately clear how the audio history prompts are created.
- joshjob42 3y agoI don't know how they're made exactly, but one can just edit the code a bit and delete the restriction to just the given audio history prompts. It's literally just enforced, affect, with a simple "assert" command.
- gkucsko 3y agohistory prompts are just unconditionally generated TTS from the same model. any of those can be used as history, but for convenience 10 are provided for each language (to generate things with consistent voices)
- turnsout 3y agoSo the history prompts are collections of text/audio pairs?
- gkucsko 3y agohistory is semantic, coarse and fine. so essentially the same thing thats getting generated just using it as an input before the generation
- CamperBob2 3y agoSo how do you clone an existing speaker's voice? That's the part I don't get.
- causi 3y agoSome of it is very impressive although some of it seems about equal to the TTS built into my phone. How long until someone can package this up and make a program that takes in epubs and spits out mp3s?
- mysterybox 3y agoWTH1!!!
- calny 3y agoVery cool. Side note: bark-gpt.com is already taken for a dog translator: "The world’s first AI powered, real-time communications tool between humans and their furry best friends."[0] I only know this because my law firm partner's name is Bark, and I wanted to automate some legal work and name the software "Bark GPT" after him. [0] https://www.bark-gpt.com/ https://www.bark-gpt.com/
- seydor 3y agoI want to see the training set for this
- cm2187 3y agoIt's genius idea. As long as you tell owners what they want to believe their pet says, those guys will make a fortune.
- tough 3y agoI already know when my dogs needs to eat, drink, shit or pee or go for a walk or play because he usually will tell me. Choosing to ignore your dog won't change because some magical AI can now translate it to -Im fine, Im only barking because you're an awesome being, keep your subscription humaaan-
- sangnoir 3y agoBut can your dog (translator) say "I love you?" In a doggy-voice? Replika proves people will pay for this and convince themselves it's real, because they want it to be. Bark-GPT's VC pitch: "Replika for real dogs"
- rck 3y agoAny idea what the training data for this is? Looking at the model, it looks like it is literally just copy-paste from Karpathy's nanoGPT, so the training data is what's most interesting. Pretty amazing anyway.
- unraveller 3y agoI found a secret demo page that shows in real time how they assess any sound file's mood swings along with number of detected laughs, coughs, etc. Guessing that ability is involved somehow.
- gkucsko 3y agohaha https://demo.suno.ai https://demo.suno.ai
- billconan 3y agoI tried it. It seems to hallucinate easily. The generated audio isn't what I provided. It seems to be easily reproducible if I specify a non-existing speaker? audio_array = generate_audio(text_prompt, 'en_speaker_3')
- ripperdoc 3y agoAm I hallucinating or didn't several of the examples have background audio artifacts, like it's been trained on speech with noisy backgrounds, I'm guessing audio from movies paired with subtitles? Having random background audio can make it quite hard to use in production.
- CreepGin 3y agoI hear it too. I don't know if it's just background noise though. May be quality issues with the audio synthesis.
- gkucsko 3y agoyeah sometimes there are definitely artifacts. technically they can be removed pretty easily with another model (like denoiser from FB) but for now we wanted to keep it simple to learn to control these things better through prompt engineering. Like when using a high quality input prompt it generally continues with high quality
- meepmorp 3y agoAt least in the last example, with the man and woman and the expensive oat milk, the background noise seemed to fit a likely public conversation scenario. I wasn't sure if it was accidental or not.
- JonathanFly 3y ago>Am I hallucinating or didn't several of the examples have background audio artifacts, like it's been trained on speech with noisy backgrounds, I'm guessing audio from movies paired with subtitles? Having random background audio can make it quite hard to use in production. The other side of that problem is an opportunity. That's why the same model can also generate music, background noise and sound effects. And it's just because the prompt specifies those things explicitly. The input is truly semantic, so the output is rich and reflects that context. Is your input text sounds like it came from a speech, then there's a high chance your output audio will sound like a megaphone in a public space with crowd reactions and maybe even applause.
- wgreenberg24 3y agoAwesome stuff! Can’t wait to see where this company goes
- gkucsko 3y agoHey, one of the Suno founders/creators of Bark here. Thanks for all the comments, we love seeing how we can improve things in the future. At Suno we work on audio foundation models, creating speech, music, sounds effects etc…. Text to speech was a natural playground for us to share with the community and get some feedback. Given that this model is a full GPT model, the text input is merely a guidance and the model can technically create any audio from scratch even without input text, aka hallucinations or audio continuation. When used as a TTS model, it’s very different from the awesome high quality TTS models already available. It produces a wider range of audio – that could be a high quality studio recording of an actor or the same text leading to two people shouting in an argument at a noisy bar. Excited to see what the community can build and what we can learn for future products. Please let us know with any feedback, or if you’re interested in working on this: bark@suno.ai
- turnsout 3y agoAmazing work so far! Do you have any sense about how difficult it would be to enable M1/M2 or CoreML support?
- gkucsko 3y agothanks, the model itself is a pretty vanilla gpt model based heavily on karpathy's nanogpt, so should not need too many bells and whistles to get it running on specific architectures. that said i have very little experience with platform specific development, so would looove some help from the community :)
- ttul 3y agoA serious nod to Karpathy here. They could have chosen any other Transformer architecture, but chose perhaps the most reachable one - in the literal sense.
- brucethemoose2 3y agoCould you stick a torch.compile in the inference and training code, maybe gated behind a flag? This should help AMD/Nvidia performance (and probably other vendors soon) significantly. PyTorch themselves used nanoGPT training as demo for this: https://pytorch.org/blog/accelerating-large-language-models/ https://pytorch.org/blog/accelerating-large-language-models/
- vlugorilla 3y agoGreat news! It's astounding how quickly technology is advancing. Only yesterday, I was wondering about when a new model for text-to-speech would be developed, and today a game-changing model has been released! This new model is simply incredible!
- deleted 3y ago[deleted]
- quaintdev 3y agoGood naming choice after OpenAIs whisper for speech to text. Bark is fitting name for text to speech.
- sschueller 3y ago"However, to mitigate misuse of this technology, we limit the audio history prompts to a limited set of Suno-provided, fully synthetic options to choose from for each language." Isn't this open source and can be easily removed or am I missing something?
- gs17 3y agoYes, it seems to be enforced by a few assert statements in the code.
- CamperBob2 3y agoHave you seen any information on how to create the .npy files for custom voices, though? That's where I hit a wall. There must be some process that takes a .wav or similar audio file and creates the (relatively small) history prompt data. Edit: looking at https://www.reddit.com/r/singularity/comments/12udgzh/bark_text2speechbut_with_custom_voice_cloning/ https://www.reddit.com/r/singularity/comments/12udgzh/bark_t... now.
- nathias 3y agoI hope you reconsider the misuse mitigation, I'm trying to clone my voice, but so far the other tools weren't that great ...
- newswasboring 3y agoThe misuse mitigation is 3 assert statements in one file. Its pretty easy to comment out.
- peddling-brink 3y agoSlightly trickier is how to generate a "history" file that will allow the model to use your voice.
- jdprgm 3y agoIt seems like a lot of the entries in TTS are either close sourced saas apps or something like this with limitations on customizing it. It seems clearly inevitable and likely only months away that a high quality unrestricted open source option for things like voice cloning will emerge so i'm not sure why these projects are even really bothering trying to stop it. I think in order for TTS to have its StableDiffusion moment it will just be a matter of an unrestricted easily trainable open source model.
- kleer001 3y ago>> i'm not sure why these projects are even really bothering trying to stop it. CYA aka https://en.wikipedia.org/wiki/Cover_your_ass https://en.wikipedia.org/wiki/Cover_your_ass also it still requires tons of money to run, so it's likely only businesses will do it
- MacsHeadroom 3y agoIt takes about the same resources to run as Stable Diffusion or LLaMA. You don't even need a GPU.
- kleer001 3y agoNo, the power and money to run high quality servers like ChatGPT4 and MidJourney or DallE. Sure there's local-able alternatives, but they're lower quality and lower bandwidth and not being used as a business proposition. Just like a private individual can own lock smith tools and play around with locks... don't go basing your business of supplying them wholesale to the general public worldwide for free.
- MacsHeadroom 3y agoLocal LLMs are in production as the backbone of highly valued businesses. That will increasingly be true with the advent of commercially licensed foundation models currently in training such as StableLM and RedPajamas.
- generalizations 3y agoIs there likely to be a way to stream this audio in the future? As in, here's an incoming stream of text, generate the audio on-the-fly instead of all at once.
- txtai 3y agoExcellent work! Hope to see a version that has a friendlier commercial license in the future (current version is CC-BY 4.0 NC).
- miki123211 3y agoThe fact that this is open source and can generate more thann just speech is really nice, but for speech itself, it's much lower quality than what Eleven Labs provides. All the open source models I've seen so far have this weird kind of neural fuzziness to them. I don't know what Eleven does better, but there's definitely a big difference.
- ignoramous 3y agoBark's readme points out that to access the "larger model" you'd have to email them. I guess, the "open" part of it is mostly for marketing.
- drowsspa 3y agoSeems like it's doable to fix it in post, but I guess nowadays we're all about just shoving everything into the model
- treerunner 3y agoCan someone briefly explain how a model for a specific language is made for this tool?
- bdg 3y agoOk, the German example caught me -- it's too real. "But maybe it would be faster if..."
- cyberax 3y agoOn the other hand, Russian was disappointing. It put a stress in one word incorrectly (it confused the grammatical form, used the genitive case instead of the accusative) and in general sounded strange.
- newswasboring 3y agoMan I know this is HN, and I know we have a certain decorum we should be maintaining, but with the recent activity in this field the most appropriate response to these posts is "4bit when?" or "f16 when?". Not sure which one is applicable. I am having no luck running it on a 6GB vram gpu, so I guess its the 16 bit floating point one.
- montebicyclelo 3y agorelated to this - to those releasing models, it would be great if you could share how much VRAM is required (seems very common for this key piece of info to be missing).
- joseph_grobbles 3y agoI'm successfully running it on a 12GB GPU (while it downloads some 12.1GB of model data on first run, the highest GPU memory usage was ~6.5GB, settling back down to around 5GB), however the results are nothing like the samples given on the github page. Using the exact code given and in the runs I've tried the results are rather terrible. I'm not being negative -- some of the samples are really neat on their page -- and I know there is some idiosyncrasy of my setup that is causing issues, though it is a pretty typical conda + pytorch with CUDA 11.8. Playing with the text and waveform temp from their defaults 0.7 is yielding some semi-decent results, but it feels essentially random.
- computerex 3y agoHow do I save the audio array to a file on the file system?
- CamperBob2 3y agoThere appear to be several ways to do it, but what worked for me was: from scipy.io.wavfile import write as write_wav write_wav("c:\\wherever\\whatever.wav", SAMPLE_RATE, audio_array) If you want to play it right away, you can use: from playsound import playsound playsound("c:\\wherever\\whatever.wav") What I wasn't able to do was make torchaudio play it directly, without creating an intermediate .wav file. Apparently there is a live-playback backend on the Mac, but not on on any other OS.
- xingped 3y agoDoes it sound fairly robotic/static-y to anyone else or just me? Doesn't sound any better than any other TTS software I've tried and in fact sounds a bit worse, like it's noisy.
- pfa344 3y agoHello how are you doing
- itomato 3y ago“Last nights Phish performance is proof that God loves us.” But in Portuguese. https://suno-ai.notion.site/Bark-Examples-5edae8b02a604b54a42244ba45ebc2e2 https://suno-ai.notion.site/Bark-Examples-5edae8b02a604b54a4...
- DarthNebo 3y agoImagine Torvalds saying the same in the context of linux- 'to mitigate misuse of this technology, we limit the audio history prompts to a limited set of Suno-provided...'
- tasty_freeze 3y agoA few years a back someone had the genius idea of making a robo-answering phone program that would give vague but encouraging replies when it received some unsolicited sales pitch. Although it was a fixed sequence of responses, it fooled some callers for a surprisingly long time. https://www.youtube.com/watch?v=XSoOrlh5i1k https://www.youtube.com/watch?v=XSoOrlh5i1k Someone needs to hook create the plumbing to capture speech to text, feed it to a GPT script that has been told how to reply to such call center calls, then send that back through a TTS generator like this one. To overcome any latency issues, it could build in a ploy to buy time like the old script did, eg, make the robo-answerer sound like a somewhat addled old man who has to think before each reply, perhaps prefixing responses with "hmm, ahh, ..." to buy time to generate the response.
- pfa344 3y ago[flagged]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- vazibolan 3y ago[dead]
- vazibolan 3y ago[dead]
- vazibolan 3y ago[dead]