Forums > MaxMSP

ftm anyone?


jbm
August 21, 2006 | 9:51 am

In case there’s someone who knows how to get around ftm. I want to import a midi file, add things to it (notes, control changes, etc.), then export it. It looks like I should be able to import, add _notes_, then export with ftm, but I’m not sure how I’d add control changes (or other data)? Does anybody know how to "insert" non-note data to a midi file in ftm?

thanks,

J.


August 24, 2006 | 2:59 pm

jbm wrote:
> Hello All,
>
> I want to be able to import a midi file, insert note and controller
> data into it, then export it again. Is there a class ready-made for
> this purpose? I can see it is simple to add note events to a track,
> but can’t see any way to add controller events. Any ideas?
>
> thanks,
>
> J.

Hi James, you’re on the right way! Just use a [track midi] instead of a [track
scoob], and look at the midi class (from the ftm.object help class browser) on
how to create controller data.

When it works, would you mind putting up a simple example on the wiki?
[http://freesoftware.ircam.fr/wiki/index.php?pagename=FTM]

Thanks!…
…Diemo


Diemo Schwarz, PhD — http://www.ircam.fr/anasyn/schwarz
Real-Time Applications Team — http://www.ircam.fr/equipes/temps-reel
IRCAM – Centre Pompidou — 1, place Igor-Stravinsky, 75004 Paris, France
Phone +33-1-4478-4879 — Fax +33-1-4478-1540



jbm
August 24, 2006 | 11:03 pm

Okay, that makes sense…

I guess midi inherits from track, is that it?
Kind of like "track.midi.insert()"?

Anyway, I’ll give this a go, and if I come up with
something workable I’ll post it on the wiki.

thanks,

J.



jbm
August 25, 2006 | 8:09 am

hmm… sorry to bug you again.

I can’t find anything about tempo changes. Is it possible to insert metamessages? It may not really matter, in my case, since I’m pulling the edited midi files back into a sequencer, but I’m just curious. It would change my design a bit if they can be inserted.

J.


August 25, 2006 | 12:34 pm

Hi James,

I guess we should now take this discussion over to the ftm list.

jbmaxwell wrote:
> I guess midi inherits from track, is that it?
> Kind of like "track.midi.insert()"?

Not quite. A track is a container for elements of one class, e.g. int, fmat,
scoob, or midi (declared as the track type, e.g. [track fmat]). The message is
always "insert

> Anyway, I’ll give this a go, and if I come up with
> something workable I’ll post it on the wiki.

Your question already makes a nice entry for the

http://freesoftware.ircam.fr/wiki/index.php?FTM%20FAQ.

jbmaxwell wrote:
> hmm… sorry to bug you again.
>
> I can’t find anything about tempo changes. Is it possible to insert metamessages? It may not really matter, in my case, since I’m pulling the edited midi files back into a sequencer, but I’m just curious. It would change my design a bit if they can be inserted.

Tempo and meter changes are correctly im- and exported for scoob tracks, not yet
for midi tracks, sorry. I’ll add it to the todo list.

Cheers…
…Diemo


Diemo Schwarz, PhD — http://www.ircam.fr/anasyn/schwarz
Real-Time Applications Team — http://www.ircam.fr/equipes/temps-reel
IRCAM – Centre Pompidou — 1, place Igor-Stravinsky, 75004 Paris, France
Phone +33-1-4478-4879 — Fax +33-1-4478-1540



jbm
August 25, 2006 | 3:19 pm

Thanks, Diemo.

After messing around for a while I finally overcame my code-phobia (there’s probably a proper name that one by now) and realized it would be much easier to just write all my changes directly to the midi file in java. I’m already loading the file and analysing it in java (mxj), so why not go the rest of the way?

But now that ftm is beginning to look less mysterious to me, I’ll probably start using it more for other stuff. It looks like it would be really great for interactive composition stuff — I LOVE the notation-based (scoob) display. Soooooo cool.

thanks again,

J.


September 20, 2007 | 12:46 am

I installed FTM this morning and have been searching for documentation. What must I do for access to the FTM wiki?

best Todd


October 9, 2007 | 10:37 am

Todd Conover wrote:
> I installed FTM this morning and have been searching for documentation. What must I do for access to the FTM wiki?

The old wiki is being moved to the new and much better site at

http://ftm.ircam.fr.

Start at the central ftm.help patch, accessible by clicking on the ftm
icon in most specific ftm help patches.

For specific questions, that will nicely augment the FAQ, ask on the ftm
mailing list at http://listes.ircam.fr/wws/info/ftm

Cheers…
…Diemo


Diemo Schwarz, PhD — http://diemo.concatenative.net
Real-Time Music Interaction Team — http://imtr.ircam.fr
IRCAM – Centre Pompidou — 1, place Igor-Stravinsky, 75004 Paris, France
Phone +33-1-4478-4879 — Fax +33-1-4478-1540


Viewing 8 posts - 1 through 8 (of 8 total)