Dec 212017
 
A simple song player, includes complete TP 4.0+ source code.
File SING.ZIP from The Programmer’s Corner in
Category Pascal Source Code
A simple song player, includes complete TP 4.0+ source code.
File Name File Size Zip Size Zip Type
FORMAT.TXT 605 344 deflated
POMASHAN.SON 438 78 deflated
SING.PAS 4619 1203 deflated

Download File SING.ZIP Here

Contents of the FORMAT.TXT file


The format of the information about a song is as follows:

A note is represented in each line starting with an integer representing
the level of the note. I used 128 Hz as the frequency for C at the level 1.
You may change this in the source program for different starting level.
After ONE blank, there should be a CAPITAL letter preceded by a "#", "b" or
nothing. Finally, a number representing the duration of the note should end
the line. There should be at least a blank between the note letter and the
duration number. Please refer to the file "pomashan.son" for a better
understanding.


 December 21, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)