Just figured out how to make emacs not use tabs.
Replaced all my tabs with space x 8 in that program. Funny, it went from 53 kb to 65! But disk space is cheap.
Search found 884 matches
- Mon Nov 25, 2013 5:33 am
- Forum: Nyquist
- Topic: Automatic removal of mouth smacks, again
- Replies: 42
- Views: 21069
- Mon Nov 25, 2013 1:48 am
- Forum: Nyquist
- Topic: snd-add mem leak and snd-xform bugs EXPLAINED!
- Replies: 9
- Views: 4055
Re: snd-add mem leak and snd-xform bugs EXPLAINED!
What about Xlisp?
I was pondering how Xlisp might be made faster but maybe I should curb that enthusiasm.
I was pondering how Xlisp might be made faster but maybe I should curb that enthusiasm.
- Mon Nov 25, 2013 1:23 am
- Forum: Nyquist
- Topic: snd-add mem leak and snd-xform bugs EXPLAINED!
- Replies: 9
- Views: 4055
Re: snd-add mem leak and snd-xform bugs EXPLAINED!
I send rbd a message via this board, which should appear in his email.
Is there an official source repository for Nyquist separate from Audacity? So we don't fork the library?
I know you were concerned to track the memory leak bug, and now I think I know the source code mistake.
Is there an official source repository for Nyquist separate from Audacity? So we don't fork the library?
I know you were concerned to track the memory leak bug, and now I think I know the source code mistake.
- Mon Nov 25, 2013 12:28 am
- Forum: Nyquist
- Topic: snd-add mem leak and snd-xform bugs EXPLAINED!
- Replies: 9
- Views: 4055
snd-add mem leak and snd-xform bugs EXPLAINED!
I haven't yet built Audacity to test these fixes, but I think I found the causes of known bugs while reading some source code this weekend. I refer to source code versions found here: http://code.google.com/p/audacity/source/browse/audacity-src/trunk#trunk%2Flib-src%2Flibnyquist%2Fnyquist%2Fnyqsrc%2...
- Sun Nov 24, 2013 8:21 pm
- Forum: Nyquist
- Topic: Here's an even sillier memory leak
- Replies: 0
- Views: 1394
Here's an even sillier memory leak
(setq *breakenable* nil) (dotimes (ii 1000) (errset (snd-from-array 0.0 44100.0 #(a)) nil)) In samples.c at line 50, should be: else { sound_unref(result); xlerror("expecting array elem to be number", elem); } Not a likely source of large lost memory, but... every control path deserves some reviewi...
- Sun Nov 24, 2013 2:08 am
- Forum: Nyquist
- Topic: killing nyquist with extract
- Replies: 10
- Views: 4108
Re: killing nyquist with extract
I was looking for an older thread about snd-xform which implements extract and found this. I suspect bugginess in snd-xform, though Steve disagreed with me. Could this be related? Assertions in programs are supposed to mean "it should be provable that this never happens." They are not supposed to pu...
- Sun Nov 24, 2013 1:59 am
- Forum: Nyquist
- Topic: when you evaluate a behavior is important...
- Replies: 2
- Views: 2251
Re: when you evaluate a behavior is important...
stretch and at and similar are NOT functions but macros written in terms of the Lisp progv form! Learn what that means. It confused me when I began. I think the version of the documentation that I read misleadingly called some of the macros functions.
- Fri Nov 22, 2013 11:54 pm
- Forum: Nyquist
- Topic: I found a memory leak, just reading Nyquist C sources
- Replies: 1
- Views: 1235
Re: I found a memory leak, just reading Nyquist C sources
Perhaps you could just unref before returning the value, without a new variable... I must be thinking in terms of Lisp or of concurrent programming.
- Fri Nov 22, 2013 11:15 pm
- Forum: Nyquist
- Topic: I found a memory leak, just reading Nyquist C sources
- Replies: 1
- Views: 1235
I found a memory leak, just reading Nyquist C sources
Is this the right board to report this? Call it a "code review." Try this in the Nyquist prompt, no matter how small the selection, and watch memory usage of the Audacity process: (dotimes (i 10000000) (snd-maxsamp s)) Untried fix: at line 106 of samples.c, change return (double) (s->scale * result)...
- Fri Nov 22, 2013 6:53 pm
- Forum: Nyquist
- Topic: Automatic removal of mouth smacks, again
- Replies: 42
- Views: 21069
Re: Automatic removal of mouth smacks, again
Violated in my Lisp here... I haven't looked up how to suppress tabs in emacs.steve wrote:(The one rule of coding standards that everyone is required to follow is "don't use tabs at all, and always use three spaces for indentation")