Re: [SoX-devel] [PATCH RESEND 7/9] spectrogram: remove arbitrary limit on height of spectrogram

2020-08-13 Thread Pander via SoX-devel
On 8/13/20 18:20, Måns Rullgård wrote: > Martin Guy writes: > >> On 31/07/2020, Måns Rullgård wrote: - if (end) memset(p->window, 0, sizeof(p->window)); + if (end) memset(p->window, 0, sizeof(*(p->window)) * p->dft_size); >>> This memset is short by one element. >> It is. Many thanks

Re: [SoX-devel] [PATCH RESEND 9/9] Added average power spectrum for stat -freq -a

2020-08-13 Thread Pander via SoX-devel
On 8/2/20 12:52, Måns Rullgård wrote: > Måns Rullgård writes: > >>> + if (stat->fft_average) { >>> + for (i = 0; i < samples / 2; i++) /* FIXME: should be <= samples >>> / 2 */ >>> + fprintf(stderr, " %f %f\n", ffa * i, re_average[i] / len); >>> + } >> I don't un

[SoX-devel] PPA with latest version(s)

2016-11-10 Thread Pander
easy and, hopefully, a new version of Sox can be released in 2016. That would be nice just before the holiday season. Who has experience with setting up PPA's? Best, Pander -- Developer Access Program for Intel Xeo

Re: [SoX-devel] spectrogram values

2016-01-28 Thread Pander
On 28 January 2016 15:47:22 CET, Markus Glugla wrote: >Am Donnerstag, den 28.01.2016, 14:00 +0100 schrieb Pander: >> On 01/28/2016 01:51 PM, Markus Glugla wrote: >> > Am Mittwoch, den 20.01.2016, 03:37 +0100 schrieb Thor Andreassen: >> >> On Fri, Jan 08, 2016 at 0

Re: [SoX-devel] spectrogram values

2016-01-28 Thread Pander
On 01/28/2016 01:51 PM, Markus Glugla wrote: > Am Mittwoch, den 20.01.2016, 03:37 +0100 schrieb Thor Andreassen: >> On Fri, Jan 08, 2016 at 03:31:18PM +0100, Markus Glugla wrote: >>> Hi, >> >> Hi Markus >> >>> I read the spectrogram threads and affiliate a request. I'm using >>> sometimes sox spe

Re: [SoX-devel] spectrogram values

2016-01-26 Thread Pander
Let me know when you start working on it. It is very tricky and I am willing to be a critical tester if you want. On 01/23/2016 12:54 AM, Thor Andreassen wrote: > On Thu, Jan 21, 2016 at 04:33:19PM +0100, Pander wrote: > > [...] > >>> Note that if your output from sox is s

Re: [SoX-devel] spectrogram values

2016-01-21 Thread Pander
On 01/20/2016 03:37 AM, Thor Andreassen wrote: > On Fri, Jan 08, 2016 at 03:31:18PM +0100, Markus Glugla wrote: >> Hi, > > Hi Markus > >> I read the spectrogram threads and affiliate a request. I'm using >> sometimes sox spectrogram to get an spectral overview of various >> measurement datas. Bu

Re: [SoX-devel] Follow up on Average power spectrum path

2015-12-28 Thread Pander
On 12/19/2015 12:12 PM, Eric Wong wrote: > Pander wrote: >> Because of a question on the users list, I would like to ask how to move >> forward the following patch and documentation? > > I guess the real sox developers are still busy... > I suppose I'll start pu

[SoX-devel] Follow up on Average power spectrum path

2015-12-17 Thread Pander
: https://sourceforge.net/p/sox/mailman/message/33625255/ Please let me know how I can help to move this forward. Thanks, Pander -- ___ SoX-devel mailing list SoX-devel

[SoX-devel] Extra documentation / question about stat -freq

2015-03-22 Thread Pander
png When using averages over multiple power spectra, is it wise to ignore the last one? Is there a way to calculate when the DFT fits exactly and the last one doesn't have to be ignored? Can automatic notification this be part of so

Re: [SoX-devel] spectrogram segfault

2015-01-22 Thread Pander
On 01/01/2015 09:23 PM, Jan Stary wrote: > On Dec 22 19:21:10, ch...@cnpbagwell.com wrote: >> A new release candidate has been released > > There seems to be a bug in the spectrogram effect, > also present in earlier releases. > > $ sox -c 1 -b 16 -r 1000 -n file.wav synth 1 sin 440 gain -3 >

[SoX-devel] Average power spectrum patch

2014-12-29 Thread Pander
Hi all, Could some please tell me of my patch for average power spectrum has been accepted or not? I want to send in more patches but only if this one is accepted so I don't use the wrong way of providing patched. Thanks, P

Re: [SoX-devel] Review patch for average power spectrum

2014-12-23 Thread Pander
On 12/23/2014 12:02 AM, Cedric Roux wrote: > On 12/22/2014 11:14 PM, Eric Wong wrote: >> ...otherwise, free may be called on an uninitialized value: >> >>> + if (re_average) { >>> +free(re_average); >>> + } > > Just for you information, > if a pointer is null free(p) is fine and does nothing

Re: [SoX-devel] Review patch for average power spectrum

2014-12-22 Thread Pander
On 12/22/2014 11:14 PM, Eric Wong wrote: > Pander wrote: >> Please review the attached patch for outputting the average power spectrum. > > I am not knowledgable in the math behind this, but I noticed one > memory management error: > >> @@ -134,6 +138,15 @@ static int

[SoX-devel] Review patch for average power spectrum

2014-12-22 Thread Pander
Hi all, Please review the attached patch for outputting the average power spectrum. For many applications I need to calculate this with additional tools. This patch will make SoX do it directly. Regards, Pander >From 261b4fb8cc9f8f98e0044e973a81e7a367349339 Mon Sep 17 00:00:00 2001 F