音高不等于频率

中学以来,我粗浅的音乐知识一直告诉我,不同的音高其实就是不同的频率。具体地说,乐音的基频决定了它的音高,泛音的组合关系决定了它的音色。

但是,实际情况可能要复杂的多。在尝试用Matlab作曲时我发现,用频率组合的思路,很难产生真实的乐器发出的声音。这也是为什么第二部分一直难产,我没拿准频率组合的思路最终可以做到什么程度。

这几天在看维基的时候才发现,根本的问题在于,音高并不等同于频率。频率是一个可测量的物理指标,而音高是人类大脑对于频率组合的总体解读。这个解读跟乐音的基频有很大关系,但是不绝对。

这么说可能很抽象,还是简单看一个例子(来自维基百科):

这一段音乐的独特之处在于,听上去,音高在1分钟时间内一直在降低,而实际上音乐是重复的(都不用分析频率)。

频谱图在这里,这里的频率是线性坐标:

更多的信息请查看:

https://en.wikipedia.org/wiki/Shepard_tone

Advantages of Chinese Teaching

OK, I use this title just to bring attention.

After watching all 3 episodes of the BBC documentary, Are our kids tough enough, Chinese School,  in my opinion, there is one aspect of British kids that really needs to improve: coping with competition and failure.

When British kids were in the PE class, they were very upset that they might fail. Philippa actually sobbed on not passing one item. And she said:

“I just don’t think comparing yourself to others is a good, healthy life style.”

vlcsnap-2015-08-19-23h22m51s591

Philippa is not alone. In the 1st episode, we saw another boy sobbed during PE class.

Well, I have to agree with Philippa that it is not a healthy life style. But competition is part of life. Ranking students all the time with different measures is of course too much, but exposing them to a certain dose of competition is essential to their development. To Philippa, I’d say it’s equally not healthy if young people are so scared of competition that they sob on a failure in just one PE preparation. I don’t want my daughter to be so fragile.

So this is the advantage of Chinese teaching. Put all the drawbacks aside, this is probably one thing Britain should learn from Chinese teaching: To get the kids used to competition.

教学方式差异还是文化差异

BBC的纪录片“Are out Kids Tough Enough? Chinese School”,中文名“我们的孩子足够坚强吗?中式学校”一下子就火了朋友圈了。上网一搜,各种评论铺天盖地。赶快花了两个小时找到看看,免得落后时代太远。下面的我的感想和评论:

首先我要说,其实很多网友的评论发挥的太远了,跟这个节目本身关系不大。其次,从节目中我看到的是语言障碍和文化冲突,教育理念和方法的差异并为充分展现,被展现的部分也主要是文化差异的衍生物。

实验设置

没注意看这活动是谁组织的。我觉得主意非常好,不同文化的师生交流可以成为一个观察文化差异的绝好窗口。但是要说对比中式教育和英式教育的优劣,这题目就太大了。

首先,无论是中式教育还是英式教育,都是不断变化的。节目中的五位老师很难说有代表性。要参加节目,总要英语过得去,又要过去教学记录好,最终的结果很可能是在教学方面不见得能真正代表中式教育,在语言方面不见得能理解西方文化。在节目中我看到的就恰好就是这样。

教学是师生之间的互动,语言障碍和文化差异不可忽视。从我最早在报纸上看到外教抱怨中国学生不参与课堂互动,到现在该有20多年了。中国老师去英国当然也会遇到类似的困境。考虑到这一点,在实验安排上理应留出一段时间给老师和学生进行磨合适应。

继续阅读教学方式差异还是文化差异

It’s about language and culture, dude

中文无废话版在这里

It came to me as a complete surprise that the BBC documentary Are Our Kids Tough Enough? Chinese School got so much attention, and the debate over which is better, the Chinese way or the British way, actually got so heated up.

So I just spent 2 hours watching it on Youtube and here’s what I think.

First of all, I’d say the heated debate and all the furious comments on which way of teaching is better are mostly not based on the video itself. Because what the documentary shows is not a meaningful comparison. All the Chinese teachers simply failed miserably in managing their classes from the very beginning, due largely to, in my humble opinion, cultural conflict and language barrier. So I’ll base my comment on the program and maybe comment on the debate over this program in a separate post.

The Experiment

I don’t know who organized this. I think it’s a fantastic idea in terms of cultural exchange. But if the goal is to compare the Chinese way of teaching to the British way of teaching,  it cannot be taken seriously.

Teaching involves extensive interaction between the teachers and the students. Language barrier and cultural difference cannot be overlooked. Stories of foreign teachers got frustrated in Chinese classes because Chinese students were inactive have been around since 20+ years now. Why should we expect the Chinese teachers not to be shocked in a British school? This cultural shock should be expected and extra time should be planned for both the teachers and the students to adapt.

继续阅读It’s about language and culture, dude

Skin color is an illusion from Nina Jablonski

This talk is kind of special. The content has nothing really new to me, except the fact that Darwin had actually concluded that skin color has nothing to do with climate. However, Ms. Nina Jablonski delivered it in such passion and power that you feel the urge of immediate action.

You can tell from the fluent flow of long sentences that this is for sure a carefully prepared talk. But no passion was lost in the preparation. Outstanding!

setting up OTRS 4

I was asked to evaluate some ticket tracking tools and OTRS came back into my mind. The following steps outline the procedure to have OTRS correctly installed on CentOS 7:

  1. LAMP stack; You probably already have it. And on your system you might have MariaDB instead of MySQL. That doesn’t matter.
  2. Install and configure Postfix and Dovecot.
  3. Make sure the following configuration for MySQL has been taken care of, especially for the 3rd line:
            max_allowed_packet=50M
            query_cache_size=32M
            innodb_log_file_size=1073741824
  4. Install some additional perl modules from EPEL repository.
  5. Install OTRS from command line:
    yum install --nogpgcheck http://ftp.otrs.org/pub/otrs//RPMS/rhel/7/otrs-4.0.11-01.noarch.rpm
  6. Once the installation is done, continue with the web installer from:
    http://<your host ip>/otrs/installer.pl
  7. Simply following the wizard and then you should have a working OTRS installation.
  8. Login to OTRS using super admin account. Go to “Admin->System Administration->Package Manager” and install additional packages. Typically you’d want have OTRS:ITSM and other related packages.

Up to here, you have a working installation. In order to work with OTRS, now you have to configure all the queues, agents, customers, groups, templetes, etc. Have fun!