denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] [bug #32384] Allow (d-SaveAs) to take a filename paramete


From: jgillis
Subject: [Denemo-devel] [bug #32384] Allow (d-SaveAs) to take a filename parameter.
Date: Sat, 12 Feb 2011 22:45:14 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

Follow-up Comment #4, bug #32384 (project denemo):

Thank you very much for implementing my suggestion. I tested this
succesfully.

My workflow goes very smooth now:
I have a directory of denemo files which I regularly update.
A simple 'make' command in this directory will now automatically do the
denemo -> mid -> wav -> mp3 conversion process for any modified denemo files,
so that I can instantly have my updated music on an mp3 player.

FWIW, here's the two files I use for that process:

---- denemo2mid.sh
#!/bin/bash
echo "$1 -> $2"
echo "(d-ExportMIDI "filename=$2 ")(d-Close)" > temp.scm
denemo -i temp.scm $1 > /dev/null
rm temp.scm

---- Makefile
DEN=$(shell ls *.denemo)
MP3=$(DEN:.denemo=.mp3)

all: $(MP3)
        cp *.mp3 /home/gatewayhost/music/cabus

$(MP3): %.mp3 : %.denemo
        ./denemo2mid.sh $< $(@:.mp3=.mid)
        timidity -Ow $(@:.mp3=.mid)
        lame $(@:.mp3=.wav) $@
        rm $(@:.mp3=.mid) $(@:.mp3=.wav)



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32384>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]