Kara-Moon Forum
May 15, 2024, 01:51:54 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: You can go back to the main site here:
Kara-Moon site
Home
Help
Search
Login
Register
Kara-Moon Forum
>
Developers & Technology
>
Musical MIDI Accompaniment (MMA)
(Moderator:
kara
) >
MIDIInc
Pages: [
1
]
« previous
next »
Print
Author
Topic: MIDIInc (Read 3242 times)
sciurius
Sr. Member
Posts: 443
MIDIInc
«
on:
August 02, 2019, 09:54:13 AM »
According to the docs, MIDIInc requires a complete filename (whatever that may mean).
The midi-inc examples use a simple, relative filename. E.g. egs/midi-inc/frankie2.mma has "MidiInc File=rec1.mid ...".
If this is acceptible, it should be documented. Also, shouldn't the filename be interpreted relative to the including mma file?
Logged
bvdp
Kara-Moon Master
Posts: 1438
Re: MIDIInc
«
Reply #1 on:
August 02, 2019, 03:59:29 PM »
I *think* it means that you need the filename extension. But, memory cells ... etc.
I think the path is relative to that of the shell path starting mma in the first place.
Doc update in the next version
Logged
My online life:
http://www.mellowood.ca
bvdp
Kara-Moon Master
Posts: 1438
Re: MIDIInc
«
Reply #2 on:
August 05, 2019, 02:17:12 AM »
Just had a look at code and did some tests
Yes, the docs are confusing. I think just taking the words "This must be a
complete filename" out will make it more clear. And adding "If the filename starts with a tilde, the name will be expanded ...". Also, add just plain "test.mid" to the examples.
Good?
Logged
My online life:
http://www.mellowood.ca
sciurius
Sr. Member
Posts: 443
Re: MIDIInc
«
Reply #3 on:
August 07, 2019, 12:11:33 PM »
So if relative filenames are allowed, should they be interpreted relative to the current directory? $_LibPath? The name of the including file?
Currently it is not possible to run e.g.
mma $MMAPATH/egs/midi-inc/frankie3.mma
since it cannot find
rec1.mid
.
Note that this is not very important, however, the behaviour should be documented.
«
Last Edit: August 07, 2019, 12:32:52 PM by sciurius
»
Logged
bvdp
Kara-Moon Master
Posts: 1438
Re: MIDIInc
«
Reply #4 on:
August 07, 2019, 04:12:57 PM »
I don't think so. In the case of MidiInc the current directory is where the file you are processing is, nothing to do with libpath, etc. If you are using midiinc to include a midi file into a library file ... I'd suggest you'd be much better off to do it by processing the midi into some riffs and then insert them into the lib file.
I'll look at the docs again.
Logged
My online life:
http://www.mellowood.ca
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
The Kara-Moon monthly contest
-----------------------------
=> Sex, Drugs and Rock and Roll
===> WInter 2009 - Lost
===> Autumn 2008 - Colors
===> Winter 2008 - Cold
===> Spring 2009 - Time
===> Summer 2009 - Africa
===> Autumn 2010
===> Winter 2011
===> Spring 2011
===> Autumn 2011
===> Winter 2011/2012 - Under the Snow
===> Spring 2012 - Changes
===> Summer 2012 ...look Ma, no click track!
===> Autumn 2012 ...Harvest...
===> Winter 2012/2013 ...Circles...
===> Spring 2013 - Digital Relationship
===> Summer 2013 - Genetic Modification
===> Autumn 2013 - Writing on the Wall
===> Winter 2013 - My First Muse
===> Spring 2014 - Ethnic Flavour
===> Summer 2014 - Holidays
===> - Autumn 2014 - Ultima Thule
===> Winter 2014 - "Toys"
===> Spring 2015: "Old Friends"
===> Summer 2015 - "Metronome"
-----------------------------
Music Auditorium
-----------------------------
=> Pop,Jazz,Rock,Easy Listening
=> Ambient,Trance
=> From the Shadows...
=> Classical
=> General
=> PG musicians
-----------------------------
General & News
-----------------------------
=> News & General Chat
=> Hello/Intro Area
=> Artist Releases
-----------------------------
Kara-Moon Projects
-----------------------------
=> Project - 10
=> Kara Tribute Project
=> Collaboration Songs
=> The KM 2010 live gig
=> Older projects
===> The KM 2009 Live gig
=====> Rehearsal tracks
===> Kara Moon Live Gig 2008
===> Our 2008 CD Project
===> Our first CD release: Best of Kara-Moon 2007 !
-----------------------------
Developers & Technology
-----------------------------
=> Developers at Kara-Moon
=> The open source alternative
=> Musical MIDI Accompaniment (MMA)
=> Studio Tips
=> Hardware
===> DAW
===> Studio Speakers
===> Synthesizers
===> Mics
===> Mixers
===> Miscellanious Studio gear
=> Software
=> Commercial products
-----------------------------
The Sample Section
-----------------------------
=> Equinox Sounds
=> LesProductionsZvon
=> Yinox-Samples
=> Public samples
=> Commercial Samples
-----------------------------
Graphics
-----------------------------
=> Artwork
-----------------------------
Old & closed boards
-----------------------------
=> RESPECT !
-----------------------------
The KM-zine
-----------------------------
=> The actual KM-zine
Loading...