From owner-freebsd-bugs Fri Mar 21 11:40:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA07660 for bugs-outgoing; Fri, 21 Mar 1997 11:40:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA07640; Fri, 21 Mar 1997 11:40:03 -0800 (PST) Resent-Date: Fri, 21 Mar 1997 11:40:03 -0800 (PST) Resent-Message-Id: <199703211940.LAA07640@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mcampbel@erols.com Received: from man-as1s61.erols.com (man-as1s61.erols.com [206.161.170.61]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA07137 for ; Fri, 21 Mar 1997 11:36:15 -0800 (PST) Received: (from lee@localhost) by man-as1s61.erols.com (8.8.5/8.8.3) id OAA00912; Fri, 21 Mar 1997 14:36:03 -0500 (EST) Message-Id: <199703211936.OAA00912@man-as1s61.erols.com> Date: Fri, 21 Mar 1997 14:36:03 -0500 (EST) From: lee@man-as1s61.erols.com Reply-To: mcampbel@erols.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/3054: OPL3 sound off by one note Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 3054 >Category: kern >Synopsis: OPL3 sound off by one note >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 21 11:40:01 PST 1997 >Last-Modified: >Originator: Lee Cremeans >Organization: >Release: FreeBSD 2.2-RELEASE i386 >Environment: Standard 2.2-R environment >Description: Sound played through the OPL2/3 sequencer is high by one note, for example if you tell the sequencer to play an A, it actually plays a B. >How-To-Repeat: Play any MIDI file on the FM system with playmidi or another .mid player. >Fix: Apply this patch to /sys/i386/isa/sequencer.c: --- sequencer.c.orig Fri Mar 21 14:29:58 1997 +++ sequencer.c Fri Mar 21 14:30:58 1997 @@ -1845,7 +1845,8 @@ }; #define BASE_OCTAVE 5 - + + note_num += 2; octave = note_num / 12; note = note_num % 12; >Audit-Trail: >Unformatted: