davy7125 / polyphone Goto Github PK
View Code? Open in Web Editor NEWA soundfont editor for quickly designing musical instruments.
Home Page: https://www.polyphone-soundfonts.com
License: GNU General Public License v3.0
A soundfont editor for quickly designing musical instruments.
Home Page: https://www.polyphone-soundfonts.com
License: GNU General Public License v3.0
The app is able to load sfz files (See https://github.com/sgossner/VSCO-2-CE/tree/SFZ), but not the samples in the VSCO library.
I'm running it on Mac OS X.
The other main open source library, virtual playing orchestra, loads fine.
I can create a new preset, and then copy instruments from other presets into it.
I want to be able to duplicate a preset (either by copy/paste or a separate duplicate function) - and then make minor tweaks to one.
Right click on the virtual keyboard => menu for making it floating or not
http://polyphone-soundfonts.com/en/forum/feature-requests/186-float-the-keyboard-option
In the trunk/README file, it's mentioned that to build Polyphone on a Debian based system, you need to install 'libqt5-dev'. This is misleading since, there is no package called 'libqt5-dev' in any version of Debian or Ubuntu.
Je viens de découvrir qu'en utilisant Ctrl+K, alors le focus est mis sur le clavier virtuel que l'on peut alors piloter avec le clavier alpha-numérique. C'est une super petite fonctionnalité.
Je suggère d'avoir un retour visuel de cette action comme par exemple, un truc du genre:
Je pense que ça aiderai à comprendre que "quelque chose s'est passé lorsque j'ai appuyé sur Ctrl+K".
For xdg mime type aware Linux environments (when using xdg desktop files), it would be great to provide a mime specification:
In the Arch Linux User Repository (AUR) such a file can be found:
https://aur.archlinux.org/cgit/aur.git/tree/polyphone.mime?h=polyphone
--- generated_files/sfarkextractor1.o ---
../polyphone-d7459fa/sources/core/input/sfark/sfarkextractor1.cpp:2444:9: error: use of undeclared identifier 'unlink'
unlink((char *)_sfArkInfo->WorkBuffer2);
^
This section is certainly wrong: https://github.com/davy7125/polyphone/blob/master/sources/core/input/sfark/sfarkextractor1.cpp#L33
For the unlink
function, unistd.h
needs to be included everywhere.
FreeBSD needs to be added defined(__FreeBSD__) || defined(__DragonFly__)
.
Linux also needs this include
: https://linux.die.net/man/2/unlink
Also, system includes should be included with angular brackets:
#include <unistd.h>
You should likely remove this section.
Right click on the header of a section => possibility to mute it for a testing purpose.
http://polyphone-soundfonts.com/en/forum/feature-requests/190-mute-instruments-in-presets
Polyphone only provides "save as" when using a file with a name such as "file.SF2"
Provide a small program for Windows to reset the registry, in the case when Polyphone cannot be launched anymore (midi & audio settings)
When I try to compile the latest version 1.9 on Manjaro Linux, I get this error:
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -pthread -Wall -W -D_REENTRANT -fPIC -DUSE_LOCAL_RTMIDI -DUSE_LOCAL_STK -DUSE_LOCAL_QCUSTOMPLOT -DVERSION=1.9 -DFINAL=true -D__LINUX_ALSA__ -D__UNIX_JACK__ -D__LITTLE_ENDIAN__ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/jack -Ilib/rtmidi -Ilib/stk -Ilib/qcustomplot -Igui_divers -Iconfiguration -Ipages -Iqcustomplot -Iressources -Isf2_core -Itools -Iclavier -Isynthetiseur -Isynthetiseur/elements -Isfark -Ilib/sf3 -I. -Ilib/sfarklib -isystem /usr/include/alsa -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -IRELEASE/.moc -isystem /usr/include/libdrm -IRELEASE/.ui -I/usr/lib/qt/mkspecs/linux-g++ -o RELEASE/.obj/dialog_list.o gui_divers/dialog_list.cpp
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -pthread -Wall -W -D_REENTRANT -fPIC -DUSE_LOCAL_RTMIDI -DUSE_LOCAL_STK -DUSE_LOCAL_QCUSTOMPLOT -DVERSION=1.9 -DFINAL=true -D__LINUX_ALSA__ -D__UNIX_JACK__ -D__LITTLE_ENDIAN__ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/jack -Ilib/rtmidi -Ilib/stk -Ilib/qcustomplot -Igui_divers -Iconfiguration -Ipages -Iqcustomplot -Iressources -Isf2_core -Itools -Iclavier -Isynthetiseur -Isynthetiseur/elements -Isfark -Ilib/sf3 -I. -Ilib/sfarklib -isystem /usr/include/alsa -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -IRELEASE/.moc -isystem /usr/include/libdrm -IRELEASE/.ui -I/usr/lib/qt/mkspecs/linux-g++ -o RELEASE/.obj/dialog_rename.o gui_divers/dialog_rename.cpp
configuration/config.cpp: In member function 'void Config::fillActions()':
configuration/config.cpp:363:55: error: invalid use of incomplete type 'class QAction'
ui->listActions->addItem(_actionList.at(i)->text().replace("&", ""));
^~
In file included from /usr/include/qt/QtWidgets/qdialog.h:44,
from /usr/include/qt/QtWidgets/qcolordialog.h:45,
from /usr/include/qt/QtWidgets/QColorDialog:1,
from configuration/config.cpp:27:
/usr/include/qt/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
class QAction;
^~~~~~~
configuration/config.cpp:365:44: error: invalid use of incomplete type 'class QAction'
item->setIcon(_actionList.at(i)->icon());
^~
In file included from /usr/include/qt/QtWidgets/qdialog.h:44,
from /usr/include/qt/QtWidgets/qcolordialog.h:45,
from /usr/include/qt/QtWidgets/QColorDialog:1,
from configuration/config.cpp:27:
/usr/include/qt/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
class QAction;
^~~~~~~
configuration/config.cpp:393:61: error: invalid use of incomplete type 'class QAction'
ui->listToolbar->addItem(_actionList.at(num)->text().replace("&", ""));
^~
In file included from /usr/include/qt/QtWidgets/qdialog.h:44,
from /usr/include/qt/QtWidgets/qcolordialog.h:45,
from /usr/include/qt/QtWidgets/QColorDialog:1,
from configuration/config.cpp:27:
/usr/include/qt/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
class QAction;
^~~~~~~
configuration/config.cpp:395:50: error: invalid use of incomplete type 'class QAction'
item->setIcon(_actionList.at(num)->icon());
^~
In file included from /usr/include/qt/QtWidgets/qdialog.h:44,
from /usr/include/qt/QtWidgets/qcolordialog.h:45,
from /usr/include/qt/QtWidgets/QColorDialog:1,
from configuration/config.cpp:27:
/usr/include/qt/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
class QAction;
^~~~~~~
make: *** [Makefile:3142: RELEASE/.obj/config.o] Error 1
make: *** Waiting for unfinished jobs....
Arch/Manjaro Linux recently updated their Qt version to the latest 5.11. Maybe this has something to do with this? Seems like a missing include somewhere.
The build commands I use are these (see also the polyphone AUR package):
sed -i \
-e 's/^#DEFINES += USE_LOCAL/DEFINES += USE_LOCAL/g' \
-e 's/__LINUX_ALSASEQ__/__LINUX_ALSA__ __UNIX_JACK__/g' \
polyphone.pro
qmake-qt5
make
polyphone/sources/lib/sf3/sfont.cpp
Line 465 in 3ab685a
The soundfont2 and SoundFont3 spec does not contain this extra word in the Phdr block:
/*
7.2 The PHDR Sub-chunk
The PHDR sub-chunk is a required sub-chunk listing all presets within the SoundFont compatible file. It is always a
multiple of thirty-eight bytes in length, and contains a minimum of two records, one record for each preset and one for a
terminal record according to the structure:
*/
struct sfPresetHeader
{
CHAR achPresetName[20];
WORD wPreset;
WORD wBank;
WORD wPresetBagNdx;
DWORD dwLibrary;
DWORD dwGenre;
DWORD dwMorphology;
};
What source are you using that says there is a second word value after the wPresetBagNdx indicating the end of the preset bag list for the preset?
The current codebase is not compatible to qcustomplot > 2 (due to code simplification). It would be great to refactor the codebase to be able to build against a more recent version (on Linux and potentially other OSes - which became apparent in #45 ).
Selection of several ranges with ctrl + left click
Then, when moving a limit, other limits will move the same.
http://polyphone-soundfonts.com/en/forum/feature-requests/194-multipick-multichoose-samples
Polyphone 1.8 ici, un glissé/déposé d'une banque SF2 ou SFZ fait planter Polyphone. Lancé à partir d'un terminal, la seule et unique indication donnée est "erreur de segmentation".
Polyphone 2.0
New GUI for Polyphone is difficult to use and confusing. Elements break when it is inside a small window. Public Repository screen wastes network data.
Polyphone 1.9
GUI was professional. This version can no longer be built because of librtmidi3 -> librtmidi4.
For starting this software in xdg desktop file aware Linux environments, it would be immensly helpful to provide one in this repository and install it using the install target.
In the Arch Linux User Repository (AUR) an example can be found:
https://aur.archlinux.org/cgit/aur.git/tree/polyphone.desktop?h=polyphone
Add an option to the bulk rename tool so that the velocity is visible in the name.
Add drag & drop features to key points in the envelop graphics so that we can edit with the mouse.
http://polyphone-soundfonts.com/en/forum/feature-requests/98-severel-requests-grafical-adsr-editor
Hello!
I couldn't see anything on https://www.polyphone-soundfonts.com that indicates how to use the command-line interface. I've looked through the source code but can't decipher the command-line options from options.cpp
.
I'd like to use polyphone to convert between sfz
and sf2
formats without needing to open the UI.
This operation could speed up the creation of instruments / presets:
Enable Polyphone to load flac samples
the include directive in an sfz is currently not supported
http://www.polyphone-soundfonts.com/fr/forum/support-bug-reports/130-sfz-include#372
It could be possible to drag samples linked to an instrument over the "Instrument" header so that we can create other instruments.
Same with instruments linked to a preset.
Directly edit in the table (having a suitable layout) instead of selecting a row and then edit in the right part.
Take care that once a row is selected, the image of the curve is still readable.
When trying to update the polyphone AUR package to the latest version 2.0.1, I get the following error on compilation.
I installed QCustomPlot 2.0.1, unpacked the source distribution from here and compiled with:
cd sources
qmake-qt5
make
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -pthread -pthread -Wall -W -D_REENTRANT -fPIC -DSOFT_VERSION=\"2.0.1\" -DIDENTIFIER=\"\" -D__LINUX_ALSASEQ__ -DSFTOOLS_NOXML -D__LITTLE_ENDIAN__ -D_FORTIFY_SOURCE=2 -D__UNIX_JACK__ -D__LINUX_ALSA__ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/jack -isystem /usr/include/stk -isystem /usr/include/qcustomplot -Imainwindow -Idialogs -Icontext -Icontext/interface -Ieditor -Ieditor/graphics -Ieditor/overview -Ieditor/tools -Ieditor/widgets -Ieditor/tree -Iqcustomplot -Iresources -Icore -Icore/input -Icore/output -Icore/model -Icore/types -Iclavier -Isound_engine -Isound_engine/elements -Ilib/sf3 -Irepository -Irepository/browser -Irepository/daily -Irepository/widgets -Irepository/user -Irepository/soundfont -I. -Ilib/sfarklib -isystem /usr/include/alsa -isystem /usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -isystem /usr/include/rtmidi -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -Igenerated_files -isystem /usr/include/libdrm -Igenerated_files -I/usr/lib/qt/mkspecs/linux-g++ -o generated_files/pageoverviewprst.o editor/overview/pageoverviewprst.cpp
editor/graphics/graphique.cpp: In constructor 'Graphique::Graphique(QWidget*)':
editor/graphics/graphique.cpp:86:5: error: 'addItem' was not declared in this scope
addItem(_textMultipleSelection);
^~~~~~~
editor/graphics/graphique.cpp:86:5: note: suggested alternative: 'hasItem'
addItem(_textMultipleSelection);
^~~~~~~
hasItem
editor/graphics/graphique.cpp: In member function 'void Graphique::clearAll()':
editor/graphics/graphique.cpp:197:21: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(0)->clearData();
^~~~~~~~~
userData
editor/graphics/graphique.cpp:198:21: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(1)->clearData();
^~~~~~~~~
userData
editor/graphics/graphique.cpp:199:21: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(2)->clearData();
^~~~~~~~~
userData
editor/graphics/graphique.cpp:200:21: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(3)->clearData();
^~~~~~~~~
userData
editor/graphics/graphique.cpp:201:21: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(4)->clearData();
^~~~~~~~~
userData
editor/graphics/graphique.cpp:202:21: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(5)->clearData();
^~~~~~~~~
userData
editor/graphics/graphique.cpp: In member function 'void Graphique::zoomDrag()':
editor/graphics/graphique.cpp:331:31: error: 'rpQueued' is not a member of 'QCustomPlot'
this->replot(QCustomPlot::rpQueued);
^~~~~~~~
editor/graphics/graphique.cpp: In member function 'void Graphique::setZoomLine(double, double, double, double)':
editor/graphics/graphique.cpp:419:25: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(3)->clearData();
^~~~~~~~~
userData
editor/graphics/graphique.cpp: In member function 'void Graphique::plotOverlay()':
editor/graphics/graphique.cpp:435:67: error: 'class QCPDataContainer<QCPGraphData>' has no member named 'value'
y1[i] = this->graph(0)->data()->value(posFin - sizeOverlay + i).value;
^~~~~
editor/graphics/graphique.cpp:436:67: error: 'class QCPDataContainer<QCPGraphData>' has no member named 'value'
y1[2 * sizeOverlay - i - 1] = this->graph(0)->data()->value(posFin + sizeOverlay - i).value;
^~~~~
editor/graphics/graphique.cpp:440:67: error: 'class QCPDataContainer<QCPGraphData>' has no member named 'value'
y2[i] = this->graph(0)->data()->value(posDebut - sizeOverlay + i).value;
^~~~~
editor/graphics/graphique.cpp:441:67: error: 'class QCPDataContainer<QCPGraphData>' has no member named 'value'
y2[2 * sizeOverlay - i - 1] = this->graph(0)->data()->value(posDebut + sizeOverlay - i).value;
^~~~~
editor/graphics/graphique.cpp:448:25: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(4)->clearData();
^~~~~~~~~
userData
editor/graphics/graphique.cpp:449:25: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(5)->clearData();
^~~~~~~~~
userData
make: *** [Makefile:4991: generated_files/graphique.o] Error 1
make: *** Waiting for unfinished jobs....
editor/graphics/graphiquefourier.cpp: In constructor 'GraphiqueFourier::GraphiqueFourier(QWidget*)':
editor/graphics/graphiquefourier.cpp:52:18: error: 'class QCPAxis' has no member named 'setAutoSubTicks'; did you mean 'setSubTicks'?
this->xAxis->setAutoSubTicks(false);
^~~~~~~~~~~~~~~
setSubTicks
editor/graphics/graphiquefourier.cpp:53:18: error: 'class QCPAxis' has no member named 'setAutoTickStep'; did you mean 'setSubTickPen'?
this->xAxis->setAutoTickStep(false);
^~~~~~~~~~~~~~~
setSubTickPen
editor/graphics/graphiquefourier.cpp:54:18: error: 'class QCPAxis' has no member named 'setTickStep'; did you mean 'setTicker'?
this->xAxis->setTickStep(2000);
^~~~~~~~~~~
setTicker
editor/graphics/graphiquefourier.cpp:55:18: error: 'class QCPAxis' has no member named 'setSubTickCount'; did you mean 'setSubTickPen'?
this->xAxis->setSubTickCount(3);
^~~~~~~~~~~~~~~
setSubTickPen
editor/graphics/graphiquefourier.cpp:67:18: error: 'class QCPAxis' has no member named 'setAutoSubTicks'; did you mean 'setSubTicks'?
this->yAxis->setAutoSubTicks(false);
^~~~~~~~~~~~~~~
setSubTicks
editor/graphics/graphiquefourier.cpp:68:18: error: 'class QCPAxis' has no member named 'setAutoTickStep'; did you mean 'setSubTickPen'?
this->yAxis->setAutoTickStep(false);
^~~~~~~~~~~~~~~
setSubTickPen
editor/graphics/graphiquefourier.cpp:69:18: error: 'class QCPAxis' has no member named 'setTickStep'; did you mean 'setTicker'?
this->yAxis->setTickStep(0.2);
^~~~~~~~~~~
setTicker
editor/graphics/graphiquefourier.cpp:70:18: error: 'class QCPAxis' has no member named 'setSubTickCount'; did you mean 'setSubTickPen'?
this->yAxis->setSubTickCount(1);
^~~~~~~~~~~~~~~
setSubTickPen
editor/graphics/graphiquefourier.cpp:90:11: error: 'class GraphiqueFourier' has no member named 'addItem'; did you mean 'hasItem'?
this->addItem(text1);
^~~~~~~
hasItem
editor/graphics/graphiquefourier.cpp:98:11: error: 'class GraphiqueFourier' has no member named 'addItem'; did you mean 'hasItem'?
this->addItem(text2);
^~~~~~~
hasItem
editor/graphics/graphiquefourier.cpp:105:11: error: 'class GraphiqueFourier' has no member named 'addItem'; did you mean 'hasItem'?
this->addItem(text3);
^~~~~~~
hasItem
editor/graphics/graphiquefourier.cpp:112:11: error: 'class GraphiqueFourier' has no member named 'addItem'; did you mean 'hasItem'?
this->addItem(text4);
^~~~~~~
hasItem
editor/graphics/graphiquefourier.cpp:119:11: error: 'class GraphiqueFourier' has no member named 'addItem'; did you mean 'hasItem'?
this->addItem(text5);
^~~~~~~
hasItem
editor/graphics/graphiquefourier.cpp: In member function 'void GraphiqueFourier::setPos(qint32, qint32, QList<double>&, QList<double>&, QList<int>&, QList<int>&, bool)':
editor/graphics/graphiquefourier.cpp:164:19: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
graph(0)->clearData();
^~~~~~~~~
userData
editor/graphics/graphiquefourier.cpp:195:19: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
graph(0)->clearData();
^~~~~~~~~
userData
editor/graphics/graphiquefourier.cpp: In member function 'void GraphiqueFourier::dispFourier(QVector<float>, float)':
editor/graphics/graphiquefourier.cpp:355:21: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(0)->clearData();
^~~~~~~~~
userData
editor/graphics/graphiquefourier.cpp: In member function 'void GraphiqueFourier::exportPng(QString)':
editor/graphics/graphiquefourier.cpp:412:5: error: 'QCPPlotTitle' was not declared in this scope
QCPPlotTitle * title = new QCPPlotTitle(this, _name);
^~~~~~~~~~~~
editor/graphics/graphiquefourier.cpp:412:5: note: suggested alternative: 'hasPlottable'
QCPPlotTitle * title = new QCPPlotTitle(this, _name);
^~~~~~~~~~~~
hasPlottable
editor/graphics/graphiquefourier.cpp:412:20: error: 'title' was not declared in this scope
QCPPlotTitle * title = new QCPPlotTitle(this, _name);
^~~~~
editor/graphics/graphiquefourier.cpp:412:20: note: suggested alternative: 'time'
QCPPlotTitle * title = new QCPPlotTitle(this, _name);
^~~~~
time
editor/graphics/graphiquefourier.cpp:412:32: error: expected type-specifier before 'QCPPlotTitle'
QCPPlotTitle * title = new QCPPlotTitle(this, _name);
^~~~~~~~~~~~
make: *** [Makefile:5008: generated_files/graphiquefourier.o] Error 1
editor/graphics/graphicsviewenvelop.cpp: In constructor 'GraphicsViewEnvelop::GraphicsViewEnvelop(QWidget*)':
editor/graphics/graphicsviewenvelop.cpp:58:18: error: 'class QCPAxis' has no member named 'setAutoTickStep'; did you mean 'setSubTickPen'?
this->xAxis->setAutoTickStep(false);
^~~~~~~~~~~~~~~
setSubTickPen
editor/graphics/graphicsviewenvelop.cpp:76:11: error: 'class GraphicsViewEnvelop' has no member named 'addItem'; did you mean 'hasItem'?
this->addItem(_textPositionL);
^~~~~~~
hasItem
editor/graphics/graphicsviewenvelop.cpp:85:11: error: 'class GraphicsViewEnvelop' has no member named 'addItem'; did you mean 'hasItem'?
this->addItem(_textPositionR);
^~~~~~~
hasItem
editor/graphics/graphicsviewenvelop.cpp: In member function 'void GraphicsViewEnvelop::zoomDrag()':
editor/graphics/graphicsviewenvelop.cpp:190:31: error: 'rpQueued' is not a member of 'QCustomPlot'
this->replot(QCustomPlot::rpQueued);
^~~~~~~~
editor/graphics/graphicsviewenvelop.cpp: In member function 'void GraphicsViewEnvelop::clearEnvelops()':
editor/graphics/graphicsviewenvelop.cpp:259:21: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(0)->clearData();
^~~~~~~~~
userData
editor/graphics/graphicsviewenvelop.cpp:260:21: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(1)->clearData();
^~~~~~~~~
userData
editor/graphics/graphicsviewenvelop.cpp: In member function 'virtual void GraphicsViewEnvelop::paintEvent(QPaintEvent*)':
editor/graphics/graphicsviewenvelop.cpp:454:18: error: 'class QCPAxis' has no member named 'setTickStep'; did you mean 'setTicker'?
this->xAxis->setTickStep(getTickStep());
^~~~~~~~~~~
setTicker
editor/graphics/graphicsviewenvelop.cpp: In member function 'void GraphicsViewEnvelop::setZoomLine(double, double, double, double)':
editor/graphics/graphicsviewenvelop.cpp:598:25: error: 'class QCPGraph' has no member named 'clearData'; did you mean 'userData'?
this->graph(0)->clearData();
^~~~~~~~~
userData
make: *** [Makefile:5104: generated_files/graphicsviewenvelop.o] Error 1
===> Building for polyphone-2.0.1
make[1]: make[1]: don't know how to make generated_files/sfarkextractor1.o. Stop
make[1]: stopped in /usr/ports/audio/polyphone/work/.build
Found in the FreeBSD port.
The previous version 1.9 was building fine.
On Linux Mint 18.2 (based on Ubuntu 16.04) with
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
libqt4-dev 4:4.8.7+dfsg-5ubuntu2
QT_SELECT=4
export QT_SELECT
qmake
make
...
g++ -c -pipe -O2 -pthread -Wall -W -D_REENTRANT -DUSE_LOCAL_QCUSTOMPLOT -DVERSION=1.9 -DFINAL=false -D__LINUX_ALSASEQ__ -D__LITTLE_ENDIAN__ -D__UNIX_JACK__ -D__LINUX_ALSA__ -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../trunk -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/jack -I/usr/include/stk -I../trunk/lib/qcustomplot -I../trunk/gui_divers -I../trunk/configuration -I../trunk/pages -Iqcustomplot -I../trunk/ressources -I../trunk/sf2_core -I../trunk/tools -I../trunk/clavier -I../trunk/synthetiseur -I../trunk/synthetiseur/elements -I../trunk/sfark -I../trunk/lib/sf3 -I../trunk -I../trunk/lib/sfarklib -I/usr/include/alsa -IRELEASE/.moc -IRELEASE/.ui -I. -o RELEASE/.obj/graphique.o ../trunk/pages/graphique.cpp
. ./trunk/pages/graphique.cpp: In member function 'virtual void Graphique::wheelEvent(QWheelEvent*)':
. ./trunk/pages/graphique.cpp:569:9:
error: 'qScrollX' was not declared in this scope
qScrollX->setValue(qScrollX->value() - 0.05 * event->delta());
^
Makefile:1150: recipe for target 'RELEASE/.obj/graphique.o' failed
make: *** [RELEASE/.obj/graphique.o] Error 1
Please remove the 3rd party
, deployment
, lib_windows
and lib_mac
directory.
The compressed files in there are useless and bloat the download for the source extremely: Extracted, the download is 150Mb, of which 11Mb is the actual source code - that's 92.6% useless data!
The pre-compiled libraries in there on the other hand I would even consider being pretty irresponsible. You can't just YOLO ship openssl in some random version for other people!
Users, who want to build this project either need to build the libs from source or get them from the respective sources. If you have to include sources of a library in a specific version, use git submodules or git tree.
Generally, it really is enough to state the direct (build and runtime) dependencies for this project and let people figure out the rest.
Git is really really really really not good for storing (random) binary data and I honestly can't comprehend, why all this stuff is in this repository (especially after opening a ticket about exactly the same problem before: #16).
You have polluted your repository with binary data in such a way, that it is now over 700Mb(!) in size after initial clone.
A 1.2GB soundfont couldn't be opened
https://www.polyphone-soundfonts.com/en/forum/support-bug-reports/221-soundfont#513
During the editing of a table, the user could use the keyboard so that the selection goes to the corresponding key range / velocity range. The key "ctrl" can be held in the same time to avoid the display from "jumping" too fast when the user wants to play a melody.
Yellow samples, blue instruments and red presets was efficient to distinguish everything.
Restore the colors would be fine.
2 sets of colors needed, for light and dark themes.
When holding the key "ctrl", triggering a note will lead us to the current division being played in the table.
Note: the "maj" key is already used to play 2 octaves higher with the keyboard.
Cloning into 'polyphone'...
remote: Enumerating objects: 87, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (60/60), done.
remote: Total 15404 (delta 46), reused 42 (delta 27), pack-reused 15317
Receiving objects: 100% (15404/15404), 20.99 MiB | 7.94 MiB/s, done.
Resolving deltas: 100% (11163/11163), done.
fatal: No tags can describe 'd7459fa04ae4fc47335e4809547999338090fd7e'.
Try --always, or create some tags.
Usually, it returns something like this 2.0.1-{N}-g{hash}
.
The user could be able to select an area and remove that part from the sample
Note: if the "alt" button is released before the mouse release, the process continues.
I would like to contribute to this project doing continous integration but I failed.
You can see my job there:
https://github.com/mercuriete/polyphone/blob/stable/.travis.yml
my problem is nullptr is not defined in c++ standars < 11 and I dont know how to tell qmake to use another g++.
If you can give some advise to continue in this task... I will continue.
Good project :)
On Linux Mint 18.2 (based on Ubuntu 16.04) with
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
libqt4-dev 4:4.8.7+dfsg-5ubuntu2
QT_SELECT=4
export QT_SELECT
with polyphone v1.8 built from source immediately crashes on execution.
/usr/local/bin/polyphone
*** Error in `/usr/local/bin/polyphone': realloc(): invalid pointer: 0x0831b1dc ***
What I do not understant is why polyphone is showing links to Qt5 libraries when built with Qt4, unless these libraries are supposed to be backwards compatible with Qt4.
ldd /usr/local/bin/polyphone | grep Qt | sort
libQt5Core.so.5 => /usr/lib/i386-linux-gnu/libQt5Core.so.5 (0xb5047000)
libQt5Gui.so.5 => /usr/lib/i386-linux-gnu/libQt5Gui.so.5 (0xb550b000)
libQt5PrintSupport.so.5 => /usr/lib/i386-linux-gnu/libQt5PrintSupport.so.5 (0xb61d3000)
libQt5Widgets.so.5 => /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 (0xb5a93000)
libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xb6621000)
libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xb6927000)
libQtSvg.so.4 => /usr/lib/i386-linux-gnu/libQtSvg.so.4 (0xb743e000)
Is it time for polyphone to move to qt5?
Option to be able to play the sample with the equalization, before applying the effect.
I'm currently trying to package this software for Arch Linux' [community] repository.
However, there is no install target when doing:
qmake
make
make install
Soundfonts ripped by vgmtrans often have the wrong sampling rate. I want to be able to change the sampling rate to fix the length and pitch, without resampling the sample data.
Additionally it would be convenient to have arbitrary sampling rates (though I haven't needed anythong not on the list yet) .
Hi, I am trying to get Polyphone running on my Ubuntu 16.04 machine and while I am able to successfully compile it and create the Polyphone binary, running the program yields a stack trace:
*** Error in `polyphone': realloc(): invalid pointer: 0x000000000091e400 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7efbfbd927e5]
/lib/x86_64-linux-gnu/libc.so.6(realloc+0x348)[0x7efbfbd9fa08]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QListData7reallocEi+0x1f)[0x7efbfa9439cf]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QListData6appendEi+0x81)[0x7efbfa943aa1]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x1d6d78)[0x7efbfaa0fd78]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_Z21qRegisterResourceDataiPKhS0_S0_+0x2e6)[0x7efbfaa0bb16]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x7bcc3)[0x7efbfa8b4cc3]
/lib64/ld-linux-x86-64.so.2(+0x106ba)[0x7efbff4e96ba]
/lib64/ld-linux-x86-64.so.2(+0x107cb)[0x7efbff4e97cb]
/lib64/ld-linux-x86-64.so.2(+0xc6a)[0x7efbff4d9c6a]
...I Truncated the Memory Map...
Is there anything that I might be able to try to fix this or any other information that would be useful to help identify the problem?
UPDATE: I have the same issue when compiling Polyphone 1.8 and the master version.
With a button always displayed at the bottom of the table, so that we know modulators are here
Why are there binary files in this source code repository instead of just using git's tag system and releasing a source tarball through that?
With every release this repository will grow by ~4MB in size. There is no benefit.
When viewing a sample or an instrument, possibility to directly navigate to a linked instrument or preset. This could be done in double clicking on a linked element (description in the upper part of the interface).
http://polyphone-soundfonts.com/en/forum/soundfonts-help/184-back-to-instrument-from-sample
Hello! I'm using Polyphone 1.9 on macOS High Sierra on a MacBook Air. I have "tap to click" disabled system-wide via System Preferences but the virtual keyboard reads touching the touchpad even just to move the mouse cursor as clicking a key with a velocity of 1. This also results in some keys getting stuck as blue, presumably holding those keys down with velocities of 1. There seems to be no reliable, consistent way to unstick these keys other than moving the cursor wildly around the keyboard.
I also hope this issue doesn't affect Windows or Linux systems that use touchpads or similar HIDs (maybe the Lenovo trackpoint nib or even a drawing tablet?), but I wouldn't be surprised if it does.
Add a row in this page
http://polyphone-soundfonts.com/en/documentation/manual/overview-pages/136#1
so that the sample rate is displayed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.