-
Notifications
You must be signed in to change notification settings - Fork 20
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
Support for Sonic Pi 3 (midi) #19
Comments
I would be a bit disappointed, if I could not use |
Just a guess: Can this have something to do with
|
No. As long as I use self-compiled SP 3.0 with regular GUI everything works well. |
Does not change anything:
Code:
|
@mbutz Sorry catching up here, sometimes my head gets too deep in the music I forget to come back up to code. The good news (if you have survived my inability to notice github notifications) I exclusively use SP server with emacs and have done for most of this year. I use a shed ton of midi also. I've got it running against the latest versions of SP while having all the nice features of the GUI + and emacs being a proper text editor ;) Yes I've seen this error before, I'm guessing this quick fix will hopefully get you moving while I work out a nicer resolve outside of SonicPis Ruby Server: Add this line at the header of your File you are evaling. @osc_server ||= SonicPi::OSC::UDPServer.new(4559, use_decoder_cache: true) #__nosave__ I currently concat this to the head of each file automatically by changing the SP Ruby Server (adding code to the example in this line https://github.com/samaaron/sonic-pi/blob/master/app/server/ruby/bin/sonic-pi-server.rb#L212). code = args[2].force_encoding("utf-8")
code = "@osc_server ||= SonicPi::OSC::UDPServer.new(4559, use_decoder_cache: true) #__nosave__" + code Let me know if that helps. |
@josephwilk First of all thanks for the feedback! I am glad you are still using (and supporting) Tried your fix and seems to work. Seems means that I don't get this error anymore but can't hear anything with my usual midi setup. I'll look into it and I suppose that this is a different thing having rather to do with my Jack connections then with Sonic Pi or Emacs. |
Great. Works. Thanks! (I have to use SP 3.0) |
Hi Joseph,
I am still a true fan of
sonic-pi.el
. It's very nice (and productive) to use emacs with all the features I am used to, to work with Sonic Pi. I now managed to get SP3 with midi-support running on Linux. Wonderful.But ... there seems to be a basic problem now with
sonic-pi.el
. I do very much hope you are willing to have a look at it (but could definitely understand, if not).If I play the following code:
I get this error message:
I do assume that
sonic-pi.el
can't translate the (or some) midi-related commands. Can that be the case? The same code runs perfectly using the Sonic Pi-Gui.Martin
The text was updated successfully, but these errors were encountered: