getmusicbee.com

MusicBee & Add-Ons => Customizations => Plugins => Topic started by: DJC👽D on March 07, 2018, 01:42:42 PM

Title: LikeADJ - A new way to become a DJ
Post by: DJC👽D on March 07, 2018, 01:42:42 PM
As I am a MIXXX (https://www.mixxx.org/) user and want sometimes to listen my music at home with MusicBee (mixing genres smoothly, having a nice transition, disco💡, and 🐝 in my sofa...):

I wrote a little plugin which automix your entire library according to:

Of course (depending on what you want to use):
TAGS must be filled in order to use this plugin correctly.

But you can use too this plugin ONLY for Hue lighting (with beat detection) : no tagging required for this feature.

If you use 'Hue lighting (https://www2.meethue.com)', you have before to verify/update firmwares on your Hue bridge and your Hue lights via the official Hue application available on Android or IOS because I use directly REST/JSON requests embeded in the Hue Bridge to pilot Hue lights and latest firmwares are required for better responsiveness (firmwares update take a while, so be patient).

If you use 'Initial Key', you have to create a 'custom tag 1'  into MusicBee->Edit->Edit preferences->Tags (1) like this :
Custom 1:  Display Name: Key  Save to music file as tag: Initial Key

If you use 'Energy', you have to define a new tag into MusicBee->Edit->Edit preferences->Tags (1)->Define New Tags like this :
Identifier: Energy id3(.mp3): EnergyLevel
and you have to create a 'custom tag 2'  into MusicBee->Edit->Edit preferences->Tags (1) like this :
Custom 2:  Display Name: Energy  Save to music file as tag: Energy

To understand 'Initial Key' notation see Harmonic Mixing (http://www.harmonic-mixing.com/howto.aspx).
For BPM and 'Initial Key' tagging see TuneXplorer (https://www.abyssmedia.com/tunexplorer/) or MixedInKey (https://www.mixedinkey.com/) or Mixxx (https://www.mixxx.org/).
For Energy tagging see MixedInKey (https://www.mixedinkey.com/).
For 'Track Rating', 'Love' and 'Genre' tagging MusicBee is perfect.

Download latest release mb_LikeADJ.dll (https://github.com/DJCALIEND/LikeADJ/releases/download/2.1.0/mb_LikeADJ.dll) in your MusicBee\Plugins directory, activate the plugin and configure it.
Once it's done, click on 'LikeADJ - Start' via Right+Click on the main panel (the panel with all your tracks of MusicBee) and your entire library will be auto mixed following your choices and so on…

Code source on GitHub (https://github.com/DJCALIEND/LikeADJ).
Latest development version 2.1.2 of mb_LikeADJ.dll (https://github.com/DJCALIEND/LikeADJ/blob/master/bin/Debug/mb_LikeADJ.dll?raw=true) on GitHub (see commits (https://github.com/DJCALIEND/LikeADJ/commits/master)).

Download latest release 2.1.0 mb_LikeADJ.dll (https://github.com/DJCALIEND/LikeADJ/releases/download/2.1.0/mb_LikeADJ.dll)

If you're interested, help for code optimization, bugs fixing or adding new features is welcome.

For better results in your mix with MusicBee, don't forget to activate into MusicBee->Edit->Edit preferences->Player:

Prefer 'WASAPI' or 'ASIO' (if you have a controller and drivers) output for a better sound.

Have a l 8) 8) k to the REAL🕑 logfile mb_LikeADJ.log to see more informations (accessible directly via the LikeADJ plugin configuration panel or via 'Right Click' -> 'LikeADJ - View the logfile' on the main panel of MusicBee).

Happy MIXING and a lot of thanks to Steven for MusicBee.

Two algorithms (http://archive.gamedev.net/archive/reference/programming/features/beatdetection/index.html) have been implemented (simple and subband) for BEAT detection + a red alert of ending song + lights changes when track change.

I have 23 Hue (lights, lightstrips and bloom) (MAX 50 per Hue bridge). More Hue lights you have, lesser is reactivity.

Report bugs in this thread... I am currently improving the beat detection (actually better for disco, techno, deep house, electro... in short with BEATS) and other things...

Keep in mind Hue lights are not a DMX (https://en.wikipedia.org/wiki/DMX512) solution so responsiveness is lesser but acceptable for a party with friends...

You 👍/👎 this plugin ? Found a bug ? Want more features ? You do not know what this plugin is for ? More precisons, more help ?
Tell me (même en français)... Leave a reply in this post... Your welcome (bad or good replies).

Don't forget to add a on LikeADJ in my GitHub, if you like my little contribution for MusicBee of course.
Title: Re: LikeADJ
Post by: boroda on March 18, 2018, 11:05:23 AM
you need to make a new post (rather than updating existing) to others see that there is something new without opening this board (also new post will move your thread to the top).
Title: Re: LikeADJ
Post by: MC_K3NNA on September 19, 2018, 08:54:24 AM
Hi!
THX for your Plugin.  But how do i use it?
Is there a Window with the recomended Tracks?
Im a total newbee with MB.
So i have no idea how to get your Auto DJ started.
And whats with Philips Hue? Do i need an additional Plugin to use them?
how does this even work?

Thx!
Title: Re: LikeADJ
Post by: DJC👽D on September 23, 2018, 02:35:34 PM
Hi MC_K3NNA

For Hue, no additionnal plugin is required, LikeADJ is able to control your Hue Lights with JSON requests.

You have to fill tags on yours MP3 with required informations like (BPM, Initial Key on so on...) to use this plugin fully.

And activate features you want to use via the plugin configuration panel.

Read carefully my procedure in the first post, it's perhaps a little bit complex the first time.

Once it's done, shuffle your library and LikeADJ do the rest...

Take time, if you are a newbie with this superb software which is MusicBee, to know how to use it.

Another version is coming, with auto playlist generation and playlist saving.
But I am a little bit busy for now...

Stay tune ;)

Regards
Title: Re: LikeADJ - Hue lighting and more...
Post by: mafiadysio on May 06, 2020, 04:55:43 AM
Hi. I am wondering if anyone faces the problem of this plugin causing musicbee to steal focus whenever the next song is played (when this plugin is enabled). When I am fullscreen in another application, my screen will be forcefully directed to musicbee upon the start of the next song. It's annoying, and I wonder if there's a way to fix that?
Title: Re: LikeADJ - Hue lighting and more...
Post by: DJC👽D on May 06, 2020, 12:35:24 PM
Hello

I don't arrive to reproduce this problem (for now but I investigate). The only window that can be annoying is when LikeADJ is trying to find the next music.

Regards
Title: Re: LikeADJ - Hue lighting and more...
Post by: mafiadysio on May 07, 2020, 11:40:03 PM
Hi, thanks for the reply.

I suspect the window that pop ups (the 'trying to find next song') whenever the next music starts to play is the cause of the problem here. Full-screen application aside (it was a Steam game btw), even when using another another program (like Google Chrome), the appearance of that window will just pop up even when Musicbee is minimised. That alone is annoying, even if it appear for like a fraction of a second every time the next song plays.

I wonder is it possible to make it such that the windows doesn't appear?

Thanks for the plugin by the way. I liked it a lot!
Title: Re: LikeADJ - Hue lighting and more...
Post by: DJC👽D on May 08, 2020, 08:58:52 AM
Hi

I added an option to allow/disallow the scanning message box.

Download the latest mb_LikeADJ.dll (https://github.com/DJCALIEND/LikeADJ/blob/master/bin/Debug/mb_LikeADJ.dll?raw=true) and tell me when the message box is not allowed if the problem persist.

Have a nice day
Regards
Title: Re: LikeADJ - Hue lighting and more...
Post by: mafiadysio on May 08, 2020, 12:40:32 PM
Hi, it seems to me that the Configuration window (https://imgur.com/a/ph6ogKH) is missing an 'OK' button. I can't confirm my settings to try out the new change.
Title: Re: LikeADJ - Hue lighting and more...
Post by: DJC👽D on May 08, 2020, 01:06:53 PM
I am currently fixing this problem. You can however enlarge the window with your mouse for now.
Title: Re: LikeADJ - Hue lighting and more...
Post by: mafiadysio on May 08, 2020, 01:26:29 PM
Ohh. I did not think to enlarge the window! That was dumb of me. Sorry about that.


But yeah, the problem is resolved now. The window does not appear any longer, and Musicbee does not steal focus from full-screen applications whenever the next song comes. Thanks for continuing to develop this plugin!
Title: Re: LikeADJ - Hue lighting and more...
Post by: DJC👽D on May 08, 2020, 01:35:16 PM
I think the bug is fixed

Download the latest mb_LikeADJ.dll (https://github.com/DJCALIEND/LikeADJ/blob/master/bin/Debug/mb_LikeADJ.dll?raw=true).

And of course happy you like my little contribution, Thanks :) and for Steven too +100000² 👍
Title: Re: LikeADJ - Hue lighting and more...
Post by: mafiadysio on May 08, 2020, 02:09:24 PM
Yep, I see the 'Save' and 'Cancel' buttons now. Everything seems to be going smoothly. Thanks a million!!
Title: Re: LikeADJ - Hue lighting and more...
Post by: DJC👽D on April 07, 2021, 04:44:59 PM
So I bump ;). Once a year. This project is not dead. Ready for ideas and others things...
Title: Re: LikeADJ - Hue lighting and more...
Post by: Mr. Trev on July 23, 2021, 07:55:19 PM
Interesting plugin.

Since I'm in no way a DJ, I was wondering if there are any small, accurate programs to just do the analysis?
I can pull the key and BPM from Musicbrainz, but only if they have album in their database.

I'm hoping that your plugin can work something like the SenseMe Channels on Sony devices (best thing Sony has done in ages IMO. if only they'd open source it so folks could adapt it for other programs)

Cheers
Title: Re: LikeADJ - Hue lighting and more...
Post by: Astro Gaze on July 19, 2022, 10:58:17 AM
Hey DJC👽D!

This sounded like a cool thing to try out, but I ran into some issues.
I downloaded the latest version from your first post, then I tried the link in Reply #11. Both gave me this error message:

(https://i.imgur.com/GryhLFJ.png)

Am I doing something wrong?
Title: Re: LikeADJ - Hue lighting and more...
Post by: phred on July 19, 2022, 12:48:16 PM
The creator of this plugin hasn't been on the forum since May of 2021. If he doesn't respond in a few days, try sending a PM.
Title: Re: LikeADJ - Hue lighting and more...
Post by: Astro Gaze on July 22, 2022, 03:41:14 AM
Thanks for the heads up, phred! Will do.
Title: Re: LikeADJ - Hue lighting and more...
Post by: DJC👽D on July 23, 2022, 08:05:08 AM
PM sent to Astro Gaze. Debugging in progress...
Title: Re: LikeADJ - Hue lighting and more...
Post by: Steven on July 23, 2022, 08:12:05 AM
sometimes plugin initialisation errors are because the plugin is installed in two locations. You could try using v3.5 which addresses that issue:
https://getmusicbee.com/patches/MusicBee35_Patched.zip
unzip and replace the existing musicbee application files
Title: Re: LikeADJ - Hue lighting and more...
Post by: ThY on August 01, 2022, 01:41:11 AM
I just discovered this thread...
It seems that this plugin is actually the closest thing to the feature i was wishing for since a long time ago (https://getmusicbee.com/forum/index.php?topic=7635.msg44118#msg44118).

As i understand it, for it to work i will need to use third-party apps to scan my files and tag them with some useful datas. (bpm, initial key and energy)
Is that right ?

I would love to see a video of this in action, i know it's complicated to put that kind of thing in Youtube with popular music, but maybe through another way ?
I know it's an annoying request but it seems hard to "test" that kind of plugin quickly.

Also, french is my first language (if you want to pm me) :)
Title: Re: LikeADJ - Hue lighting and more...
Post by: DJC👽D on August 02, 2022, 07:19:57 PM
PM, mail, Teams sent to ThY....
Title: Re: LikeADJ - Hue lighting and more...
Post by: ThY on August 04, 2022, 04:46:58 PM
PM, mail, Teams sent to ThY....

Hello, i dont know if you had my mail back, but the issue i had was indeed because "Key" and "Energy" tag must be set in Custom 1 and Custom 2 tags.
The plugin looks only for the value of those specific custom tags.
Mine were set in cutom 9 and 10, so it didn't work.
Title: Re: LikeADJ - Hue lighting and more...
Post by: DJC👽D on August 05, 2022, 05:14:11 PM
Hello, yes I have read your mail and a fix will be available as soon as possible.
Title: Re: LikeADJ - Hue lighting and more...
Post by: DJC👽D on August 06, 2022, 08:09:24 AM
In the new version 2.0.16, I scan the position of Custom Tag 'Key' and Custom Tag 'Energy' at launch of MusicBee.
The download link of the newest DLL is on the first post of this thread.
Title: Re: LikeADJ - Hue lighting and more...
Post by: Mr. Trev on August 06, 2022, 11:09:24 PM
Seeing as there's some thread activity again, I just wanted to bump my earlier question if there's any small (possibly free) programs that can just do the analysis?
Title: Re: LikeADJ - Hue lighting and more...
Post by: DJC👽D on August 07, 2022, 07:38:22 AM
I don't know any little free software that analyzes BPM, Harmonic Key and Energy at the same time.
According to several benchmarks only 'Mixed In Key' is the most accurate of paid software.
Title: Re: LikeADJ - Hue lighting and more...
Post by: Astro Gaze on August 12, 2022, 12:50:34 AM
Seeing as there's some thread activity again, I just wanted to bump my earlier question if there's any small (possibly free) programs that can just do the analysis?


Hey Mr. Trev,

I'm not a DJ either, and I was on the same search you are. Here's where it lead me.

I used MixMeister before, as a simple and straightforward program to add BPM tags. Just drag and drop the files, then it does everything else. But I found that it was tagging too many files as 87bpm. Even when they were actually around 100-120bpm. So I lost faith in MixMeister.

After some searching, I settled on Mixxx. It's slow to load, especially since I only use it for it's Analyze Window, but here's where it gets good.
- It can set a monitored folder: So any new files in your library will show automatically.
- It can analyze BPM and Initial Key for free.
- I found it more accurate than MixMeister. No false 87BPMs.

When I add new music, I simply Open Mixxx > Big Library > Analyze > Choose to show New or All > Select tracks > Analyze.
It's a lot quicker in person and the monitored folder saves me some steps.

(https://i.imgur.com/9izA4uZ.png)

Did I mention it's accurate and free?

Cheers,
Astro Gaze
Title: Re: LikeADJ - Hue lighting and more...
Post by: phred on August 12, 2022, 02:14:50 AM
I used MixMeister before, as a simple and straightforward program to add BPM tags. Just drag and drop the files, then it does everything else. But I found that it was tagging too many files as 87bpm. Even when they were actually around 100-120bpm. So I lost faith in MixMeister.
I've been using MixMeister for many years despite knowing that it wasn't accurate. But my research many years ago stated that no BPM analyzer was spot-on. Since MM was free, had drag 'n drop, and wrote the BPM tag to my tracks, I continued to use it.

Seeing your statement about many  files at 87 bpm I decided to check. With slightly over 40,000 files a search for a bpm of 87 came up with 436 - roughly 1%. I don't know if that's reasonable or not so I downloaded Mixx and will install and test it tomorrow. I'll start with the 436 files first and see how come Mixx comes to it. I've created an auto-playlist with the criteria of BPM is 87. After I run Mixx, I'll see how many files are left.

Thanks for the Mixx tip.

EDIT: @Astro Gaze- Are you using Mixx to write the BPM tag? I just ran a couple of test tracks and while the BPM shows in Mixx, it did not write the tag to the music file. Despite having "Options > Preferences > Library >  Automatically write modified track metadata from the library into file tags" enabled.
Title: Re: LikeADJ - Hue lighting and more...
Post by: Mr. Trev on August 12, 2022, 07:54:53 PM
I'll give Mixx a try.
This whole analysis thing seems to be a rather tricky endeavour. I was hoping I could rely on Acoustibrainz except it seems the project has/is being dropped. After looking at their own data they realized the analysis wasn't accurate enough to proceed.
I still keep hoping Sony will decide to open-source their 12tone analysis, but that'll never happen
Title: Re: LikeADJ - Hue lighting and more...
Post by: phred on August 12, 2022, 08:17:21 PM
I'll give Mixx a try.
If you figure out how to get Mixx to write the BPM tag to the tracks, please let me know. And if you can figure out if files can be dragged to it, also let me know.
Title: Re: LikeADJ - Hue lighting and more...
Post by: Mr. Trev on August 13, 2022, 12:06:23 AM
I'll give Mixx a try.
If you figure out how to get Mixx to write the BPM tag to the tracks, please let me know. And if you can figure out if files can be dragged to it, also let me know.

I quick poke around and it seems like preferences>library>tag meta sync>auto write, should write the tags to the files - at least initial key and bpm are showing up as extended tags in mp3tag.

I don't think files can be dragged and dropped, looks like you need to link folders to the library for analysis.

Just a quick impression after running the analysis on some files sitting on my SSD - I'm not quite ready to turn it loose on my entire library

As an aside… sweet mother do the fans on my new Lenovo Legion make some noise
Title: Re: LikeADJ - Hue lighting and more...
Post by: phred on August 13, 2022, 12:31:26 AM
I quick poke around and it seems like preferences>library>tag meta sync>auto write, should write the tags to the files - at least initial key and bpm are showing up as extended tags in mp3tag.
This? It isn't writing BPM to MB. I'll give mp3tag a look.
(http://i.imgur.com/AlswqdNl.jpg) (https://i.imgur.com/AlswqdN.jpg)

Quote
I don't think files can be dragged and dropped, looks like you need to link folders to the library for analysis.
I agree. I'm about to uninstall it and stick with MixMeister BPM Analyzer.
Title: Re: LikeADJ - Hue lighting and more...
Post by: Mr. Trev on August 13, 2022, 03:54:53 AM
I quick poke around and it seems like preferences>library>tag meta sync>auto write, should write the tags to the files - at least initial key and bpm are showing up as extended tags in mp3tag.
This? It isn't writing BPM to MB. I'll give mp3tag a look.
(http://i.imgur.com/AlswqdNl.jpg) (https://i.imgur.com/AlswqdN.jpg)

Yup, that's the setting I was thinking about. I just popped one of the folders I analysed into my MB inbox, and BPM is showing up in the tag inspector on my install. I don't think I changed anything else in the prefs
Title: Re: LikeADJ - Hue lighting and more...
Post by: phred on August 13, 2022, 01:35:27 PM
Yup, that's the setting I was thinking about. I just popped one of the folders I analysed into my MB inbox, and BPM is showing up in the tag inspector on my install. I don't think I changed anything else in the prefs
Okay... further testing shows that it does write the BPM tag, but unlike MixMeister, files need to be rescanned in order for BPM data to appear. With MM the data just appears. I'll be uninstalling Mixx as I'm not that concerned about the accuracy of BPM. It's not like I DJ where I would find it a valuable tool.
Title: Re: LikeADJ - A new way to become a DJ
Post by: Astro Gaze on August 13, 2022, 09:52:51 PM
Autoplaylist! That's genius! I wish I had thought of that. Thanks for taking the time to run this test, @phred.

Looks like I'm late to the party, but how did your results come out?
Title: Re: LikeADJ - A new way to become a DJ
Post by: phred on August 13, 2022, 10:53:25 PM
...but how did your results come out?
I couldn't really do a test on the 87 BPM tracks since you can't drag and drop with Mixx. And since a playlist typically has files in many directories, Mixx becomes worthless to me. You have to designate a directory and Mixx can then analyze the files within. So it might be fine if you have one directory that you use for your Inbox and then tag the BPM as part of the workflow. But for the test, I was stopped dead in my tracks (pun intended.)

It's uninstalled and I'm happy to be using MixMeister.
Title: Re: LikeADJ - A new way to become a DJ
Post by: Astro Gaze on August 13, 2022, 11:42:17 PM
Could you get around that block by finding the biggest directory?
MusicBee > Main Panel > Tracks > Right Click Column > Set Displayed Fields > Path

Then open that directory in Windows Explorer and collect the 87 bpm tracks
Windows Explorer > Right Click Column > More > Beats Per Minute

Drag those 87BPM's to a temp folder, then add that folder to Mixxx?

I know you said it's uninstalled and over with, and I'm kind of interested in attempting this with my laptop. But I'm worried about time. Maybe my laptop is slow, but when I used MixMeister to analyze 3000 bpm tags, it took a day and a half. About the same for Mixxx. How long did it take you to analyze your 40,000?
Title: Re: LikeADJ - A new way to become a DJ
Post by: phred on August 14, 2022, 03:37:48 AM
Could you get around that block by finding the biggest directory?
MusicBee > Main Panel > Tracks > Right Click Column > Set Displayed Fields > Path
Sounds doable. Report back with your results. Again, a) I happy with an approximate BPM, and b) I'm done with Mixx.
Title: Re: LikeADJ - A new way to become a DJ
Post by: Mr. Trev on August 14, 2022, 05:18:19 PM
Could you get around that block by finding the biggest directory?
MusicBee > Main Panel > Tracks > Right Click Column > Set Displayed Fields > Path

Then open that directory in Windows Explorer and collect the 87 bpm tracks
Windows Explorer > Right Click Column > More > Beats Per Minute

Drag those 87BPM's to a temp folder, then add that folder to Mixxx?

I know you said it's uninstalled and over with, and I'm kind of interested in attempting this with my laptop. But I'm worried about time. Maybe my laptop is slow, but when I used MixMeister to analyze 3000 bpm tags, it took a day and a half. About the same for Mixxx. How long did it take you to analyze your 40,000?

Yikes. When I did my trial run of ~3000 tracks with Mixx, I think it only took 10-15 minutes at worst. Granted, I have a shiny new AMD 6800H in my laptop.

@phred
What's your workflow & purpose for using this anyways?
For my use, I could just set Mixx to analyse my entire library on its own, then just rescan the tracks in MB to get the BPM and initialkey values for the plugin. Basically, it's the same process I've been doing with Picard and the Acousticbrainz plugin
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on August 14, 2022, 06:33:06 PM
In the new version 2.0.17, I have improved Settings,....
In the next version, I will try to add LONG Openkey notation (actually only SHORT Openkey notation is supported) for Astro Gaze.
The download link of the newest DLL is on the first post of this thread.
Title: Re: LikeADJ - A new way to become a DJ
Post by: Astro Gaze on August 14, 2022, 11:23:47 PM
Yikes. When I did my trial run of ~3000 tracks with Mixx, I think it only took 10-15 minutes at worst. Granted, I have a shiny new AMD 6800H in my laptop.

Yeah, I've got an Intel Core i7 8550U from 5 years ago. Checkout this benchmark. Yours destroys mine!
https://cpu.userbenchmark.com/Compare/Intel-Core-i7-8550U-vs-AMD-Ryzen-7-6800H/m320742vsm1786492

@phred
40,000 files is an astonishing collection! Do you work in the music or film industry?
Title: Re: LikeADJ - A new way to become a DJ
Post by: Astro Gaze on August 15, 2022, 12:28:05 AM
In the new version 2.0.17, I have improved Settings,....
In the next version, I will try to add LONG Openkey notation (actually only SHORT Openkey notation is supported) for Astro Gaze.
The download link of the newest DLL is on the first post of this thread.

Thanks for all your help. and considering my request, DJC👽D!
Title: Re: LikeADJ - A new way to become a DJ
Post by: phred on August 15, 2022, 02:53:33 AM
@phred
40,000 files is an astonishing collection! Do you work in the music or film industry?
Neither, although I was a DJ in the mid-sixties through mid-seventies. A DJ then was not what a DJ is now.

The bulk of the early stuff was ripped from vinyl. The latter stuff ripped from CDs. And some stuff from the Live Music Archive.

My collection is mostly rock, with a fair amount of funk, jazz, and comedy mixed in.
(http://i.imgur.com/sbBpYHYl.jpg) (https://i.imgur.com/sbBpYHY.jpg)

And my collection is small compared to some of those reported here on the forum. The largest collection that I can remember was in excess of 700,000 tracks. https://getmusicbee.com/forum/index.php?topic=5318.0
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on August 15, 2022, 10:36:39 AM
In the new version 2.0.18, I have added LONG Open Key notation (Openkey/Traditional under Mixxx).
I use only Camelot (Lancelot under Mixxx  :) ) or SHORT Open Key (Openkey under Mixxx) notations, so I have no way to test.
But everything should be ok.
The download link of the newest DLL is on the first post of this thread.
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on August 15, 2022, 02:21:56 PM
If someone want a quick demo of this plugin.
Tell me I organize a Teams session (With several persons it will be better).
This plugin can be complex to understand at the beginning.
But I'm here to explain and help you (With my french accent :)).
Title: Re: LikeADJ - A new way to become a DJ
Post by: Mr. Trev on August 15, 2022, 04:22:17 PM
@phred
40,000 files is an astonishing collection! Do you work in the music or film industry?
Neither, although I was a DJ in the mid-sixties through mid-seventies. A DJ then was not what a DJ is now.

The bulk of the early stuff was ripped from vinyl. The latter stuff ripped from CDs. And some stuff from the Live Music Archive.

My collection is mostly rock, with a fair amount of funk, jazz, and comedy mixed in.
(http://i.imgur.com/sbBpYHYl.jpg) (https://i.imgur.com/sbBpYHY.jpg)

And my collection is small compared to some of those reported here on the forum. The largest collection that I can remember was in excess of 700,000 tracks. https://getmusicbee.com/forum/index.php?topic=5318.0

I'd say 40k is fairly modest, considering mine is at ~100k - but I'm also a hoarder ;)

I was playing around a bit last night. I right clicked on a track that had BPM and Key tags for AutoDJ. The playlist was populated and started playing, except I got 2 error windows saying the seed track had missing tags (I only had BPM and Key selected) or something. When I clicked OK to close the windows the playlist got erased.
Title: Re: LikeADJ - A new way to become a DJ
Post by: Astro Gaze on August 16, 2022, 02:56:43 AM
In the new version 2.0.18, I have added LONG Open Key notation (Openkey/Traditional under Mixxx).
I use only Camelot (Lancelot under Mixxx  :) ) or SHORT Open Key (Openkey under Mixxx) notations, so I have no way to test.
But everything should be ok.
The download link of the newest DLL is on the first post of this thread.

Sweet! Thanks for implementing this so quickly, DJC👽D.
I'll get to testing, right away.
Title: Re: LikeADJ - A new way to become a DJ
Post by: Astro Gaze on August 16, 2022, 10:10:29 PM

(https://i.imgur.com/GryhLFJ.png)


First off, if anyone searches this up later... When I tested the plugin on MusicBee Portable, there was no Initialize issue.
Back at my Installer version, it was solved by doing a clean install. Make sure to backup your library first!
https://musicbee.fandom.com/wiki/Backup_%26_Restore

Thanks to phred, DJC👽D, and Steven for your help!
Title: Re: LikeADJ - A new way to become a DJ
Post by: Astro Gaze on August 16, 2022, 10:32:22 PM
Next, I tested Initial Key (Long Open Key Notation) and BPM individually. Then again on MusicBee Portable, for a total of 4 Test Runs. I turned shuffle on and picked the first song, then let the plugin take over for a total of 10 songs. In all 4 tests, according to the log, I ran into the same problem: Predicted next song was not the chosen next song.

1. When testing BPM: it almost never stayed within the Max BPM Difference. The couple times it did were a coincidence.
2. When testing Initial Key: it almost never stayed in Key. The couple times it did were a coincidence.
3. Found Bug: If you get the Looping pop up, but start playing a new song, before pressing "ok", the new song plays over top the currently playing track, without pausing the first track.
Suggestion: Make Pop Up "always on top". Don't allow MusicBee to be accessed until "ok" is pressed.

I saved the logs if you want them.
 
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on August 18, 2022, 06:22:31 PM
New version 2.0.19 - LikeADJ disable MusicBee's random mode before starting LikeADJ because the library is already shuffled when we click on 'Play Library Shuffled' or 'Play Shuffled' or 'Start LikeADJ' + various little improvements.

I think it was the problem of Astro Gaze (I'm waiting feedback from Astro Gaze).

The download link of the newest DLL is on the first post of this thread.
Title: Re: LikeADJ - A new way to become a DJ
Post by: Astro Gaze on August 29, 2022, 05:03:06 AM
New version 2.0.19 - LikeADJ disable MusicBee's random mode before starting LikeADJ because the library is already shuffled when we click on 'Play Library Shuffled' or 'Play Shuffled' or 'Start LikeADJ' + various little improvements.

I think it was the problem of Astro Gaze (I'm waiting feedback from Astro Gaze).

The download link of the newest DLL is on the first post of this thread.


Thank you DJC👽D!

I've been thoroughly enjoying your plugin for the past week and a half :D
Title: Re: LikeADJ - A new way to become a DJ
Post by: Astro Gaze on October 05, 2022, 10:49:19 AM
Hey guys,

Someone did a comparison of the accuracy of Key Detection software and I thought it should be a part of the forum. It's not mine, but they did post it on the internet so... I'm just gonna leave this here.

KEY DETECTION COMPARISON - by Bas Curtiz
https://docs.google.com/spreadsheets/d/1aok0ywiVFHzzKloJ1qUhyHt60bpLSumMI_slDtbs-jo/edit#gid=2890597

Hope you guys find it interesting. I did :)
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on October 08, 2022, 10:47:46 AM
Thanks Astro Gaze for this comparison ;)
As I said earlier in this thread 'Mixed In Key (https://mixedinkey.com/)' is for now the most accurate software for BPM, Harmonic Key and Energy analysis.

New version 2.0.20:

- Number of Philips Hue Lights allowed increased (20 to 50, as recommended by Philips now (I have now 22 Hue lights and all work like a charm :-*)).
- Added an option via 'Right+Click' on the main panel of MusicBee to deactivate quickly the LikeADJ plugin.
To reactivate it (for now, but will be improved in the future), you have to go to the configuration panel of LikeADJ and choose again your features.

The download link of the newest DLL is on the first post of this thread.

@Steven: Is it possible to add to the API 'public MB_AddMenuItemDelegate MB_RemoveMenuItem;', like that I can toggle easily the menu item to deactivate/activate LikeADJ plugin?
Or another solution to deactivate/activate a plugin quickly via the MenuItem.
Many thanks in advance.
Title: Re: LikeADJ - A new way to become a DJ
Post by: Mr. Trev on October 16, 2022, 04:46:21 PM
Hey guys,

Someone did a comparison of the accuracy of Key Detection software and I thought it should be a part of the forum. It's not mine, but they did post it on the internet so... I'm just gonna leave this here.

KEY DETECTION COMPARISON - by Bas Curtiz
https://docs.google.com/spreadsheets/d/1aok0ywiVFHzzKloJ1qUhyHt60bpLSumMI_slDtbs-jo/edit#gid=2890597

Hope you guys find it interesting. I did :)

Too bad they didn't include TuneXplorer. It's half the price of Mixedinkey, and for simple analysis use, I personally wouldn't pay the full price of Mixedinkey
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on November 01, 2022, 12:26:23 PM
New version 2.0.21:

- Allow Auto Mix according to 'Love' added (Thanks to Impulse (https://getmusicbee.com/forum/index.php?topic=37495.msg205929#msg205929) for this great idea).
- Improved the settings screen.

The download link of the newest DLL is on the first post of this thread.
Title: Re: LikeADJ - A new way to become a DJ
Post by: Mr. Trev on November 02, 2022, 04:45:48 PM
What tags are you guys using? Just BPM and key, or do you use energy too? (I'm not concerned with ratings, love, etc)
I'm asking cause I may get a copy of Mixed in Key depending on if the have a good Black Friday sale - IIRC last year it was 40% off.
I did some searching and quite a few people that have used MiK found the "energy" feature to be kind of useless though - for DJ purposes anyways. If that's the case I might just look at Tunexplorer instead
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on November 05, 2022, 10:18:49 AM
Energy is useful when you want to increase/decrease danceability during your party.

I use my plugin to prepare futures parties and it help me a lot to find songs with differents genres to be mixable.
Title: Re: LikeADJ - A new way to become a DJ
Post by: Mr. Trev on November 05, 2022, 10:51:28 PM
Energy is useful when you want to increase/decrease danceability during your party.

I use my plugin to prepare futures parties and it help me a lot to find songs with differents genres to be mixable.

No dancing or parties in my world. I'm just hoping the plugin can serve the same purpose as Sony's 12tone analysis and SenseMe channels
Title: Re: LikeADJ - A new way to become a DJ
Post by: ThY on July 23, 2023, 04:09:34 PM
Hello :)
How does your plugin works with the "Genre" criteria ?
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on July 24, 2023, 06:06:33 PM
Hello ThY,

LikeADJ, each time you enter the settings, fetches all genres of your entire library and creates a combobox with all genres.

Just check the genres you want to mix and LikeADJ will only use the selected genres.
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on August 05, 2023, 10:44:44 AM
Busy but always here :). A lot of thanks to Steven and all contributors again for MusicBee :-* .

New version 2.0.24 :

- I don't use anymore 'mbApiInterface.NowPlayingList_PlayLibraryShuffled();'.I now use my own random way.
- The first song now follows your criteria.
- Bug concerning the playlist generation is fixed.
- All dependencies have been updated.

The download link of the newest DLL is on the first post of this thread.
Title: Re: LikeADJ - A new way to become a DJ
Post by: dylan_k on September 22, 2023, 05:22:33 PM
I'm unable to install the plugin because of an error (https://github.com/DJCALIEND/LikeADJ/issues/5).

Also, since there aren't any install instructions for this, I'm not certain I have all the right files in the right place(s), but I encountered the error when I tried these install steps:
- From MusicBee > Preferences > Plugins select "Add Plugin"
- Select the mb_LikeADJ.dll file.

I'm also not certain I have the latest release, since the GitHub repository lists zero releases (https://github.com/DJCALIEND/LikeADJ/releases).

It's a great idea for features for MusicBee though, so I hope I can get it working. Thanks in advance for any help.
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on September 23, 2023, 03:03:20 PM
Hello dylan_k,

I am in the process of fixing this issue.
Next version very soon.

And very happy :) to have added an issue to my GitHub.

Regards.
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on September 23, 2023, 04:50:45 PM
New version 2.0.25 :

- I now use 'mbApiInterface.Setting_GetPersistentStoragePath()'. No need to compute if MusicBee is installed, portable or from the Windows Store.
  WARNING to LikeADJ users before this version : all your presets will be reseted.
- All dependencies have been updated again.
- I bypass 'Love' warning in the 'mb_LikeADJ.log' because this tag is on/off.

The download link of the newest DLL is on the first post of this thread.
Title: Re: LikeADJ - A new way to become a DJ
Post by: dylan_k on October 06, 2023, 09:13:58 PM
With the new version, I was able to install the plugin and get it working with music tags, as it says in the instructions.

But speaking of the instructions, something is missing. It doesn't say how to begin using the plugin to play/create a DJ mix playlist. It was only by accident that I noticed you could right-click on a track in the library and use the plugin's option to "LikeaDJ - Start". Perhaps the README material could be rewritten to be easier to follow.

Anyway, fantastic idea for a plugin and I look forward to using it.
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on November 04, 2023, 11:03:43 AM
Hello dylan_k

YES, I have to improve my README.md on my GitHub and make definitively a RELEASE. It's on the way for the next version.

New version 2.0.26 :

- Minor fixes.

The download link of the newest DLL is on the first post of this thread.

And happy you like my little contribution for MusicBee :)
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on November 21, 2023, 09:15:22 AM
New version 2.1.0 (RELEASE VERSION):

- Minor fixes.
- This plugin is enough stable to make my first release.
- README.md on my GitHub will be updated soon.

The download links of the newest development/release DLLs are on the first post of this thread.
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on January 01, 2024, 09:38:46 AM
New version 2.1.1 (DEVELOPMENT VERSION): Happy New Year 2024 :)

- Added the number of songs remaining to be mixable in the NowPlayingList when the next song is found (in mb_LikeADJ.log).
- First draft (very light for now) of the README.md (https://github.com/DJCALIEND/LikeADJ).

The download links of the newest development/release DLLs are on the first post of this thread.
Title: Re: LikeADJ - A new way to become a DJ
Post by: MusicBorg on March 29, 2024, 04:06:59 PM
I noticed your start post mentions 2.1.0, and the download link does indeed retrieve 2.1.0.
But on GitHub I see 2.1.1.
Is that a stable release? If so, the start post should probably be modified?
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on April 09, 2024, 10:11:13 AM
Hello MusicBorg,

First post modified.

Regards.
Title: Re: LikeADJ - A new way to become a DJ
Post by: DJC👽D on April 09, 2024, 10:40:07 AM
New version 2.1.2 (DEVELOPMENT VERSION)

- For Hue lighting, if no Hue bridge is automaticaly found, you can now enter the IP adress of the Hue bridge. I have a new 5G Box and https://discovery.meethue.com/ return always an empty field.

The download links of the newest development/release DLLs are on the first post of this thread.
Title: Re: LikeADJ - A new way to become a DJ
Post by: MusicBorg on April 09, 2024, 03:38:18 PM
Hello MusicBorg,
First post modified.
Thanks, updated.