From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25919 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: audio files in pdf Date: Fri, 10 Feb 2006 15:25:49 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1139581752 24145 80.91.229.2 (10 Feb 2006 14:29:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2006 14:29:12 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 10 15:29:00 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1F7ZDj-0000p5-FQ for gctc-ntg-context-518@m.gmane.org; Fri, 10 Feb 2006 15:25:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0DB0D1278A; Fri, 10 Feb 2006 15:25:59 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16321-01; Fri, 10 Feb 2006 15:25:55 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99C5F12780; Fri, 10 Feb 2006 15:25:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA0EA12780 for ; Fri, 10 Feb 2006 15:25:53 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15659-05 for ; Fri, 10 Feb 2006 15:25:52 +0100 (CET) Original-Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.206]) by ronja.ntg.nl (Postfix) with SMTP id 85FE21277F for ; Fri, 10 Feb 2006 15:25:52 +0100 (CET) Original-Received: by xproxy.gmail.com with SMTP id i31so247773wxd for ; Fri, 10 Feb 2006 06:25:51 -0800 (PST) Original-Received: by 10.70.109.20 with SMTP id h20mr3118184wxc; Fri, 10 Feb 2006 06:25:49 -0800 (PST) Original-Received: by 10.70.72.15 with HTTP; Fri, 10 Feb 2006 06:25:49 -0800 (PST) Original-To: mailing list for ConTeXt users In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25919 Archived-At: On 2/10/06, andrea valle wrote: > Dear all, > > In the next weeks I will make some presentations in which I will use > audio examples. An example. (it come from Hans, so it's not mine, but I love it) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setupinteraction [state=start, color=] \setupcolors [state=start] \startJSpreamble speech used now function SpeakToMe(str) { tts.qText(str) ; tts.talk() ; } \stopJSpreamble \starttext \startsetups[text] For millions of years mankind lived just like the animals. Then something happened which unleashed the power of our imagination. We learned to talk. \stopsetups \startbuffer[text] For millions of years mankind lived just like the animals. Then something happened which unleashed the power of our imagination. We learned to talk. \stopbuffer % Steve Hawkins Division Bell Pink Floyd \startTEXpage \button [width=fit,height=fit,align=middle,offset=1em, frame=off,foregroundcolor=middleblue, background=color,backgroundcolor=middleyellow] {\nohyphens \getbuffer[text]} [JS(SpeakToMe{{\directsetup{text}}}] \stopTEXpage \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%5