Jon C
unread,Mar 26, 2012, 3:11:41 AM3/26/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to FLEx list
I'm putting together a sample FLEx project (based on Lexique Pro's
Bambara sample) that I hope to export to LIFT and use for testing a
prototype flash card tool. But I'm a little uncomfortable setting up
the audio fields. So, partly, I'd like some advice. And partly, I hope
the developers will consider improving the file path features some
more. (I'm testing with FW 7.2.2, BTW.)
Ok, my current goal is to extract up to two audio filenames and one
picture filename from each entry, and generate flash cards:
- one sound recording of the lexeme form's pronunciation (pulled from
an entry field/object)
- one sound recording of the first example sentence (pulled from the
first sense that has an example)
- one picture (pulled from the first sense that has a picture)
- (I'll also include some content from plain-text fields, of course.)
PROBLEM 1: WAV only. To keep the sample files small, I recorded the
audio clips as MP3 files. But FLEx then required me to convert them to
WAV before I could use them. People who use digital recorders often
end up with other formats than WAV (typically MP3?), so this will be
an obstacle for them, and for anyone who can't afford the bandwidth
and disk space WAV requires.
To add recordings to an example sentences, I first created an audio
"writing system". (BTW, WeSay now calls these "input systems", which
is quite intuitive.) Then I used shift-click to link that file to the
audio input system of an example sentence. This worked, but...
PROBLEM 2: FLEx made a *copy* of my file (biriki.wav) and gave it a
less-friendly name, based on a guid, presumably (634683385012656250A
LexExampleSentence.wav). For people who have collected lots of data
outside of FLEx and want to bring it in, I really doubt this is what
they would want. (Are there compelling reasons? If one reason is
enforcing uniqueness, doesn't the file system already do this?) FYI,
clicking X to delete the audio deletes the linked file, so at the
moment it only deletes the copy that FLEx made.
The audio for examples was the hard part. Inserting images into senses
was easy. FLEx stores an absolute path in the Picture-FileName
field(s) and leaves the filenames as they were--and doesn't make a
copy. This is quite nice, although the system seems too rigid to me.
PROBLEM 3: Pictures are stored using absolute paths, and these cannot
be edited (neither by hand nor by bulk edit). So, the files can't be
moved around on the hard drive, right?
My dilemma now is where to store the audio for the Lexeme Form's
pronunciation. The old way, is to store it under Pronunciation in the
Media File field. (Rigid, but nice and clean, like Picture.) But with
the advent of audio input systems, maybe Media File is somewhat
obsolete? That is, storing it in an audio input system of a field like
Lexeme Form is the newer way. And, of course, it would be nice to be
consistent with the way I'm storing example sentence audio.
Any suggestions?
BTW, I really like the fact that under the hood, the new solution can
handle both relative and absolute paths, and either forward slashes or
backslashes. These paths can't be hand-edited (yet?), but they *can*
be bulk-edited, so it is possible to move the files around if you're
comfortable with bulk edit and basic regex. (Not sure if we're really
'supposed to' do this, though. E.g. I suspect FLEx can only auto-
backup the media files stored under LinkedFiles.)
Jon