[Top][All Lists]

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

transcoding recipe request

From: Louis-David Mitterrand
Subject: transcoding recipe request
Date: Wed, 10 May 2006 19:15:26 +0200
User-agent: Mutt/1.5.11+cvs20060403


I have a directory tree of sound files in .flac format and I am trying 
to build a makefile to convert all these files to other formats (ogg, 
alaw, mp3, etc.) in a similar, parallel directory tree. 

This is what I have:


and this is what I'd like the makefile to auto-generate:


(the directory tree has a variable depth)

Here is the rule I wrote to convert the files: %.flac 
    flac -cds $< | sox -S -t wav - -r 8000 -c 1 $@ resample -ql
    mv $@ alaw

What I need is a way of:

- recursing into the flac directory tree, 
- generate a target list from the flac files with patsubst
- another way?

Thanks in advance for your suggestions,

reply via email to

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