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

2017年2月15日 星期三

DSP 2017


6月13日【二】(12:00~13:00) 4位高年級生
6月13日【二】(15:00~16:00) 4位高年級生

6月13日【二】(13:00~15:00) 大二生開始




2016年6月27日 星期一

訊號系統 2016 成績試算

訊號系統 2016 成績試算

學期成績 ==   期中考 *0.4

+期末口頭報 告*0.6

+書面連結

期中考只分辨2種情形,有連結 以及 無連結。
前者一律 80,後者一律 75

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年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


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/

EasyABC screenshot

--------

你要在 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

Think Python

2nd Edition

by Allen B. Downey
This 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/


EasyABC screenshot


----
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


作業繳交專頁:  http://ryteach.blogspot.tw/2016/06/2016.html


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



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月6日 星期三

What makes Python Awesome?


What makes Python Awesome?

by One of my favorite Python speakers:

Raymond Hettinger






Transforming Code into Beautiful, Idiomatic Python