Skip to content
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

Java Sound Synthesizer missing / Gervill not supported #10

Open
emnullfuenf opened this issue Jul 4, 2014 · 8 comments
Open

Java Sound Synthesizer missing / Gervill not supported #10

emnullfuenf opened this issue Jul 4, 2014 · 8 comments

Comments

@emnullfuenf
Copy link

On OS X 10.8.5 and Processing 2.2.1 (Java 1.7.0_55) there's no Java Sound Synthesizer anymore in order to play notes without external synthesizer. Is that caused by themidibus? Is there a workaround? I already tried with MMJ.

@emnullfuenf
Copy link
Author

Got it working via javax.sound.midi without themidibus. It would be only some lines of code to add the Java Sound Synthesizer to themidibus again:
https://github.com/ixd-hof/Processing/tree/master/Examples/Sound/Midi_Javasynth_Simple

@sparks
Copy link
Owner

sparks commented Jul 5, 2014

Thanks for the bug report and follow up. I'm quite busy currently, but I can try and address this soon. If you'd like to submit a pull request with the necessary changes that would also be great.

@arminbw
Copy link

arminbw commented Apr 12, 2015

I liked the Midibus. Will there be an update?

@sparks
Copy link
Owner

sparks commented Apr 15, 2015

I'll probably make an update at some point when I have a bit of spare time. If I get some pull requests I'm happy to put them out in an update sooner!

@daslicht
Copy link

What do you use the Java Sound Synthesizer for?

@emnullfuenf
Copy link
Author

I use it to quickly generate tones. Like the standard piano sounds.

@sparks
Copy link
Owner

sparks commented Sep 7, 2015

I was looking into this a little. It appears that Java Sound Synthesizer has been removed and replaced with Gervill. Gervill docs here.

I took a quick look and it doesn't seem like you can just use Gervill directly like you could with the Java Sound Synthesizer. When I send it midi messages I don't get any sound. It seems like you have to access it via the Synthesizer class and set up the sound bank you wish to use before it will make sound.

I only looked quickly so I could be mistaken. If someone knows otherwise please let me know.

You can take a look at this sample code if you want to see how to use it.

I'll think about possibly adding some wrapper for the Synthesizer class in the MidiBus, however I feel like maybe that would take away from the simplicity of the library.

@sparks sparks changed the title OS X: Java Sound Synthesizer missing OS X: Java Sound Synthesizer missing / Gervill not supported Sep 7, 2015
@sparks sparks changed the title OS X: Java Sound Synthesizer missing / Gervill not supported Java Sound Synthesizer missing / Gervill not supported Sep 7, 2015
@jsmcx
Copy link

jsmcx commented May 3, 2021

Any joy with this? Gervill is still not supported in the build that gets pulled in by Processing 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants