顯示具有 Week13 標籤的文章。 顯示所有文章
顯示具有 Week13 標籤的文章。 顯示所有文章

2015年6月10日 星期三

02160412_蔡尚恩 WEEK13

1. 博士演講 

2.MP3撥放

3.作業



匯入mp3音樂檔


先匯入   CMP3_MCI  的標頭檔


#include<iostream>
#include<GL/glut.h>
#include "CMP3_MCI.h"


CMP3_MCI myMP3 ;


using namespace std;
int main()
{
    myMP3.Load("fq.mp3");
    myMP3.Play();
    cout<<"Hello world!"<<endl;
    int a;
    cin>>a;
    return 0 ;
}


撥出  mp3 

2015年5月21日 星期四

02160881_劉昌諭 week13

(1)鄭鎧尹博士演講
(2)MP3播放
(3)作業需求

MP3播放:


WEEK13.Homework5/21.

今天很匆忙地學了播放mp3如圖:





week13_MP3_張育睿

電腦圖學 今天進度
     MP3 播放

1.今天也是開啟一個 freeglut 專案
   選擇 openglut
2.再來就是打以下的程式碼
 #include <iostream>
#include <GL/glut.h>
#include "CMP3_MCI.h" ///這裡記得要把 CMP3_MCI.h 這個檔案放到我們自己建的專案中
CMP3_MCI myMP3;

using namespace std;

int main()
{
    myMP3.Load("GunsNRoses.mp3"); ///這裡是放想要放的mp3檔案, 記得要放在freeglut的bin資                                                                      料夾
    myMP3.Play();
    cout << "Hello world!" << endl;
    int a;
    cin >> a;
    return 0;
}


<1>把 CMP3_MCI.h 這個檔案放到我們自己建的專案中

 <2>放想要放的mp3檔案, 記得要放在freeglut的bin資料夾

3.這個是可以把影片轉為MP3檔的網站~~~


4.這是點進去後的樣子



02160074_張凱晴 week13

本週重點:MP3播放

在CodeBolock 新增一個 Project (GLUT) 
在 Project -> Build options 設定路徑



將 CMP3_MCI.h 新增到專案裡

將 MP3檔放到freeglut的bin裡面



程式碼如下:
#include <iostream>
//#include <GL/glut.h>
#include "CMP3_MCI.h"

CMP3_MCI myMP3;
using namespace std;
int main()
{
    myMP3.Load("Style.mp3");
    myMP3.Play();
    cout << "Hello myMP3" <<endl;
    int a;
    cin>>a; ///輸入後才結束程式,要不然程式一開始音樂還沒播完,就會結束
    return 0;
}




play mp3

播放mp3

#include <stdio.h>
#include "CMP3_MCI.h"
CMP3_MCI myMP3;
int main()
{
    myMP3.Load("000.mp3");
    myMP3.Play();
    int x;
    scanf("%d",&x);  //卡住程式
}

Week 13

(1) 鄭鎧尹博士演講
(2) MP3播放
(3)作業需求



音樂檔要放入freeglut 裡的 bin 裡面


執行程式時,撥放音樂

#include <iostream>
#include <Gl/glut.h>
#include "CMP3_MCI.h"
CMP3_MCI   myMP3;
using namespace std;

int main()
{
    myMP3.Load("RickyMartin.mp3");
    myMP3.Play();
    int a;
    cin>> a;
    return 0;
}




week13_MP3播放_呂登祐

1.在P102聽LIVE house.in的鄭鎧伊博士
2.投影矩陣
2.MP3播放
3.作業需求


MP3播放
#include<iostream>
#include<GL/glut.h>
#include "CMP3_MCI.h"

CMP3_MCI myMP3;
using namespace std;

int main()
{
    myMP3.Load("RickyMartin.mp3");
    myMP3.Play();
    cout<<"Hellow world!"<<endl;
    int a;
    cin>>a;
    return 0;
}

week13_陳建瑜_02160172

今天前兩解釋去p102聽演講,然後今天最後一節是mp3教學將youtube上的mp3下載下來到freeglut的bin裡面就可以放出來了

02160314_黃詩凱_Week13

播放MP3音樂
#include <iostream>
#include "CMP3_MCI.h"
#include <GL/glut.h>
CMP3_MCI myMP3;

using namespace std;

int main()
{
    myMP3.Load("RickyMartin.mp3");
    myMP3.Play();
    cout <<"Hello MP3"<<endl;
    int a;
    cin>>a;
    return 0;
}



#include <iostream>
#include "CMP3_MCI.h"

using namespace std;

int main()
{
    cout <<"Hello MP3"<<endl;
    return 0;
}

week13_吳宗諺

播放MP3

開啟glut專案
音樂檔放在freeglut資料夾中的bin
CMP3_MCI.h放在專案資料夾


02160473賴緯漢 WEEK13

電腦圖學 2015/05/21  week13
(1)13:00~14:40在P102由LIVEhouse.in的鄭鎧伊博士演講
(2)14:50回S5131上課
(3)MP3檔案
(4)作業需求

今天要做的第一個作業是
讓程式可以播MP3檔案

開始時找不到一個檔案叫CMP3_MCI
































把MP3檔放進去

















MP3檔案不能有空格之類的喔

















程式碼:
#include <iostream>
#include <GL/glut.h>
#include "CMP3_MCI.h"
CMP3_MCI myMP3;

using namespace std;

int main()
{
    myMP3.Load("123.mp3");///檔案名稱
    myMP3.Play();
    cout << "Hello World!" << endl;
    int a;
    cin >> a;
    return 0;
}

02160252智智

1.今天前兩節課去P102聽鄭鎧尹博士演講

2.今日作業:MP3播放

四行程式碼

呼叫MP3出來播放









#include <iostream>
#include <GL/glut.h>
#include "CMP3_MCI.h"
CMP3_MCI myMP3;

using namespace std;

int main()
{

    myMP3.Load("ABC.mp3");
    myMP3.Play();
    cout << "Hello world!" << endl;
    int a;
    cin>> a;
    return 0;
}



week 13 02160083 廖峻賢



#include <iostream>
#include <GL/glut.h>
#include "CMP3_MCI.h"
CMP3_MCI myMP3;

using namespace std;

int main()
{
    myMP3.Load("RickyMartin.mp3");
    myMP3.Play();
    cout << "Hello world!" << endl;
    int a;
    cin >>a;
    return 0;
}

week_13_02160660_楊涵雯

1. 13:00-14:40 聽鄭鎧尹博士演講  (LIVEhouse.in)
2. 回教室上課
3. MP3撥放
4. 作業需求



#include <iostream>
#include <GL/glut.h>
#include "CMP3_MCI.h"
CMP3_MCI myMP3;

using namespace std;

int main()
{
    myMP3.Load("RickyMartin.mp3");
    myMP3.Play();
    cout<< "Hello world!" << endl;
    int a;
    cin>> a;
    return 0;

}

關關關關關關關關關關關關關

今天作業好簡單
就用四行程式碼
把MP3檔播放出來
雖然不是電腦圖學的領域
但也滿不錯~

#include <iostream>
#include <GL/glut.h>
#include "CMP3_MCI.h"
CMP3_MCI myMP3;

using namespace std;

int main()
{
    myMP3.Load("Try.mp3");
    myMP3.Play();
    cout << "Hellow world!" << endl;
    int a;
    cin>> a;
    return 0;
}


胡佩君_week 13

播放mp3音樂的方法


要把mp3檔放入bin裡
再加上 CMP3_MCI.h 就可以播放

Week13 02161123_張宸瑄

今日課程:

1. 由 LINEhouse.in 的鄭鎧尹博士演講。
2. MP3播放。

TODO:

(1)撥放MP3程式,新GLUT專案,在 Project 中放 MP3 檔。

#include <GL/glut.h>
#include "CMP3_MCI.h"
#include <stdio.h>

CMP3_MCI myMP3;

int main()
{
     myMP3.Load("RickyMartin.mp3");
     myMP3.Play();

     int a;
     scanf("%d",&a);
}



Mp3播放

(1)鄭鎧伊博士演講
(2)14:50回S5131上課
(3)MP3播放
(4)作業需求
成功開啟MP3
#include <iostream>
#include <GL/glut.h>
#include "CMP3_MCI.h"
CMP3_MCI myMP3;

using namespace std;
int main()
{
    myMP3.Load("RickyMartin.mp3");
    myMP3.Play();
    cout <<"Hello world!" <<endl;
    int a;
    cin>> a;
    return 0;
}























02160890 高國瑋 week13

(1)聽鄭鎧尹博士演講
(2)回S5131上課
(3)MP3撥放
(4)作業需求