[ICO]NameLast modifiedSize

[DIR]Parent Directory  -
[   ]morse-20160603.tar.gz27-May-2016 17:55 32K

MORSE is a Morse code train­ing pro­gram for Unix‐​like sys­tems. It is based on an old MS‐​DOS pro­gram from 1996 for Sound Blaster Pro. This Unix in­car­na­tion is not quite as fea­ture­ful as the DOS one, but it’s still use­ful. It’s pos­si­ble to build the pro­gram in Cyg­win, but it’s up to you to find out how.

You will al­so need the lib­stru­til, libt­ty­in­put and liban­si­con li­braries.

Mats Pe­ter­son <mat­sp888 at ya­hoo dot com>

Latest Changes

20160603
• Merged the li­br­lu­til and libt­tyu­til li­braries in­to a libt­ty­in­put li­brary.
20160602
• tty.c, tty.h: Re­moved the files, and fac­tored out the getwch() func­tion to a sep­a­rate li­brary.
20160601
• tty.c: Mi­nor op­ti­miza­tion.
20160531
• tty.c: Fac­tored out AN­SI con­sole stuff to a sep­a­rate li­brary.
20160530
• Check­ing for the Es­cape key used a lot of CPU time; re­vert­ing to us­ing Ctrl‐​C.
20160529
• Sim­pli­fied the Es­cape key han­dling.
20160528
• tty.c: New file that im­ple­ments, among oth­er things, a getwch() func­tion that reads a wide char­ac­ter with­out buffer­ing and echo, in a sim­i­lar fash­ion to getch() in DOS.
• Fi­nal­ly set­tled on us­ing the Es­cape key in­stead of Ctrl‐​C to ex­it from play­back, since it’s now jus­ti­fied af­ter the ad­di­tion of tty.c.
20160527
• Added a Make­file for Cyg­win.
20160526
• Re­vert to us­ing Ctrl‐​C; it’s sim­pler af­ter all.
20160525
• Use the Es­cape key to stop play­back in­stead of Ctrl‐​C.
20160524
• Var­i­ous fix­es.
20160523
• Added sup­port for 24‐​bit packed (SND_PCM_FOR­MAT_S24_3LE, AFMT_S24_PACKED) sam­ple for­mat.
20160522
• Sim­pli­fied the build­ing process; now us­ing a sin­gle Make­file for both AL­SA and OSS in­stead of sep­a­rate Make­files and build scripts.
20160521
• au­dio-al­sa.c, au­dio-oss.c: Er­ror han­dling fix­es in write_au­dio_buf().
• Added two sim­ple build scripts in or­der to avoid ex­ces­sive typ­ing.
20160520
• Added sup­port for AL­SA (Ad­vanced Lin­ux Sound Ar­chi­tec­ture).
20160519
• au­dio.c (write_au­dio_buf): New sta­t­ic func­tion that han­dles EIN­TR and short writes.
20160518
• au­dio.c (ze­ro_au­dio_buf): New sta­t­ic func­tion to (hope­ful­ly) avoid pops when clos­ing the au­dio de­vice.
20160517
• au­dio.c (put_au­dio_buf): Slight op­ti­miza­tion.
• init.c: Changed the de­fault au­dio frag­ment size to 13 (8192 B).
20160516
• au­dio.c: Check re­turn val­ues from SND­CTL_DSP_SETFMT, SND­CTL_DSP_CHAN­NELS and SND­CTL_DSP_SPEED ioctl()s.
20160515
• Lim­it line length of ran­dom text to 72 char­ac­ters.
20160514
• Var­i­ous fix­es.
20160513
• Added the Ger­man let­ter ‘Ü’ to morse.sym.
20160512
• Added sup­port for 32‐​bit au­dio, for what­ev­er it’s worth.
20160511
• Sim­pli­fied the au­dio cal­cu­la­tions.
20160510
• Added sup­port for 8‐​ and 24‐​bit au­dio. I’m not quite sure whether 24‐​bit au­dio works cor­rect­ly, since I can’t test it here. Please no­ti­fy me if there are any prob­lems.
• Added lim­it check­ing of nu­mer­i­cal in­put (like it’s done in the DOS ver­sion).
20160509
• More ef­fi­cient au­dio han­dling; pre­cal­cu­late the num­ber of sam­ples for tones and spaces.
20160508
• In­put of val­ues is now done with GNU Read­line.
• The con­fig­u­ra­tion files are now stored as text rather than bi­na­ry da­ta. Please re­move any old con­fig­u­ra­tion files. This will (hope­ful­ly) be the last time.
20160507
• Now us­ing float­ing point for WPM and dot/​dash lengths. New tone rise/​de­cay set­ting for a more pleas­ant sound. Please re­move any old con­fig­u­ra­tion files, since the for­mat has changed once again. Sor­ry for the in­con­ve­nience.
20160506
• Now us­ing vol­ume per­cent­age in­stead of the pre­vi­ous slight­ly cryp­tic dec­i­mal val­ue rang­ing from 0 to 1.
20160505
• Lots of changes. Please re­move any old con­fig­u­ra­tion files, since the for­mat has changed.
20160504
• The Morse code sym­bol de­f­i­n­i­tions have been fac­tored out to the file ‘morse.sym’, which can be cus­tomized if nec­es­sary.
20160503
• More refac­tor­ing.
20160502
• Im­proved au­dio han­dling. Fac­tored out au­dio, tone gen­er­a­tion and util­i­ty func­tions to sep­a­rate files.
20160501
• Lots of in­ter­nal changes.
20160430
• Var­i­ous changes.
20160429
• Mi­nor sim­pli­fi­ca­tions.
20160428
• Ini­tial re­lease.