Re: [LAD] GuitarSynth now as lv2

2015-05-23 Thread Gerald
Forgot to mention there's a conflict (possibly a symbol conflict) between A4 and aubio. I think I will have to link aubio statically to GuitarSynth. Will try that when I'm back from vacation. UI is the next thing I want to do, till then you have to use the lv2. Gerald On 23.05.2015 05:49, Len

Re: [LAD] GuitarSynth now as lv2

2015-05-22 Thread Len Ovens
On Fri, 22 May 2015, Gerald wrote: Hi, GuitarSynth is now an lv2 plugin. Yep, it's true, thanks to falktx's DPF. You can get it at https://github.com/geraldmwangi/GuitarSynth-DPF. A new feature is the Overlay Input: It multiplies the synth output with the input signal frame by frame. Basically

Re: [LAD] GuitarSynth now as lv2/vst ..

2015-04-30 Thread Hermann Meyer
Am 29.04.2015 um 13:50 schrieb Gerald: Hi The lv2 version of GuitarSynth is working, thanks to falktx's DPF. Get it from https://github.com/geraldmwangi/GuitarSynth-DPF.git if you like. I'll release (post to LAU) it with bugfixes on the weekend. Lg Gerald

Re: [LAD] GuitarSynth

2015-04-28 Thread Ralf Mardorf
On Tue, 28 Apr 2015 13:48:54 +0200, Gerald wrote: On 28.04.2015 12:31, Ralf Mardorf wrote: PS: Keep in mind that A440 not necessarily is always true. When you program, please keep in mind, that one day, when your program should be able to do what you want it to do, users should be able to chose

Re: [LAD] GuitarSynth

2015-04-28 Thread Gerald
I understand. Thanks again Gerald On 28.04.2015 21:09, Chris Cannam wrote: On Tue, Apr 28, 2015, at 05:12 PM, Gerald wrote: By 'crude' do you mean it does the job, but not that well? What I really mean is that it wasn't written for use in a specific application, so it hasn't had any real

Re: [LAD] GuitarSynth

2015-04-28 Thread Gerald
well the goal is to not that dependent on the frequencies being played, but rather on the timbre/frequency envelope of the instrument. This way not the current tuning would be the serious issue, but the declining quality of the strings over time. Gerald On 28.04.2015 12:31, Ralf Mardorf wrote:

Re: [LAD] GuitarSynth

2015-04-28 Thread Gerald
Hi Ralf, this works pretty good with my lowpass-rectify-aubio pitch detection. What I want to work on (once GuitarSynth is ported to DPF) is a source-filter analysis (see U Zölzer: DAFX) to extract the spectral envelope (timbre) of the guitar. As Zölzer putts it, it is then possible to obtain a

Re: [LAD] GuitarSynth

2015-04-28 Thread Chris Cannam
On Tue, Apr 28, 2015, at 04:10 PM, Gerald wrote: [...] dividing the FFT'd input signal by the envelope This LADSPA plugin https://code.soundsoftware.ac.uk/projects/preprocess will do a crude job of that, if you want to try it out. It uses a cepstral envelope estimator. Chris

Re: [LAD] GuitarSynth

2015-04-28 Thread Gerald
Thanks Chris. By 'crude' do you mean it does the job, but not that well? Gerald On 28.04.2015 17:45, Chris Cannam wrote: On Tue, Apr 28, 2015, at 04:10 PM, Gerald wrote: [...] dividing the FFT'd input signal by the envelope This LADSPA plugin

Re: [LAD] GuitarSynth

2015-04-28 Thread Gerald
No problem. I wish I had polyphony!! It's only monophone since i'm not an expert on the matter. Right now i'm converting it into a lv2 plugin (actually lv2,vst, au by virtue of falktx's DPF). I have no idea when and how (well not quite how) i'll achieve polyphony, probably never. But alot of

Re: [LAD] GuitarSynth

2015-04-28 Thread Chris Cannam
On Tue, Apr 28, 2015, at 05:12 PM, Gerald wrote: By 'crude' do you mean it does the job, but not that well? What I really mean is that it wasn't written for use in a specific application, so it hasn't had any real testing or evaluation. The purpose of it is to be a handy tool that you can use

Re: [LAD] GuitarSynth

2015-04-28 Thread Ralf Mardorf
PS: Keep in mind that A440 not necessarily is always true. When you program, please keep in mind, that one day, when your program should be able to do what you want it to do, users should be able to chose the pitch for non-standard A in decimal place steps.

Re: [LAD] GuitarSynth

2015-04-28 Thread Ralf Mardorf
On Tue, 28 Apr 2015 01:55:04 +0100, Harry van Haaren wrote: On Tue, Apr 28, 2015 at 12:57 AM, Tim E. Real termt...@rogers.com wrote: The effect is striking. You can hear it without even plugging the guitar in. As you adjust the pickup ever higher, and pluck the strings, you can hear the

Re: [LAD] GuitarSynth

2015-04-28 Thread Gerald
Interesting note, you must have ears if you can hear the overtones that clear without amplification. It also depends on the guitar body itself? A solid body (loke LP) would behave different than a strat? Gerald On 28.04.2015 02:55, Harry van Haaren wrote: On Tue, Apr 28, 2015 at 12:57 AM, Tim E.

Re: [LAD] GuitarSynth

2015-04-27 Thread Harry van Haaren
On Tue, Apr 28, 2015 at 12:57 AM, Tim E. Real termt...@rogers.com wrote: The effect is striking. You can hear it without even plugging the guitar in. As you adjust the pickup ever higher, and pluck the strings, you can hear the horrible overtones from the frequency splitting. Wow really? I

Re: [LAD] GuitarSynth

2015-04-27 Thread Tim E. Real
On April 27, 2015 07:59:36 PM Ralf Mardorf wrote: On Fri, 24 Apr 2015 23:13:12 -0400, Tim E. Real wrote: To reduce latency I even tried putting the guitar through a standard time-domain pitch shifter (up one octave) and then into the detector. Not bad, so so. Since dead strings aren't an

Re: [LAD] GuitarSynth

2015-04-27 Thread Gerald
Well, I found that rectifying the signal before aubio pitch detection improves the result. This is because the time resolution is divided by 2 and due to uncertainity the frequency resolution is doubled. Furthermore the input is lowpassed at 6khz to reduce the effect plektrum and nail picking,

Re: [LAD] GuitarSynth

2015-04-27 Thread Ralf Mardorf
On Fri, 24 Apr 2015 23:13:12 -0400, Tim E. Real wrote: To reduce latency I even tried putting the guitar through a standard time-domain pitch shifter (up one octave) and then into the detector. Not bad, so so. Since dead strings aren't an option for me, this is something I'll test for monophonic

Re: [LAD] GuitarSynth

2015-04-26 Thread Fons Adriaensen
On Sat, Apr 25, 2015 at 08:35:56PM +0200, Albert Graef wrote: Question: I tried a demo product which did polyphony, with similar latency as my app, which claimed to have a full version with near-zero latency. Is this actually possible? Sounds like snake oil to me, but don't take my

Re: [LAD] GuitarSynth

2015-04-26 Thread Gerald
Do you still have code? Gerald On 25.04.2015 05:13, Tim E. Real wrote: I simply grabbed an open-source FFT library, and the rest was easy. Audio-to-midi polyphonic pitch converter. ___ Linux-audio-dev mailing list

Re: [LAD] GuitarSynth

2015-04-25 Thread Albert Graef
On Sat, Apr 25, 2015 at 5:13 AM, Tim E. Real termt...@rogers.com wrote: If it provides inspiration, I was doing this in the late 90's on Windows, in good ol' Borland C++ Builder. If you still have the code lying around somewhere, why not throw it up on github so that others can learn from

Re: [LAD] GuitarSynth

2015-04-24 Thread Albert Graef
Hi Gerald, cool project, I'm looking forward to give it a try. :) On Thu, Apr 23, 2015 at 7:24 AM, Gerald gerald.mwa...@gmx.de wrote: definately, but that comes with the cost of extra hardware (pickup, 6chan soundcard). I would build that into GuitarSynth if I had that gear. But I'm also

Re: [LAD] GuitarSynth

2015-04-24 Thread Tim E. Real
On April 25, 2015 02:37:34 AM Albert Graef wrote: Hi Gerald, cool project, I'm looking forward to give it a try. :) On Thu, Apr 23, 2015 at 7:24 AM, Gerald gerald.mwa...@gmx.de wrote: definately, but that comes with the cost of extra hardware (pickup, 6chan soundcard). I would build

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

Re: [LAD] GuitarSynth

2015-04-22 Thread Jesse Cobra
Would the pitch detection be easier with a hex pickup with individual channels for each string? On Wed, Apr 22, 2015 at 2:51 PM, Gerald gerald.mwa...@gmx.de wrote: Hi Guido, thanks for the patch. I applied and pushed it up. Haven't tested it though. I'm thinking of using falktx's DPF lib to

Re: [LAD] GuitarSynth

2015-04-22 Thread Gerald
Sorry, forgot to commit :) git push did nothing, and I didn't see it. Lg Gerald On 21.04.2015 20:49, Guido Scholz wrote: but a git push seem to be missing yet. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org

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

Re: [LAD] GuitarSynth

2015-04-21 Thread Gerald
Thanks. The pitch detection is done by aubio library, but I rectify the signal before since that stabilizes the detection. By 'the 6th string' I assume you mean the lower pitched E string? Thats due to the longer waveform of lower frequencies which would need more frames per period to be detected.

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

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

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 [...]

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

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