"Popular" is said to be: "16-bit Delphi 1.0 and 32-bit Delphi2.0, 3.0 have provided the resourcesCompiler tool, where Delphi 1.0 resource compiler is called Brcc.exe,delphi 2.0 Resource CompilerCalled BRCC32.EXE to compile a 32-bit resource, all resource compilers provide only command-line versions.The Windows version is not available. Creating a resource typically takes the following steps:1) write. RC file .. The RC file is the source file of the resource, and the compiler compiles the file to
WAV is a lossless sound file under Windows, the file holds the audio PCM information and the player plays that music when most information is made, he has two blocks, the first block is the format block, the second block is the data blockFirst, the format block, the format block with a picture can be explained, as followsUsing Winhex to analyze a WAV audio file, Han Lei's farewell message is as followsBy co
value is the number of channels × the data bit value per sample/8. The playback software needs to process multiple bytes of data of this value at a time to adjust the value for the buffer zone.
22 h
2
The number of data digits of each sample, indicating the number of data digits of each sample in each channel. If multiple channels exist, the sample size is the same for each channel.
24 h
4
Char
DATA tag "data"
28 h
Another product of the company, when monitoring CTI, the recording format is PCM.To play in IE, You need to convert it into a standard WAV. previously, I used a com library for conversion. Now I can't use that library for various reasons (64-bit support is not good), So I implemented it in Java. The basic code is as follows.In fact, WAV is only a PCM file with the relevant file header and description inform
The format of the wave file in the wav file header: 00 h 4 char "riff" flag
04 H 4 long int file length
08 H 4 char "wave" flag
0ch 4 char "FMT" flag
10 H 4 transition byte (optional)
14 H 2 int format category (10 h is PCM sound data)
16 h, 2 int channels, 1 single channel, 2 dual channels
18 h 2 int sampling rate (number of samples per second), indicating the playback speed of each channel,
1ch 4 long int waveform audio data transmission rate. The v
Dat data format 5A 5A 5A xx (frame header) the frame header is followed by the first ad Channel 1 data (2 bytes), the second Ad Channel 1 data (2 bytes), and the first ad Channel 2 data (2 bytes ), the second AD Channel 2 data (2 bytes ),......... The first ad Channel 6 data (2 byte) and the second Ad Channel 6 data (2 byte ). I extracted the first ad Channel 6 data. Then convert it to 16 bit, and then-32768 to positive and negative signals, because ad collects 0-5 V signals, minus 32768 to conv
Php converts a wav file into an image file and displays it on the page,
This example describes how php converts a wav file into an image file and displays it on the page. Share it with you for your reference. The specific analysis is as follows:
Requirement: convert a wav file to a png file and display it.
Wav_To_Png.php:
As follows:
I hope this article will he
Problem
You want to have a method for playing sound quickly. Solution
In xna3.0, you can directly load and play sounds from xNa without loading them using xact. Although this method removes some advanced xact functions, it makes playing sound very easy. Working Principle
First, add a sound file to the project. The method is the same as adding an image to the project. For more information, see tutorial 3-1. The simplest solution is to drag a .wav fi
To convert audio files in WAV format to MP3 format, there is no need to find a special format conversion tool. It is not that complicated. Your computer has a ready-made tool, this is the "recorder" in the Windows attachment. Using this tool, you can easily convert the WAV format to the MP3 format. The procedure is as follows:Choose Start> program> attachment> Entertainment> recorder, open the recorder prog
How Python uses Wxpython to open and play WAV files
This article mainly introduces Python using Wxpython to open and play wav files, involving Python operation of audio files related skills, need friends can refer to the
This example describes how Python opens and plays a WAV file using Wxpython. Share to everyone for your reference. The implementation methods
Another product of the company, when monitoring CTI, the format of recording is PCM.In order to be able to play in IE, you need to convert to a standard WAV. Used to be a COM library to do the conversion, now for a variety of reasons can not use the library (64-bit support is not good, etc.), the implementation of a java. The basic code is as follows.In fact, WAV is only PCM file plus related file headers a
Mcisendstring is an API command used to play multimedia files. It can play MPEG, Avi, WAV, MP3, etc. Here we will introduce 1.Usage:1. Open a multimedia file.First, put a picture control on the dialog, and mcisendstring plays multimedia files on the plane of the picture control,Set the picture Control ID to idc_static1:Cstatic * pstatic = (cstatic *) getdlgitem (idc_static1); hwnd H = pstatic-> getsafehwnd ();Cstring open1;Char Buf [256];Open1.format
, beginners are gradually familiar with Quartus II, systems builder, niosii eds, aveon bus slave, and aveon bus master.
(Original) how to build a system that can run μC/DE2-70 on the OS-II with the system? (SOC) (Quartus II)(Original) how to design a seven-segment controller? (SOC) (Quartus II)(Original) how to design an SD card WAV player? (SOC) (Quartus II)(Original) how to design a digital photo frame? (SOC) (Quartus II)
(This tutorial is taken
How can I play a wav-file from memory or blob-field?Sometimes you needs to play a some sounds from own app but store these sounds in blob-field of table or in some external files.
To play a wav-file you must call the playsound procedure which have the few parameters-sound (which you want to play ), handle of file with resource (only for WAV from EXE/DLL-file) a
usingSystem.Runtime.InteropServices;//put WAV Public Partial classFrmmain:form {System play music wav MP3 [DllImport ("Winmm.dll")] Public Static extern BOOLPlaySound (stringPszsound,intHmod,intFdwsound);//play Windows music, Reload PublicFrmmain () {InitializeComponent (); } //enter the system to play music Private voidM_systemplaywav (stringstrplayfile) { Try {
PHP implements the method of converting a WAV file into an image file and displaying it in a page.
The examples in this paper are the methods that PHP implements to convert WAV files into image files and display them in a page. Share to everyone for your reference. The specific analysis is as follows:
Requirements: Convert WAV files to PNG files and display them
WAV files are resource Interchange file formats (RIFF), including a number of named blocks that contain header information, such as a sound sampling format, or data (such as the sample itself). The Win API provides functions such as turning off Fiff files, finding blocks, and so on. The names of these functions begin with "Mmio".
The DirectSound API does not include methods for writing WAV files. However,
This uses FAAC to implement AAC encoding. In addition, the data segment of WAV is PCM, the code will appear many PCM abbreviations. 1 Download and install FAAC
The installation process here is implemented on MAC and Linux, and windows can be similar to the reference.
wget http://downloads.sourceforge.net/faac/faac-1.28.tar.gz
tar zxvf faac-1.28.tar.gz
cd faac-1.28
. Configure
make
sudo make install
If prefix path is used in the default configure, t
Windows mCi (media control interface)
Yes
Windows
Provides high-level and general control over multimedia devices.
. It provides a set of device-independent functions and
Command to effectively control multimedia devices.
By using MCI, we can easily perform operations on multimedia without having to understand the working principle of multimedia devices and call the underlying function library, which greatly reduces the difficulty and burden of development. Here is a small example of a
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.