Giter Club home page Giter Club logo

ketech-llpa-announcements's Introduction

ketech-llpa-announcements

  • segs/ contains the raw data from the FOI to Irish Rail
  • wavs/ contains decoded audio from the .seg files
  • mp3s/ contains the decoded audio in MP3 format for wider compatibility and lower file size

Contents

Each of the above folders contains various voice packs supplied or managed by KeTech.

The most well-known are likely Phil Sayer and Celia Drummond due to their extensive coverage of the UK railway network during their time as announcers for the KeTech, Amey and Ditra customer information systems.

Folder name Common name
Male1 Phil Sayer
Male3 and default Michael Comyn (Irish Rail)
Female1 Celia Drummond
Female2 Alison McKay (ScotRail)

Transcriptions

We're currently working to transcribe all announcements within CSV files in this repository, starting with Phil Sayer (Male1).

This is a mammoth task, and takes some time. The hope is that, with one voice transcribed, the IDs of other voices' audio snippets, or at least Celia's, will predominantly match Phil's.

You can see the current progress here.

Decoding .seg files

A kind user on RailForums managed to work out a method of decoding the "proprietary" format.

On Debian/Ubuntu:

sudo apt install sox
find -iname "*.SEG" -exec bash -c "tail -c +48 '{}' | sox -t raw -b 8 -r 16000 -e a-law -X - '{}.wav'" \;

This command:

  1. Iterates over every .SEG file
  2. Provides the content of each file, skipping the first 48 bytes, to sox
  3. sox then converts the audio into a more widely used .wav format

Converting to mp3

On Linux:

sudo apt install parallel
find "$(pwd)" -type f -name "*.wav" | parallel 'ffmpeg -y -hide_banner -loglevel error -i "{}" -q:a 0 "$(dirname "{}")/$(basename "{}" .wav).mp3"'

Renaming files to remove .seg/.wav

On Linux:

sudo apt install rename
rename 's/\.SEG|\.seg//' *
rename 's/\.WAV|\.wav//' *

ketech-llpa-announcements's People

Contributors

davwheat avatar purplefoxdigital avatar imarkeh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.