Auto-DJ extension for beatmatching and harmonic mixing

XML preset files and script files (.js) for MIDI and other controllers.

Moderators: garth, User Customization Moderators

Re: Auto-DJ extension for beatmatching and harmonic mixing

Postby Be. » Tue Jan 30, 2018 10:20 am

Hmm, the track selection method and transition method should be able to be mixed on matched. However, the desired transition method may depend on the track selection method...
I heard FLAC and I haven't gone back.
Protect your hearing with earplugs!

Hear my mixes
User avatar
Be.
Mixxx Developer
 
Posts: 2434
Joined: Tue Jan 06, 2015 1:00 am
Location: Chicago, USA

Re: Auto-DJ extension for beatmatching and harmonic mixing

Postby 3x5 » Tue Jan 30, 2018 9:01 pm

Forgive my ignorance, but I am on Linux and I didn't see anything in this thread, or the wiki, or the links provided in this thread, that tells me how to install and try out these scripts.

The thread says to select the file manually, but Mixxx doesn't want to open anything that isn't a music file. I don't see any place in the preferences to enable addons, and I put this in ~/.mixxx/plugins/soundsource/, but I don't see anything different in Mixxx, after restarting.

Can someone tell me how to get this script installed on Linux, and then how to test it out? Thanks.
3x5
 
Posts: 52
Joined: Sun Jan 28, 2018 7:02 pm

Re: Auto-DJ extension for beatmatching and harmonic mixing

Postby ud3Knur » Thu Feb 01, 2018 3:53 pm

3x5 wrote:I didn't see anything [...] that tells me how to install and try out these scripts


:) Please open the script in a text editor; you'll find instructions, help and options at the top of the file :)
ud3Knur
 
Posts: 8
Joined: Sat Dec 16, 2017 2:52 pm

Re: Auto-DJ extension for beatmatching and harmonic mixing

Postby Wunjo » Sat Feb 03, 2018 11:18 pm

I want to add something in this conversation what I noticed before

Using AutoDJ, tracks don't load/start on negative cuepoints assigned earlier.
So I can't let a track start on a point on the beatgrid, before the beginning of a track, witch should be useful for the autofader beatmatching.
Is there an easy way to implement such feature?
(220-alpha-pre)
streamerp2p
Wunjo
 
Posts: 17
Joined: Fri Dec 15, 2017 8:49 pm

Re: Auto-DJ extension for beatmatching and harmonic mixing

Postby 3x5 » Wed Feb 07, 2018 6:51 pm

OK, so do the cue points need to be set properly for this script to work? I have been using hotcue 1 to mark the start of my tracks, and ignoring the main cue.

However, I will put both cues on the first beat, if the script needs the default cue to know where to start.
3x5
 
Posts: 52
Joined: Sun Jan 28, 2018 7:02 pm

Re: Auto-DJ extension for beatmatching and harmonic mixing

Postby ud3Knur » Sun Apr 08, 2018 11:50 am

Wunjo wrote:So I can't let a track start on a point on the beatgrid, before the beginning of a track, witch should be useful for the autofader beatmatching.
Is there an easy way to implement such feature?
(220-alpha-pre)


3x5 wrote:OK, so do the cue points need to be set properly for this script to work? I have been using hotcue 1 to mark the start of my tracks, and ignoring the main cue.
However, I will put both cues on the first beat, if the script needs the default cue to know where to start.


Imagine this script as a MIDI device, which reacts to particular Mixxx states by pressing particular buttons in the normal Mixxx interface. This means the script cannot do anything you wouldn't be able to do manually, if you just pressed those same buttons in the same order with the same timing. Therefore, the way Mixxx behaves is best described by explaining which buttons the script presses at which time.

As far as cue points and the beatgrid are concerned, it uses Quantize on both decks; it enables this function once, right after you press the [Enable Auto DJ] button. This "aligns Hot-cues and Loop In & Out to the next beat from the current position" such that "all cues, hotcues, loops, and beatloops will be automatically quantized so that they begin on a beat" and thereby "Quantize will ensure that the beats are perfectly lined up." After enabling it, the script will blindly assume Quantize to be on.

If bpmSync is set to 0 (zero), nothing else will be done. The new track will start with it's first beat synchronised, but the tracks will diverge, due to BPM differences.

If bpmSync is set to 1 (one) and bpmSyncFade is set to 0 (zero), the script will search for the next beat of the old track (and may miss a few while searching). When it found one, it will immediately (enable Follower Sync on the deck of the old track, which you do not usually need to do manually,) enable Master Sync on the deck of the next track, then click the sync button of the old track's deck once. This will match the old track BPM abruptly to the BPM of the new track, and beats should stay synchronised.

If bpmSync is set to 1 (one) and bpmSyncFade is set to 1 (one), the script will adjust the BPM of the new track to match the old track. Then, (the new track's deck is set to Follower Sync, which you do not usually need to do manually,) the old track's deck is set to Master Sync, and the new track's deck Sync button is clicked once. After that, the old track's BPM is adjusted smoothly to match the original BPM of the new track. Thus, eventually both tracks will play at the proper BPM of the new track, and beats should stay synchronised.

Additionally, Mixxx's Quantize and Master Sync should handle situations nicely, where BPM of one track is double that of the other, by matching two beats to one, and the script should not interfere in this. To repeat, Mixxx should behave as if you clicked all those buttons manually.
ud3Knur
 
Posts: 8
Joined: Sat Dec 16, 2017 2:52 pm

Re: Auto-DJ extension for beatmatching and harmonic mixing

Postby Wunjo » Tue Apr 10, 2018 7:00 pm

Thanks for your explanation
streamerp2p
Wunjo
 
Posts: 17
Joined: Fri Dec 15, 2017 8:49 pm

Re: Auto-DJ extension for beatmatching and harmonic mixing

Postby Ovaryraptor » Wed Apr 11, 2018 9:14 pm

I can't seem to get the MIDI settings to appear.

I'm starting the exe with --developer mode after it in the CMD line but it isn't showing up.
Ovaryraptor
 
Posts: 1
Joined: Wed Apr 11, 2018 8:45 pm

Re: Auto-DJ extension for beatmatching and harmonic mixing

Postby ud3Knur » Thu Apr 12, 2018 8:59 pm

Ovary wrote:I'm starting the exe with --developer mode after it in the CMD line but it isn't showing up.


Please check developer mode is active; it is active, when the menu bar contains the Developer section, between Options and Help.
The script currently targets Mixxx version 2.0; please confirm the version you are using.
ud3Knur
 
Posts: 8
Joined: Sat Dec 16, 2017 2:52 pm

Re: Auto-DJ extension for beatmatching and harmonic mixing

Postby luckyshot » Thu Jul 11, 2019 2:05 pm

Hi guys,

I have Developer mode enabled (opened the app with the --developer flag and Developer shows between Options and Help in the menu) but still can't see Midi Through Port.

Am I missing something? I've been searching online for 45 minutes but can't find any solution...

- Macbook Air (macOS Mojave 10.14.5)
- Mixxx 2.2.1 (build 2.2 r6690), fresh install just a few hours ago with nothing else
- No plugins or anything else

Screenshot of my Preferences: https://imgur.com/a/f7K22h6

PS: I see some people dump their system logs here, if that helps I can add them too (although I'm not sure where to get those, Developer Tools > Logs?)

Thank you!

--------

UPDATE: Found a solution! I had to create a virtual MIDI Port. For those wondering how to do so, check out this step-by-step guide.
luckyshot
 
Posts: 1
Joined: Thu Jul 11, 2019 1:52 pm

PreviousNext

Return to Controller presets/mappings

Who is online

Users browsing this forum: No registered users and 5 guests