User Profile
Collapse
-
i m working on embedding a text message in a wav file. To do it we have to first read the audio file(wav) , there is method a read() to read the file and a method write(b) to write a audio file where b is a byte having some data.
Here is the code
Code:public void messagencode(String message,File file) throws Exception { len= message.length(); char chmess[] = new char[len]; message.getChars(0,len,chmess,0);
Leave a comment:
-
i m working on embedding a text message in a wav file. To do it we have to first read the audio file(wav) , there is method a read() to read the file and a method write(b) to write a audio file where b is a byte having some data.
Here is the code
Code:public void messagencode(String message,File file) throws Exception { len= message.length(); char chmess[] = new char[len]; message.getChars(0,len,chmess,0);
Leave a comment:
-
audio file problem
hello !
i m reading a wav file by int b=ins.read(); and writing b on other wav file by
outs.write(b); in a loop until b==-1
where
InputStream ins = new FileInputStream ("C:/audio.wav");
OutputStream outs = new FileOututStream (new File("c:/audio1.wav"));
its playing
but when i write something to output file in byte form having some value from my own it does not play... -
-
-
what do u mean by accessing a file.do u mean inputfilestream (file)?Leave a comment:
-
accessing bit of a audio file wav or mp3
hello! i m developing a program "audio steganography" which hides a text message in a audio file like wav or mp3. i want to access bits of this audio sample of this file. how can i do it?? -
Yeah. I implements Serializable in all the elements also in the superclass.Leave a comment:
-
serializing arraylist
hello! I serialize a arraylist & it hv been saved to harddisk but when i load it i found null in that arraylist, but no of elements in this arraylist is saved > 0.
can anybody tell me what is the problem??????/ -
I was meant to say that there is method setCloseDefault CloseOperation( DISPOSE_ON_CLOS E); ie. when we click close at right top it closed.My ques. was how can it be done by keyevent??????
i couldn't find any solutn.. Please..Leave a comment:
-
where i can find this article on serialization?? ?
can u give a link to it?????Leave a comment:
-
about keylistener
there is method JFrame.setDefau ltCloseOperatio n(DISPOSE_ON_CL OSE);
ie. when we click at close button of the JFrame this methos is called.
How can it be implemented using keyevent??????? ?/ -
I was meant to say that there is method setCloseDefault CloseOperation( DISPOSE_ON_CLOS E); ie. when we click close at right top it closed.My ques. was how can it be done by keyevent??????Leave a comment:
-
-
How to save a game status in a file????
Hello frnds! I hve written a game in java & it is completed except saving & loading, ca anybody tell me how can i save a game status in a file ????? -
closing one JFrame without closing the application
Hi ! I want to know that how I can close one JFrame without exiting the program when two or more JFrame are being used ?????? -
Removing a text written over a background image
Hello freinds ! I am writing a code for a simple shooting game. But a problem occur that I could not remove a message written over a background image
How can I remove it without any change in background????? ??????? -
-
what is a bufferstrategy()??
I want to know what is a bufferstrategy & why we use it????????
No activity results to display
Show More
Leave a comment: