Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
acannon828
· 12y ago · 0 comments
This seems cool, though I don't entirely understand it. "Generates raw WAV output by hooking malloc() and read()." What does that mean exactly?
Comments
[–]
delinka
12y ago
It uses hooking to intercept calls to malloc() and read(), calls the real functions, generates a square wave whose frequency is based on the size of the operation, dumps the generated sound data to WAV, returns the output of the real function calls.