Re:Soundpipe – A lightweight music DSP library written in C
by ubercore on Friday June 19, 2015 @03:46PM
(#9747207)
I'm curious, why just "e", "m", "h", "t" for source directories?
[ Parent
| on HN ]
Re:Soundpipe – A lightweight music DSP library written in C
by zebproj on Friday June 19, 2015 @03:56PM
(#9747248)
Aesthetics, mostly. But it also is a visual reminder not to over-complicate things unless I really need to. I got the idea from reading some source code from the suckless.org guys.
I meant to document the directory structure here:
(h)eaders, (m)odules, (e)xamples, (t)ests.
Arguably obfuscated, but I think with only 4 directories, it's still manageable.
Re:Soundpipe – A lightweight music DSP library written in C
by ubercore on Friday June 19, 2015 @04:19PM
(#9747384)
Maybe if _really_ thoroughly documented, but for n=1, I found it off-putting.
Re:Soundpipe – A lightweight music DSP library written in C
by zebproj on Friday June 19, 2015 @06:28PM
(#9748056)
Yup. Documentation is in the works, I promise! For Soundpipe AND each individual module. I'm planning on HTML documentation as well as man page documentation.
In the meantime, I think most of Soundpipe can be grasped by looking at a few examples as well as m/base.c and m/base.h.
Re:Soundpipe – A lightweight music DSP library written in C
by to3m on Friday June 19, 2015 @04:29PM
(#9747480)
At one letter per folder, it's not like there's much to remember :)
(I don't think it's much worse than calling your header file .h rather than .header, and it saves a bit of typing/tabbing. But I'm only one person too.)
Re:Soundpipe – A lightweight music DSP library written in C
by zebproj on Friday June 19, 2015 @06:32PM
(#9748080)
The way I see it: it's only four folders, and the letters correspond to what they do. My brain can handle this.