Live data from Hacker News

Mixxx: GPL DJ Software

mixxx.org

51–60 of 140 posts

Re: Mixxx: GPL DJ Software

#53
RekordBox is a well known piece of s** and it's great to see someone try to enter the arena. Now we need a legit competitor to the DJM / CDJ's which cost, all told, >$10k for a standard, club-ready setup.

Re: Mixxx: GPL DJ Software

#57
I've had a lot of fun setting mixxx up for DJing on my steam deck, with fully scriptable (in javascript) USB hid bindings, I've been able to reverse engineer the steam deck's control schemes to be able to mix quite portably.

Re: Mixxx: GPL DJ Software

#58
post #5

Been using it for the past few years, nothing bad to say about it, lovely piece of software. Vendor lock-in is very present in this field, with different brands of controllers supported by a myriad of proprietary DJ applications all more interested in onboarding you to their music subscription services rather than implement useful features or support open protocols. Meanwhile, Mixxx allows you to write your own adapt…

To be fair, every commercial competitor (like Rekordbox and Traktor) also supports mapping MIDI devices that are not officially supported.

But in my experience, you'll never be able to control the jogwheel as precisely as in officially-supported hardware-software combo.

Re: Mixxx: GPL DJ Software

#59

Used mixxx to do the djing for my wedding last year. Created a collaborative music voting site for the guests, then got all the music and made a mix which worked really well, even going between genres. Had a lot of fun playing with it getting everything ready and it worked with a couple of DJ controllers bought cheaply without any issue. I even made a little program to read the now playing track from the sqlite datab…

Can you share the program that reads the now playing track? We use Mixxx at a student radio station and we could maybe try using something like this to show the now-playing track on the website.

Not sure whether that's the correct way but it seems to work. AFAICT, there is no "now_playing" field in the sqlite db - but tracks that start playing are added to the `PlaylistTracks` table. That means that if you started two tracks and then pause one or the other and restart it, no row will be added. Only adding a track from the library and then playing it will add to the PlaylistTracks list.

(Is there a simpler solution I missed?)

  import sqlite3
  import time
  from pathlib import Path
  home = Path.home()
  
  con = sqlite3.connect(f"{home}/.mixxx/mixxxdb.sqlite")
  cur = con.cursor()
  
  def get_track_name():
      global cur
      trackid = cur.execute("SELECT * FROM PlaylistTracks WHERE id=(SELECT max(id) FROM PlaylistTracks);").fetchall()[0][2]
      trackname = cur.execute(f"SELECT * FROM library WHERE id={trackid};").fetchall()[0][2]
      return trackname
  
  now_playing = get_track_name()
  print(now_playing)
  
  while True:
      if (np := get_track_name()) != now_playing:
          now_playing = np
          print(np)
      time.sleep(1)
Edit: FWIW, unbox [1] uses the same approach. Edit 2: yes, I should have cleaned up my SQL statements.

[1] https://github.com/erikrichardlarson/unbox/blob/2182f227a0fc...

Re: Mixxx: GPL DJ Software

#60
post #44

Earlier quoted context omitted.

What did you use for the collaborative music voting - or did you make something yourself? For different use cases, I've seen everything used from collaborative Spotify playlists to Google forms, to those "pay a dollar to bump your song request" kiosks in bars! The parallels to ranked-choice voting in politics are relevant too - as well as how you give people a feeling of agency, even if you as the DJ inevitably have…

I made something custom. I can't share the code for it (see my other reply for why), but here's the general deal: Wedding website was a django site, with accounts for everyone I invited. I had a separate part of it where the guests could choose an RGB colour, and then choose tracks by searching. I used a spotify API for this, so when they chose a track, if someone chose a similar one (say a specific mix) then they co…

Thanks for sharing this - it’s a really cool project! I love the creativity and thought you put into combining music, lights, and interactivity in such a unique way.

Wishing you all the best, and thank you for contributing to the community with this, especially under such difficult circumstances.

Post reply on HN