Re: audio collage?

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

 



Hmmm, when I run it I get this:

Traceback (most recent call last):
   File "audiocollage.py", line 23, in <module>
     os.system('mkdir -p {0}'.format(tmp))
AttributeError: 'str' object has no attribute 'format'

I have sox installed with Python 2.5.2.

Help me, Obi-renato. You're my only hope. ;-)

Renato wrote:
> Obviously i forgot to attach the file ;)
> 
> here it is
> 
> renato
> 
> On Sat, 9 Jan 2010 00:31:42 +0100
> Renato <rennabh@xxxxxxxxx> wrote:
> 
>> On Mon, 4 Jan 2010 17:05:27 -0600
>> Josh Lawrence <hardbop200@xxxxxxxxx> wrote:
>>
>>> On Mon, Jan 4, 2010 at 5:00 PM, Renato <rennabh@xxxxxxxxx> wrote:
>>>> very interesting idea! I have never used it, but could 'sox' be
>>>> helpful? there's also a "Input File Combining" section in the man
>>>> page...
>>> ah!  I'll look into that tonight.  thanks for the tip!
>>>
>>
>> HA! I did it! It took me 5 days to learn enough python and sox, but I
>> did it! It has worked so far for me, but it's very experimental (it's
>> my first non trivial python program). I wouldn't be surprised at all
>> if it didn't somehow work...
>>
>> if you have python installed, you shold be able to run it with
>> ./audiocollage.py dir1 dir2 dir3 ...
>> or
>> python audiocollage.py dir1 dir2 dir3 ...
>>
>> where dir1 etc. are the directories containing mp3's. Unfortunately I
>> wasn't able to make it go check recursively.... any ideas? BTW it will
>> catch only .mp3 files, not .MP3 or other
>> it will then ask for an ouput file, you can type
>> file.ext
>> where file is the name you want for the collage and ext can be mp3,
>> ogg,wav...anything sox supports
>>
>> oh obviously you need sox installed
>>
>> I think that's all, it's been great fun writing it and using it (I
>> love how much music goes in 3 minutes), hope it's usefull
>>
>> have I said I'm very proud of myself?
>>
>> renato

-- 
David
gnome@xxxxxxxxxxxxx
authenticity, honesty, community
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux