On Tuesday, February 19, 2013 5:47:16 PM UTC, Michael Torrie wrote:
> On 02/19/2013 02:24 AM, mikp...@gmail.com wrote:
>
> > Or rather: what would you try to catch in this particular case?
>
>
> As Peter said, nothing for now. But you seem very resistant to telling
>
> us what exception was ra
> > Thanks a lot Serhiy to you and to everyone else.
>
>
> Do you mind telling us what fix you applied?
Oh, apologies Peter, I thought it was clear as I posted it after the lines
written by Serhiy.
So it was what Serhiy suggest in addition to some (?minor?) modification to the
pipe itself, wh
>
> def write_to_pipe(line):
>
> hexbytes = ''.join('\\x%02x' % ord(c) for c in line)
>
> with open('/tmp/mypipe', 'w') as f:
>
> f.write(hexbytes)
Update:
with a fix in the pipe THIS was the right way to do it, and it now works.
Thanks a lot Serhiy to you and to everyone e
On Monday, February 18, 2013 7:29:09 PM UTC, Serhiy Storchaka wrote:
> On 18.02.13 17:12, mikp...@gmail.com wrote:
>
> > on an embedded linux system (BeagleBoard) I am writing data coming from
> > bluetooth dongle into a pipe.
>
> > The function is the following one:
>
> >
>
> >
>
> > def wri
>
> Once you get your script working you can try to provoke errors, and for
>
> those errors you can recover from you can write error handlers. For IOError
>
> and Python < 3.3 that may involve inspecting the errno attribute and
>
> conditionally reraising.
Ok.
> By the way, I don't thi
On Monday, February 18, 2013 6:12:01 PM UTC, Michael Torrie wrote:
> On 02/18/2013 10:00 AM, mikp...@gmail.com wrote:
>
> > [..]
>
> >>
>
> >> I don't see an exception in your answer. Where did you put it for us?
>
> >>
>
> >
>
> > well I just did print a message:
>
> >
>
> > PIPEPATH
[..]
>
> I don't see an exception in your answer. Where did you put it for us?
>
well I just did print a message:
PIPEPATH = ["/tmp/mypipe"]
[..]
try:
self.process = os.popen( self.PIPEPATH, 'w')
except:
print "Error while trying opening the pipe!"
On Monday, February 18, 2013 3:21:53 PM UTC, Oscar Benjamin wrote:
[..]
>
> Can you not open the pipe file directly in Python code? e.g.
>
>
>
> fout = open('/tmp/mypipe', 'w')
>
> fout.write(data)
>
>
>
> I guess that this would be more efficient than using os.popen to run echo.
>
>
tha
Hi guys,
on an embedded linux system (BeagleBoard) I am writing data coming from
bluetooth dongle into a pipe.
The function is the following one:
def write_to_pipe(line):
# next line ensures that bytes like '0x09' are not translated into '\t' for
#example, and they are sent as such
On Tuesday, January 29, 2013 4:42:07 PM UTC, David Hutto wrote:
[..]
>
> Well you can just use their(Mixx's) source code that they used from
>
> another wav form manipulation library(more than likely), after the
>
> trigger from the bluetooth. If you're talking voice, and music to
>
> sync, the
On Tuesday, January 29, 2013 4:45:18 PM UTC, Ben wrote:
> This may not be too helpful, but I built a TCP server into the Mixxx
> application (in C++). I placed the server in ratecontroller (as I needed to
> vary the rate remotely). I then could send and receive TCP packets with a
> single board
On Tuesday, January 29, 2013 4:13:09 PM UTC, David Hutto wrote:
[..]
>
> >> or does anyone have experience with another software that does the same DJ
> >> thing?
>
>
>
>
> Hydrogen, and audacity work perfectly together.
Hi David,
thanks for your reply.
I am not sure though that this is goi
Hi guys,
I am thinking of driving a DJ application from Python.
I am running Linux and I found the Mixxx app.
Does anyone know if there are python bindings, or if this is possible at all?
or does anyone have experience with another software that does the same DJ
thing?
I have also found the pym
[..]
>
> > ~$ pmidi -p 128:0 No.19.mid
>
> > Could not open file No.19.mid
>
> >
>
> > Doesn't that mean that the iPad is not seen?
>
>
> Heya! That was just an example; I used track number 19 from the opera
>
> "Iolanthe" as my test file. Pick any other MIDI file you have handy.
This is
On Thursday, January 24, 2013 10:44:47 AM UTC, Chris Angelico wrote:
[..]
>
> 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 u
On Thursday, January 24, 2013 9:43:31 AM UTC, Hazard Seventyfour wrote:
> Hello,
>
>
>
> I new in this python and decided to learn more about it, so i can make an own
> script :),
>
>
>
> for all senior can you suggest me the best, friendly and easy use with nice
> GUI editor for me, and ha
Dear all,
I am asking for a design/strategy suggestion.
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 w
17 matches
Mail list logo