[Asterisk-Users] New sounds also now in CVS
Troy Settle
troy at psknet.com
Mon Jan 19 05:46:46 MST 2004
How about a hashed directory structure? Something like this would be
easily human and machine readable. This can also be an opportunity to
lay the groundwork for internationalization.
Numbers and digits would have their own directories, as would the demo
phrases, agent and voicemail sounds.
.../sounds/en/o/n/on.gsm
.../sounds/en/days/1.gsm
.../sounds/en/months/0.gsm
.../sounds/en/numbers/h-19.gsm
.../sounds/en/numbers/2.gsm
.../sounds/en/t/h/thousand.gsm
.../sounds/en/numbers/4.gsm
.../sounds/en/a/t/at.gsm
.../sounds/en/numbers/7.gsm
.../sounds/en/numbers/40.gsm
.../sounds/en/numbers/6.gsm
.../sounds/en/letters/a.gsm
.../sounds/en/letters/m.gsm
.../sounds/en/t/r/troy.gsm
.../sounds/en/w/r/wrote.gsm
(sorry if I'm a little off from when I actually press the send button
:D)
--
Troy Settle
Pulaski Networks
http://www.psknet.com
866.477.5638
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of
> Mindworks Wireless
> Sent: Monday, January 19, 2004 1:53 AM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] New sounds also now in CVS
>
>
> Is probably not the best way to handle it, but you could
> store all sounds
> in one directory and then create another directory that has
> subdirectories
> like weather. The items that are most frequently used would then be
> symlinked to the original sound directory. Just another way
> of organizing
> it. If someone wanted a sound to be included in the
> sub-directory, they
> could easily do a ln -s...
>
> Brent
>
> On Sun, 18 Jan 2004 dpobanz at hastingsutilities.com wrote:
>
> > ...
> > Quoting John Todd <jtodd at loligo.com>:
> > >
> > > As to the specifications of directories for sounds in certain
> > > groups: yes, I think that is a good idea, but I am unsure how to
> > > implement it. Mark and I touched on that last night
> while adding the
> > > sounds to the CVS server, but I told him not to create a
> separate
> > > directory for weather terms because it would be difficult
> splitting
> > > the sounds into categories, which is perhaps only
> laziness on my part.
> > > I thought that in the future it would be difficult to
> determine
> > > what words should be put in their own directories versus
> what words
> > > should be moved to the "main" directory. As an example,
> if one were
> > > to do a network monitoring list of sounds (which,
> actually, I have
> > > had Allison already do now that I look at my archives)
> then a partial
> > > list of sounds would be "up", "host", "down", "dns" and
> "ping". The
> > > terms "host" and "ping" clearly should be in a directory with
> > > monitoring sounds. But... where would "down" go? It's generic
> > > enough that it should really go in the main directory.
> However,
> > > it's specifically a part of the monitoring sound set. So
> where does
> > > it go? I couldn't come up with an answer on this, so I
> just ignored
> > > the question for now. :-) Opinions welcome.
> >
> > It will probably be impossible to divide audio clips into different
> > directories without duplication of clips or massive
> headaches determining
> > direcories. My suggested method of handling this is to have
> all of the sounds
> > in one directory and create multiple indexes. Each index
> would have listed all
> > words/phrases for the topic. For example all weather terms
> would be placed in
> > a "weather" index. Any phases needed for weather would be
> in here even if it
> > appears in other indexes such as a "time" index or a
> "monitoring" index. The
> > index would point to the actual audio clip of this common
> directory.
> >
> > The index for each topic could be a text file with a list
> of phrases with
> > their corresponding file name. So there would be as many
> files (indexes) as
> > catogories (ie Weather, monitoring, etc). When an audio
> clip was added it woud
> > be added to one or more of these index files.
> >
> > We use a similar method on our intranet for indexing pdf
> files of USDS sheets.
> >
> > :|
> > Upon further thought, perhaps an index could include
> another index. The index
> > for "numbers" comes to mind since almost all of the others
> may include this
> > one. Would we really want to repeat all of the numbers in
> an index?
> >
> > Anyhow, maybe I am just talking myself into a corner.
> >
> > Take the suggestion just as a point for further discussion.
> >
> > >
> > > JT
> > >
> >
> > --
> > Don Pobanz
> >
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list