Giter Site home page Giter Site logo

forecast-gen's Introduction

forecast-gen

A simple python system to generate products similar to NOAA Weather Radio and others.

How to use

Edit the variables listed under the setup comment in start_system.py.

(Forecast zones & observation stations can be found here: https://api.weather.gov/offices/your_office_here)

Once those are all set up, simply run start_system.py in python. This will generate a fully-formatted text product in speech.txt.

If needed, you can edit some of the functions in main.py to suit what you want to output into the file in terms of formatting.

TTS Setup

Any forecast-gen version starting from 0.2.0 supports TTS functionality.

Software

Forecast-gen uses a software called Balcon to read off the text file generated from running start_system.py. As for voices, any SAPI 5 voice should work perfectly fine with the software above. If you're looking for a voice to start off with, you could try the voices from the MS TTS Pack, or the SAPI 5 voices that come included in Windows 10.

Running SAPI 5 voices through WINE (Linux, macOS)

Note: Most of these instructions are for Linux, as I don't use macOS

Under the assumption that you have already installed WINE and winetricks through your package manager of choice, create a 32-bit wineprefix so you can run Balcon, and then run winetrick speechsdk in your terminal. Once those are done, run wine balcon -l in the directory where Balcon is in, and it should list off some voices, by default speechsdk installs Microsoft Sam, Mike, and Mary.

Notes

The software for TTS support on Linux, as well as the software for using the voices in a Linux terminal, will not work on ARM operating systems such as Raspbian or Arch Linux ARM.

[22/05/2019] I've decided that I might eventually remake the CRS system at some point, whether it be in python or some other language. This will come with DECTalk as a standalone voice, but if you have the right voices (RealSpeak Tom, AT&T Crystal & Mike) those can be enabled as well.

forecast-gen's People

Contributors

mewtek avatar

Watchers

James Cloos 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.