-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Audio engine to play notes #27
Comments
Hi @surikov ! Looks like a nice project but I think it would be better to submit it in the https://github.com/nfroidure/MIDIPlayer project. That said, I'm not sure what you are looking for. If you want some visibility for your project, I think best would be to make a PR on MIDIPlayer with a working example or a link to a working example of wiring MIDIPlayer into webaudiofont. |
No matter where it might be added, the "add" should be in form of a reference, not an import of lots of sound data. It's always a hassle trying to verify the license claim on sound font projects, if they even clain to be FOSS. (Like in this case, big 👍 for at least the claim. Whether that claim is legally effective in a specific region of the world is a universe of its own, unfortunately.) Edit: I remember now, the sounds themselves were in It's a really great project technology-wise, and very sad that I cannot use it due to the legal uncertainties. |
You didn't read my answer. |
I read your answer and I read the licenses. However, we seem to have different interpretation of European law and thus, different opinions about its legal consequences. |
read https://github.com/surikov/webaudiofont/blob/master/LICENSE.md |
Since in-depth discussion of our legal views is not really about MIDIfile, let's take it back to the license thread in your repo. Update: Discovered that the license link is about the non-data repo. I still can't see a way to use the project without the audio data. It's worth noting that when the WAF Readme says
the "free" is the one as in beer, not the free software movement's "free". For details, see the WAF data issue. |
This is standard MIT license. Of Course you can't use this project if you can't use MIT license. |
The problem isn't with the MIT license itself. It's about whether people in Europe can obtain sound font files. One easy way to solve this would be if you can give us some free software that allows us to convert sf2 sound fonts into WAF sound fonts, on our own computers. |
What is WAF sound fonts? |
I used WAF as acronym for webaudiofont, and WAF data for webaudiofontdata. |
Create such software yourself and publish it under any license you like. I can help you in this task. All others can use this instruments library without any modification. |
Thanks! While I don't have the time myself currently, it would be nice if you could share some links to explanations of both data formats (SF2 and webaudiofont) so other people can help out. |
In the meantime, another solution could be that you transform a work that has a strong copyleft license (edit: more important: and a reliable verified source), e.g. debian's timgm6mb. |
About SF2 start here https://en.wikipedia.org/wiki/SoundFont TimGM is very small (size of TimGM6mb.sf2 is 6Mb) soundfont with ugly sounds. Don't use it. Debian consists of Fluid that much better, see parent folder of your link You need to spend many time to learn if you never develop musical applications before. |
You're right, I totally forgot there's actually hope for Fluid R3. It was too huge for my project but it seemed mostly ok for copyright. I'll post over on the license thread how we could make that one work. Edit: With "make it work" I meant proving the license chain. Technologically it already worked when I discovered it. 👍 ❤️ |
May be you forgot something else. It works already. I don't see a case to change anything. |
Right, I forgot the clarification that I was talking about the license. I added that above. |
I have to correct my earlier comment.
Reading again, I did not forget that. The "too huge" problem was with the MIDI.js version of it. The real reason why I was unable to use the WAF version of Fluid R3 was that it wasn't available in the webaudiofontdata repo at the time. 🤦♂️ Back then, I understood your reaction as dismissing my idea of adding a soundfont that had a clean license chain. You could have saved us both a major part of the confusion if you had told me about your change of mind, two days later. Anyway. Thanks for the link to the technical specification. Do you have a spec for the webaudiofont format as well, or will it be easy to understand once I learned the SF2 spec? I tried searching for "ahdsr" and "anchor" in the spec but my PDF reader couldn't find either. |
WebAudioFont consists of sounds from Fluid and other soundfont. Read docs, create test project, test sound. |
Add WebAudioFont to play parsed notes.
It has 2000 instruments.
See example
https://surikov.github.io/webaudiofont/examples/dynamic.html
The text was updated successfully, but these errors were encountered: