DEV Community

Jérémie Astor
Jérémie Astor

Posted on

1

What would be the simplest way to output sound to browser from a C program?

Getting gwion to the browser

Some context

I made this progamming language to help in some of my musical projects. A few days ago I made a Repl. I think I have a way to provide drivers and libraries to it (leveraging github releases).

The problem

As of now, I have no driver that could send the sound to the browser. I guess I could easily hack something around libsndfile to provide say, a .wav, but it would really be better if I could have some realtime output to web-browser.

Do you have an idea?

So I'm asking here, as many DEV users have a good knowledge of web techniques and on my side I know, well, music and C.

Top comments (0)

👋 Kindness is contagious

Explore this insightful write-up embraced by the inclusive DEV Community. Tech enthusiasts of all skill levels can contribute insights and expand our shared knowledge.

Spreading a simple "thank you" uplifts creators—let them know your thoughts in the discussion below!

At DEV, collaborative learning fuels growth and forges stronger connections. If this piece resonated with you, a brief note of thanks goes a long way.

Okay