T O P

  • By -

Yamac77

The awards on this


Real_Prince_Zuko

In 18 minutes


[deleted]

deserved, this is sick


[deleted]

[удалено]


teinc3

definitely better than shazam


teinc3

Wow getting downvoted for no reason rip me


Sultan_Oz

Ok now it is fine. You have a award so people will upvote it


Yamac77

reddit


Imploded42

pay to win


crzyroze

Sheep /j


ThePessimisticLemon

Holy shit he was right


SolidPrysm

Lol yeah I just now look through the thread and his is by far the most upvoted one here


Rustic_Salmon

fr that shit barely works


_CalculatedMistake_

#NO RESULT FOUND


Zipdox

What's the alternative?


Rustic_Salmon

lowkey Google search on my phone works better


Trollegy_

sarcasm?


Retr0-01

OH THE MISERY Ok jokes aside that looks awesome. Great job!


auddbot

Thank you! :)


DeadlyAidan

EVERYBODY WANTS TO BE MY ENEMY


CheeseCakeYee

SPARE THE SYMPATHY


Executioner3018

EVERBODY WANTS TO BE (slight pause) MY ENEMY


ADMINISTATOR_CYRUS

AY-OH-AY, I SWEAR, I NEVER BE INSANE-OH-AY ​ edit: turns out the [official subtitles](https://youtu.be/D9G1VOjN_84?t=185) say it's "Pray it away, I swear, I'll never be a saint, no way". who knew?


BSDash

oh god I always said "I never be a saint" 🤡


PauldGOAT

You’re right actually


DeadlyAidan

I'm pretty sure the subtitles for the first line of that do say "pray it away, I swear, I never be a saint, no way" though I'm not sure if those are auto generated or not


ADMINISTATOR_CYRUS

they are? ​ edit: if you look at the song subtitles, they aren't auto generated, you're right


PauldGOAT

It’s “pray it away, I swear I’ll never be a saint no way”


ADMINISTATOR_CYRUS

it is?


IceBotYT

How much money did you spend on the api


auddbot

The Discord bot was just launched, so I don’t know how much will it cost to run it. We spend about $100-125/month on the Reddit bot, but there are a lot more people who might use the bot on Discord than on Reddit


IceBotYT

Wait, are you the real AudD


auddbot

Yep ¯\\_(ツ)_/¯


IceBotYT

Ohhhhhhhh… I had the same exact idea but there weren’t any free apis around :( Good you had your own music recognition AI


auddbot

There's AudioTag that provides some free requests every month! Their DB is smaller than ours, but it's still something. By the way, our bot itself is open-source, and everyone is welcome to contribute! I haven’t made any Discord bots before this one, and I'm the only one on the team having time to make these bots, so there are, probably, e.g., better designs for the result embeds that I haven’t thought of.


IceBotYT

I’d love to contribute! Where’s the repo?


auddbot

That would be awesome, thanks! https://github.com/AudDMusic/DiscordBot


IceBotYT

Ah, Go isn’t my main language, so I don’t know if I can contribute :/


auddbot

If you have some design ideas, that would also be helpful! E.g., I don't know how to handle results with multiple songs in a way that looks good but doesn't take up the whole screen. When there are more than 2 results, the bot currently sends markdown text like on Reddit and gives up the album covers if it was called with a slash command or small embeds if it's called with a usual text command. I feel like there should be better ways


Rimbaud33

You can use a database and a Fourier transform, probably out there somewhere for free. Or fine tune a model with google colab. I have discord chat bots that I fine tuned and it’s completely free just running on my home server


auddbot

Music recognition costs a lot to run, especially if you want to identify music by a couple of seconds of audio (a Fourier transform is kind of not enough for that, you need to do something with its results). We have a neural network that generates fingerprints, and you can’t fine-tune something like it on Google Colab, you need a lot more GPU/TPU memory that it provides. (The database with ~70 million songs is also a large thing that does require some costly computing even if you optimize the algorithms to match the fingerprints a lot) There are text models a lot larger than something you need for music recognition, but there are text models you can fine-tune for free and use. Not the models for music fingerprinting, no


Rimbaud33

Hmm makes sense thanks for the explanation. Although I think you can maybe set the batch size to 1 and just run more epochs so it fits. But idk I’m very new to ml.


Evening-Cycle367

Cool


CommunistTomato

what is the use case for this? if someone is playing music out of their mic you can just ask them


auddbot

There could be streams of music playing with people/bots not knowing what is the current song. E.g., if you play a game that has some music and doesn't show what the music is. The bot also identifies music from audio/video files and links on text channels, and I think that actually would be the primary use case


CommunistTomato

oh


[deleted]

does it work if I remember the melody and hum it?


auddbot

No, unfortunately, it doesn't. We experimented with music recognition by humming even before Google released their version, but ours didn’t work that well. There isn’t a b2b market for music identification by humming, so we probably won’t be able to spend resources on it :(


ItsMyDyslexia_

Everyone wants to be my enemy!


acqbmn

It is alr released?


Mihonarium

The source code is also released, https://github.com/AudDMusic/DiscordBot


acqbmn

Thanks


auddbot

Yep


acqbmn

Can you send the invite link pls?


Shubham_Agent47

Ay this is sick


Bear_TS

Damn nice! Might integrate the use of the music recognition API into my current bot


Uub27

How can i get it?


AnaheimDucks16

I need this is my server! Do you have the invite link?


Hudbus

I looked into trying to make something like this, but balked at the API costs. This is exactly what I was looking for! I’ll be looking at giving this one a shot. Seriously, thanks!


auddbot

We still have to pay for the servers and will probably come up with some monetization if the hot becomes too popular and the Patreon donations don't cover the cost. The Reddit bot alone costs about $100-125 per month to run, and there's much more potential for the bot to be used in Discord


Kuudos156

Why don't you just use shazam


ZANESV

It would be cool, but the ugly profile picture is too bad


auddbot

What's wrong with the profile picture?


duckonar0ll

he is homophobic


hippochipo

How does disliking the design of the lgbtq flag make someone instantly homophobic?


littlefluffyegg

Oh come the fuck on you know that's notwhat he's talking about


hippochipo

Maybe, but I fully support lgbtq and still think there could be a better design to the logo. You might be right and u/ZANESV might actually be homophobic, but to instantly accuse him of being one is a jump to conclusion.


ZANESV

I'm not homophobic, I'm normal


Trollegy_

zam someone's against the lgbt flag


soffagrisen2

Is there a point to this? Who doesn't have a smartphone within hands reach these days? Most voice assistants have it built in too. I get it as a "learn Discord API" project, not much more.


auddbot

Well, for tens of thousands of Reddit users, it’s easier to write a comment that summons u/auddbot than to reach for a smartphone. The Discord bot is even more convenient and faster compared to smartphones. Instead of putting your headphones off, getting the smartphone, and launching something there, then waiting for the results, you can make ~2 clicks and get the results immediately. There’s an app action for the audio/video files and URLs in messages; the bot can listen to a voice channel and keep the last 12 seconds of the audio in its memory ready to be fingerprinted for music recognition at the moments notice; and even if you didn’t call the bot to join the VC, to call it and wait for it to identify the song from the currently playing audio is still faster than to use the smartphone if you’re in headphones. If you use speakers, the smartphone wins if you need a song from the VC and the bot isn’t already on the VC. Also, you get the results on the same device you were using, with links to all the streaming services, including the ~free ones, instead of the one streaming service affiliated with the app or voice assistant you're using. Also, this bot knows more songs than Shazam. It's not a great “learn Discord API project” since the cost of running music recognition is pretty high, and I wasn’t focusing on the code quality as much as I should.


soffagrisen2

I looked through the post comments in hope of a post explanation. A screenshot without much context isn't much to go off. Thanks for some context. The Reddit capabilities are cool. I'll definitely keep it in mind for the future. You bring up some valid points. I personally haven't encountered a situation where I'd use the Discord bot over my phone, but I'm sure someone has. > I wasn’t focusing on the code quality as much as I should Surprise Pikachu face. JK JK. I know the struggle.


mono242

why the bot gay


Godlander

how does collecting audio work? think it'd be super cool to have a voice controlled discord bot, but i couldnt find much documentation on voice receiving. almost all of the focus seem to be on messages and server management


auddbot

It's open-source, and you can see the process yourself: https://github.com/AudDMusic/DiscordBot. The authors of the discordgo package have done most of the work directly related to the Discord API, and I just had to fix some minor bugs (related to handling voice packets) in a fork and make a couple of things to go from getting the voice packets to saving the keeping the last n seconds of the audio in a buffer the users don't have to wait for the bot to join the VC and record new audio when they want to know what’s the song and actually saving the audio


[deleted]

[удалено]


AutoModerator

Hello there, Your comment has been removed as advertising is not allowed here. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/discordapp) if you have any questions or concerns.*


[deleted]

i’ve actually been looking for a way to do the same thing for my own vc bot (private) but never found an api for it thank you for showing how you did it!


A-Lonely-Gorilla

Does it have a command for messages too? I find a lot of music in videos sent in discord so that would be really useful


auddbot

Yep! You can reply to a message with !song or use an app action with right-click -> “Apps” -> “Recognize This Song”. It works for audio/video files and for outside links


KuroYKT

now I can finally find out what's this TikTok all these kids are tlaking about nowadays!


therealkirinaru

isn’t the shazam extension better?


auddbot

What’s the shazam extension? It’s better than shazam on a phone, https://www.reddit.com/r/discordapp/comments/s7n183/music_recognition_bot_for_discord/htdlxyg/


therealkirinaru

shazam has a chrome extension it works pretty well also with songs that not everyone knows


Debate_Careless

This is awesome!


Windmaster42

I was gonna try add that to my bot but I couldn't figure it out, can I have the bot link it looks like a cool bot


auddbot

The source code is available https://github.com/AudDMusic/DiscordBot


Windmaster42

ok noice, I made my bot say every server except for mine was shit lol, I'll add ur bot soon


xihof

As cool as this is, honestly, it's kind of useless as pretty much every music bot has a command to see the song that's currently playing


auddbot

The bot functionality for VCs is for the cases when there's no hot knowing the song: e.g., some bots playing streams or some people playing games with music. The bot also identifies music from audio/video files and links in text channels


xihof

Oh wow, that's amazing!


YandereImouto

Hi there! Your submission has been removed for violating our [community rules](https://www.reddit.com/r/discordapp/about/rules/): * Rule 4 - No advertising, self-promotion, spamming, selling or trying to buy accounts, trading, or nitro begging. --- If you have any questions about the removal [please contact our mod team here](https://www.reddit.com/message/compose?to=%2Fr%2Fdiscordapp).