
Testiamo frequenza, responsivita’ e distorsione dei nostri speakers. Qloud funziona anche con schede audio o amplificatori esterni. Per veri intenditori del genere..
![]()
Maggiori informazioni:
- Dipendenze -
sudo apt-get install fftw3-dev libsndfile1-dev libjack0.100.0-dev qt4-designer qt4-dev-tools libqt4-dev
tar xjvf qwt-5.0.2.tar.bz2 cd ~/qwt-5.0.2 qmake make sudo make install make clean
Copiamo le librerie generate nella directory ~/qwt-5.0.2/lib in /usr/lib
sudo cp -v libqwt* /usr/lib
QLOUD:
tar xjvf qloud-0.21.tar.bz2
cd ~/qloud-0.21
Apriamo il file src.pro che si trova nella subdirectory /src
cd ~/qloud-0.21/src
kate src.pro
Premiamo F11 (cosi’ saranno visibili i numeri di riga) e spostiamoci alla riga 78, modificando il percorso agli headers delle librerie qwt appena installate (il percorso e’ variabile da sistema a sistema):
INCLUDEPATH += /usr/local/qwt-5.0.2/include \
Torniamo su di una directory e compiliamo qloud:
cd .. qmake make
Nella directory qloud-0.21/bin troveremo l’eseguibile da spostare in /usr/bin:
sudo mv ~/qloud-0.21/bin/qloud /usr/bin
NB: per la registrazione e’ necessario avere precedentemente installato il server audio JACK
Il tuo indirizzo ip:
38.107.179.232




on
on
on
Grande,
era da tanto tempo che stavo cervando un programma del genere…….Ora posso finalmente vedere la risposta in frequenza del mio impianto Kubuntu/valvolare
azraelQuota
@azrael
fammi sapere se funziona perche’ questo articolo l’avevo preparato tempo fa .. l’ho “resumato” solo oggi
divilinuQuota
Ma certo….stasera faccio qualche prova e ti faccio sapere….
azraelQuota
Ciao,
sto provando a installare qloud,ma quando provo a fare il make per qwt, mi da il seguente errore:
alessandro:~/qwt-5.0.2$ qmake
alessandro:~/qwt-5.0.2$ make
cd src/ && /usr/bin/qmake src.pro -unix -o Makefile
cd src/ && make -f Makefile
make[1]: Entering directory `/home/alessandro/qwt-5.0.2/src’
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc -I. -o obj/qwt_abstract_scale_draw.o qwt_abstract_scale_draw.cpp
make[1]: g++: Command not found
make[1]: *** [obj/qwt_abstract_scale_draw.o] Error 127
make[1]: Leaving directory `/home/alessandro/qwt-5.0.2/src’
make: *** [sub-src-make_default] Error 2
ho installato tutte le dipendenze, e ho anche verificato che siano effettivamente installate. Mi potresti dire dove sto sbagliando? Grazie, ciao….
azraelQuota
@azrael
forse ti mancano i pacchetti delle pyqt4-dev-tools e pyqt-tools
oppure ancora il g++ (quindi il pacchetto build-essential)
divilinuQuota
Ok, si in effetti mancava un pacchetto…piccola svista.
CMQ seguendo la tua guida con la versione di qloud 0.21 tutto funziona alla grande.
Mentre con la versione 0.22, la modifica da fare al file src.pro mi pare non sia alla riga 78 ma alla 109….
azraelQuota
Ciao, io non riesco a compilare. Mi da’ il seguente errore
paolo@kubuntu:qloud-0.21$ make
cd src && make -f Makefile
make[1]: Entering directory `/home/paolo/opt/kde/qloud-0.21/src'
qmake -o Makefile src.pro
make[1]: Leaving directory `/home/paolo/opt/kde/qloud-0.21/src'
make[1]: Entering directory `/home/paolo/opt/kde/qloud-0.21/src'
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/local/qwt-5.0.2/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt3 -I../moc/ -o ../obj/main.o main.cpp
main.cpp:20:24: error: QApplication: No such file or directory
In file included from main.cpp:21:
QLWin.h:23:17: error: QtGui: No such file or directory
In file included from ExcitCfg.h:23,
from ExcitForm.h:25,
from QLWin.h:24,
from main.cpp:21:
QLE.h:23:18: error: QtCore: No such file or directory
/usr/include/qt4/QtXml/qdom.h:44: error: ‘QT_BEGIN_HEADER’ does not name a type
/usr/include/qt4/QtXml/qdom.h:94: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:123: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:248: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:277: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:303: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:356: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:393: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:410: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:443: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:470: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:528: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:549: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:566: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:583: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:604: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:625: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:642: error: invalid function declaration
/usr/include/qt4/QtXml/qdom.h:667: error: expected initializer before ‘&’ token
IRInfo.h:26: error: expected constructor, destructor, or type conversion before ‘class’
QLCfg.h:40: error: ‘IRInfo’ has not been declared
QLCfg.h:42: error: ‘IRInfo’ has not been declared
QLCfg.h:44: error: ‘IRInfo’ does not name a type
QLCfg.h:45: error: ‘IRInfo’ was not declared in this scope
QLCfg.h:45: error: template argument 1 is invalid
ExcitForm.h:70: error: ISO C++ forbids declaration of ‘QComboBox’ with no type
ExcitForm.h:70: error: expected ‘;’ before ‘*’ token
ExcitForm.h:71: error: ISO C++ forbids declaration of ‘QComboBox’ with no type
ExcitForm.h:71: error: expected ‘;’ before ‘*’ token
ExcitForm.h:72: error: ISO C++ forbids declaration of ‘QComboBox’ with no type
ExcitForm.h:72: error: expected ‘;’ before ‘*’ token
TickPoster.h:48: error: ISO C++ forbids declaration of ‘QLabel’ with no type
TickPoster.h:48: error: expected ‘;’ before ‘*’ token
Plotter.h:41: error: ‘IRInfo’ has not been declared
Plotter.h:53: error: ‘IRInfo’ does not name a type
PlotWindow.h:38: error: expected ‘,’ or ‘...’ before ‘&’ token
PlotWindow.h:38: error: ISO C++ forbids declaration of ‘IRInfo’ with no type
PlotWindow.h:44: error: expected ‘,’ or ‘...’ before ‘&’ token
PlotWindow.h:44: error: ISO C++ forbids declaration of ‘IRInfo’ with no type
PlotWindow.h:45: error: expected ‘,’ or ‘...’ before ‘&’ token
PlotWindow.h:45: error: ISO C++ forbids declaration of ‘IRInfo’ with no type
PlotWindow.h:46: error: expected ‘,’ or ‘...’ before ‘&’ token
PlotWindow.h:46: error: ISO C++ forbids declaration of ‘IRInfo’ with no type
PlotWindow.h:47: error: expected ‘,’ or ‘...’ before ‘&’ token
PlotWindow.h:47: error: ISO C++ forbids declaration of ‘IRInfo’ with no type
PlotWindow.h:48: error: expected ‘,’ or ‘...’ before ‘&’ token
PlotWindow.h:48: error: ISO C++ forbids declaration of ‘IRInfo’ with no type
IrsModel.h:28: error: expected class-name before ‘{’ token
IrsModel.h:36: error: expected ‘,’ or ‘...’ before ‘&’ token
IrsModel.h:36: error: ISO C++ forbids declaration of ‘QModelIndex’ with no type
IrsModel.h:37: error: expected ‘,’ or ‘...’ before ‘&’ token
IrsModel.h:37: error: ISO C++ forbids declaration of ‘QModelIndex’ with no type
IrsModel.h:38: error: expected ‘,’ or ‘...’ before ‘&’ token
IrsModel.h:38: error: ISO C++ forbids declaration of ‘QModelIndex’ with no type
IrsModel.h:39: error: expected ‘,’ or ‘...’ before ‘&’ token
IrsModel.h:39: error: ISO C++ forbids declaration of ‘QModelIndex’ with no type
IrsModel.h:41: error: ‘ItemFlags’ in class ‘Qt’ does not name a type
IrsModel.h:42: error: expected ‘,’ or ‘...’ before ‘&’ token
IrsModel.h:42: error: ISO C++ forbids declaration of ‘QModelIndex’ with no type
IrsModel.h:54: error: ‘IRInfo’ was not declared in this scope
IrsModel.h:54: error: template argument 1 is invalid
IrsModel.h:28: warning: ‘class IrsModel’ has virtual functions but non-virtual destructor
IrsModel.h:40: error: ‘DisplayRole’ is not a member of ‘Qt’
IrsForm.h:51: error: ISO C++ forbids declaration of ‘QTableView’ with no type
IrsForm.h:51: error: expected ‘;’ before ‘*’ token
IrsForm.h:52: error: ISO C++ forbids declaration of ‘QPushButton’ with no type
IrsForm.h:52: error: expected ‘;’ before ‘*’ token
QLWin.h:29: error: expected class-name before ‘{’ token
QLWin.h:71: error: ISO C++ forbids declaration of ‘QComboBox’ with no type
QLWin.h:71: error: expected ‘;’ before ‘*’ token
QLWin.h:77: error: ISO C++ forbids declaration of ‘QLabel’ with no type
QLWin.h:77: error: expected ‘;’ before ‘*’ token
QLWin.h:78: error: ISO C++ forbids declaration of ‘QPushButton’ with no type
QLWin.h:78: error: expected ‘;’ before ‘*’ token
QLWin.h:29: warning: ‘class QLWin’ has virtual functions but non-virtual destructor
QLUtl.h:44: error: expected ‘,’ or ‘...’ before ‘&’ token
QLUtl.h:44: error: ISO C++ forbids declaration of ‘QFile’ with no type
QLUtl.h:48: error: ‘QComboBox’ has not been declared
main.cpp: In function ‘int main(int, char**)’:
main.cpp:27: error: variable ‘QApplication app’ has initializer but incomplete type
main.cpp:30: error: ‘class QLWin’ has no member named ‘show’
make[1]: *** [../obj/main.o] Error 1
make[1]: Leaving directory `/home/paolo/opt/kde/qloud-0.21/src'
make: *** [sub-src] Error 2
e non capisco cosa c’è che non va.
Sembra che non riesca a trovare le librerie qt4, ma ho installato i pacchetti libqt4-dev e pyqt.
Ciao
dapicesterQuota
@dapicester
Ciao, non e’ necessario riportare tutto l’output..ma solo l’inizio dell’errore
main.cpp:20:24: error: QApplication: No such file or directory
In file included from main.cpp:21:
QLWin.h:23:17: error: QtGui: No such file or directory
se hai installato le dipendenze devi switchare da ‘qmake’ a ‘qmake-qt4′
selezioni qmake-qt4 e poi riprova la compilazione
divilinuQuota
Grazie. Scusa per il post di prima, ma nel dubbio ho riportato tutto l’output.
Comunque la compilazione è andata bene, ma ho avuto problemi col linker.
Siccome sono pigro ho installato il pacchetto libqwt5-qt4-dev ed aggiustato in src.pro
LIBS += -lqwt-qt4 -lsndfile -lfftw3 -ljacke tutto è filato liscio.
Grazie ancora, ciao.
dapicesterQuota
Da Gutsy è ancor più facile compilare e installare qload, in quanto non si necessita la compilazione di qwt:
sudo apt-get install build-essential libqt4-dev libqwt5-qt4-dev fftw3-dev libjack0.100.0-dev libsndfile1-dev qjackctlHo aggiunto qjackctl perché è praticamente necessario per far funzionare qloud correttamente e modificare le connessioni in-out on fly (con jackd da riga di comando c’è da perdersi…).
a questo punto e mi riferisco a qloud-0.22, editate src/src.pro la riga 109 come segue:
INCLUDEPATH += /usr/include/qwt-qt4e l’ultima riga (115) in
-lqwt-qt4infine
qmake && makee tutto dovrebbe filare liscio.
qload è carino e si basa su un bel lavoro di Angelo Farina (…un po’ d’orgoglio nazionale, non guasta).
Basandosi su jackd è normale che il lavoro di setup di esso sia fondamentale per avere risultati ragionevoli e ovviamente non dimenticate che senza una buona scheda audio meglio se con basso noise-floor, è difficile che si arrivi a qualcosa di accettabile.
Sarebbe interessante indagare se un kernel low latency consente risultati migliori e confrontare il tutto con i vari sw winzozz concorrenti.
…e comunque un infinito grazie a Divilinux
Viper67Quota
@Viper67
Ciao ..e grazie per la spiegazione
divilinuQuota