Animoog Network Midi Connection refused..

Hi all, I’m wondering if any of you can help me. I’m really struggling to get it working but I’m sure I’m making it more complicated than it needs to be.

Every time I try to connect the network midi window to the iPad it comes back with the error “refused the connection”

It’s very frustrating!

Spec:

iPad 1

Mac Pro 10.6.7

Thanks

I apologize, but I don’t understand your issue.

Are you trying to connect an iPad to a Mac?
Which interface are you using?
What is the “network midi window”?
Who “comes back with the error “refused the connection””?
What are you trying to do/achieve? Playing the Animoog from the Mac? Monitoring the MIDI connection?

Nick

I have the same problem, can’t connect the ipad to network midi on the mac.
When i click connect i get the same error “IP ADRESS:5004 refused the connection request”

It does connect to my ipad that has os4, not to the ipad with os5, so my guess is maybe the os update has broken coremidi.

Same issue here, just upgraded the iPad to iOS 5.0.1. Found this thread on Apple support site, but it’s still unresolved.

https://discussions.apple.com/thread/3528960?start=0&tstart=0

I’m using Animoog iPod version, and I think there are two problems with the Networking implementation:

  1. Animoog should never attempt to instantiate network connection without user intervention. There are currently different ways of working with multiple simultaneous apps in iOS (for example, using apps like MIDIBridge which can link hardware, software and WIFI MIDI ports, and have a more flexible and complete set of user adjustable parameters) and any app in this context that would attempt a non-user requested connection would likely create contention that would break the system.

  2. Animoog has no user selectable parameters for networking: if the typical 5002 Core MIDI port is in use by another app, it will no doubt broken by Animoog’s attempting a connection. Plus in a wider context, networking MIDI could be using multiple connection ports to different machines and it becomes necessary to manually specify networking parameters for everything to work smoothly.

So for my purposes, I would like to see Animoog default to networking “off” and allow the user to decide on connection options from an unconnected state. And of course, more user settable control over networking parameters would also be welcome.

Thanks!

Works for me. :confused: I have both my iPad and iPhone running Animoog and talking MIDI over my adhoc Mac Mini’s WiFi network simultaneously to Live8 or Logic9 - and with almost zero latency.

I’m running iOS 5.01 on both devices, and on the Mac CoreMIDI.framework and CoreMIDIServer.framework v1.8 are running.

I’d attach a screenshot of my setup, but this server comes back with “Sorry, the board attachment quota has been reached.”

Weird.. I can’t get it to work with 5.01 at all.. some official support from moog (or apple) would be nice…..

even a troubleshooting guide or faq…. anyone listening? :wink:

Here’s a YouTube video I’ve just put up showing both devices running simultaneously with nary a cable attached - apart from power and audio of course.

http://www.youtube.com/watch?v=nz8XjqGLDJM

If I could attach screen shots here I would. :frowning: (Mod???)

Anyone been able to figure this one out? I am also having the same issue and getting quite frustrated with it.

Specs:

MBP 2.66 Quad Core
OS X Lion 10.7.2
iPhone 4 - iOS 5.0.1

Both MBP and iPhone are connected to the same network and when I open the Network Icon in Audio MIDI the iPhone shows up in the devices list so I know the two are talking to each other. If I turn off the wifi on my iPhone, the phone disappears from the devices menu.

Hi, Amos from Moog here. My official support message at this time is:
“I am having the same problem.” :blush:

I’m looking into this with Apple… I had thought that it was an iOS5.01 bug based on the same searches others in this thread have also done… but if somebody’s got it working, then I’m not sure what the deal is.

My setup is MacBook Pro, OSX 10.6.8, iPhone4 iOS5.0.1… had network MIDI working fine to my iPad when I was using my wifi router (macbook and iPad both talking to the router) but could not get it working directly from the MacBook to the iPhone using an ad-hoc network.

Omaroo, there’s no router in your setup is there? Just ad-hoc from the Mac to the iDevice?

We’ll get this…


also, Zoomer, thanks for your feedback! I’ll see if we can make some improvements to the networking setup in future versions.

Cheers,

Amos

I still maintain that I have no problem. I just physically turned off my AirPort hub to prove to myself that I was well and truly running in ad-hoc mode.

First, I created a brand new ad-hoc network on my MacMini workstation and called it “AdHoc1”. In the network control panel I took note of the IP address it created temporarily.

Opening the MIDI Network Setup application and firstly created a new Directory (bottom window) and named it AdHoc1. I edited that entry by double-clicking on it and entered the IP address I noted down. I entered a port number two up from my other ad-hoc networks that I’d created previously and made this one use port 5008. I hit OK and then checked (selected) it in the list.

Secondly I created a new session (top window) and called it “Session 3” as I already had two other sessions running on ports 5004 and 5006 from before.

I chose the directory called “AdHoc1” and hit connect. It appeared in the right-hand box as a participant.

I then opened network prefs on both my phone and pad and joined the new ad-hoc network called “AdHoc1”.

Back in the MIDI Network Setup I saw then then appear in the directory as being available devices. I chose each and hit “connect”. Each appeared in the Participants list.

In Live 8 I then went to preferences and turned on both Track and Sync for for each of the new entries in the list that called themselves “Input: Network (Session 3)” and “Output: Network (Session 3)”

I set up a new MIDI track in Live 8 and selected my keyboard to supply MIDI From. I then chose “Network (Session 3)” for MIDI To.

Works like a charm.

Just to reiterate, my setup:

MacMini Core2Duo (2011) running 10.7.2 (OSX Lion)
iPhone4 on v5.0.1 (9A405)
iPad (orig) on v5.0.1 (9A405)

Amos - is there any way that you might get someone to increase space allocation to this board? It’s still refusing to allow me to upload screenshots depicting what I’ve set up. :slight_smile:

Cheers - I hope this describes my situation, which seems to work well despite your own observations. :confused:
Chris

Working perfectly on my os4 ipad.. but not on the 5.01 updated ipad and iphone.. very odd.

Thanks for that very informative post Omaroo! Unfortunately, even after following it step by step, still no luck. I thought I was on to something when you mentioned adding the local machine to the directory listing, but it still will not connect to the iPhone and shows connection refused.

I’ve uploaded a quick movie to YouTube explaining the process quickly, and to show you that iOS 5.01 certainly does work with Animoog over an ad-hoc network. Short of going into the phone’s “about” menu and physically showing you the version to conform it, please take my word. Sorry about the quality of the video, I’d like to have done a direct screen capture via QuickTime Pro, but then you wouldn’t see the phone running Animoog.

Link: http://www.youtube.com/watch?v=TBUPT-CaFG0

Cheers
Chris

Thanks for the video, I am using a router to connect to my mac pro, so no built-in wireless.
I’m wondering if everyone having this problem is also trying to connect through a router?

I’ve tried changing broadcast channels on the router, enabling/disabling wep key etc, no luck with 5.01, but it’s working with os4.
I can see the device in audiomidi setup, but when i hit connect I get the “connection refused” error with the 5.01 devices.

Perhaps this is router related..

Happy New Year everyone.

First, I would like to thank Omaroo for making me aware that this could be done via ad hoc wireless connection, and for taking the time to respond to my PM and to create a tutorial video. I was about to spend $70 on the iRig Midi or the Yamaha iMX-1 (camera connection will not work on iphone 4s). Not only is thee wireless option cheaper- it has, from my readings allowed less latency than the other option.

Unfortunately, I had been having the same “connection refused” trouble on both a MacBook Pro and a PC (via RTPmidi). My girlfriend and I spent most of new years day miserable trying to get this to work on a Mac, PC and 2 different iPhones 4s.

What I ended up doing is installing another application on the iPhone that also use midi connections… This seemed to prime the phone to accept midi in, and even after the application has been turned off, the Mac still accepts the connection via ad hoc. I’m getting 0 ms latency via ad hoc (much better than the aforementioned 5 pin adapters).

Here’s what I recommend for Mac users with the connection problem:

  1. install Pad MIDI from the app store (free).
  2. Open Animoog and use Pad Midi to see if it controls Animoog.
  3. Follow Omaroo’s tutorial to initiate ad hoc wireless connection.

The one exception is that I simply wanted to map to my Axiom 49, so I routed the Axiom to Session 1 instead of Session 1 to Session 1 routing.

I plan on deleting the Pad MIDI app and seeing if it somehow primed the connection to allow wireless MIDI into iOS 5.0.1, since Animoog was my first midi app. I had also previously installed iRig’s free software, but I don’t think it was responsible for opening MIDI on my device.

Will update if I can get this working for PC (I did get a solid connection, but was having problem with an address conflict on rtpMIDI.

Hope this helps!

Chris

That’s a great post Chris, thanks! :slight_smile: I’m glad it’s working for you now.

Interesting, your notion of another app possibly “priming” the iPhone. It may very well be relevant as I use a plethora of CoreMIDI-enabled apps on my phone and pad, including Sunrizer, NLog, etc. that were all in heavy use prior to Animoog.

Amos - have you had any response from Apple over this at all?

Hi Chris

Thanks for the tip.. i managed to get connected with the lemur app and send midi to animoog via midibridge…
After that I was also able to connect to animoog with the network session.

It does seem other apps are able to connect to network sessions in os 5.01 - it’s just a direct animoog connection that seems to cause problems.

Setting up a network connection in lemur does indeed seem to open the way for connecting to animoog directly, so perhaps this bug is in fact in the animoog app.

Anyway, great find!

Following up on my previous post, I did delete the “priming” MIDI apps and still received the same connectivity on the MacBook Pro. I was also able to get connectivity on a ThinkPad W520 via rtpMIDI/Bonjour, although with quite a bit more latency on an intermittent basis (40 - 120 ms at times) although I couldn’t tell when playing.

I still haven’t tried with my girlfriend’s iPhone, but will attempt to repeat in the next couple of days. I very suspicious that this is related to Apple’s controls on the new iOS, since USB midi was allowed in one of the beta versions and removed before the final release.

Allow me to add my experience so far in case it might help someone at Moog debug:

My iPhone 4 with iOS 5.0.1 also gets the dreaded “refused connection” error message, even when on an AdHoc network with my Mac Mini running Lion.

However, when I reboot my iPhone and the first thing I do is start up Animoog and connect, I don’t get the “refused connection” message. Instead, after about 5 - 10 seconds, I get a different message: “0.0.0.0:5004 didn’t respond to the connection request. Check the address and port, and any firewall or router settings.”

Note that 0.0.0.0 is in the actual error message, but it’s (obviously) not the IP address of my iPhone.

Haven’t tried using another Wifi MIDI app first. Gonna try that next.