1. 請問這首英文歌叫什麼名字
Nana
的Lonely
I
am
lonely
lonely
lonely
(我很孤獨)
I
am
lonely
lonely
in
my
life
(我的生活孤孤單單)
I
am
lonely
lonely
lonely
(我很孤單)
God
help
me
help
me
to
survive!
(神啊!幫助我生存下去吧)
Remember
first
time
we
met
day
one
(記得相遇的那天
?)
Kids
in
the
garden'
playin'
games
heaven'
fun
(孩子們在花園快樂的嬉戲)
Excitin'
and
amazin'
havin'
a
real
friend
of
mine
(多麼驚訝和開心我有一個真正的朋友)
Feel
my
heartbeat
and
for
(感覺當我遇到真正朋友時的心跳)
real
friend
of
mine
(我真正的朋友)
Face
to
face
and
eye
to
eye
(面對面,兩眼相望)
Usin'
our
hands
to
buy
and
supply
(用我們的手去互相支持?)
Chillin'
is
cool
from
january
to
june
(寒冷從一月到六月)
And
we
still
stiked
together
like
the
glue
(我們仍如膠似漆)
And
know
the
rules
(我們知道規則)
Forever
you
and
i
and
believe
(相信你我會直到永遠)
It
was
clear
(這是無疑的)
If
i
ever
should
fall
(即使我跌倒了)
I
could
count
on
you
with
no
fear
(因為有你,我不害怕)
Runnin'
out
of
time
i
see
who's
fake
(時光飛逝,我看見到欺騙)
Alone
without
protection
(不受保護的孤獨)
from
all
them
snakes
(他們象蛇一樣狡猾)
All
for
one
one
for
all
i
was
told
(我被告知人人為我我為人人)
Black
white
yellow
no
matter
(黑白黃無關緊要)
if
your
young
or
old
(只要你來到)
Nana's
in
the
house
to
let
you
know
(屋子裡的娜娜會讓你知道)
What
i
see
is
how
i
fell
and
damn
(我對看到的東西感到憂傷)
I
am
lonely
lonely
lonely
(我很孤單)
I
am
lonely
lonely
in
my
life
(我的生活孤孤單單)
I
am
lonely
lonely
lonely
(我很孤單)
God
help
me
help
me
to
survive!
(神啊!幫助我生存下去吧)
Everybody's
tripppin'
on
me
(所有人使我犯錯)
Oh
lord
come
help
me
please
(神啊!求你救救我吧)
I
did
some
bad
things
in
my
life
(我做了錯事)
Why
can't
you
rescue
me
(為什麼你不來拯救我)
'cause
you've
got
all
i
need
(你能給我我所需要的)
I
know
i
got
to
pay
the
price
(我知道我要付出代價)
That's
why
I'm
lonely,
lonely,
lonely
(那就是我為什麼是孤孤單單的)
I
am
so
lonely,
lonely
(我是如此孤單)
That's
why
I'm
lonely,
lonely,
lonely
(那就是我為什麼是孤孤單單的)
Cheppin'
thru
the
streets
at
night
(在夜裡穿過街道)
after
a
fuss
and
fight
(在一切慌亂後)
Tears
in
my
eyes
(我的眼眶裡有淚珠)
i'm
a
man
lookin'
for
the
light
(我渴望光明)
Dark
is
the
path
(前路黑暗?)
i
know
he
will
rescue
me
(我知道他會來拯救我)
The
lord
is
my
shepard
(上帝是我的?)
i'm
cool
despite
emergency
(不管事情多麼緊急,我能保持鎮定)
Whom
shall
i
fear
exept
the
god
(除了上帝我該懼怕誰)
Thank
you
for
the
blessin'
and
the
skils
on
the
mic
(謝謝你的庇護和給我歌唱的能力)
Five
years
we
know
there's
no
diggity
(五年了,我們知道在那兒沒有自由?)
Free
at
last
see
the
light
in
me
(自由後光明來臨)
What
goes
up
must
come
down
(從哪裡跌到就從哪裡站起來)
I'll
be
around
while
you
heading
towards
deathtown
(當你朝著?,我會在你的周圍
)
Allways
look
forward
hardlynever
look
back
(總是努力向前看)
So
many
tears
and
the
snakes
on
my
jock
(決不回顧那麼多眼淚和毒蛇)
Now
i'm
riding
in
my
big
fat
ride
(現在我騎著我肥壯的馬)
Your
ass
is
late
so
look
for
the
line
(你的驢來遲了,所以找其它的)
Nana
in
the
house
to
let
you
know
(屋子裡的娜娜會讓你知道)
What
i
see
is
how
i
feel
so
leave
me
alone
(我感覺看見的東西它使我孤獨)
I
am
lonely
lonely
lonely
(我很孤單)
I
am
lonely
lonely
in
my
life
(我的生活孤孤單單)
I
am
lonely
lonely
lonely
(我很孤單)
God
help
me
help
me
to
survive!
(神啊!幫助我生存下去吧)
Everybody's
tripppin'
on
me
(所有人使我犯錯)
Oh
lord
come
help
me
please
(神啊!求你救救我吧)
I
did
some
bad
things
in
my
life
(我做了錯事)
Why
can't
you
rescue
me
(為什麼你不來拯救我)
'cause
you've
got
all
i
need
(你能給我我所需要的)
I
know
i
got
to
pay
the
price
(我知道我要付出代價)
Knock
on
my
door
whom
you
lookin'
for
(敲打我的門你找誰)
A
dream
or
reality
enemies
at
my
door
(門外是美夢還是敵人)
Eyes
i
realize
(眼睛注視著)
it's
fantasize
i
must
be
high
(那是夢想我必須定得很高)
So
let
me
live
before
i
die
(所以在我死前讓我活著吧)
Once
again
grab
the
bottle
twist
the
cap
(再一次搶過酒瓶轉動蓋子)
To
survive
your
life
(去拯救你的生命)
is
yours
my
life
is
mine
(你我有著各自的生活)
No
emotions
in
this
world
full
of
lies
(面對這個充滿謊言的世界已經麻木)
Step
by
step
and
be
versatile
(一步一步,方方面面的)
Love
peace
and
cash
(愛、和平和毀滅)
that's
what
is's
all
about
(那就是全部)
Alone
by
yourself
than
you
(比你自己更孤獨)
lack
there's
no
doubt
about
(毫無疑問)
I'm
always
into
something
(我總是進入到某些東西中)
making
moves
to
improve
(我可以證明給你看)
What
would
you
do
if
you
were
in
my
shoes
(如果你處在我的位置)
Boom
a
letter
oops
another
suicide
(你會因此而發狂)
Meet
me
for
a
ride
at
the
boulevard
(你騎著馬和我在林蔭道相遇)
Nana's
in
the
house
to
let
you
know
(屋子裡的娜娜會讓你知道)
What
i
see
is
how
i
feel
and
damn
(我對看到的東西感到憂傷)
i'm
alone
(我是孤獨的)
I
am
lonely
lonely
lonely
(我很孤單)
I
am
lonely
lonely
in
my
life
(我的生活孤孤單單)
I
am
lonely
lonely
lonely
(我很孤單)
God
help
me
help
me
to
survive!
(神啊!幫助我生存下去吧)
Everybody's
tripppin'
on
me
(所有人使我犯錯)
Oh
lord
come
help
me
please
(神啊!求你救救我吧)
I
did
some
bad
things
in
my
life
(我做了錯事)
Why
can't
you
rescue
me
(為什麼你不來拯救我)
'cause
you've
got
all
i
need
(你能給我我所需要的)
I
know
i
got
to
pay
the
price
(我知道我要付出代價)
I
am
lonely
lonely
lonely
(我很孤單)
I
am
lonely
lonely
in
my
life
(我的生活孤孤單單)
I
am
lonely
lonely
lonely
(我很孤單)
God
help
me
help
me
to
survive!
(神啊!幫助我生存下去吧)
I
am
lonely
lonely
lonely
(我很孤單)
I
am
lonely
lonely
in
my
life
(我的生活孤孤單單)
I
am
lonely
lonely
lonely
(我很孤單)
God
help
me
help
me
to
survive!
(神啊!幫助我生存下去吧)
That's
why
I'm
lonely,
lonely,
lonely
(那就是我為什麼是孤孤單單的)
I
am
so
lonely,
lonely
(我是如此孤單)
I
am
so
lonely,
lonely,lonely
in
my
life
(我的生活是如此的孤單)
Ah,
ah
2. musictime是什麼意思
音樂時間到,我們一起嗨起來!
3. 問一首英文歌
《Try》,P!nk演唱的一首歌曲,歌詞節選如下:
Ever wonder about what he's doing
曾今想知道他在做什麼
How it all turned to lies
這一切是如何變成謊言
Sometimes I think that it's better to never ask why
有時我覺得不問為什麼反而最好
Where there is desire,there is gonna be a flame,
哪裡有(愛的)慾望,那裡就會有(愛的)火焰
Where there is a flame,someone's bound to get burned,
哪裡有(愛的)火焰,那裡就有人愛火纏身
But just because it burns,doesn't mean you're gonna die,
但燒的遍體鱗傷並不意味著死去
You gotta get up,and try, try, try,
你得勇敢的嘗試,嘗試,
You gotta get up,and try, try, try.
Eh, eh, eh
Funny how the heart can be deceiving
可笑的是人心會欺騙
More than just a couple times
不是一次兩次
Why do we fall in love so easy Even when it's not right
即使是個錯誤我們卻又如此輕易的相愛

(3)版權音樂musictime擴展閱讀:
Try創作背景:
邁克爾·布斯比一天醒來的時候腦海中突然出現了這首歌的大部分曲調,然後他迅速拿起手機錄下歌曲初始旋律。他飛往底特律為本·韋斯特演奏了這首歌,兩人一起完成了歌曲的小樣。進一步整合後,他們將歌曲交予亞當·蘭伯特,但是他拒絕了這首歌。
他們亦考慮邀請凱莉·克萊森獲Daughtry演唱這首歌,但最終不了了之。最後邁克爾·布斯比將這首歌交給了唱片公司高管拉尼·漢考克,拉尼·漢考克推薦將這首歌交給P!nk演唱。P!nk聽完《Try》後拿走了這首歌。
4. 如何實現API背景音樂播放
第一篇寫的這些內容很簡單,跟鏈接作者寫的幾乎一樣。
他寫的比較復雜,有些實現方式也不一樣,所以自己寫個博客記錄一下...O(∩_∩)O~
這個播放器很簡單,如果你是什麼Api都不知道,看了這個兩天就寫完了,你可以邊看邊查相關的API是幹嘛用的,如果之前都了解了相關的API,那麼一天就能編完。
做一個播放器的大致思路是什麼呢?播放器當然是要有播放的功能咯,這是我在廢話。這個播放器是不帶下載功能的,所以肯定是從你手機中獲取已經存在的音樂。於是第一步就是獲取手機中的音樂信息,這個跟播放器的界面沒什麼聯系,那你可以把它寫成一個工具類,叫做GetMusicListUtil,專門用來獲取手機音樂信息的類。
上代碼:
public class GetMusicListUtil {
/**
* 從手機中得到所有的音樂,放在list中保存
*
* @param context
* @return
* @author Yang
*/
public static List<Mp3Info> getMusicInfos(Context context)
{
Cursor cursor = context.getContentResolver().query(
MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, null, null, null, MediaStore.Audio.Media.DEFAULT_SORT_ORDER);
List<Mp3Info> musicInfos = new ArrayList<Mp3Info>();
for(int i=0; i<cursor.getCount(); i++)
{
cursor.moveToNext();
Mp3Info music = new Mp3Info();
long musicId = cursor.getLong(cursor
.getColumnIndex(MediaStore.Audio.Media._ID));
String musicTitle = cursor.getString(cursor
.getColumnIndex(MediaStore.Audio.Media.TITLE));
String musicArtist = cursor.getString(cursor
.getColumnIndex(MediaStore.Audio.Media.ARTIST));
long musicTime = cursor.getLong(cursor
.getColumnIndex(MediaStore.Audio.Media.DURATION)); //時長
long musicSize = cursor.getLong(cursor
.getColumnIndex(MediaStore.Audio.Media.SIZE)); //文件大小
String musicUrl = cursor.getString(cursor
.getColumnIndex(MediaStore.Audio.Media.DATA)); //文件路徑
int isMusic = cursor.getInt(cursor
.getColumnIndex(MediaStore.Audio.Media.IS_MUSIC));
//只把音樂添加到集合中
if(isMusic != 0)
{
music.setId(musicId);
music.setArtist(musicArtist);
music.setDuration(musicTime);
music.setSize(musicSize);
music.setUrl(musicUrl);
music.setTitle(musicTitle);
musicInfos.add(music);
}
}
return musicInfos;
}
/**
* 將因音樂的時長由毫秒轉換成分:秒的格式
*
* @param time
* @return
* @author Yang
*/
public static String formatTime(long time) {
String min = time / (1000 * 60) + "";
String sec = time % (1000 * 60) + "";
if (min.length() < 2) {
min = "0" + time / (1000 * 60) + "";
} else {
min = time / (1000 * 60) + "";
}
if (sec.length() == 4) {
sec = "0" + (time % (1000 * 60)) + "";
} else if (sec.length() == 3) {
sec = "00" + (time % (1000 * 60)) + "";
} else if (sec.length() == 2) {
sec = "000" + (time % (1000 * 60)) + "";
} else if (sec.length() == 1) {
sec = "0000" + (time % (1000 * 60)) + "";
}
return min + ":" + sec.trim().substring(0, 2);
}
/**
* 將List<Mp3Info>轉換成List<HashMap<String,String>>的格式
* 為了給SimpleAdapter填充數據
*
* @param musicInfos
* @return
* @author Yang
*
*/
public static List<HashMap<String,String>> getMusicHashMaps(
List<Mp3Info> musicInfos)
{
List<HashMap<String,String>> musicHashMaps =
new ArrayList<HashMap<String,String>>();
for(Iterator<Mp3Info> iterator = musicInfos.iterator();iterator.hasNext();)
{
Mp3Info music = iterator.next();
HashMap<String,String> map = new HashMap<String,String>();
map.put("title", music.getTitle());
map.put("artist", music.getArtist());
map.put("size", String.valueOf(music.getSize()));
map.put("time", formatTime(music.getDuration()));
map.put("url", music.getUrl());
musicHashMaps.add(map);
}
return musicHashMaps;
}
}
相信大家都能看懂,Cursor對象進行查詢,然後存到一個Mp3Info類型的List中,之所以下面還寫了一個List<HashMap<String,String>>進行保存,就是為了給SimpleAdapter用的,這個adapter給listView填充數據。
這個和原作者寫的沒什麼區別,另外其中的Mp3Info是一個javabean,如下所示:
package org.com.ViPlayer;
public class Mp3Info
{
public long id;
public String title;
public String artist;
public long ration;
public long size;
public String url;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getArtist() {
return artist;
}
public void setArtist(String artist) {
this.artist = artist;
}
public long getDuration() {
return ration;
}
public void setDuration(long ration) {
this.ration = ration;
}
public long getSize() {
return size;
}
public void setSize(long size) {
this.size = size;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
}
有了音樂的信息之後,我們可以開始編輯界面了,我的界面裡面的那些個圖片也是在原創作者頁面下載的。但是裡面的模式稍微有些不一樣,被我給簡化了。。。
一共只用到了這么多圖片:背景,播放按鈕圖,下一首按鈕圖,前一首按鈕圖,音樂模式按鈕圖,音樂小圖標。
然後就是主界面xml文件:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bk1"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity" >
<LinearLayout
android:id="@+id/handleButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" >
<Button
android:id="@+id/repeat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_alignParentLeft="true"
android:background="@drawable/repeat_none" />
<Button
android:id="@+id/previous"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_toRightOf="@+id/repeat"
android:background="@drawable/previous" />
<Button
android:id="@+id/playMusic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_toRightOf="@+id/previous"
android:background="@drawable/play" />
<Button
android:id="@+id/next"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_toRightOf="@+id/playMusic"
android:background="@drawable/next" />
<!-- <Button
android:id="@+id/randomMode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_toRightOf="@+id/next"
android:background="@drawable/random1" /> -->
</LinearLayout>
<ListView
android:id="@+id/musicList"
android:layout_width="fill_parent"
android:layout_height="300dp"
android:layout_below="@+id/handleButton" >
</ListView>
<RelativeLayout
android:id="@+id/songInfo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/musicList"
android:layout_alignParentBottom="true"
5. what time music改為同義句
listen to
What's.time
first
請在客戶端右上角評價點「滿意」即可,
6. 哪裡可以下載到打包的電視節目或電台常用的背景音樂啊
以前曾在網上見到一篇帖子,「電台電視台使用頻率最高的51首經典背景音樂」,很不錯。emule上也可以搜到很多關於背景音樂的資源。本帖介紹的幾首音樂與那些基本沒有重復。可能這些音樂你已經知道確切的出處了,但是確實有很多的人不知道。這篇帖子的內容應該可以作為一個補遺了
1.The Ludlows:1994年美國電影《The Legend Of the Fall(秋日傳奇)》主題曲。此曲曾在CCTV《大家》等多個欄目中出現,常出現於介紹名人生平(尤其是坎坷的奮斗史)時。往往是開頭一段鋼琴緊接曲末如泣如訴的小提琴片斷。作曲James Horner也是《泰坦尼克號》與《勇敢的心》的作曲者。
此片是我小學時在正大劇場里看的,當時沒看懂,呵呵。劇情什麼的自己上網搜吧,對女生們多說一句,此片是Brad Pitt主演的哦。
http://www.nmgmtv.com/bbs/upload/fall.mp3
2.Conquest of paradise:1992年美國電影《1492征服天堂》主題曲。曲風大氣而磅礴,與電影主題亦可謂完美對應,極適用於戰爭場面。有人說《士兵突擊》里出現過此曲,但是仔細聽便會發現那隻是個改編版本,大概是版權問題吧。曲作者Vangelis。
http://www.at70s.net/shu/music/027186.mp3
3.Somewhere in time:1980年美國電影《時光倒流七十年》主題曲。節奏舒緩而帶有一點點悲傷,電台里經常放。有人說這首曲子改編自帕格尼尼的狂想曲,恕我愚鈍,這么多年來我還真不知道帕格尼尼原來寫過這么舒緩的rhapsody呢。至少我聽的那個版本跟Somewhere in time一點也不像。肯定是哪裡誤會了。不提供下載鏈接了,大家去下面這個網站看看吧,那裡什麼都有:
www.somewhereintime.cn
這個網站太強悍了,佩服死這個站長了。那裡幾乎是有且只有關於這部電影的一切,包括OST原聲。個人認為原聲里Grand Hotel一曲也不錯的。曲作者John Barry。知名好萊塢電影作曲家。
再多說一句:此片男主角是演超人的克里斯多夫·里奇。
4.Independence Day:1996年美國電影《獨立日》插曲。片子是很經典的動作片,曲子的開頭也是被CCTV拿來渲染大場面時用慣了的。然而二者都有點要被人遺忘的趨勢。現在資源已經不太好找了,大家可以到eMule上搜Independence.Day.Complete.Score,下原聲試試看。這個的經典程度跟The Ludlows差不多的。
Very CD的鏈接:
http://www.verycd.com/topics/50417/
同年還有一部電影:《勇闖奪命島》。裡面的Rock House Jail真是有夠火爆。本來我以為此片此曲已經足夠有名了,不準備介紹的,然而一問同學沒幾個知道的。這里順帶著提一下吧。極推薦此片原聲,幾乎每首曲子都是經典。主創Hans Zimmer,贊!
5.Love Theme:1988年義大利電影《天堂電影院》的插曲。都有哪些地方用過還真是想不起來了,但是很經典就對了。郁悶的時候最好不要聽,因為有點憂郁。作曲家Ennio Morricone,義大利人。好像還是《'SDM'120天》的配樂……汗。
http://hbar.zju.e.cn/~xmlu/music/LoveTheme.mp3
上面5首都是電影配樂,可以下OST來聽聽。
6.The Mass(彌撒):作曲者Era。分類算是New Age吧。風格與Conquest of paradise蠻像的,下下來一聽就知道了。
http://yaweisulu.com/newimg/01.mp3
7.Kiss the rain:出自韓國音樂家YIRUMA之手。沒想到作曲家是韓國人,唔……是很舒緩也很感人的一首鋼琴曲。
http://www.77hi.com/mp3/qq-zone/mp3/kiss_the_rain.mp3
另外還是不得不提班得瑞的一首曲子:The First Snow Flake。也屬於用得比較多,但是被很多人忽視了的鋼琴曲。
http://www.drxie.com/The%20First%20Snow%20Flakes.wma
8.故宮:作曲者S.E.N.S(神思者)。挺有中國古典風格的,可惜作曲家不是中國人。神思者很多的作品都不錯。大家可以多研究研究。
網上有兩個版本:
恢宏版:中央台一個關於故宮的紀錄片里就用過。
http://share.w-o-fantian.com/mus ... lace%20Memories.mp3
纏綿版:記得陳小春版《鹿鼎記》里常用。
http://teacher.zjnu.cn/uyou/bbs/mp3/351.mp3
9.Sadness:Enigma的作品。前幾年這都是時裝發布會專用BGM。其實我不喜歡這首曲子,不過問的人太多了……
http://www.ciekawostki.internetdsl.pl/Enigma/Enigma-Sedness.MP3
就先挑出來這幾首吧,覺得好的話我放寬篩選標准再發一點。另外前幾天剛剛把Final Fantasy IX通關了,記得玩到一開始公主從城樓上跳下去的那段時的背景音樂一出來還真是聽得我一愣。這段旋律我找了好多年了,結果沒想到這首Melody of Life居然是游戲里的音樂,看來還是應該繼續擴大接觸面啊。還有我覺得FF9的結尾CG唱完歌之後那段交響樂也不錯,它也在FF7AC的End Credit里出現過。可是沒有完整的版本,不知有誰知道?
7. 2013街頭籃球show time music_54 叫什麼名字 全名
貌似是沒有名字的,不過街頭籃球官網是有音樂下載的。
8. Time for music 歌詞
歌曲名:Time for music
歌手:松たか子
專輯:Time for music
「Time for music」
作詞∶松たか子
作曲∶松たか子
歌∶松たか子
花びらとすれ違うひだまり
影法師追いかけた夕暮れ
私の好きなこの場所にまた巡る季節
色づいた街路樹で待ちぼうけ
賑やかな街を包む粉雪
私の好きなこの場所にまた巡る季節
誰かがどこかで今日を生きてるんだ
それぞれのささやかな幸せ
【 おわり 】
http://music..com/song/52858837
9. 音樂時間,你想試聽一下嗎用英語怎麼翻譯,謝謝!
Music time,you wanna listen?
10. C#,如何讀取某首歌曲的總時長
首先引入這兩個文件:
[DllImport("Kernel32", CharSet = CharSet.Auto)]
static extern Int32 GetShortPathName(String path, StringBuilder shortPath, Int32 shortPathLength);
[DllImport("winmm.dll")]
public static extern int mciSendString(string m_strCmd, StringBuilder m_strReceive, int m_v1, int m_v2);
然後自定一個取時間的方法如下:
public string MusicTime(string musicFilePath)//musicFilePath是歌曲文件地址
{
if (File.Exists(musicFilePath))//是否存在這個文件
{
//利用MCI命令,返回值為文件時間
StringBuilder shortpath = new StringBuilder(80);
GetShortPathName(musicFilePath, shortpath, shortpath.Capacity);
string musicname = shortpath.ToString();
StringBuilder buf = new StringBuilder(80);
mciSendString("close all", buf, buf.Capacity, 0);
mciSendString("open " + musicname + " alias media", buf, buf.Capacity, 0);
mciSendString("status media length", buf, buf.Capacity, 0);
double ms = Convert.ToDouble(buf.ToString().Trim());
TimeSpan ts = new TimeSpan(0, 0, 0, 0, (int)ms);
return ts.ToString().Substring(3, 5);//這里你自己去決定返回的是什麼格式
}
return "0";//如果文件不存在就返回"0"
}