selector.cpp File Reference

#include <cstdio>
#include <unistd.h>
#include <qinputdialog.h>
#include <math.h>
#include <qmessagebox.h>
#include <qlcdnumber.h>
#include <ctype.h>
#include <qlabel.h>
#include <qlistview.h>
#include <qgroupbox.h>
#include <qdir.h>
#include <qfiledialog.h>
#include <qtextedit.h>
#include <qlineedit.h>
#include <qbuttongroup.h>
#include <qcheckbox.h>
#include <qcursor.h>
#include <qtabwidget.h>
#include <assert.h>
#include <stdlib.h>
#include <qspinbox.h>
#include <qradiobutton.h>
#include <qprogressbar.h>
#include <stdio.h>
#include <signal.h>
#include <qpainter.h>
#include <qcombobox.h>
#include <errno.h>
#include <sys/mount.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <qvariant.h>
#include <qpushbutton.h>
#include <qwidget.h>
#include <qframe.h>
#include <qsplitter.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qfont.h>
#include <libgen.h>
#include "music-scanner.h"
#include "about.h"
#include "ui-album.h"
#include "qsong.h"
#include "version.h"
#include "song-metric.h"
#include "bpmdj.h"
#include "players-manager.h"
#include "cluster.h"
#include "queuedsong.h"
#include "historysong.h"
#include "ui-bpmmerge.h"
#include "edit-distance.h"
#include "index-reader.h"
#include "scripts.h"
#include "spectrum-type.h"
#include "tags.h"
#include "common.h"
#include "ui-freq-mapping.h"
#include "memory.h"
#include "statistics.h"
#include "ui-clustering.h"
#include "history.h"
#include "log-viewer.h"
#include <qaction.h>
#include "bpmdj-event.h"
#include "vector-iterator.h"
#include "song-iterator.h"
#include "fragment-cache.h"
#include "song-copier.h"
#include "info.h"
#include "qt-helpers.h"

Defines

#define TABS_ALBUMS   1
#define TABS_QUEUE   3

Functions

bool checkDocsAt (QString pos)
 if (!ok &&e) e->setText(TAGS_OR
 updateItemList ()
int songFileCompare (const void *a, const void *b)
 assert (all)
spectrumPca pcaThis (all)
clusterer reset ()
 if (svi.val()->has_all_cluster_fields()) clusterer.add(svi.val())
QDialog dialog (this)
 if (dialog.exec()==Rejected) return
clusterer agglomerate (metriek)
 sprintf (scriptname,"%s/.xmms/xmms.m3u", homedir)
 if (!script)
 while (i< next)
 fclose (script)
 bpmdj_deallocate (current_directory)
 fclose (f)
 for (int i=0;i< 8 &&!there_is_one;i++) there_is_one|
analyzers start (slot, next->getSong(), command, description)
 delete (next)
 queueInsert (extraSongs->value())
 if (should_split) fprintf(out
 if (mergerDialog.wavConvert->isChecked()) fprintf(out
 fclose (out)
queue repaint ()
 while (restart)
 queueOrder ()
queue sortItems (0, Qt::AscendingOrder)
 queueRandom ()

Variables

SongSelectorLogicselector = NULL
IndexReader indexReader
 TAG_TRUE
const vector< Song * > & songs = database->getAllSongs()
selectedSongIterator svi
Ui::ClusterDialog dialogcontent
dialogcontent setupUi & dialog
SongMetriek metriek = *dialogcontent.metrics
char * homedir = getenv("HOME")
char scriptname [1024]
char * current_directory = getcwd(NULL,0)
FILE * script = fopen(scriptname,"wb")
int i = 0
anal_queue header()->
setResizeMode(QHeaderView bool 
there_is_one = false
SongSlotslot = &Config::analyzers[on_slot]
QString command = next->getCommand(*slot)
QString description = next->getDescription(*slot)
 split_arguments
for a in * RAW_EXT
do RAW2WAV $a basename $a RAW_EXT wav
rm $a
done n
bool reading_index
int last_pos = (::main_song || monitor_song) ? 1 : count + 2
return false
SongCopier songCopier

Define Documentation

#define TABS_ALBUMS   1
#define TABS_QUEUE   3

Function Documentation

clusterer agglomerate ( metriek   ) 
assert ( all   ) 
bpmdj_deallocate ( current_directory   ) 
bool checkDocsAt ( QString  pos  ) 

References exists().

Referenced by SongSelectorLogic::doOnlineHelp().

delete ( next   ) 
QDialog dialog ( this   ) 
fclose ( out   ) 
fclose (  ) 
fclose ( script   ) 
for (  ) 
if ( mergerDialog.wavConvert->  isChecked()  ) 
if ( should_split   ) 
if ( script  ) 
if ( dialog.  exec() = =Rejected  ) 
if ( svi.  val)->has_all_cluster_fields(  ) 
if ( !ok &&  e  ) 
spectrumPca pcaThis ( all   ) 
queueInsert ( extraSongs->  value()  ) 
queueOrder (  ) 
queueRandom (  ) 
queue repaint (  ) 
clusterer reset (  ) 
int songFileCompare ( const void *  a,
const void *  b 
)
queue sortItems ( ,
Qt::AscendingOrder   
)
sprintf ( scriptname  ,
"%s/.xmms/xmms.m3u"  ,
homedir   
)
analyzers start ( slot  ,
next->  getSong(),
command  ,
description   
)
updateItemList (  ) 
while ( restart   ) 
while (  ) 

Variable Documentation

rm $a
QString command = next->getCommand(*slot)

Referenced by SongSlot::startChecking().

char* current_directory = getcwd(NULL,0)
QString description = next->getDescription(*slot)
dialogcontent setupUi& dialog
return false
char* homedir = getenv("HOME")
int i = 0

Referenced by absolute(), Md5Analyzer::analyze(), EnergyAnalyzer::analyze(), argnames2str(), args2str(), ArrayMeta< D, T >::ArrayMeta(), QSong::aSongChangedBehindQSongsBack(), histogram_type::best_dist(), between_spectra(), biased_abs_distance(), biased_autocorrelation(), biased_best_abs_circular_distance(), biased_best_l2_circular_distance(), biased_l2_distance(), BpmDjPreferences::BpmDjPreferences(), RhythmAnalyzer::calculateRhythmPattern2(), DataBase::clear(), dsp_alsa::close(), copyargs(), histogram_type::cor_dist(), cpp(), create_lowpass(), histogram_type::dev(), dev_echo(), dev_spectrum(), differentiate(), dist_done(), dist_init(), do_pca(), SongSelectorLogic::doClustering(), dopascal(), BeatGraphLabel::drawCueText(), dump(), edist(), energize(), escape(), SpectrumAnalyzer::fetchSpectrum_normal(), SpectrumAnalyzer::fetchSpectrum_wavelet(), fft_to_bark(), SongSelectorLogic::filterProposedList(), find_max(), find_max_rpos(), find_mean(), for(), Tags::full_string(), spectrum_type::get_data(), smallhistogram_type< smallhistogram_size >::get_data(), histogram_property< bandsize >::get_data(), Song::get_distance_to_main(), histogram_type::halve(), _Coordinate< D >::has(), histogram_property< composition_prop_sx >::histogram_property(), HistorySong::HistorySong(), QSong::indexof(), smallhistogram_type< smallhistogram_size >::init(), rhythm_property::init(), QueuedSong::init(), histogram_type::init(), composition_property::init(), init_hues(), listen_to_main_requests(), Config::load(), Player::loadMap(), LpFilter(), main(), Player::mapLengthChanged(), Player::mapStart(), mean_echo_old(), mean_spectrum(), BpmCounter::measure(), Size< D >::min(), min_dist(), Player::mousePressEvent(), histogram_type::normalize(), histogram_type::normalize_autocorrelation_diff(), normalize_file(), normalize_mean(), Size< D >::operator()(), ActiveFragmentPlayer::playWave(), poll_death(), _Coordinate< D >::print(), process_creator(), process_options(), ActiveObject< ActiveClusterer_msg_ * >::push(), SongSelectorLogic::queueRandom(), remote(), Config::save(), Player::saveMap(), Select< D >::Select(), _Coordinate< D >::select(), selectedSongIterator::selectedSongIterator(), spectrum_type::set_data(), smallhistogram_type< smallhistogram_size >::set_data(), histogram_property< bandsize >::set_data(), shape(), SongSelectorLogic::SongSelectorLogic(), QSong::Sort(), spawn_request(), SongMetriek::spectrum_dist(), spectrum_type::spectrum_type(), ActiveSomBeatGraph::start(), SongSelectorLogic::startAnotherAnalyzer(), ProcessManager::startSong(), stop_dev_echo(), stop_dev_spectrum(), stop_mean_echo_old(), stop_mean_spectrum(), stretchHead(), histogram_type::strip(), taglist2strings(), Size< D >::takeFrom(), tempocopy(), History::this_is_playing(), ActiveExistenceScanner::thunk(), translate_mean(), unbiased_autocorrelation(), Player::update_inmap_pixmap(), Player::update_map_pixmaps(), Player::update_speedmap_pixmap(), Player::update_volumemap_pixmap(), updateSize(), vector_mul_div(), DataBinner::visit(), DataTexter::visit(), wave_read(), and wavelet_subtraction_test().

int last_pos = (::main_song || monitor_song) ? 1 : count + 2

if there is a main or monitor then the randomization will use that one as anker. Otherwise we refrain from using any anker

SongMetriek metriek = *dialogcontent.metrics
done n
for a in* RAW_EXT
FILE* script = fopen(scriptname,"wb")

Referenced by openScriptFile().

char scriptname[1024]
const vector<Song*>& songs = database->getAllSongs()
TAG_TRUE
anal_queue header ()->setResizeMode(QHeaderView bool there_is_one = false
do RAW2WAV $a basename $a RAW_EXT wav
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2