472,119 Members | 1,623 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

Midi manipulation

Hi everyone, I'm searching for "something" which allows me to write
scripts which handle midi files. I'm totally a newbie in audio
manipulation, therefore any suggestion or link related to this field
is welcome. Thanks in advance.
Nov 16 '08 #1
6 4823
On Nov 16, 10:17*pm, Massi <massi_...@msn.comwrote:
Hi everyone, I'm searching for "something" which allows me to write
scripts which handle midi files. I'm totally a newbie in audio
manipulation, therefore any suggestion or link related to this field
is welcome. Thanks in advance.
http://wiki.python.org/moin/PythonInMusic
Nov 16 '08 #2
Massi <ma*******@msn.comwrote:
>
Hi everyone, I'm searching for "something" which allows me to write
scripts which handle midi files. I'm totally a newbie in audio
manipulation, therefore any suggestion or link related to this field
is welcome. Thanks in advance.
Google is much faster than this newsgroup. Search for "python midi
library" and the first page gives you a number of good hits.

However, there's a lot to manipulating MIDI. What kinds of things are you
hoping to accomplish? MIDI, for example, is not a particularly good way to
store music for composition.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Nov 16 '08 #3
On 16 Nov, 23:23, Tim Roberts <t...@probo.comwrote:
Massi <massi_...@msn.comwrote:
Hi everyone, I'm searching for "something" which allows me to write
scripts which handle midi files. I'm totally a newbie in audio
manipulation, therefore any suggestion or link related to this field
is welcome. Thanks in advance.

Google is much faster than this newsgroup. Search for "python midi
library" and the first page gives you a number of good hits.

However, there's a lot to manipulating MIDI. What kinds of things are you
hoping to accomplish? MIDI, for example, is not a particularly good way to
store music for composition.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
I'm writing a script for didactic musical purpose. As first step I
need something as simple as possible, for example a library of
functions which are able to play a certain note, with a given
instrument and a given length. I thought midi was good for this aim,
am I wrong?
Nov 17 '08 #4
Massi wrote:
On 16 Nov, 23:23, Tim Roberts <t...@probo.comwrote:
>Massi <massi_...@msn.comwrote:
>>Hi everyone, I'm searching for "something" which allows me to write
scripts which handle midi files. I'm totally a newbie in audio
manipulation, therefore any suggestion or link related to this field
is welcome. Thanks in advance.
Google is much faster than this newsgroup. Search for "python midi
library" and the first page gives you a number of good hits.

However, there's a lot to manipulating MIDI. What kinds of things are you
hoping to accomplish? MIDI, for example, is not a particularly good way to
store music for composition.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

I'm writing a script for didactic musical purpose. As first step I
need something as simple as possible, for example a library of
functions which are able to play a certain note, with a given
instrument and a given length. I thought midi was good for this aim,
am I wrong?
Oh dear, I'm going to point you away from Python ... but I am not
intending to start a flame war...

The Apache Cocoon project (NOT the latest version 2.2 though) might
appeal to you:

http://cocoon.zones.apache.org/demos...s/blocks/midi/

quote:
The MIDI block currently gives you an XMidiGenerator to generate an XML
representation of any MIDI file (called XMidi by its author Peter Loeb).
There is also the XMidiSerializer to render XMidi back as a MIDI file. I
have used XSLT to provide some basic musical manipulations such as
transposition, and inversion. Retrograde is harder, but I shall see what
I can come up with. Hopefully I shall also add some transformers to
generate SVG visualisations of the XMidi, starting with normal western
musical notation.
MIDI Documentation - Documentation available on the Cocoon Wiki.

Nov 17 '08 #5
Ken Starks wrote:
Massi wrote:
>On 16 Nov, 23:23, Tim Roberts <t...@probo.comwrote:
>>Massi <massi_...@msn.comwrote:

Hi everyone, I'm searching for "something" which allows me to write
scripts which handle midi files. I'm totally a newbie in audio
manipulation, therefore any suggestion or link related to this field
is welcome. Thanks in advance.
Google is much faster than this newsgroup. Search for "python midi
library" and the first page gives you a number of good hits.

However, there's a lot to manipulating MIDI. What kinds of things
are you
hoping to accomplish? MIDI, for example, is not a particularly good
way to
store music for composition.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

I'm writing a script for didactic musical purpose. As first step I
need something as simple as possible, for example a library of
functions which are able to play a certain note, with a given
instrument and a given length. I thought midi was good for this aim,
am I wrong?

Oh dear, I'm going to point you away from Python ... but I am not
intending to start a flame war...

The Apache Cocoon project (NOT the latest version 2.2 though) might
appeal to you:

http://cocoon.zones.apache.org/demos...s/blocks/midi/

quote:
The MIDI block currently gives you an XMidiGenerator to generate an XML
representation of any MIDI file (called XMidi by its author Peter Loeb).
There is also the XMidiSerializer to render XMidi back as a MIDI file. I
have used XSLT to provide some basic musical manipulations such as
transposition, and inversion. Retrograde is harder, but I shall see what
I can come up with. Hopefully I shall also add some transformers to
generate SVG visualisations of the XMidi, starting with normal western
musical notation.
MIDI Documentation - Documentation available on the Cocoon Wiki.
The link to the wiki was dead when I tried it, so i expect it is dead.

Try instead:
http://wiki.apache.org/cocoon/MIDI
Nov 17 '08 #6
Massi <ma*******@msn.comwrote:
>
I'm writing a script for didactic musical purpose. As first step I
need something as simple as possible, for example a library of
functions which are able to play a certain note, with a given
instrument and a given length. I thought midi was good for this aim,
am I wrong?
No, you are correct. I was misled by your talk about "manipulating MIDI
files". What you're talking about is more working with live MIDI. Alia's
links should be very useful for you. Especially, I think, this one:

http://turcanator.tangentcode.com/
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Nov 18 '08 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Max M | last post: by
2 posts views Thread by Mad Scientist Jr | last post: by
4 posts views Thread by Jim O'D | last post: by
11 posts views Thread by Kuba Araszkiewicz | last post: by
2 posts views Thread by david | last post: by
4 posts views Thread by sreekant | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.