Home
last modified time | relevance | path

Searched refs:SoundfontInformation (Results 1 – 25 of 25) sorted by relevance

/dports/audio/polyphone/polyphone-75a5e88/sources/repository/
H A Drepositorymanager.cpp88 _propertyTranslations[SoundfontInformation::Property::TIMBRE]["high"] = tr("high"); in fillPropertyTranslation()
89 _propertyTranslations[SoundfontInformation::Property::TIMBRE]["low"] = tr("low"); in fillPropertyTranslation()
96 _propertyTranslations[SoundfontInformation::Property::TIMBRE]["fat"] = tr("fat"); in fillPropertyTranslation()
245 SoundfontInformation * si = new SoundfontInformation(id, title); in loadSoundfontInfo()
267 SoundfontInformation::LicenseFlags flags = SoundfontInformation::LicenseFlag::NONE; in loadSoundfontInfo()
269 flags |= SoundfontInformation::LicenseFlag::COMMERCIAL_USE; in loadSoundfontInfo()
271 flags |= SoundfontInformation::LicenseFlag::SHARE_MODIFIED; in loadSoundfontInfo()
332 void RepositoryManager::loadProperty(SoundfontInformation * si, const QJsonValue &value, SoundfontI… in loadProperty()
362 SoundfontInformation * RepositoryManager::getSoundfontInformation(int id) in getSoundfontInformation()
369 QList<SoundfontInformation *> results; in getSoundfontInformation()
[all …]
H A Dsoundfontfilter.cpp30 _licenseFlags(SoundfontInformation::LicenseFlag::NONE) in SoundfontFilter()
35 bool SoundfontFilter::match(SoundfontInformation * soundfontInformation) in match()
66 if ((int)_licenseFlags != (int)SoundfontInformation::LicenseFlag::NONE) in match()
72 if (!_properties[SoundfontInformation::Property::SAMPLE_SOURCE].isEmpty() && in match()
76 if (!_properties[SoundfontInformation::Property::TIMBRE].isEmpty() && in match()
77 !isMatching(_properties[SoundfontInformation::Property::TIMBRE], in match()
78 properties[SoundfontInformation::Property::TIMBRE])) in match()
80 if (!_properties[SoundfontInformation::Property::ARTICULATION].isEmpty() && in match()
84 if (!_properties[SoundfontInformation::Property::GENRE].isEmpty() && in match()
85 !isMatching(_properties[SoundfontInformation::Property::GENRE], in match()
[all …]
H A Drepositorymanager.h50 SoundfontInformation * getSoundfontInformation(int id);
51 QList<SoundfontInformation *> getSoundfontInformation(SoundfontFilter *filter);
56 …QStringList getProperties(SoundfontInformation::Property property) { return _properties[property];…
85 …void loadProperty(SoundfontInformation * si, const QJsonValue &value, SoundfontInformation::Proper…
86 QString getPropertyTranslation(SoundfontInformation::Property property, QString value);
89 QMap<int, SoundfontInformation *> _soundfontInfos; // Classified by ID
92 QMap<SoundfontInformation::Property, QStringList> _properties;
93 QMap<SoundfontInformation::Property, QMap<QString, QString>> _propertyTranslations;
H A Dsoundfontfilter.h45 …void setLicenseFlags(SoundfontInformation::LicenseFlags licenseFlags) { _licenseFlags = licenseFla… in setLicenseFlags()
46 SoundfontInformation::LicenseFlags licenseFlags() { return _licenseFlags; } in licenseFlags()
49 …void setProperties(SoundfontInformation::Property type, QStringList properties) { _properties[type… in setProperties()
50 QStringList properties(SoundfontInformation::Property type) { return _properties[type]; } in properties()
56 bool match(SoundfontInformation * soundfontInformation);
63 SoundfontInformation::LicenseFlags _licenseFlags;
64 QMap<SoundfontInformation::Property, QStringList> _properties;
H A Dsoundfontinformation.cpp28 SoundfontInformation::SoundfontInformation(int id, QString title) : in SoundfontInformation() function in SoundfontInformation
44 QString SoundfontInformation::getAuthor() { in getAuthor()
50 void SoundfontInformation::addProperty(Property property, QString propertyValue) in addProperty()
55 void SoundfontInformation::addTag(QString tag) in addTag()
H A Dsoundfontinformation.h32 class SoundfontInformation
53 SoundfontInformation(int id, QString title);
106 Q_DECLARE_OPERATORS_FOR_FLAGS(SoundfontInformation::LicenseFlags)
/dports/audio/polyphone/polyphone-75a5e88/sources/repository/soundfont/editor/
H A Dsoundfonteditorleft.cpp64 properties = RepositoryManager::getInstance()->getProperties(SoundfontInformation::TIMBRE); in SoundfontEditorLeft()
74 properties = RepositoryManager::getInstance()->getProperties(SoundfontInformation::GENRE); in SoundfontEditorLeft()
92 void SoundfontEditorLeft::initialize(SoundfontInformation *soundfontInfo) in initialize()
110 QMap<SoundfontInformation::Property, QStringList> properties = soundfontInfo->getProperties(); in initialize()
111 ui->filterSampleSource->select(properties.contains(SoundfontInformation::SAMPLE_SOURCE) ? in initialize()
113 ui->filterTimbre->select(properties.contains(SoundfontInformation::TIMBRE) ? in initialize()
114 properties[SoundfontInformation::TIMBRE] : QStringList()); in initialize()
115 ui->filterArticulation->select(properties.contains(SoundfontInformation::ARTICULATION) ? in initialize()
117 ui->filterGenre->select(properties.contains(SoundfontInformation::GENRE) ? in initialize()
118 properties[SoundfontInformation::GENRE] : QStringList()); in initialize()
[all …]
H A Dsoundfonteditorleft.h29 class SoundfontInformation; variable
44 void initialize(SoundfontInformation * soundfontInfo);
H A Dsoundfonteditortop.h29 class SoundfontInformation; variable
44 void initialize(SoundfontInformation * soundfontInfo);
H A Dsoundfonteditortop.cpp46 void SoundfontEditorTop::initialize(SoundfontInformation * soundfontInfo) in initialize()
/dports/audio/polyphone/polyphone-75a5e88/sources/repository/browser/
H A Dsoundfontbrowser.cpp162 …properties = RepositoryManager::getInstance()->getProperties(SoundfontInformation::Property::GENRE… in fillFilter()
188 if (filter->licenseFlags().testFlag(SoundfontInformation::LicenseFlag::COMMERCIAL_USE)) in applyFilter()
190 if (filter->licenseFlags().testFlag(SoundfontInformation::LicenseFlag::SHARE_MODIFIED)) in applyFilter()
196 ui->filterTimbre->select(filter->properties(SoundfontInformation::Property::TIMBRE)); in applyFilter()
198 ui->filterGenre->select(filter->properties(SoundfontInformation::Property::GENRE)); in applyFilter()
247 filter->setLicenseFlags(static_cast<SoundfontInformation::LicenseFlags>(sum)); in getFilter()
277 bool sortByDate(SoundfontInformation * si1, SoundfontInformation * si2) in sortByDate()
282 bool sortByDownloads(SoundfontInformation * si1, SoundfontInformation * si2) in sortByDownloads()
287 bool sortByScore(SoundfontInformation * si1, SoundfontInformation * si2) in sortByScore()
292 bool sortByTitle(SoundfontInformation * si1, SoundfontInformation * si2) in sortByTitle()
[all …]
H A Dsoundfontbrowser.h31 class SoundfontInformation;
72 QList<SoundfontInformation *> _currentSoundfontInfos;
H A Dattributeflow.h43 void addProperty(SoundfontInformation::Property property, QString propertyValue);
74 SoundfontInformation::Property _property;
H A Dsoundfontcellfull.h29 class SoundfontInformation; variable
41 explicit SoundfontCellFull(SoundfontInformation* soundfontInfo, QWidget *parent = nullptr);
H A Dsoundfontcellfull.cpp33 SoundfontCellFull::SoundfontCellFull(SoundfontInformation* soundfontInfo, QWidget *parent) :
66 foreach (SoundfontInformation::Property key, soundfontInfo->getProperties().keys())
H A Dattributeflow.cpp59 void AttributeFlow::addProperty(SoundfontInformation::Property property, QString propertyValue) in addProperty()
/dports/audio/polyphone/polyphone-75a5e88/sources/repository/soundfont/viewer/
H A Dsoundfontviewerleft.cpp59 void SoundfontViewerLeft::initialize(SoundfontInformation *soundfontInfo) in initialize()
97 SoundfontInformation::Property property = SoundfontInformation::SAMPLE_SOURCE; in initialize()
110 property = SoundfontInformation::TIMBRE; in initialize()
123 property = SoundfontInformation::ARTICULATION; in initialize()
136 property = SoundfontInformation::GENRE; in initialize()
149 property = SoundfontInformation::MIDI_STANDARD; in initialize()
H A Dsoundfontviewertop.h29 class SoundfontInformation; variable
44 void initialize(SoundfontInformation * soundfontInfo);
H A Dsoundfontviewerleft.h29 class SoundfontInformation; variable
45 void initialize(SoundfontInformation * soundfontInfo);
H A Dsoundfontviewertop.cpp46 void SoundfontViewerTop::initialize(SoundfontInformation * soundfontInfo) in initialize()
/dports/audio/polyphone/polyphone-75a5e88/sources/repository/daily/
H A Dsoundfontcell.h29 class SoundfontInformation; variable
41 SoundfontCell(SoundfontInformation* soundfontInfo, QWidget *parent = nullptr);
H A Dsoundfontcell.cpp34 SoundfontCell::SoundfontCell(SoundfontInformation* soundfontInfo, QWidget *parent) :
56 foreach (SoundfontInformation::Property key, soundfontInfo->getProperties().keys())
H A Dshowsoundfonts.cpp130SoundfontInformation * si = RepositoryManager::getInstance()->getSoundfontInformation(dailyId); in populate()
/dports/audio/polyphone/polyphone-75a5e88/sources/repository/soundfont/
H A Dsoundfontviewer.cpp118SoundfontInformation * soundfontInfo = RepositoryManager::getInstance()->getSoundfontInformation(s…
177SoundfontInformation * soundfontInfo = RepositoryManager::getInstance()->getSoundfontInformation(_…
/dports/audio/polyphone/polyphone-75a5e88/sources/mainwindow/
H A Dwindowmanager.cpp345 SoundfontInformation * si = RepositoryManager::getInstance()->getSoundfontInformation(id); in openRepositorySoundfont()