#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 | |
| SongSelectorLogic * | selector = 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 |
| SongSlot * | slot = &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 TABS_ALBUMS 1 |
Referenced by SongSelectorLogic::eventFilter().
| #define TABS_QUEUE 3 |
Referenced by SongSelectorLogic::eventFilter().
| assert | ( | all | ) |
| bpmdj_deallocate | ( | current_directory | ) |
| bool checkDocsAt | ( | QString | pos | ) |
References exists().
Referenced by SongSelectorLogic::doOnlineHelp().
| delete | ( | next | ) |
| QDialog dialog | ( | this | ) |
| fclose | ( | out | ) |
| fclose | ( | f | ) |
| fclose | ( | script | ) |
Referenced by Md5Analyzer::analyze(), RhythmAnalyzer::calculateRhythmPattern2(), History::clear_history(), closeFiles(), closeLog(), cpp(), cut_at(), dopascal(), dumpAudio(), exists(), SpectrumAnalyzer::fetchSpectrum_normal(), FragmentInMemoryData::FragmentInMemoryData(), BpmCounter::init(), Player::loadMap(), LogItem::LogItem(), main(), Player::saveMap(), SongProcess::start(), ActiveSomBeatGraph::start(), SongSlot::startChecking(), wave_close(), DecoderChecker::works(), Index::write_idx(), and DataIo::~DataIo().
| 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() | ) |
Referenced by SongSelectorLogic::queueInsert().
| queueOrder | ( | ) |
Referenced by SongSelectorLogic::timerTick().
| queueRandom | ( | ) |
| queue repaint | ( | ) |
Referenced by BeatGraphLabel::drawCursor().
| clusterer reset | ( | ) |
Referenced by Ui_CountDialog::setupUi(), QSong::setVector(), and QSong::sort().
| int songFileCompare | ( | const void * | a, | |
| const void * | b | |||
| ) |
| queue sortItems | ( | 0 | , | |
| Qt::AscendingOrder | ||||
| ) |
| sprintf | ( | scriptname | , | |
| "%s/.xmms/xmms.m3u" | , | |||
| homedir | ||||
| ) |
Referenced by bpmdjraw(), UpdateSongFilename::change(), copyargs(), SongSelectorLogic::doAutoMix(), SongSlot::getAnalCommand(), getRawFilename(), if(), dsp_jack::open(), process_death_pids(), process_options(), remote(), request_spawn(), set_decoder_environment(), BpmAnalyzerDialog::setBpmBounds(), split_raw(), ActiveSomBeatGraph::start(), start_cp(), start_mkdir(), start_mv(), ExitStatus::statusText(), Player::timerTick(), DataTexter::visit(), DecoderChecker::works(), and writer_died().
| analyzers start | ( | slot | , | |
| next-> | getSong(), | |||
| command | , | |||
| description | ||||
| ) |
Referenced by main(), ProcessManager::startSong(), and volumefade().
| updateItemList | ( | ) |
| while | ( | restart | ) |
| while | ( | ) |
| rm $a |
Referenced by SongSlot::startChecking().
| char* current_directory = getcwd(NULL,0) |
| QString description = next->getDescription(*slot) |
Referenced by ActiveFragmentCreator::createOneFor(), and SongSlot::startChecking().
| dialogcontent setupUi& dialog |
Referenced by SongSelectorLogic::selectionInsertInAlbum().
| 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 |
Referenced by SongSelectorLogic::queueRandom().
| done n |
Referenced by ao_scan_bytes(), dist_init(), do_scan_bytes(), SongSelectorLogic::doAutoMix(), edist(), and yy_scan_bytes().
| for a in* RAW_EXT |
| bool reading_index |
Referenced by ActiveIndexReader::start(), ActiveIndexReader::terminate(), and ActiveIndexReader::thunk().
| FILE* script = fopen(scriptname,"wb") |
Referenced by openScriptFile().
| char scriptname[1024] |
| SongSelectorLogic* selector = NULL |
Referenced by CollectionOfSongs::CollectionOfSongs(), ActiveFragmentCreator::createOneFor(), QSong::data(), FragmentCache::get(), get_current_song(), QSong::indexof(), main(), History::mark_all_played_songs(), UserNotification::run(), CollectionOfSongs::run(), FragmentCreated::run(), selectedSongIterator::selectedSongIterator(), UserNotification::send(), set_current_song(), ProcessManager::setMainSong(), ProcessManager::startSong(), and ProcessManager::switchMonitorToMain().
| SongSlot* slot = &Config::analyzers[on_slot] |
Referenced by ActiveExistenceScanner::ActiveExistenceScanner(), and History::clear_history().
Referenced by SongSelectorLogic::doAutoMix().
Referenced by SongSelectorLogic::avoidSongs(), SongSelectorLogic::exportPlayList(), if(), SongSelectorLogic::queueAnalysis(), SongSelectorLogic::selectionAddQueue(), SongSelectorLogic::selectionAddTags(), SongSelectorLogic::selectionDelTags(), SongSelectorLogic::selectionEditInfo(), SongSelectorLogic::selectionPlayIn3th(), SongSelectorLogic::selectionPlayIn4th(), SongSelectorLogic::selectionSetAuthor(), SongSelectorLogic::selectionSetMainSong(), and SongSelectorLogic::startRenamerOnIndices().
| TAG_TRUE |
| anal_queue header ()->setResizeMode(QHeaderView bool there_is_one = false |
1.6.2