Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ut-sally!husc6!rutgers!mtune!codas!killer!ozdaltx!root From: root@ozdaltx.UUCP (root) Newsgroups: comp.sys.ibm.pc,comp.unix.xenix Subject: IBM music, how is it done? Message-ID: <4261@ozdaltx.UUCP> Date: Mon, 7-Sep-87 04:01:03 EDT Article-I.D.: ozdaltx.4261 Posted: Mon Sep 7 04:01:03 1987 Date-Received: Tue, 8-Sep-87 02:07:13 EDT Organization: OZ BBS - Dallas, TX Lines: 26 Xref: mnetor comp.sys.ibm.pc:7533 comp.unix.xenix:687 Having seen lots of DOS software that whistles, chirps and otherwise sings its way into your heart, I got to playing around with the ^G settings (bell). Now, in an ansi system you can control the frequency and duration of the bell tone with the string, ESC[=F;TB Where F is the frequency and T is the duration in 10ths of a second. The problem lies that in a XENIX system the parameters seem to be locked in. That is you can't specify anything other than multiples of 10ths of minutes (1-???) AND whole number frequencys, (220,440,etc....) not 237.67 . Now taking these facts into consideration, has anyone done ANY programming in this area? On a DOS level is fine, or is XENIX being forced to remain mute? BTW, if anyone is interested, I've written a VERY simplistic program in lex to parse a file and generate tones in the cromatic scale. It will play (?) a tune. -- ============================================================ | Scotty | Adapt - Enjoy - Survive | | ihnp4!killer!ozdaltx!sysop | "Ad Venerem Securiorem" | ============================================================