Как сделать ссылку на аудио дорожку ?

Gaffer

Guest
Как сделать ссылку на аудио дорожку ?

Добрый день.
Нужно записать сайт ансамбля на диск (что-то типа сд-визитки).
Если записать музыку в wav и положить в папку - проблем нет.
Но нужно сделать так,чтоб музыку можно было прослушать в обычном муз. центре - получается "mixed mode cd".
Как подружить аудио дорожки с html меню?


Сложность в том, что на диске, запмсанном в mixed mode аудио дорожки вообще никак не отображаются (из под windows). Папки есть а музыки...

Получается ссылка вникуда...

Заранее спасибо за помощь.

-~{}~ 01.03.05 11:05:

Кто знает, на каком языке(в какой проге) можно написать файл ".cda"(ссылка на трек)?

-~{}~ 01.03.05 18:44:

Кто подскажет, где можно найти скрипт плейера, который можно вставить в хтмл код?
Наверно это единственный способ.
 

Gaffer

Guest
Автор оригинала: MiRacLe
js activeX mplayer
Спасибо за ссылку, нашел скрипт.
Но Вопрос по прежнему НА КАКОЙ ФАЙЛ ПРОПИСЫВАТЬ ССЫЛКУ, чтоб аудио трек зазвучал?
.wav и .cda не прокатили

-~{}~ 04.03.05 18:17:

Ели кому нибудь нужно...


CDA music tracks file format
by Wojtek Kaniewski 1997

Note: Everything in this file is based on my own investigations.
All information that you'll find in this text file do not
come from Microsoft Corp.

CDA files are generally RIFF resources. The RIFF id of .CDA file is
"CDDA" (43h, 44h, 44h, 41h). They contain only one data block
called "fmt " (66h, 6dh, 74h, 20h). In current version of .CDA file,
this block is 24 bytes long. Here's structure of it:

Offset Length Description
00h 02h CDA file version. Currently equals 1. If it has
other value, following data may be out of date.
02h 02h Number of track.
04h 04h CD disc serial number (the one stored in CDPLAYER.INI)
08h 04h Beginning of the track in HSG format.
0Ch 04h Length of the track in HSG format.
10h 04h Beginning of the track in Red-Book format.
14h 04h Length of the track in Red-Book format.

As you see, time is represented in two formats: HSG and Red-Book.
HSG can be calculated as following:

time = minute * 4500 + second * 75 + frame

Red-book is much easier to use, because it contains minutes,
seconds and frames in unmodified form, byte-packed:

Offset Length Description
00h 01h Frame
01h 01h Second
02h 01h Minute
03h 01h not used

Now, I'll show you an example file. First part is a hex dump
of the file, the second is the explanation of the fields.

52 49 46 46 24 00 00 00 43 44 44 41 66 6D 74 20 RIFF$...CDDAfmt
18 00 00 00 01 00 04 00 B8 24 F6 00 F7 11 01 00 .........$......
B4 5C 00 00 0A 25 0F 00 20 10 05 00 .\...%.. ...

01 00 - first version of CDA file
04 00 - fourth track
B8 24 F6 00 - serial number of CD in CDPLAYER.INI is [F623B8]

F7 11 01 00 - begining of track in HSG format
B4 5C 00 00 - length of track in HSG format

0A 25 0F 00 - begining of track in Red-Book format (15:37)
20 10 05 00 - length of track in Red-book format (05:16)

That's all. It should be enough to write CDA Viewer If you need more
info or something isn't clear, feel free to write.

Wojtek Kaniewski
[email protected]

Найдено на http://www.4howto.com/showpost.php/id/722



И ещё:

MIME Type File Classification Associated Links :
application/x-cdf

Identifying Characters
Hex: 52 49 46 46 24 00 00 00 43 44 44 41 66 6D 74 20 18 00 00 00 01 00
ASCII: RIFF$...CDDAfmt

Это с http://filext.com/detaillist.php?extdetail=CDA


Фраза "application/x-cdf" - это случайно не то,что может мне помочь?
 
Сверху