Kara-Moon Forum
May 16, 2024, 05:57:41 AM *
Welcome, Guest. Please login or register.

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  
Pages: [1]
  Print  
Author Topic: Compile, play and view  (Read 3428 times)
zappfinger
Jr. Member
*
Posts: 6


WWW
« on: December 15, 2010, 10:18:30 PM »

This small script allows you to compile, play and view some statistics with one command:

#!/bin/bash
#
# save as 'mmap', do a chmod +x
# then use as:
# mmap filename
#
# it will generate the midi file, play it with the default player
# and produce some statistics about the tracks being used
#
mma $1
open $1.mid
mma -c $1
# note: the open command works on OS X,
# on Unix systems some tweaking might be needed
Logged
bvdp
Kara-Moon Master
****
Posts: 1439


WWW
« Reply #1 on: December 15, 2010, 10:35:27 PM »

Thanks for this.

I think that for linux one would just need to replace "open" with the midi file player of choice.
Logged

My online life: http://www.mellowood.ca
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.043 seconds with 19 queries.