How can I use only FORTH for 35 years?
Ching-Tang
Tseng
Hamilton,
New Zealand
3
Jan 2018
ilikeforth@gmail.com
For
35 years, I am using only one kind of computer language FORTH day by
day, year after year. There is a very important sticking point makes
me able to use only FORTH. I am always interested in some application
softwares designed by FORTH, whichever able to apply to infinite
objects.
Past
posting in this blogger, many programs in mathematical calculations
had been showed for this kind of application. Mathematical
calculation topics are infinite. ABC FORTH designed by me is able to
apply to infinite mathematical calculations.
Based
on such a simple principle, from 8 bits FORTH era to 64 bits FORTH
era, there were no any exception to me. Such a principle makes me
able to use only FORTH for 35 years.
This
time, let me show you another kind of software, designed by FORTH and
to be used in FORTH environment only. It can be apply to infinite
application objects i.e. music songs. I named it A Music Single Note
Player. Program was designed in Lina64 FORTH system under Ubuntu
v.16.04 OS.
In
this application, songs must be programmed into text formats. Player
is doing single note melody sound output, according to the music
describing text. Owing to the speed and frequency of sound output are
different from computer to computer, program are designed in
adjustable automatically method. Tone is adjustable. All tones are
based on one VALUE setting, named ToneBase. Playing speed is
adjustable as well. All playing speeds are based on another VALUE
setting, named TimeBase.
For
the present, two kinds of instrument sound has been developed. Sound
wave shape of a Flute are closing to a pure sine wave sound output.
Another Guitar simulate sound are synthesized by the so called
pluck sound wave output mode.
A
hear-able flute music output demonstration has been posted at the end
of last article. This article is going to introduce a guitar music
output demonstration to you.
The
following demonstration include the Text To Sound output function as
well. About this feature, I’d like to demonstrate it in another
coming article.
I
am living in New Zealand. Introducing a typical Kiwi music seems as a
first priority to me. A New Zealand love song named Pokarekare Ana
(pronounced in English: Pocalicali Ana) is my favorite one. Many
people rewrote this song according to its main melody during the past
100 years. I am able to write all of them into the programs but I
preferred the original one music script in 1914. So I spent a few
time to prepare needful materials for this article.
Please
enjoy this 2:21 minutes visible and audible demonstration, here it
is.
沒有留言:
張貼留言