DSP 2018 Spring
Textbook
DSP First
=======
http://spfirst.gatech.edu/contents/dspfirst/index.html
Table of Contents:
http://dspfirst.gatech.edu/media/tocDSP1v2e.pdf
bookStore:
http://www.pearson.com.au/products/M-N-Mcclellan-Schafer/M-N-McClellan-James-et-al/Digital-Signal-Processing-First-Global-Edition/9781292113869?R=9781292113869
開發圖書公司:
www.kaifabook.com.tw
2018年3月2日 星期五
2017年2月15日 星期三
2016年6月27日 星期一
2016年6月24日 星期五
2016年6月7日 星期二
訊號系統2016 程式作業
訊號系統 2016 程式作業 截止日期 2016/06/27
請大家在此網頁登錄作業
網址
或
短網址(short url)
建議使用 GitHub 或者 Dropbox
範例:
A0123456789,呂仁園,https://goo.gl/Z7nIFU
報告順序:
報告順序:
人數= 19名 | |||
報告日期 | |||
學號 | 姓名 | 註記 | |
B0129017 | 鄭博恩 | 6.14 | |
B0129025 | 張孝荃 | 6.14 | |
B0129026 | 黃致穎 | 6.14 | |
B0129033 | 曹 祐 | 6.14 | |
B0129039 | 邱仁韋 | 6.14 | |
B0129053 | 柯志霖 | 6.14 | |
B0229036 | 戴君霖 | 停修 | |
B0229060 | 吳維翰 | 6.17 | |
B0229062 | 沈家任 | 6.17 | |
B0329003 | 林學宇 | 6.21 | |
B0329005 | 陳際勻 | 6.21 | |
B0329007 | 陳銘宣 | 6.21 | |
B0329011 | 施彥廷 | 停修 | |
B0329019 | 張詠鈞 | 6.21 | |
B0329028 | 李元碩 | 6.21 | |
B0329032 | 孔令宣 | 6.21 | |
B0329036 | 張家瑋 | 6.21 | |
B0329039 | 劉芷菱 | 6.24 | |
B0329048 | 陳威愷 | 6.24 | |
B0329056 | 彭成立 | 6.24 | |
B0329058 | 黃揚倫 | 6.24 | |
6.27 |
2016年5月4日 星期三
2016年4月28日 星期四
2016年3月15日 星期二
2016年3月9日 星期三
make thinkdsp to play a sound in windows
make thinkdsp to play a sound
1. download ffmpeg for windows
2. uncompress it ===> ffplay.exe, ffmpeg.exe,... and the others
3. copy ffplay.exe to C:\Anaconda3\Scripts, or any other directory where window's path can point to
----
4. when using play_wave() in thinkdsp, using the following :
>>> play_wave(player = 'ffplay')
or
>>> play_wave(player = 'ffplay -autoexit') # this will make ffplay quit after it finish the playing
or
HACK into the source code thinkdsp.py
goto this line:
def play_wave(filename='sound.wav', player='aplay'):
change it to be:
def play_wave(filename='sound.wav', player='ffplay -autoexit'):
----
if you have difficulty to download ffmpeg , and then uncompress it,
please try this:
ffplay.exe
1. download ffmpeg for windows
2. uncompress it ===> ffplay.exe, ffmpeg.exe,... and the others
3. copy ffplay.exe to C:\Anaconda3\Scripts, or any other directory where window's path can point to
----
4. when using play_wave() in thinkdsp, using the following :
>>> play_wave(player = 'ffplay')
or
>>> play_wave(player = 'ffplay -autoexit') # this will make ffplay quit after it finish the playing
or
HACK into the source code thinkdsp.py
goto this line:
def play_wave(filename='sound.wav', player='aplay'):
change it to be:
def play_wave(filename='sound.wav', player='ffplay -autoexit'):
----
if you have difficulty to download ffmpeg , and then uncompress it,
please try this:
ffplay.exe
2016年3月5日 星期六
2016年2月29日 星期一
ryDsp002: 鋼琴及自動彈奏的程式
鋼琴及自動彈奏的程式
https://www.dropbox.com/s/ykq0lum58zf2ml5/ryMidi002.py?dl=0
運用 Pygame 中的 midi 功能,特別是 pygame/examples/midi.py 的範例,
初步寫出一個鋼琴及自動彈奏的程式。
可與 Scratch 的版本互相參照。
http://ryteach.blogspot.tw/2016/02/pachelbels-canon-music-animation-of.html
也可與 EasyABC 比較一下,我們這支程式似乎有點摸到邊了。
the newest version is here: https://sourceforge.net/projects/easyabc/

--------
你要在 Python 下 ,安裝 pygame,之後,就可享用這隻程式。
windows 的 pygame 安裝請前往
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
下載此 .whl 檔案
運用 Pygame 中的 midi 功能,特別是 pygame/examples/midi.py 的範例,
初步寫出一個鋼琴及自動彈奏的程式。
可與 Scratch 的版本互相參照。
http://ryteach.blogspot.tw/2016/02/pachelbels-canon-music-animation-of.html
也可與 EasyABC 比較一下,我們這支程式似乎有點摸到邊了。
the newest version is here: https://sourceforge.net/projects/easyabc/

--------
你要在 Python 下 ,安裝 pygame,之後,就可享用這隻程式。
windows 的 pygame 安裝請前往
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
下載此 .whl 檔案
在 有此檔案的目錄中,執行 python 的標準安裝指令如下:
C:\Download> pip install pygame-1.9.2a0-cp35-none-win32.whl
2016年2月19日 星期五
Think Python
有關 Python 的學習,以下這本書我強力推薦!
http://www.greenteapress.com/thinkpython2/index.html
This is the second edition of Think Python, which uses Python 3.
http://www.greenteapress.com/thinkpython2/index.html
Think Python
2nd Edition
by Allen B. DowneyThis is the second edition of Think Python, which uses Python 3.
2016年2月16日 星期二
Pachelbel's Canon ~ music animation of note jumping
最近重拾 Scratch ,做了 幾個與音樂處理以及語言處理有關的小專題,一直以來,對Scratch 這個平台,感到興味盎然,它很簡單,使用者(欣賞者及創作者)號稱從08歲到88歲都有。我的年紀大約是在這2個數字的中間值附近,不老也不少。
學習DSP及其相關的多媒體(文字、聲音、影像)應用,都可以從這個平台得到益處。
除了 Python 之外,Scratch 是我常常使用的平台(及語言)。
Pachelbel's Canon ~ music animation of note jumping
https://scratch.mit.edu/projects/97667347/
Pachelbel's Canon in 簡単な鍵盤.
https://scratch.mit.edu/projects/97862625/
チョコ俳句 の 朗読 (音文同步)
https://scratch.mit.edu/projects/97872106/
----
EasyABC
a musical notation language ABC
http://www.nilsliberg.se/ksp/easyabc/
http://www.nilsliberg.se/ksp/easyabc/screenshot.png
the newest version is here: https://sourceforge.net/projects/easyabc/

----
Wonderful midi player
http://midiplayer.ehubsoft.net/
學習DSP及其相關的多媒體(文字、聲音、影像)應用,都可以從這個平台得到益處。
除了 Python 之外,Scratch 是我常常使用的平台(及語言)。
Pachelbel's Canon ~ music animation of note jumping
https://scratch.mit.edu/projects/97667347/
Pachelbel's Canon in 簡単な鍵盤.
https://scratch.mit.edu/projects/97862625/
チョコ俳句 の 朗読 (音文同步)
https://scratch.mit.edu/projects/97872106/
----
EasyABC
a musical notation language ABC
http://www.nilsliberg.se/ksp/easyabc/
http://www.nilsliberg.se/ksp/easyabc/screenshot.png
the newest version is here: https://sourceforge.net/projects/easyabc/

----
Wonderful midi player
http://midiplayer.ehubsoft.net/
2016年1月27日 星期三
Dsp2016
期末報告專區:
Python DSP 頻譜分析的聖杯。
Friture
http://friture.org/
1. 下載安裝執行檔
2. 玩一玩
3. 下載 原始碼
4. 設法重建
5. 修改、學習。
很多例子,但要重跑還有些 Bug ,主要是新舊版本 Python 模組 不完全相容之故。
some programs for 期末專題
ry0604
也可試一下 以下路徑之 pygame 範例。
D:\Anaconda3\Lib\site-packages\pygame\examples
訊號系統 2016 程式作業 截止日期 2016/06/27
2015年6月29日 星期一
2015年6月9日 星期二
ryDsp0610
ryDsp0610 -- Progress Check on Final Term project
You can start to submit your blog link here.
I myself provide an example for you.
Deadline is Next Tuesday (2015/06/16)
You will give a 30 min talk on Wednesday (2015/06/17)
Report schedule:
(3 students have uploaded their blog-links before 23:00 2015/06/16, only 50% of them all !)
https://www.dropbox.com/s/hmunan7s3yjwasr/ryDspFinalFroject_py.pdf?dl=0
You can start to submit your blog link here.
I myself provide an example for you.
Deadline is Next Tuesday (2015/06/16)
You will give a 30 min talk on Wednesday (2015/06/17)
Report schedule:
(3 students have uploaded their blog-links before 23:00 2015/06/16, only 50% of them all !)
https://www.dropbox.com/s/hmunan7s3yjwasr/ryDspFinalFroject_py.pdf?dl=0
2015年5月27日 星期三
ryDsp0527, examples beyond Pygame
ryDsp0527
Just put many examples beyond Pygame,
including pyaudio and Vpython for your reference in the final-term project
https://www.dropbox.com/s/g0berki6u6ntkt6/ryDsp0527.zip?dl=0
the first priority to do is to install all the required Python packages to run them.
the second is choose several programs to document and present them.
Starting from next week,
each student should report their progress
about the final term project.
At 17th week, the final presentation
should be given formally,
including demo,
power point (ppt),
written document (pdf).
A blogspot is good for you to put everything there,
just provide me a link.
I myself find all packages in this site:
Unofficial Windows Binaries for Python Extension Packages
1. pygame
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
2. pyaudio
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
3. vpython
http://www.lfd.uci.edu/~gohlke/pythonlibs/#vpython
4. scientific python packages: (3 in one)
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy
http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib
2015年5月20日 星期三
ryDSP : Discrete Fourier Transform
ryDSP
Discrete Fourier Transform
an article from wikipedia /pdf
http://en.wikipedia.org/wiki/Discrete_Fourier_transform
https://www.dropbox.com/s/34ibyu3758ew3b9/ryDiscreteFouriertransform.pdf?dl=0
my ppt/pdf
https://www.dropbox.com/s/eppqh4bc72g0ezr/ryDSP_Lecture6.PDF?dl=0
https://www.dropbox.com/s/pv8bntsqna9r8pm/ryDSP_Lecture5.PDF?dl=0
for pygame multimedia term proj,
refer to this :
http://ryteach.blogspot.tw/2015/05/ryprob011pygame.html#more
especially for the installation process
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame

C:\Python34\Scripts\pip.exe install pygit2-0.21.3-cp34-none-win32.whl

also refer to some previous student's projects (mainly in Chinese)
Discrete Fourier Transform
an article from wikipedia /pdf
http://en.wikipedia.org/wiki/Discrete_Fourier_transform
https://www.dropbox.com/s/34ibyu3758ew3b9/ryDiscreteFouriertransform.pdf?dl=0
my ppt/pdf
https://www.dropbox.com/s/eppqh4bc72g0ezr/ryDSP_Lecture6.PDF?dl=0
https://www.dropbox.com/s/pv8bntsqna9r8pm/ryDSP_Lecture5.PDF?dl=0
for pygame multimedia term proj,
refer to this :
http://ryteach.blogspot.tw/2015/05/ryprob011pygame.html#more
especially for the installation process
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
C:\Python34\Scripts\pip.exe install pygit2-0.21.3-cp34-none-win32.whl
also refer to some previous student's projects (mainly in Chinese)
CguPython2014: Chang Gung University Python Course 2014 ( Python/ Pygame Programs in Chinese)
2015年5月6日 星期三
What makes Python Awesome?
What makes Python Awesome?
by One of my favorite Python speakers:
Raymond Hettinger
Transforming Code into Beautiful, Idiomatic Python
2015年4月22日 星期三
ryDsp009 _ Convolution review
DSP_009
from wikipedia
http://en.wikipedia.org/wiki/Convolution



![(f * g)[n]\ \stackrel{\mathrm{def}}{=}\ \sum_{m=-\infty}^\infty f[m]\, g[n - m]](http://upload.wikimedia.org/math/6/1/3/613174e3c16ef60cfa48baee47da2e4a.png)
Some problems we will discuss
http://ocw.mit.edu/resources/res-6-007-signals-and-systems-spring-2011/assignments/MITRES_6_007S11_hw04.pdf
from MIT ocw
http://ocw.mit.edu/resources/res-6-007-signals-and-systems-spring-2011/video-lectures/lecture-4-convolution/
from wikipedia
http://en.wikipedia.org/wiki/Convolution



![(f * g)[n]\ \stackrel{\mathrm{def}}{=}\ \sum_{m=-\infty}^\infty f[m]\, g[n - m]](http://upload.wikimedia.org/math/6/1/3/613174e3c16ef60cfa48baee47da2e4a.png)
Some problems we will discuss
http://ocw.mit.edu/resources/res-6-007-signals-and-systems-spring-2011/assignments/MITRES_6_007S11_hw04.pdf
from MIT ocw
http://ocw.mit.edu/resources/res-6-007-signals-and-systems-spring-2011/video-lectures/lecture-4-convolution/
訂閱:
文章 (Atom)