|
What ?? What do you mean by drawing ?? A audio file is just a file that contains binary data, you cannot "draw" something in it.
Could you elaborate please ?
|
|
|
|
|
i mean how can i show waveform in audio files.
|
|
|
|
|
Well, you don't give a lot of explanation, do you ?
I suppose that you want to extract the data which is in an audio file and display it on the screen, is that correct ?
Where are you stuck exactly, what did you already tried, which kind of audio files are you talking about ?
|
|
|
|
|
how can i tell u that,
i m sending u a link just chk it n the image on this link.
http://www.codeproject.com/KB/audio-video/waveeditBydswigger.aspx
i want this type of wave form in my audio file like MP3.
thanks n regards.
|
|
|
|
|
This is going to seem a bit complex...
You link to an article that has a picture of a program drawing the contents of an audio file to a window (ie, HDC).
The article has a download source link.
Have you tried reading the source to find out how it was done for that program?
Iain.
|
|
|
|
|
i read the article but in this article he use active x control but i have no knowledge of active x control.
i want help to show wave form in simple visual c++ 2005 code.
thanks
|
|
|
|
|
I saw previous your answer but I dont remember it was of Examples MSDN or codeproject.
|
|
|
|
|
it means u dont go thru the link
|
|
|
|
|
I think I saw one years ago or more it could shows wavelength and intensity of audio and avi files.
|
|
|
|
|
i m sending u a link just chk it n the image on this link.
http://www.codeproject.com/KB/audio-video/waveeditBydswigger.aspx
in this aryicle he used Active x control but i hv no knowledge of Active x control.
so can u tell me cow can i show wave form of audio file with the use of simle code.
i want this type of wave form in my audio file like MP3.
thanks n regards
|
|
|
|
|
You can learn ActiveX I guess its not hard for you .
|
|
|
|
|
|
Tell us what u want to do?
|
|
|
|
|
I have one table in an Oracle Db.. I want to access that DB in my application so for that i want to create one class. When i m trying to creat enew class using CDaorecordset as base class. I m not getting Table name to select under "SELECT DATABASE TABLE" dialogue.
Did u get me??
Could you please help me now?
megha
|
|
|
|
|
Hi megha,
Did you to first create the DSN for that Recordset??? And after that you may use RFX and DDX for exchanging data.
|
|
|
|
|
Hi alok,
I have created DSN Name. On class view when i clicked on new class and selected CRecordset (as baseclass) -> selected ODBC -> and in List box DSN which i have created -> after entering pasword clicked on OK -> then it should display list of tables for which i need to make a class but it not showing that table at all...
|
|
|
|
|
Hi megha,
First we will have to see whether you have successfully established the connection with your Oracle. For This :-
1. Test your connection to Oracle by opening a DOS Prompt and typing tnsping rep
2. The result should say "OK" at the bottom. Any failure to connect most likely indicates a problem with the sqlnet.ora file on the system. Replace the sqlnet.ora and tnsnames.ora files in C:\oracle\ora92\network\ADMIN.
|
|
|
|
|
there is a string represent time like this:
Mon, 17 Dec 2007 08:36:48
How can I format this string into a CTime object or some other internal time structure?
I've written a function to translate this string into a CTime, but I still wonder is there some library function can do this for me?
Thank you!
A Chinese VC++ programmer
modified on Tuesday, January 15, 2008 3:43:55 AM
|
|
|
|
|
See here[^] for low level time string formatting stuff. To go the other way you'll probably have to roll your own based on sscanf, shouldn't be difficult as long as you're only accepting a well known fixed input format, otherwise you're going to need a parser and that's more complex.
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
Yes, my own code is based on sscanf, and the string format is fixed like the sample above.
strftime, wcsftime, _strftime_l, _wcsftime_l these functions format tm to string, but what I want is formating string to tm or CTime object.
Thanks!
A Chinese VC++ programmer
|
|
|
|
|
Try this
COleDateTime class to format the Time/Date.
i think this will help you.
|
|
|
|
|
And it can also parse a string representing time. Good hit, indeed.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
can any one tell me how to draw .tga file on device context
by using win32 api .
|
|
|
|
|
you'll need to find some code to parse the TGA into a DIB (Device Independent Bitmap).
|
|
|
|
|
how can I parse it can you give some hint using win32 api
|
|
|
|