Re: [LAD] GuitarSynth

2015-04-22 Thread Guido Scholz
Am Wed, 22. Apr 2015 um 09:45:23 +0200 schrieb Gerald:

Hi Gerald,

 Sorry, forgot to commit :) git push did nothing, and I didn't see it.

attached you find a patch to get rid of an other ugly warning message
which also enables a slightly smarter frequency number display.
Guido

-- 
http://wie-im-flug.net/
http://www.lug-burghausen.org/
diff --git a/mainwindow.cpp b/mainwindow.cpp
index fc31f9b..2082807 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -21,7 +21,7 @@ This file is part of GuitarSynth2.
 #include gausssynth.h
 #include sawsynth.h
 #include QVBoxLayout
-#include strstream
+
 MainWindow::MainWindow(QWidget *parent) :
 QWidget(parent),
 ui(new Ui::MainWindow)
@@ -76,7 +76,7 @@ QWidget * MainWindow::getSynthArea()
 
 void MainWindow::updateFreqLabel(float val)
 {
-strstream t;
-tvalstd::endl;
-ui-freqLab-setText(QString::fromStdString(t.str()));
+QString t;
+t.setNum(val);
+ui-freqLab-setText(t);
 }


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-21 Thread Guido Scholz
Am Mon, 20. Apr 2015 um 23:01:07 +0200 schrieb Gerald:

Hi Gerald,

 Thanx. Fixed that and the warnings

but a git push seem to be missing yet.

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] 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] Updates

2013-07-05 Thread Guido Scholz
Am Tue, 02. Jul 2013 um 21:49:25 + schrieb Fons Adriaensen:

 Hello all,

Hello fons,
 
 Note to AMS devs: zita-alsa-pcmi is a near drop-in replacement
 for clalsadrv-2.0.0:
 
 * Change the library name in the build files
 * s/#includeclalsadrv/#includezita-alsa-pcmi/
 * s/Alsa_driver/Alsa_pcmi/
 * s/-stat()/-state()/

I would not recommend this to ams users. Use the cvs version instead.

Guido

-- 
http://www.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] Updates

2013-07-05 Thread Guido Scholz
Am Fri, 05. Jul 2013 um 15:50:12 + schrieb Fons Adriaensen:


Hi Fons,

  I would not recommend this to ams users. Use the cvs version instead.

 It was meant for the devs !

OK, sorry.

I would also not recommend this to developers. Please use the ams cvs
version instead.

Guido

-- 
http://www.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] What do you do for a living?

2010-11-12 Thread Guido Scholz
Am Tue, 09. Nov 2010 um 19:17:24 -0800 schrieb Kris C:

 Hi all,

Hi Kris,


 I understand that a lot of you develop for free software and are
 passionate at what you do.  But how do you pay the bills?  What do
 you do for a living?  Are you a student?  Do you do software
 development just as a hobby, or do you want to make a living doing
 this kind of work?
 
I can shift the balance a bit to _non_ professional IT background.

Programming is clearly a (bad weather) spare time filler and mostly fun
for me but also a significant part of the bill I pay back for what my
whole family gets without costs from Linux or FOSS or what ever you like
to call it.

 Yeah, I'd like to work for Google, but who doesn't right? :)

I am not sure about that.

Guido

-- 
http://www.bayernline.de/~gscholz/
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] [LAU] mudita24 1.02 -- improved envy24control mixer/router for ice1712-based sound-cards

2010-08-08 Thread Guido Scholz
Am Sun, 08. Aug 2010 um 10:34:32 -0700 schrieb Niels Mayer:

Niels, 

 Is the above an acceptedproper way of adding -lm to an autoconf file?

add two lines to your configure.ac:

dnl check for math library
AC_CHECK_LIB(m, roundf,,AC_MSG_ERROR([required library missing]))

and

  autoreconf  ./configure  make

should do the rest.

Guido

-- 
http://www.bayernline.de/~gscholz/
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] workflow

2010-01-02 Thread Guido Scholz
Am Sat, 02. Jan 2010 um 12:57:25 +0100 schrieb rosea grammostola:

Hi Rosea,

 rosea grammostola wrote:

  But there is another feature in apps which makes the workflow much 
  faster and that is a simple:
  'Open recent documents/settings/files'
 
 Is this implemented in AMS now, or was it already there for a while? 
 Anyhow, very handy :)

this feature came with version 2.0.0; btw. the current cvs gives also
support for LADISH level 1.

Guido

-- 
http://www.bayernline.de/~gscholz/
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] clalsadrv - where is src?

2009-09-23 Thread Guido Scholz
Am Wed, 23. Sep 2009 um 21:05:38 +0100 schrieb james morris:

 Hi,

Hi James,
 
 can anyone tell me where clalsadrv is?

here:

  http://www.kokkinizita.net/linuxaudio/downloads/index.html

Guido

-- 
http://www.bayernline.de/~gscholz/
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/mailman/listinfo/linux-audio-dev


Re: [LAD] clalsadrv - where is src?

2009-09-23 Thread Guido Scholz
Am Wed, 23. Sep 2009 um 21:05:38 +0100 schrieb james morris:

 Hi,

Hi James,
 
 can anyone tell me where clalsadrv is?

there was also an outdated link on the AlsaModularSynth homepage

  http://alsamodular.sourceforge.net/

in the Download section, which is updated right now.

Guido

-- 
http://www.bayernline.de/~gscholz/
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/mailman/listinfo/linux-audio-dev


Re: [LAD] Auto-wah plugin

2009-08-28 Thread Guido Scholz
Am Fri, 28. Aug 2009 um 22:50:50 +0200 schrieb Fons Adriaensen:

Hi Fons,

 But while I can clearly see the use and even necessity for $DESTIR
 for someone who is creating a binary package from a source package
 (without having to really install that package locally), what on
 earth is the purpose of forcing someone who installs from source
 to go via such an intermediate step ?

DESTDIR usage is only for building packages; there is no purpose for
someone bypassing his packaging system and installing it directly from
source to use this variable. But this procedure may be unhealthy.

 If the Makefile provides a
 working 'make install' why complicate it ? And more pertinently,
 how am I supposed to provide support for users who do such things ?

I guess you are not. If I did not miss anything here, the only topic
was about packaging. There it is a basic requirement, if the packager
likes to avoid patching the supplied Makefile.

 If I release a source package, and someone has a problem compiling
 or installing it, I'd be happy to help. But not if the installation
 procedure has been modified for no good reason - I could probably
 go along with some changes, but where does that end ?

I guess there will be other people who will help out. So don't worry.

 The web page about $DESTDIR you pointed says that one of the uses
 would be to allow a user without root privileges to install in 
 some local dir (s)he has access to. But it contradicts that same
 use by declaring that 'embedded file names will not be modified'.
 Which in some cases will mean that the application will not run.

May be, but this depends on the application using the supported
file(s). There may be applications allowing to load modules from
standardised user directories. But there must be some kind of
convention about the location.

  $ cd
  $ find . -name share
  ./.gnome2/share
  ./.local/share
  ./.kde/share
  [...]

Seems not to be uncommon to use File System Hierarchy (FSH)
compatibility in home directories.

 To install into a e.g. a home directory a user would have to modify
 $PREFIX, not $DESTDIR.

Depends on the convention.

Guido

-- 
http://www.bayernline.de/~gscholz/
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/mailman/listinfo/linux-audio-dev


Re: [LAD] Auto-wah plugin

2009-08-27 Thread Guido Scholz
Am Thu, 27. Aug 2009 um 22:10:59 +0200 schrieb Fons Adriaensen:


Hi Fons,

 There are also apps that will install into different places, e.g.
 jkmeters installs a binary in $(PREFIX)/bin and some png files in
 $(PREFIX)/share/jkmeters.
 
 And to complicate things, the next release of TetraProc will use
 $(PREFIX)/share/jkmeters as well, as it installs a subset of the
 same png files, and I want them to be shared between all apps that
 use them (and that number is bound to increase).
 
 How would you handle this ?

this is quite easy, the install target goes always to

  $DESTDIR$PREFIX/somepath

where $PREFIX is commonly /usr or /usr/local or sometimes /opt. 


The need for $DESTDIR is common to all kind of packaging tools,
because during package build they will install the complete file set to
a temporary path (=DESTDIR) and then wrap it all up.

If you would have a look to a Makefile written by automake/autoconf you
could see (and understand) in detail how it is used (even in a much more
complex setup).

Guido

-- 
http://www.bayernline.de/~gscholz/
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/mailman/listinfo/linux-audio-dev