473,386 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 4912
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Max M | last post by:
If anybody is interrested in Midi, but are not on the Python Midi list, I will just notify that I have released the first version of a high level midi package for Python. It is fully functional....
2
by: Mad Scientist Jr | last post by:
any sample code or information would be most appreciated i have been wanting to learn MIDI programming but would rather learn it in my current language (either vb.net or c#)
4
by: Jim O'D | last post by:
Hi all I have an array a=array(). I want to extract an array with all the elements of a that are less than 0. Method 1. new = array() Method 2.
11
by: Kuba Araszkiewicz | last post by:
Hello! I have to write a program, which would convert midi files to notes, notes to midi files and which would make one MIDI file from two different. I'm totally lame in C (and any other...
2
by: david | last post by:
1.I am considering doing a midi file generator for my 4th year project in B.SC. 2.I would do it using c language, but i'm not sure abou t the level of difficulyt involved 3.Basically, the...
0
by: tom | last post by:
Hallo, I need help on MIDI file, and precisely about retrieving few note values (mainly the "Velocity" value, corrisponding to the intensity of a played note) while the MIDI is playing.
1
by: tim | last post by:
Someone using Python Midi Package from http://www.mxm.dk/products/public/ lately? I want to do the following : write some note events in a midi file then after doing that, put some controllers...
4
by: sreekant | last post by:
Hi folks I hope someone here might be able to help. I scavenged some info and even code from the net and am trying to write a module that reads a text file and spits out a midi file. So far I...
6
by: Gilly | last post by:
Hi I am trying to create an application that uses some form of input to create a midi file. I would like for this to be a 'real time' process. In other words, I want to be able to begin playing...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.