91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 4.68MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-28
  • 語言: 其他
  • 標簽: 哼唱檢索??

資源簡介

哼唱檢索是基于旋律內容的音樂檢索,指用戶通過唱出歌詞或者哼出歌曲旋律作為輸入檢索數據,從旋律數據庫中檢索相對應音樂的檢索方法;相對于傳統的基于文本的音樂檢索,哼唱檢索給用戶提供了更便捷友好的查詢方式,不僅可以作為基于文本的音樂檢索一種有益補充,而且還能帶來更佳的用戶體驗。

資源截圖

代碼片段和文件信息


#include?
#include?
#include?
#include?“midifile.h“

/*
?*?Data?Types
?*/

struct?MidiFile
{
int?file_format;
MidiFileDivisionType_t?division_type;
int?resolution;
int?number_of_tracks;
struct?MidiFileTrack?*first_track;
struct?MidiFileTrack?*last_track;
struct?MidiFileEvent?*first_event;
struct?MidiFileEvent?*last_event;
};

struct?MidiFileTrack
{
struct?MidiFile?*midi_file;
int?number;
long?end_tick;
struct?MidiFileTrack?*previous_track;
struct?MidiFileTrack?*next_track;
struct?MidiFileEvent?*first_event;
struct?MidiFileEvent?*last_event;
};

struct?MidiFileEvent
{
struct?MidiFileTrack?*track;
struct?MidiFileEvent?*previous_event_in_track;
struct?MidiFileEvent?*next_event_in_track;
struct?MidiFileEvent?*previous_event_in_file;
struct?MidiFileEvent?*next_event_in_file;
long?tick;
MidiFileEventType_t?type;

union
{
struct
{
int?channel;
int?note;
int?velocity;
}
note_off;

struct
{
int?channel;
int?note;
int?velocity;
}
note_on;

struct
{
int?channel;
int?note;
int?amount;
}
key_pressure;

struct
{
int?channel;
int?number;
int?value;
}
control_change;

struct
{
int?channel;
int?number;
}
program_change;

struct
{
int?channel;
int?amount;
}
channel_pressure;

struct
{
int?channel;
int?value;
}
pitch_wheel;

struct
{
int?data_length;
unsigned?char?*data_buffer;
}
sysex;

struct
{
int?number;
int?data_length;
unsigned?char?*data_buffer;
}
meta;
}
u;

int?should_be_visited;
};

/*
?*?Helpers
?*/

static?signed?short?interpret_int16(unsigned?char?*buffer)
{
return?((signed?short)(buffer[0])?<}

static?signed?short?read_int16(FILE?*in)
{
unsigned?char?buffer[2];
fread(buffer?1?2?in);
return?interpret_int16(buffer);
}

static?void?write_int16(FILE?*out?signed?short?value)
{
unsigned?char?buffer[2];
buffer[0]?=?(unsigned?char)((value?>>?8)?&?0xFF);
buffer[1]?=?(unsigned?char)(value?&?0xFF);
fwrite(buffer?1?2?out);
}

static?unsigned?short?interpret_uint16(unsigned?char?*buffer)
{
return?((unsigned?short)(buffer[0])?<}

static?unsigned?short?read_uint16(FILE?*in)
{
unsigned?char?buffer[2];
fread(buffer?1?2?in);
return?interpret_uint16(buffer);
}

static?void?write_uint16(FILE?*out?unsigned?short?value)
{
unsigned?char?buffer[2];
buffer[0]?=?(unsigned?char)((value?>>?8)?&?0xFF);
buffer[1]?=?(unsigned?char)(value?&?0xFF);
fwrite(buffer?1?2?out);
}

static?unsigned?long?interpret_uint32(unsigned?char?*buffer)
{
return?((unsigned?long)(buffer[0])?<}

static?unsigned?long?read_uint32(FILE?*in)
{

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????204800??2010-09-30?09:04??盛大語音創新院哼唱檢索開源軟件\bin\SDHBuildModel\SDHBuildModel.exe

????..AD...?????????0??2014-03-19?14:51??盛大語音創新院哼唱檢索開源軟件\bin\SDHBuildModel

?????文件?????128000??2010-09-30?09:04??盛大語音創新院哼唱檢索開源軟件\bin\SDHumming\0ef43554d_768.wav

?????文件?????182612??2010-09-30?09:04??盛大語音創新院哼唱檢索開源軟件\bin\SDHumming\QBHModel.dat

?????文件???????1144??2010-09-30?09:04??盛大語音創新院哼唱檢索開源軟件\bin\SDHumming\QBHModel.info

?????文件??????32387??2010-09-30?09:04??盛大語音創新院哼唱檢索開源軟件\bin\SDHumming\res.txt

?????文件????????711??2010-09-29?17:48??盛大語音創新院哼唱檢索開源軟件\bin\SDHumming\result.txt

?????文件?????????74??2010-09-30?09:04??盛大語音創新院哼唱檢索開源軟件\bin\SDHumming\run.bat

?????文件?????104448??2010-09-30?09:04??盛大語音創新院哼唱檢索開源軟件\bin\SDHumming\SDFuzzySearch.dll

?????文件??????65536??2010-09-30?09:04??盛大語音創新院哼唱檢索開源軟件\bin\SDHumming\SDHumming.exe

?????文件?????120354??2010-09-30?10:03??盛大語音創新院哼唱檢索開源軟件\bin\SDHumming\test.wav

????..AD...?????????0??2014-03-19?14:51??盛大語音創新院哼唱檢索開源軟件\bin\SDHumming

????..AD...?????????0??2014-03-19?14:51??盛大語音創新院哼唱檢索開源軟件\bin

?????文件??????35193??2010-09-30?10:51??盛大語音創新院哼唱檢索開源軟件\COPYRIGHT.txt

?????文件???????1164??2010-09-30?09:24??盛大語音創新院哼唱檢索開源軟件\demo\100Songs.txt

?????文件?????136192??2010-09-30?12:48??盛大語音創新院哼唱檢索開源軟件\demo\README.doc

?????文件?????119830??2010-09-30?16:44??盛大語音創新院哼唱檢索開源軟件\demo\README.pdf

?????文件????4422371??2010-09-30?16:25??盛大語音創新院哼唱檢索開源軟件\demo\SDHummingDemoSetup.exe

????..AD...?????????0??2014-03-19?14:51??盛大語音創新院哼唱檢索開源軟件\demo

?????文件????????374??2010-09-30?10:04??盛大語音創新院哼唱檢索開源軟件\lib\README.txt

?????文件??????36864??2010-09-29?21:20??盛大語音創新院哼唱檢索開源軟件\lib\win32\SDFuzzySearch.dll

?????文件???????2104??2010-09-29?21:20??盛大語音創新院哼唱檢索開源軟件\lib\win32\SDFuzzySearch.lib

????..AD...?????????0??2014-03-19?14:51??盛大語音創新院哼唱檢索開源軟件\lib\win32

?????文件??????25600??2010-09-29?21:08??盛大語音創新院哼唱檢索開源軟件\lib\win64\SDFuzzySearch.dll

?????文件???????2102??2010-09-29?21:08??盛大語音創新院哼唱檢索開源軟件\lib\win64\SDFuzzySearch.lib

????..AD...?????????0??2014-03-19?14:51??盛大語音創新院哼唱檢索開源軟件\lib\win64

????..AD...?????????0??2014-03-19?14:51??盛大語音創新院哼唱檢索開源軟件\lib

?????文件???????1164??2010-09-30?09:24??盛大語音創新院哼唱檢索開源軟件\model\100Songs.txt

?????文件?????182616??2010-09-16?00:19??盛大語音創新院哼唱檢索開源軟件\model\QBH.Model

?????文件???????3926??2010-09-14?18:57??盛大語音創新院哼唱檢索開源軟件\model\QBHModel.info

............此處省略32個文件信息

評論

共有 條評論