Re: [LAD] GuitarSynth

2015-04-20 Thread Gerald
Thanx. Fixed that and the warnings

On 20.04.2015 21:21, Guido Scholz wrote:
 Am Mon, 20. Apr 2015 um 20:09:17 +0200 schrieb Gerald:

 Hi Gerald,

 Yes thats true. I built it on Ubuntu 14.04 and on Arch Linux both with qt5.
 which distro are you on?
 if you fix line 21 in file synthcontrol.h from

   #include QtWidgets/QDial

 to

   #include QDial

 your code will compile with Qt4 as well.

 But btw. I got some serious compiler warnings. I recommend to carefully
 fix them too.

 Guido

 PS: Your e-mail quoting style irritates me.



 Gerald

 On 20.04.2015 19:57, Guido Scholz wrote:
 Am Mon, 20. Apr 2015 um 18:40:26 +0200 schrieb Gianfranco Ceccolini:

 When building in KXStudio I get the following error
 [...]
  from ../GuitarSynth/mainwindow.cpp:19:
 ../GuitarSynth/synthcontrol.h:21:27: fatal error: QtWidgets/QDial: No such 
 file
 or directory
  #include QtWidgets/QDial
^
 compilation terminated.


 Any hint on where I can find the  QtWidgets/QDial ?
 $ locate QDial

   /usr/include/qt4/QtGui/QDial
   ...
   /usr/include/qt5/QtWidgets/QDial

 This looks like you should go for Qt5 instead of Qt4.

 Guido



 ___
 Linux-audio-dev mailing list
 Linux-audio-dev@lists.linuxaudio.org
 http://lists.linuxaudio.org/listinfo/linux-audio-dev
 ___
 Linux-audio-dev mailing list
 Linux-audio-dev@lists.linuxaudio.org
 http://lists.linuxaudio.org/listinfo/linux-audio-dev


 ___
 Linux-audio-dev mailing list
 Linux-audio-dev@lists.linuxaudio.org
 http://lists.linuxaudio.org/listinfo/linux-audio-dev

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] GuitarSynth

2015-04-20 Thread Gianfranco Ceccolini
FalkTX helped me with the QT4/QT5 issue and I got it working

Nice to play around. Fast pitch detection and reliable in most cases. The 
performance drops a lot when using the 6th string though.

Nevertheless, good work Gerald!

Regards

Gianfranco


 Em 20/04/2015, à(s) 18:40, Gianfranco Ceccolini gianfra...@portalmod.com.br 
 escreveu:
 
 When building in KXStudio I get the following error
 
 gian@gian-Latitude-D630:~/build$ make
 /usr/lib/x86_64-linux-gnu/qt4/bin/uic ../GuitarSynth/mainwindow.ui -o 
 ui_mainwindow.h
 /usr/lib/x86_64-linux-gnu/qt4/bin/uic ../GuitarSynth/SynthBase.ui -o 
 ui_SynthBase.h
 g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB 
 -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 
 -I../GuitarSynth -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui 
 -I/usr/include/qt4 -I. -I. -I../GuitarSynth -I. -o main.o 
 ../GuitarSynth/main.cpp
 g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB 
 -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 
 -I../GuitarSynth -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui 
 -I/usr/include/qt4 -I. -I. -I../GuitarSynth -I. -o mainwindow.o 
 ../GuitarSynth/mainwindow.cpp
 In file included from ../GuitarSynth/synthbase.h:21:0,
  from ../GuitarSynth/squaresynth.h:19,
  from ../GuitarSynth/mainwindow.cpp:19:
 ../GuitarSynth/synthcontrol.h:21:27: fatal error: QtWidgets/QDial: No such 
 file or directory
  #include QtWidgets/QDial
^
 compilation terminated.
 
 
 Any hint on where I can find the  QtWidgets/QDial ?
 
 I already installed libqt4-dev 
 
 Best
 
 Gianfranco
 
 2015-04-18 0:30 GMT+02:00 Gerald gerald.mwa...@gmx.de 
 mailto:gerald.mwa...@gmx.de:
 Hi guys, I've started/hacked a small project called GuitarSynth. It is
 meant as a playfield for exploring pitchdetection and synthesis for
 Guitar, since I'm a guitarist. You can get on Github (git clone
 https://github.com/geraldmwangi/GuitarSynth.git 
 https://github.com/geraldmwangi/GuitarSynth.git).
 Its really basic but its fun to play with. It take an audio signal (your
 guitar) extracts the fundamental pitch and drives some wavetable synths.
 Feel free to manipulate it, I'll be happy to grant people write access
 to the repo.
 Btw on IRC my Nick is JimsonDrift, the name of my band (see
 www.jimson-drift.de http://www.jimson-drift.de/).
 Cheers Gerald
 
 ___
 Linux-audio-dev mailing list
 Linux-audio-dev@lists.linuxaudio.org 
 mailto:Linux-audio-dev@lists.linuxaudio.org
 http://lists.linuxaudio.org/listinfo/linux-audio-dev 
 http://lists.linuxaudio.org/listinfo/linux-audio-dev
 

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] GuitarSynth

2015-04-20 Thread Gerald
Yes thats true. I built it on Ubuntu 14.04 and on Arch Linux both with qt5.
which distro are you on?
Gerald

On 20.04.2015 19:57, Guido Scholz wrote:
 Am Mon, 20. Apr 2015 um 18:40:26 +0200 schrieb Gianfranco Ceccolini:

 When building in KXStudio I get the following error
 [...]
  from ../GuitarSynth/mainwindow.cpp:19:
 ../GuitarSynth/synthcontrol.h:21:27: fatal error: QtWidgets/QDial: No such 
 file
 or directory
  #include QtWidgets/QDial
^
 compilation terminated.


 Any hint on where I can find the  QtWidgets/QDial ?
 $ locate QDial

   /usr/include/qt4/QtGui/QDial
   ...
   /usr/include/qt5/QtWidgets/QDial

 This looks like you should go for Qt5 instead of Qt4.

 Guido



 ___
 Linux-audio-dev mailing list
 Linux-audio-dev@lists.linuxaudio.org
 http://lists.linuxaudio.org/listinfo/linux-audio-dev

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] User eXperience in Linux Audio

2015-04-20 Thread Guido Scholz
Am Sat, 18. Apr 2015 um 23:40:10 +0100 schrieb Harry van Haaren:

 Hi All,

Hi Harry,
 
 1: Splash Screen
 If an app takes more than one quarter of a second to open, use a
 splash screen to give feedback. Feel free to contact me directly to
 collaborate on a splash screen graphic if necessary. Ensure the splash
 is shown immediately, before lengthy operations such as scanning for
 files or loading content.

to be honest, I personally do not like spash sreens. If you implement
such a feature do not forget to give your user a preferences option to
disable it:
 
 [ ] Do not show (this annoying) spash sreen

[...]

 I'm aware most of the recommendations above are obvious, and that many
 programs support these already.

I would like to add one more point:

4: Support internationalization

Guido

-- 
http://wie-im-flug.net/
http://www.lug-burghausen.org/


signature.asc
Description: Digital signature
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] GuitarSynth

2015-04-20 Thread Guido Scholz
Am Mon, 20. Apr 2015 um 18:40:26 +0200 schrieb Gianfranco Ceccolini:

 When building in KXStudio I get the following error

[...]
                  from ../GuitarSynth/mainwindow.cpp:19:
 ../GuitarSynth/synthcontrol.h:21:27: fatal error: QtWidgets/QDial: No such 
 file
 or directory
  #include QtWidgets/QDial
                            ^
 compilation terminated.
 
 
 Any hint on where I can find the  QtWidgets/QDial ?

$ locate QDial

  /usr/include/qt4/QtGui/QDial
  ...
  /usr/include/qt5/QtWidgets/QDial

This looks like you should go for Qt5 instead of Qt4.

Guido

-- 
http://wie-im-flug.net/
http://www.lug-burghausen.org/


signature.asc
Description: Digital signature
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] GuitarSynth

2015-04-20 Thread Gianfranco Ceccolini
When building in KXStudio I get the following error

gian@gian-Latitude-D630:~/build$ make
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ../GuitarSynth/mainwindow.ui -o
ui_mainwindow.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ../GuitarSynth/SynthBase.ui -o
ui_SynthBase.h
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64
-I../GuitarSynth -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
-I/usr/include/qt4 -I. -I. -I../GuitarSynth -I. -o main.o
../GuitarSynth/main.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64
-I../GuitarSynth -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
-I/usr/include/qt4 -I. -I. -I../GuitarSynth -I. -o mainwindow.o
../GuitarSynth/mainwindow.cpp
In file included from ../GuitarSynth/synthbase.h:21:0,
 from ../GuitarSynth/squaresynth.h:19,
 from ../GuitarSynth/mainwindow.cpp:19:
../GuitarSynth/synthcontrol.h:21:27: fatal error: QtWidgets/QDial: No such
file or directory
 #include QtWidgets/QDial
   ^
compilation terminated.


Any hint on where I can find the  QtWidgets/QDial ?

I already installed libqt4-dev

Best

Gianfranco

2015-04-18 0:30 GMT+02:00 Gerald gerald.mwa...@gmx.de:

 Hi guys, I've started/hacked a small project called GuitarSynth. It is
 meant as a playfield for exploring pitchdetection and synthesis for
 Guitar, since I'm a guitarist. You can get on Github (git clone
 https://github.com/geraldmwangi/GuitarSynth.git).
 Its really basic but its fun to play with. It take an audio signal (your
 guitar) extracts the fundamental pitch and drives some wavetable synths.
 Feel free to manipulate it, I'll be happy to grant people write access
 to the repo.
 Btw on IRC my Nick is JimsonDrift, the name of my band (see
 www.jimson-drift.de).
 Cheers Gerald

 ___
 Linux-audio-dev mailing list
 Linux-audio-dev@lists.linuxaudio.org
 http://lists.linuxaudio.org/listinfo/linux-audio-dev

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev