Hi Keith, 

it is great, you are working on that feature!

In my opinion b) is better than a) because Mixxx don't know how long the DJ 
will play the track actually. An additional option might be c) Library displays 
track suitable for mix to the current playing deck. 

    connect(&PlayerInfo::Instance(), SIGNAL(currentPlayingDeckChanged(int)),
            this, SLOT(slotPlayingDeckChanged(int)));

A future option might be to take the "set log" tracks into account. Something 
like current track 70%, last track 30% 

The current set log play-list ID is stored in SetlogFrature::m_playlistId       
                                   

Hooking int start/stop of a track works like this (taken from dlgautodj.cpp)

    m_pCOPlay1 = new ControlObjectThreadMain(
        ControlObject::getControl(ConfigKey("[Channel1]", "play")));
    m_pCOPlay2 = new ControlObjectThreadMain(
        ControlObject::getControl(ConfigKey("[Channel2]", "play")));


But please keep in mind, that Mixxx 1.11 will be n-deck capable. 
  

Kind regards, 

Daniel  
    


    -------- Original-Nachricht --------
    Betreff:    [Mixxx-devel] Active Library Filter
    Datum:      Tue, 20 Mar 2012 15:41:44 -0800
    Von:        keithsalisb...@gmail.com <keithsalisb...@gmail.com>
    An:         mixxx-devel@lists.sourceforge.net


    So my "active library filter" is coming along quite nicely.

    For those who don't know, the idea is pretty simple.

    I've created another "library view" with check boxes "Genre" and "Bpm"
    which when checked filter the library view to the track loaded in deck
    1. So if you're playing a trance track with 130bpm, you library will
    filter to down to all trance tracks with bpm of 130.

    Now I have a fork in the road I want to get some input before moving 
forwards:


    Firstly, multiple decks playing:

    There's two solutions I can think of here -

    a) check all decks and find the one with the least amount of time left
    (and thereby surmise it will be the next deck to be loaded.
    b) just concatenate the "genre" and "bpm" for all decks that are playing.

    I quite like the idea of b) it means the library will display tracks
    suitable to mix into either deck. If I can hook into the "deck
    stopped" signal then I can force an update when one of the decks
    stops.

    Anyone have any thoughts? Also anyone know if there is a signal for
    deck start/stop events I can hook into?

    thanks
    Keith

    
------------------------------------------------------------------------------
    This SF email is sponsosred by:
    Try Windows Azure free for 90 days Click Here 
    http://p.sf.net/sfu/sfd2d-msazure
    _______________________________________________
    <a href="http://mixxx.org";>Get Mixxx, the #1 Free MP3 DJ software Today</a>
    http://mixxx.org


    Mixxx-devel mailing list
    Mixxx-devel@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/mixxx-devel


-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to