1. 24

  2. 3

    Whenever I need audio in a project I just use RtAudio[1].

    [1] https://www.music.mcgill.ca/~gary/rtaudio/

    1. 1

      Interesting read.

      Does anyone know of a library that makes it easy to do plots like this one from the linked post? I like drawings like that to illustrate a concept without bringing up too many precise details that can pull people in the weeds and obfuscate the point being made, but I’m terrible at drawing them freehand.

      1. 3

        They look like they are being drawn with a drawing tablet (Wacom is a well-known brand, for example). Also related: There are many tools that modify graphs to look like they are hand-drawn: https://www.google.com/search?q=xkcd+style+graphs

        1. 2

          Heh. Not sure why searching on “xkcd style” didn’t occur to me. Thank you.

          This looks like it’s pretty much exactly what I was imagining.

          1. 1

            It probably wouldn’t have occurred to me either (I only realize now that linking to a google query might come across as patronizing), but I read an article describing how one of them worked, and the term has stuck with me since.

            1. 1

              I only realize now that linking to a google query might come across as patronizing

              Not in this case, mostly because it put exactly what I wanted on the first page when the queries I’d thought of myself last time I looked for this all turned up either just fonts for sale or weird SaaS things that were really intended for mocking up whole apps. If you’d linked lmgtfy it would’ve seemed patronizing :)

              Because I’m much better at python than drawing, the results I’m getting from adapting that notebook I linked are already much better than the photos of my whiteboard I was using before.

              Also nicer looking in less time than drawing on a whiteboard and getting a photo that doesn’t have a weird glare spot in the middle.

              And I hadn’t previously considered a wacom tablet at all, mostly because the expense for just this use case (I am not an artist at all) feels too high.

        2. 1

          I think the author might be using the Paper app, but iirc, it’s mostly freehand with some styling and smoothing, and some shapes: https://paper.bywetransfer.com/