Sorry for the confusing state of the codebase.
Only the saw wave generator is currently functional, the `saw`
and `sine` functions are not used and should be left out of
analysis.
Also, audio output is only to ALSA.
Hello!
I've been making some progress on the native D audio front:
https://github.com/clinei/daud/tree/28ac042a16ae6785605a9a501b5f867c8f962055
It's a continuous waveform generator, currently outputting a saw
wave that changes pitch every 1K frames.
I have a slight problem, however.
Due to
I discovered something potentially troublesome in druntime.
Namely, applications that use MonoTime will break if run 18 hours
after booting, according to a short program I wrote.
Here's my code:
```
import core.time : MonoTime;
auto mt = MonoTime.currTime;
import std.stdio : writeln;
On Tuesday, 22 December 2015 at 20:07:58 UTC, Steven
Schveighoffer wrote:
MonoTime uses whatever precision is given to it by the OS. So
if on your OS, ticksPerSecond is 1e9, then your OS clock wraps
at 18 hours as well.
Thanks, I didn't know that.
I actually just realized that my use case