This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Shell script - Reorganize TIMIT dataset and convert to WAV | |
| # ------------ | |
| # Reorganize TIMIT dataset into a simpler folder architecture | |
| # Move all files into 2 folders: TRAIN_ALL and TEST_ALL | |
| # Files will be renamed to (category_1)-(category_2)-(filename).wav | |
| # Batch convert TIMIT MIST files to WAV | |
| # Requires sox ($ sudo apt-get install sox -y) | |
| # Script must be placed in the TIMIT FOLDER, at the root, above TRAIN and TEST folders | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | [empty] | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | raise ValueError("DEPRECATED/FROZEN - see https://github.com/kastnerkyle/tools for the latest") | |
| # License: BSD 3-clause | |
| # Authors: Kyle Kastner | |
| # Harvest, Cheaptrick, D4C, WORLD routines based on MATLAB code from M. Morise | |
| # http://ml.cs.yamanashi.ac.jp/world/english/ | |
| # MGC code based on r9y9 (Ryuichi Yamamoto) MelGeneralizedCepstrums.jl | |
| # Pieces also adapted from SPTK | |
| from __future__ import division | |
| import numpy as np |