From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id BE053BBCA for ; Fri, 4 Apr 2008 00:02:46 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArQAAC7x9Efa1uFijWdsb2JhbACRUwEBAQEJBQcHGJojBA X-IronPort-AV: E=Sophos;i="4.25,600,1199660400"; d="scan'208";a="24572377" Received: from discorde.inria.fr ([192.93.2.38]) by mail4-smtp-sop.national.inria.fr with ESMTP; 04 Apr 2008 00:02:46 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m33M2jUf004779 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 4 Apr 2008 00:02:46 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArQAAC7x9Efa1uFijWdsb2JhbACRUwEBAQEJBQcHGJojBA X-IronPort-AV: E=Sophos;i="4.25,600,1199660400"; d="scan'208";a="24572375" Received: from smtp.syd.people.net.au ([218.214.225.98]) by mail4-smtp-sop.national.inria.fr with SMTP; 04 Apr 2008 00:02:34 +0200 Received: (qmail 4853 invoked from network); 3 Apr 2008 22:02:31 -0000 Received: from unknown (HELO hendrix.mega-nerd.net) (218.214.64.136) by smtp.syd.people.net.au with SMTP; 3 Apr 2008 22:02:31 -0000 Received: from hendrix (hendrix [192.168.200.99]) by hendrix.mega-nerd.net (Postfix) with SMTP id 0F724AB180 for ; Fri, 4 Apr 2008 08:02:24 +1000 (EST) Date: Fri, 4 Apr 2008 09:02:22 +1100 From: Erik de Castro Lopo To: caml-list@inria.fr Subject: Re: [Caml-list] Operators for Int64 and Int32 Message-Id: <20080404090222.7d86e7a8.mle+ocaml@mega-nerd.com> In-Reply-To: <906164100804031339v79ff2455v48e6f32038569f3a@mail.gmail.com> References: <906164100804030708p3e2788a0p29b69f4d46600622@mail.gmail.com> <20080404071729.154e130e.mle+ocaml@mega-nerd.com> <906164100804031339v79ff2455v48e6f32038569f3a@mail.gmail.com> Reply-To: caml-list@inria.fr Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed 2.4.5 (GTK+ 2.12.0; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Miltered: at discorde with ID 47F55405.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 subset:01 stereo:98 customized:98 wrote:01 parsing:01 parsing:01 caml-list:01 int:01 int:01 erik:04 erik:04 fix:05 trivially:05 MichaƂ Maciejewski wrote: > I have already finished the wave part, but thanks. I didn't know about > OCaml wrapper. Parsing a standard RIFF 8/16bit stereo/mono file isn't > so hard, actually. Exactly, parsing the most simple example is trivially easy. However, being robust to malformed files, working around the broken-ness where possible and supporting even a small subset of things other than 8/16 bit PCM is a huge task. From where you are now you will be tempted to fix all these issues one by one. Down that path lines insanity. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "If the thought of switching editors doesn't fill you with quite a bit of dread, what you're using now is almost certainly underpowered, and you definitely haven't customized it enough." -- http://codeulate.com/?p=12