naudio / NAudio

Audio and MIDI library for .NET
MIT License
5.59k stars 1.1k forks source link

Can I use NAudio to play music written in a music score? #206

Closed ygc369 closed 7 years ago

ygc369 commented 7 years ago

If I only have a music score and do not have any music files, can I write a program to play it using NAudio? I can translate the music score to strings manually, according to specific rules. QBasic has this feature, using "play" command. Relative issue: https://github.com/dotnet/csharplang/issues/346

markheath commented 7 years ago

no, sorry NAudio does not include a software synthesizer/sampler or sequencer, both of which you'd need to implement this

jnm2 commented 7 years ago

Hmm... I've done it, a long time ago, with both MIDI and waveform generation using NAudio. It wasn't right out of the box, as in playing a QB music string, but it's totally doable if you have a mind to implement it.