Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37554
| References | <3612c184-28d6-4b58-9c70-fb83e103893e@googlegroups.com> |
|---|---|
| Date | 2013-01-24 21:44 +1100 |
| Subject | Re: Python to send Midi commands to iPad via USB |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.954.1359024291.2939.python-list@python.org> (permalink) |
On Thu, Jan 24, 2013 at 9:31 PM, <mikprog@gmail.com> wrote: > What I have to do is to write a Python application that will send MIDI commands to an iPad application. > All I know is that the iPad application can be connected to an external Midi deck through a usb cable and be controlled. > So I think I would connect the iPad via USB to my computer and... try to send midi commands. Are you able to hook into ALSA? I've had reasonable success driving a USB-MIDI cable using ALSA. See if you can do it with the inbuilt 'pmidi' app first: $ pmidi -p 128:0 No.19.mid (that uses port 128:0 which is a TiMidity-provided one) If that works, you can then look for Python ALSA bindings, which I believe are available on PyPI. My example is from Linux, so you may need to tweak things on other OSes. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python to send Midi commands to iPad via USB mikprog@gmail.com - 2013-01-24 02:31 -0800
Re: Python to send Midi commands to iPad via USB Chris Angelico <rosuav@gmail.com> - 2013-01-24 21:44 +1100
Re: Python to send Midi commands to iPad via USB mikprog@gmail.com - 2013-01-24 03:48 -0800
Re: Python to send Midi commands to iPad via USB Chris Angelico <rosuav@gmail.com> - 2013-01-24 22:56 +1100
Re: Python to send Midi commands to iPad via USB mikprog@gmail.com - 2013-01-24 04:25 -0800
Re: Python to send Midi commands to iPad via USB Chris Angelico <rosuav@gmail.com> - 2013-01-24 23:36 +1100
Re: Python to send Midi commands to iPad via USB mikprog@gmail.com - 2013-01-24 04:25 -0800
Re: Python to send Midi commands to iPad via USB mikprog@gmail.com - 2013-01-24 03:48 -0800
Re: Python to send Midi commands to iPad via USB rusi <rustompmody@gmail.com> - 2013-01-24 11:22 -0800
csiph-web