#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 "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 "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) |
| 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() |
| 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 | ) |
| fclose | ( | out | ) |
| fclose | ( | f | ) |
| fclose | ( | script | ) |
Referenced by Md5Analyzer::analyze(), RhythmAnalyzer::calculateRhythmPattern2(), History::clear_history(), dumpAudio(), exists(), SpectrumAnalyzer::fetchSpectrum_normal(), FragmentInMemoryData::FragmentInMemoryData(), BpmCounter::init(), Player::loadMap(), LogItem::LogItem(), main(), Player::saveMap(), SongProcess::start(), SongSlot::startChecking(), wave_close(), DecoderChecker::works(), and Index::write_idx().
| if | ( | mergerDialog.wavConvert-> | isChecked() | ) |
| if | ( | should_split | ) |
| if | ( | ! | script | ) |
| 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().
| 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(), SongSelectorLogic::doAutoMix(), SongSlot::getAnalCommand(), getRawFilename(), if(), dsp_jack::open(), process_death_pids(), process_options(), remote(), request_spawn(), set_decoder_environment(), BpmAnalyzerDialog::setBpmBounds(), start_cp(), start_mkdir(), start_mv(), ExitStatus::statusText(), Player::timerTick(), DecoderChecker::works(), and writer_died().
| analyzers start | ( | slot | , | |
| next-> | getSong(), | |||
| command | , | |||
| description | ||||
| ) |
Referenced by main(), and ProcessManager::startSong().
| 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().
| return false |
| char* homedir = getenv("HOME") |
| int i = 0 |
Referenced by absolute(), Md5Analyzer::analyze(), EnergyAnalyzer::analyze(), 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(), histogram_type::cor_dist(), histogram_type::dev(), dev_echo(), dev_spectrum(), differentiate(), dist_done(), dist_init(), do_pca(), BeatGraphLabel::drawCueText(), dump(), edist(), energize(), escape(), SpectrumAnalyzer::fetchSpectrum_normal(), 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(), 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(), Player::mousePressEvent(), histogram_type::normalize(), histogram_type::normalize_autocorrelation_diff(), normalize_mean(), ActiveFragmentPlayer::playWave(), poll_death(), process_creator(), process_options(), SongSelectorLogic::queueRandom(), read_audio(), remote(), Config::save(), Player::saveMap(), selectedSongIterator::selectedSongIterator(), spectrum_type::set_data(), smallhistogram_type< smallhistogram_size >::set_data(), histogram_property< bandsize >::set_data(), SongSelectorLogic::SongSelectorLogic(), QSong::Sort(), spawn_request(), SongMetriek::spectrum_dist(), spectrum_to_bark(), spectrum_type::spectrum_type(), SongSelectorLogic::startAnotherAnalyzer(), ProcessManager::startSong(), stop_dev_echo(), stop_dev_spectrum(), stop_mean_echo_old(), stop_mean_spectrum(), histogram_type::strip(), taglist2strings(), 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(), vector_mul_div(), and wave_read().
| 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
| done n |
Referenced by dist_init(), SongSelectorLogic::doAutoMix(), and edist().
| 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().
| TAG_TRUE |
| anal_queue header ()->setResizeMode(QHeaderView bool there_is_one = false |
1.6.2