creative and beautiful
This inspired me to do a juce implementation available here: Gin/gin_textrenderer.h at master · FigBug/Gin · GitHub
I think the coolest thing is that you can call it directly from
lldb. So let’s say you hit a breakpoint and you are wondering what is in your buffer, just do this:
call gin::TextRenderer::debugPrintBuffer (buffer, 7, 2);
and you instantly see:
and then you know your buffer has a nice sine wave and the problem must be elsewhere.
Looks like other people have already had this idea: GitHub - sudara/melatonin_audio_sparklines: Sparklines For JUCE AudioBlocks