How can I use Delphi to read and display the waveforms of WAV Files? Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiMultimedia/html/delphi_2006121811054652.html
When audio editing software displays wav files in a graphical form on the main interface, how can we use Delphi or how can we read data?
Has no one studied this problem?
Is the score too small?
Can you help me find a solution?
Bangdi
I recorded audio in the past few days, but the files are huge. The mobile phone space is limited to 1 GB, And I suffer from no money.
After searching on the Internet, we can convert wav to the map3 format. We all know that map3 is much smaller. It turns out that this good tool has been around me and we use the built-in "recorder" of the system ", open "start" -->"Program"-->" Entertainment "--->" recorder ".
1. Open a file named "Recording 12.
Wav. h
// Name: WAV. h
Wav_file_formate.c
// Name: wav_file_formate.c
Compile wav_file_formate.c
Yuan @ Yuan :~ /Work/test/wav_file_formate> gcc-O wav_file_formate wav_file_formate.c
Run the program to read rawdata from the file test.g711and pack it into the file test.wav.
Yuan @ Yuan :~ /Work/test/wav_file_formate>./wav_file_formate test. g711 test.wav
Generate the test.wav file, which can be opene
This article describes the PHP implementation of the WAV file into the image file and display in the page method. Share to everyone for your reference. The specific analysis is as follows:
Requirements: Convert WAV files to PNG files and display them.
wav_to_png.php:
?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Wednesday, September 24 2003 PM when an event is completed, the program sends a specific signal to add the user interface features of the program, such as when the download is completed or a command is selected. Using a multimedia function and using a vbprogram to run WAV files is a breeze. However, the system must install a sound card for this operation.The API function you need is called PlaySound. The following is the declaration of this function:P
Wednesday, September 2003 1:24 PM when a certain event is completed, the program sends a specific signal to increase the user interface characteristics of the program, such as when downloading is complete or when a command is selected. The use of a multimedia function, through a VB program to run WAV files is an easy thing. However, the system must install a sound card for this operation.
The API function you need is called PlaySound, and the followin
Based on the analysis of the FLV format in the previous article, the FLV format includes file header and file body. Therefore, you can define file header and previous tag size #0 as follows:
Const static unsigned char flvfilehdr [] = {0x46, 0x4c, 0x56, 0 x, 0 x, 0 x, 0 x, 0 x, 0 x, 0 x, 0 x, 0x00};
The file body consists of the tag header and tag data. Therefore, the tag header can be defined as follows:
Unsigned char flvtaghdr [] = {0 x, 0 x, 0 x, 0 x, 0 x, 0 x, 0 x, 0 x, 0 x, 0 x, 0x00};
Note:
First, map to see the effect:
Supported
Audio Playback in WAV format starts from API. You can perform any skin replacement on the player. You can select your favorite image for skin replacement.Resource usage is extremely small and installation-free. The interface is implemented using an "interface control skin library". You can download the latest version of "interface control skin library" in my resource list, I will keep updating this
Play multiple audio parts sequentially in Java, instead of playing simultaneously. The code is as follows: listThis I play in the local no problem, put on the server will be error:Java.io.ioexception:mark/reset not Supportedat Java.util.zip.InflaterInputStream.reset (Unknown Source) at Com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream (Unknown Source) at Javax.sound.sampled.AudioSystem.getAudioInputStream (Unknown Source) at Com.yulong.mes.winapp.form.quality.forbatchope
Using System; Using System.IO; Using System.Text; Using System.Windows.Forms; Using System.Runtime.InteropServices; namespace TRAIN.WAV2PCM {public partial class Frmmain:form {///
There is nothing to do today, write a wav "= =" PCM file conversion program. Let's announce that we learn together. The PCM file is not played and is not known to be successful. only when studying.
WAV audio files
Chess Boy 1048272975
WAV is a file format for saving audio information that is widely used in Windows and its applications, and today the mainstream audio player supports the playback of WAV audio files. 1. WAV Audio Format
WAV is the standard Windows file f
1 Perl script
On the Peking University Chinese forum, a netizen asked how to play the PCM data from the end. I used to encounter 8 K sampled PCM data at work. At that time, I was not clear about the wav file format. The Perl module has an audio: WAV module that can write wav files, a Perl script is written:
use Audio::Wav
Use WAV data
In a Windows Driver Model (WDM), The directsound hardware buffer can play any uncompressed or compressed sound formats which can be described by a waveformatex or waveformatextensible structure and supported by hardware. The software buffer and non-WDM hardware buffer only support 8-bit and 16-bit uncompressed formats.
Waveform (WAV) data is usually stored in files or resources in the Resou
Recent work needs, to the WAV file stored in the Audio information analysis processing. So it took some time to collect the methods of processing WAV files in various mathematical softwares. Matlab
Matlab is the most convenient. Even without writing any code can read WAV file (I use the MATLAB 7.1). Double-click the WAV
Find the uda1341 driver on the internet, compile it into the uda1341.ko module, and open the Kernel configuration menu.Device Drivers --->Sound --->Make modules generates the soundcore. Ko module. Load the two modules to play the audio.
After carefully reading the uda1341 driver, we found that only 16 bits of audio can be played.Convert to dual-channel when copying to the driver. Therefore, we recommend that you select 16-bit dual-channel WAV audio.Fi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.