GithubHelp home page GithubHelp logo

ekansh52 / hacktoberfest Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 11.0 1.76 MB

Jupyter Notebook 91.08% C++ 1.81% C 0.54% Java 1.78% CSS 1.86% JavaScript 0.23% HTML 0.89% Python 1.42% Go 0.38%
hacktober hacktoberfest hacktoberfest-accepted hacktoberfest2020 hacktoberfest2021 hacktoberfest2023

hacktoberfest's People

Contributors

anuragbansal009 avatar chirag3110 avatar ekansh52 avatar eklavyadev avatar kashishch18 avatar krishna-0016 avatar loic5 avatar manan-webonise avatar mananchhabra avatar mehr14 avatar sanjaysushant avatar shashank-bansal avatar vinamra-sirohi avatar

Watchers

 avatar

hacktoberfest's Issues

Issue 1 - Text to Speech

import java.util.Locale;
import javax.speech.Central;
import javax.speech.synthesis.Synthesizer;
import javax.speech.synthesis.SynthesizerModeDesc;
public class TextToSpeechExample1
{
public static void main(String args[])
{
try
{
//setting properties as Kevin Dictionary
System.setProperty("freetts.voices", "com.sun.speech.freetts.en.us" + ".cmu_us_kal.KevinVoiceDirectory");
//registering speech engine
Central.registerEngineCentral("com.sun.speech.freetts" + ".jsapi.FreeTTSEngineCentral");
//create a Synthesizer that generates voice
Synthesizer synthesizer = Central.createSynthesizer(new SynthesizerModeDesc(Locale.US));
//allocates a synthesizer
synthesizer.allocate()
//resume a Synthesizer
synthesizer.resume()
//speak the specified text until the QUEUE become empty
synthesizer.speakPlainText("GeeksforGeeks", null);
synthesizer.waitEngineState(Synthesizer.QUEUE_EMPTY);
//deallocating the Synthesizer
synthesizer.deallocate();
}
catch (Exception e)
{
e.printStackTrace();
}
}
}

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.