Roger Binns
2005-01-09 23:08:34 UTC
The ringers pane now identifies sound file formats and details.
Please post if you have any files it gets wrong. (The same
is true of images). The identification is based on the file
contents, not the name.
Note that other than MP3 it doesn't show the duration of the
file. For the QCP format, it is possible but requires some
detailed reading of the spec to work out (the files are variable
bit rate). For midi you have to examine all the notes in each track
and add them up and then find the longest. If anyone wants a nice
standalone task then doing either of those may be of interest.
The code is in fileinfo.py
I have also updated the todo list which is at
http://bitpim.org/todo.html
Roger
Please post if you have any files it gets wrong. (The same
is true of images). The identification is based on the file
contents, not the name.
Note that other than MP3 it doesn't show the duration of the
file. For the QCP format, it is possible but requires some
detailed reading of the spec to work out (the files are variable
bit rate). For midi you have to examine all the notes in each track
and add them up and then find the longest. If anyone wants a nice
standalone task then doing either of those may be of interest.
The code is in fileinfo.py
I have also updated the todo list which is at
http://bitpim.org/todo.html
Roger