TIMIT in a class

So I wrapped TIMIT into a class. You can use it as you see fit.

I haven’t added any preprocessing (centering, normalization,  wavelets, Fourier transform, LPC…). (EDIT: I use however the segment_axis function used by João here to cut the sequence into frames, copy this file in your Python path.)

This class is using a reduced set of phonemes, as the same phoneme can be written (and is written) in multiple ways (mentioned here).


12 thoughts on “TIMIT in a class

      1. Am I right to interpret that dictionary as saying that for example all of the following correspond to h#:
        ‘tcl’, ‘pau’, ‘gcl’, ‘pcl’, ‘dcl’, ‘kcl’, ‘bcl’, ‘q’, ‘epi’

        Some of them do look quite different when written down!

        Anyway, my question was where did you find this information? From an online resource?

      2. I used Yann Dauphin dictionary. But by looking at some sentences and the duration of the phoneme, it does not shock me that. However, it is to be checked in more detail once again.

  1. This is great! I am writing some functions to create frame views for a sentence (given arbitrary frame size and frame skip) and I think making it compatible with your class (or maybe adding that functionality directly to your class) is going to make everyone’s life easier. I still have some testing to do but it will be available soon in my GitHub repo.

Leave a Reply to João Felipe Santos Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s