Guidance
指路人
g.yi.org
software / rapidq / Examples / Audio & Video / Qmp3 / Qmp3.htm

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Qmp3 Component

Qmp3 Component

I took inspiration from the "info.bas" file by grog, and the mp3 example from sm0oth2003.

Features:
- Read header info
- Read / write id3 tags ver 1.x
- A combobox for genre selection
- Play (and stop...) mp3 file

 

Qmp3 Properties

Field

Type

R/W

Notes

Support






Filename

STRING

RW

 

W

Title

STRING

RW

 

W

Artist

STRING

RW

 

W

Album

STRING

RW

 

W

Year

STRING

RW

 

W

Comment

STRING

RW

 

W

Track

BYTE

RW

 

W

Genre

STRING

RW

 

W

Genreid

BYTE

RW

 

W

GenresList

QSTRINGLIST

R

Used internally (do not touch if you don't know what you're doing)

W

GenresCB

QCOMBOBOX

RW

Be sure it has a parent before any action !!

W

Alias

STRING

RW

Alias used for MciSendString (generated automatically)

W

** Header Info **

Version

STRING

R

 

W

Layer

STRING

R

 

W

Protection

STRING

R

 

W

Bitrate

INTEGER

R

 

W

Frequency

INTEGER

R

 

W

Padding

STRING

R

 

W

Channels

STRING

R

 

W

IntensityStereo

STRING

R

 

W

MS Stereo

STRING

R

 

W

Copyright

STRING

R

 

W

Original

STRING

R

 

W

Emphasis

STRING

R

 

W

 

Qmp3 Methods

Method

Type

Description

Params

Support






ReadTags

SUB

Reads id3 Tags

0

W

WriteTags

SUB

Writes id3 Tags

0

W

Loadlist

SUB

Loads genres list into GenresCB. Be careful... you MUST assign a parent to GenresCB before you use this function.

   

HeaderStart

Function

Looks for header start position. Used intenally(but someone could need it)

0

W

ReadHeader

SUB

Reads mp3 header info

0

W

Play

SUB

Should I explain it ?!?

0

W

Stop

SUB

Don't you know ?!?

0

W

Fitlength

FUNCTION (FitTag$, FitLen%)

External. Adds null characters to a text string until it reaches specified length. Cuts the string if the string length exceeds the specified length.

2

W

 

Qmp3 Events

Event

Type

Occurs when...

Params

Support






 None

       

 

Qmp3 Example

 

掌柜推荐
 
 
¥287.00 ·
 
 
¥790.00 ·
 
 
¥1,280.00 ·
 
 
¥790.00 ·
 
 
¥296.00 ·
 
 
¥288.00 ·
© Tue 2024-11-5  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2003-04-05 00:29:57