Multimedia
Multimedia is media that utilizes a combination of different content forms.
Language
Any
Platform
Any
License
Any
there are different tools to solve your issue, one i know is FreeTTS
you can use the following class. the monthes are called by and index between 0 (for jan) and 11 (for dec). here is the code
import java.io.Console;
import java.util.ArrayList;
// this class...
static void MonthData()
{
if(months=="Jan"){
for(int i=0;i : ");
janItems=input.next();
if(janItems.length()==0){
return;
}
else{
System.out...
hi...i got the output..thanks for helping ..:-)..
now if i input the txt file the audio file is played...:-)
= 1 )
{//1
String ext =args.substring(args.indexOf("."));
System.out.println(ext);
if(ext.equalsIgnoreCase(".txt"))
{//2
File f = new...
filename is an object of java.io.File. ur constructor accepts string as u have defined in ur code
public MP3(String filename) {
this.filename = filename;
}
make this correction.
hi...
thanks for helping me .. The code u gave was the one i expected..it was very helpful..thanks..:-)
hi...
can u be more clear of what should be modified....im not able to understand your point..
sry..n thanks..
Should the filechooser func be called somewhere else..?? im not clear ..
is it possible to play any format of audio file with the same code. below i ve the code to play mp3 audio files. now is it possible for me to include code that would play wav files also..if so what...
am using freetts to convert text to speech. i followed the instructions given in the following site
http://onjava.com/pub/a/onjava/2004/09/08/IRCinJava.html
i compiled it and i didnt get any error....
Hey saran185,
u really don't need things like that u just add a button in ur jframe. and then call a function having File chooser code and pass the absolute path to ur file variable. that will...
Hi,
my application is to convert text to voice. if i open one text file, it should read the text file in audio speech form. please give me java code for doing this.i need to open a text file...
hi ...
i ve written a code that would highlight a word in text file when i keep my cursor on that word. I ve another code that uses a file chooser to select a text file and open it in the text...
nevermind figured it out: ('text')
I need help with the following code badly. This is able to display numerical values for the but I need it to display text. For example
Two
I own two or more chickens.
Here is the code...
/*
package javaapplication10;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import java.lang.*;
import java.io.*;
import java.io...
hi
ya i ve used jframe to open the text file in a textarea. i ve attached the code .. can u help me fixing it. this code highlights a selected line, but not a string. I want to highlight a...
we use interface when something in design will change frequently i.e we can change them in every implementation according our needs.
Abstract class can have default behavior.i.e code in methods....
Thanks so much. Perhaps you could explain the 'kbd' portion, why didnt you call it Scanner 'scan'? What does the 'throws java.io.IOException{ ' mean?
If you get time, it would help me learn....