By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,742 Members | 1,224 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,742 IT Pros & Developers. It's quick & easy.

Midi manipulation

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.