Csound Csound-dev Csound-tekno Search About

het_import/export

Date1999-10-30 23:58
FromJon Wild
Subjecthet_import/export
I'm looking for a program that reads the binary .adsyn files generated by
Csound's hetrodyne analysis, and outputs them in a human-readable form.  A
few years ago I found a binary at the Leeds FTP site, compiled for the
operating system (SGI) I was using at the time. It was called het_export,
and the utility performing the reverse operation was het_import. I still
have the SGI binaries, but no SGI.

I'd like to find the source code for these - some programs I wrote at the
time, to edit .adsyn data before resynthesis, need that format to work and
it will be a huge drag to rewrite everything... problem is, I can't find
binaries *or* source code for het_import and het_export at any of the FTP
sites.

Thanks for any help  --Jon

Date1999-10-31 12:01
Fromjpff@maths.bath.ac.uk
SubjectRe: [Csnd] het_import/export
The sources for *_export and *_input are in all the source
distributions; there are in csound_src.zip and in Csound.tar.gz on the
elusive bath server. 

BTW I have been offered a new server locally which is not subject to
quite so many nasties.  I am testing it at present but it seems much
faster that the current one.  More news later.
==John ffitch
--
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25334;
          31 Oct 99 15:53 GMT
Received: from [138.38.32.81] (helo=mercury.bath.ac.uk ident=qmailr)
	by shaun.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11hxIp-0004gs-00
	for j.p.ffitch@maths.bath.ac.uk; Sun, 31 Oct 1999 15:53:56 +0000
Received: (qmail 15318 invoked from network); 31 Oct 1999 15:49:49 -0000
Received: from amos.bath.ac.uk (qmailr@138.38.32.36)
  by mercury.bath.ac.uk with SMTP; 31 Oct 1999 15:49:49 -0000
Received: (qmail 14871 invoked by uid 1457); 31 Oct 1999 15:48:10 -0000
Mailing-List: contact csound-help@lists.bath.ac.uk; run by ezmlm
Precedence: bulk
X-Mailing-List: csound
Delivered-To: mailing list csound@lists.bath.ac.uk
Received: (qmail 14865 invoked from network); 31 Oct 1999 15:48:09 -0000
Received: from pat.bath.ac.uk (138.38.32.2)
  by amos.bath.ac.uk with SMTP; 31 Oct 1999 15:48:09 -0000
Received: (qmail 3743 invoked from network); 31 Oct 1999 15:48:09 -0000
Received: from jaguars-int.cableinet.net (HELO jaguars.cableinet.net) (193.38.113.9)
  by pat.bath.ac.uk with SMTP; 31 Oct 1999 15:48:09 -0000
Received: (qmail 8008 invoked from network); 31 Oct 1999 14:27:59 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.171)
  by jaguars with SMTP; 31 Oct 1999 14:27:59 -0000
Message-ID: <381C6584.B5BBC5E1@cableinet.co.uk>
Date: Sun, 31 Oct 1999 15:51:32 +0000
From: Richard Dobson 
Organization: Composers Desktop Project
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@lists.bath.AC.UK
References: <199910292228.PAA08348@emerald.oz.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: Re: [Csnd] Win NT Problems take 2


OK, I have tried this on v3.58 under Win2000, and there is indeed a
little problem.

The function to play sound at end is sndPlaySound(), and it is set to
SND_ASYNC. This means the function returns immediately after the call.
However, if 'Remain Active' is set, Winsound effectively relaunches,
killing the audio.

The quick fix is just to use SND_SYNC instead (as I find I did in
v3.55):

sndPlaySound(theApp.GetProfileString(csound_section, "Soundfile",""),
		       SND_SYNC);

So Winsound will wait for the sound to finish before restarting.

Presumably this applies also to v3.59; I will install this ere long and
investigate.



Richard Dobson




Richard Weisgerber wrote:
> 
> I tried this with Winsound on NT 4 SP5 wks with following results.
> 
> Used tried and true Trapped in Convert composition by Richard Boulanger for
> this test.
> 
> Remain Active & Play at end unchecked:
> Compiled piece and put press a key to close dialog, pressed enter and Winsound
> closed.  Played results in wave player, success.
> 
> Remain Active & Play at end checked:
> Compiled piece but DID NOT play the piece when finished.  Bug it
> Click on logging window, hit a key and up pops the Winsound control dialog.
> Played results in wave player, success.
> 
> Remain Active checked & Play at end unchecked:
> Compile piece, press a key and winsound closed,
> Played results in wave player, success.
> 

-- 
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd (LU: 17th September 1999)
CDP: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm (LU: 14th June 1999)
--
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25825;
          31 Oct 99 21:06 GMT
Received: from [138.38.32.81] (helo=mercury.bath.ac.uk ident=qmailr)
	by wallace.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11i1BZ-0008Tb-00
	for j.p.ffitch@maths.bath.ac.uk; Sun, 31 Oct 1999 20:02:42 +0000
Received: (qmail 6261 invoked from network); 31 Oct 1999 20:53:18 -0000
Received: from amos.bath.ac.uk (qmailr@138.38.32.36)
  by mercury.bath.ac.uk with SMTP; 31 Oct 1999 20:53:18 -0000
Received: (qmail 4170 invoked by uid 1457); 31 Oct 1999 20:51:51 -0000
Mailing-List: contact csound-help@lists.bath.ac.uk; run by ezmlm
Precedence: bulk
X-Mailing-List: csound
Delivered-To: mailing list csound@lists.bath.ac.uk
Received: (qmail 4164 invoked from network); 31 Oct 1999 20:51:51 -0000
Received: from pat.bath.ac.uk (138.38.32.2)
  by amos.bath.ac.uk with SMTP; 31 Oct 1999 20:51:51 -0000
Received: (qmail 21750 invoked from network); 31 Oct 1999 20:51:50 -0000
Received: from wallace.maths.bath.ac.uk (exim@138.38.100.104)
  by pat.bath.ac.uk with SMTP; 31 Oct 1999 20:51:50 -0000
Received: from [138.38.99.25] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11i0xE-0008TM-00
	for csound@lists.bath.AC.UK; Sun, 31 Oct 1999 19:47:52 +0000
Date: Sun, 31 Oct 1999 14:54:27 +0000
Message-Id: <3405-Sun31Oct1999145427+0000-jpff@maths.bath.ac.uk>
X-Mailer: emacs 20.4.1 (via feedmail 8 Q)
From: jpff@maths.bath.ac.uk
To: csound@lists.bath.AC.UK
Sender: j.p.ffitch@maths.bath.ac.uk
Source-Info:  From (or Sender) name not authenticated.
Subject: [Csnd] Administrivia

James Andrews and I have completed out tests and so we have
transferred the csound mailing list from Exeter to Bath.  A forwarding
address has been left in Exeter, but the main submission address is
now
        csound@lists.bath.ac.uk

Sending mail to csound-help@lists.bath.ac.uk should give further
instructions on how to use this list.

I have reinstated the [Csnd] prefix as it seems to have more support
than not, and I have (re)added the short trailer to say how to
unsubscribe.

At present the digest remains as before, but I am actively
investigating how to integrate it.  I am actually creating digests
inside ezmlm but no one is getting them.  I hope this will be a simple
system and largely automatic, as it has been for some other lists ran
from lists.bath.ac.uk

If you have any comments or suggestions for improvement send them to
me and I will see what I can do.

==John ffitch
--
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25970;
          31 Oct 99 22:22 GMT
Received: from [138.38.32.81] (helo=mercury.bath.ac.uk ident=qmailr)
	by shaun.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11i3N7-0004lF-00
	for j.p.ffitch@maths.bath.ac.uk; Sun, 31 Oct 1999 22:22:45 +0000
Received: (qmail 12153 invoked from network); 31 Oct 1999 22:19:29 -0000
Received: from amos.bath.ac.uk (qmailr@138.38.32.36)
  by mercury.bath.ac.uk with SMTP; 31 Oct 1999 22:19:29 -0000
Received: (qmail 9295 invoked by uid 1457); 31 Oct 1999 22:17:56 -0000
Mailing-List: contact csound-help@lists.bath.ac.uk; run by ezmlm
Precedence: bulk
X-Mailing-List: csound
Delivered-To: mailing list csound@lists.bath.ac.uk
Received: (qmail 9289 invoked from network); 31 Oct 1999 22:17:56 -0000
Received: from pat.bath.ac.uk (138.38.32.2)
  by amos.bath.ac.uk with SMTP; 31 Oct 1999 22:17:56 -0000
Received: (qmail 26921 invoked from network); 31 Oct 1999 22:17:55 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 31 Oct 1999 22:17:55 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA584222); Sun, 31 Oct 1999 22:17:54 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 31 Oct 1999 22:17:53 GMT
Received: from fornax.tiscalinet.it [195.130.224.67] by hermes via SMTP (WAA614631); Sun, 31 Oct 1999 22:17:52 GMT
Received: (qmail 13024 invoked by uid 7770); 31 Oct 1999 22:06:21 -0000
Received: from unknown (HELO agora.stm.it) (212.123.95.29)
  by fornax.tiscalinet.it with SMTP; 31 Oct 1999 22:06:21 -0000
Message-ID: <381C43A1.8EF0A249@agora.stm.it>
Date: Sun, 31 Oct 1999 14:26:57 +0100
From: Gabriel Maldonado 
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Michael Gogins 
CC: Csoundlist 
References: 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: Re: [Csnd] Csound stdin / stdout

I never tested it. Do you have some suggestion?

Michael Gogins wrote:
> 
> With DirectCsound, Winsound, and consound, do audio input and output via
> stdin and stdout work and, if so, how well?
> 
> In particular, are the files read and/or written with blocking, for example,
> if the output file is not available, does Csound suspend execution until it
> is available (this could be handled implicitly by the write system call)?

-- 
Gabriel Maldonado

http://web.tiscalinet.it/G-Maldonado


--
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26123;
          1 Nov 99 1:04 GMT
Received: from [138.38.32.81] (helo=mercury.bath.ac.uk ident=qmailr)
	by shaun.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11i5tJ-0004ml-00
	for j.p.ffitch@maths.bath.ac.uk; Mon, 1 Nov 1999 01:04:09 +0000
Received: (qmail 21790 invoked from network); 1 Nov 1999 00:57:50 -0000
Received: from amos.bath.ac.uk (qmailr@138.38.32.36)
  by mercury.bath.ac.uk with SMTP; 1 Nov 1999 00:57:50 -0000
Received: (qmail 16441 invoked by uid 1457); 1 Nov 1999 00:56:08 -0000
Mailing-List: contact csound-help@lists.bath.ac.uk; run by ezmlm
Precedence: bulk
X-Mailing-List: csound
Delivered-To: mailing list csound@lists.bath.ac.uk
Received: (qmail 16435 invoked from network); 1 Nov 1999 00:56:08 -0000
Received: from pat.bath.ac.uk (138.38.32.2)
  by amos.bath.ac.uk with SMTP; 1 Nov 1999 00:56:08 -0000
Received: (qmail 4539 invoked from network); 1 Nov 1999 00:56:02 -0000
Received: from rothko.bestweb.net (209.94.100.160)
  by pat.bath.ac.uk with SMTP; 1 Nov 1999 00:56:02 -0000
Received: from goodguy (dialin-220.poughkeepsie.bestweb.net [216.179.14.54])
	by rothko.bestweb.net (8.9.1a/8.9.0) with SMTP id TAA26908;
	Sun, 31 Oct 1999 19:55:51 -0500 (EST)
Sender: root@rothko.bestweb.net
Message-ID: <381CEF7B.2B7EF4E@westnet.com>
Date: Mon, 01 Nov 1999 01:40:12 +0000
From: Larry Troxler 
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: keykit@nosuch.com, csound@lists.bath.AC.UK
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: [Csnd] Real-time Keykit->Csound working on Linux

Hi, I just thought I should mention that I have Keykit working with
Csound (real-time) on Linux. I did this by driving csound with Line
events, rather than MIDI. Unfortunately this means that without some
additional work, my Csound output is not really integrated into KeyKit
in the sense that MIDI is.

But if anyone else would like to try this, get in touch and I could
share some KeyKit code.

(note: this message has been posted to both the Csound and KeyKit lists)
 
Larry Troxler

--
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26158;
          1 Nov 99 1:23 GMT
Received: from [138.38.32.81] (helo=mercury.bath.ac.uk ident=qmailr)
	by shaun.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11i6C9-0004n1-00
	for j.p.ffitch@maths.bath.ac.uk; Mon, 1 Nov 1999 01:23:37 +0000
Received: (qmail 23191 invoked from network); 1 Nov 1999 01:00:15 -0000
Received: from amos.bath.ac.uk (qmailr@138.38.32.36)
  by mercury.bath.ac.uk with SMTP; 1 Nov 1999 01:00:15 -0000
Received: (qmail 17100 invoked by uid 1457); 1 Nov 1999 00:58:29 -0000
Mailing-List: contact csound-help@lists.bath.ac.uk; run by ezmlm
Precedence: bulk
X-Mailing-List: csound
Delivered-To: mailing list csound@lists.bath.ac.uk
Received: (qmail 17093 invoked from network); 1 Nov 1999 00:58:28 -0000
Received: from pat.bath.ac.uk (138.38.32.2)
  by amos.bath.ac.uk with SMTP; 1 Nov 1999 00:58:28 -0000
Received: (qmail 4622 invoked from network); 1 Nov 1999 00:58:27 -0000
Received: from mta3.snfc21.pbi.net (206.13.28.141)
  by pat.bath.ac.uk with SMTP; 1 Nov 1999 00:58:27 -0000
Received: from thompsonresidence.com ([209.233.20.72])
 by mta3.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8)
 with SMTP id <0FKH00HUZUOGNY@mta3.snfc21.pbi.net> for csound@lists.bath.ac.uk;
 Sun, 31 Oct 1999 16:57:56 -0800 (PST)
Received: (qmail 26842 invoked by alias); Mon, 01 Nov 1999 00:57:51 +0000
Received: (qmail 26827 invoked from network); Mon, 01 Nov 1999 00:57:50 +0000
Received: from shell9.ba.best.com (root@206.184.139.140)
 by adsl-209-233-20-72.dsl.snfc21.pacbell.net with SMTP; Mon,
 01 Nov 1999 00:57:50 +0000
Received: (from tjt@localhost) by shell9.ba.best.com (8.9.3/8.9.2/best.sh)
 id QAA29572 for dispatcher@adsl-209-233-20-72.dsl.snfc21.pacbell.net; Sun,
 31 Oct 1999 16:57:45 -0800 (PST)
Received: from proxy5.ba.best.com (root@proxy5.ba.best.com [206.184.139.16])
 by shell9.ba.best.com (8.9.3/8.9.2/best.sh) with ESMTP id QAA29464 for
 ; Sun,
 31 Oct 1999 16:57:12 -0800 (PST)
Received: from rothko.bestweb.net (rothko.bestweb.net [209.94.100.160])
 by proxy5.ba.best.com (8.9.3/8.9.2/best.in) with ESMTP id QAA13345 for
 ; Sun, 31 Oct 1999 16:55:59 -0800 (PST)
Received: from goodguy (dialin-220.poughkeepsie.bestweb.net [216.179.14.54])
 by rothko.bestweb.net (8.9.1a/8.9.0) with SMTP id TAA26908; Sun,
 31 Oct 1999 19:55:51 -0500 (EST)
Date: Mon, 01 Nov 1999 01:40:12 +0000
From: Larry Troxler 
Sender: root@rothko.bestweb.net
To: keykit@nosuch.com, csound@lists.bath.AC.UK
Message-id: <381CEF7B.2B7EF4E@westnet.com>
MIME-version: 1.0
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.36 i586)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
MBOX-Line: From root@rothko.bestweb.net  Sun Oct 31 16:57:51 1999
X-Rcpt-To: keykit@nosuch.com
Subject: [Csnd] Real-time Keykit->Csound working on Linux

Hi, I just thought I should mention that I have Keykit working with
Csound (real-time) on Linux. I did this by driving csound with Line
events, rather than MIDI. Unfortunately this means that without some
additional work, my Csound output is not really integrated into KeyKit
in the sense that MIDI is.

But if anyone else would like to try this, get in touch and I could
share some KeyKit code.

(note: this message has been posted to both the Csound and KeyKit lists)
 
Larry Troxler

--
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26462;
          1 Nov 99 5:10 GMT
Received: from [138.38.32.81] (helo=mercury.bath.ac.uk ident=qmailr)
	by wallace.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11i8k8-00008j-00
	for j.p.ffitch@maths.bath.ac.uk; Mon, 1 Nov 1999 04:06:52 +0000
Received: (qmail 6681 invoked from network); 1 Nov 1999 05:07:05 -0000
Received: from amos.bath.ac.uk (qmailr@138.38.32.36)
  by mercury.bath.ac.uk with SMTP; 1 Nov 1999 05:07:05 -0000
Received: (qmail 27769 invoked by uid 1457); 1 Nov 1999 05:05:28 -0000
Mailing-List: contact csound-help@lists.bath.ac.uk; run by ezmlm
Precedence: bulk
X-Mailing-List: csound
Delivered-To: mailing list csound@lists.bath.ac.uk
Received: (qmail 27748 invoked from network); 1 Nov 1999 05:05:27 -0000
Received: from pat.bath.ac.uk (138.38.32.2)
  by amos.bath.ac.uk with SMTP; 1 Nov 1999 05:05:27 -0000
Received: (qmail 15846 invoked from network); 1 Nov 1999 05:05:27 -0000
Received: from howl.werewolf.net (12.23.152.10)
  by pat.bath.ac.uk with SMTP; 1 Nov 1999 05:05:27 -0000
Received: from default (dial9.werewolf.net [12.23.153.9])
	by howl.werewolf.net (8.9.0/8.9.0) with SMTP id WAA23770
	for ; Sun, 31 Oct 1999 22:55:47 -0600 (CST)
Message-ID: <000a01bf2428$07326c20$0999170c@default>
From: Hans Mikelson 
To: Csound 
Date: Sun, 31 Oct 1999 23:14:51 -0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Subject: [Csnd] Drone Orc/Sco

Hi,

Thought I would try out this list and see if it works.  I just got the
clicks out of this sound which I started experimenting with a few weeks ago.
It is sort of amplitude modulation based.

Happy Csounding,
Hans Mikelson

;ORC
; Coded by Hans Mikelson October 1999

sr      =        44100                      ; Sample rate
kr      =        4410                       ; Kontrol rate
ksmps   =        10                         ; Samples/Kontrol period
nchnls  =        2                          ; Normal stereo
        zakinit  50,50                      ; May need this later

;---------------------------------------------------------
; Terrain Lead 1
;---------------------------------------------------------
       instr     1

idur   =         p3            ; Duration
iamp   =         p4            ; Amplitude
ifqc   =         cpspch(p5)    ; Pitch to frequency
ipanl  =         sqrt(p6)      ; Pan left
ipanr  =         sqrt(1-p6)    ; Pan right
iplsf  =         p7            ; Frequency modifier
iwahrt =         p8            ; Wah rate
iwahtb =         p9            ; Wah table
ipbnd  =         p10           ; Pitch Bend Table

kpbnd  oscili    1, 1/idur, ipbnd                      ; Pitch bend
kwrt   linseg    1, idur*.3, 1.5, idur*.7, .2          ; Pulse width rate
kdclk  linseg    0, idur*.3, 1, idur*.4, 1, idur*.3, 0 ; Declick

asin   oscili    1, iplsf, 1         ; Sine wave pulse frequency
ar     =         asin*asin           ; Make it positive

armp   oscili    100, iwahrt*kwrt, iwahtb ; PWM
ayi    oscili    ar*armp, iplsf, 1   ; Y
ayf    =         .1/(.1+ayi*ayi)     ; Sort of a square pulse wave at this
point

asig   oscili    1, ifqc*kpbnd, 1    ; Sine oscillator with pitch bend

       outs      ayf*iamp*asig*kdclk*ipanl, ayf*iamp*asig*kdclk*ipanr ;
Output the sound

       endin

;SCO
f1  0 65537 10 1

f20 0 1025  5  .01 512 1 513 .01
f21 0 1025  7  .01 512 1 513 .01
f22 0 1025  10 .8 .5 .1 .2

f11 0 1025 -5  .5  256 1  256 4   256 2  257 2
f12 0 1025 -5  1   256 1  256 2   256 2  257 .25
f13 0 1025 -5  .75 256 1  256 1   256 .5 257 1
f14 0 1025 -5  2   256 .5 256 1   256 1  257 2
f15 0 1025 -5  1   256 2  256 2   256 2  257 2

t 0 20

;    Sta     Dur  Amp    Pitch  Pan  PlsFqc WahRate  WahTable  PtchBend
i1   0       16   8000   7.06   .5   80     .5       20        13
i1   8       15   6000   8.00   0    32     .2       21        11
i1   11      17  13000   7.00   1    10     .4       22        12
i1   12      16  12000   8.07   .3   30     .2       20        14
i1   16      20  11000   9.05   .8   120    .3       21        15
i1   18      23   7000   10.03  .5   25     .1       22        11
i1   20      22   5000   7.00   .5   46     .4       20        12


--
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26492;
          1 Nov 99 5:30 GMT
Received: from [138.38.32.81] (helo=mercury.bath.ac.uk ident=qmailr)
	by wallace.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11i93M-00009N-00
	for j.p.ffitch@maths.bath.ac.uk; Mon, 1 Nov 1999 04:26:44 +0000
Received: (qmail 9118 invoked from network); 1 Nov 1999 05:26:40 -0000
Received: from amos.bath.ac.uk (qmailr@138.38.32.36)
  by mercury.bath.ac.uk with SMTP; 1 Nov 1999 05:26:40 -0000
Received: (qmail 20730 invoked by uid 1457); 1 Nov 1999 05:25:01 -0000
Mailing-List: contact csound-help@lists.bath.ac.uk; run by ezmlm
Precedence: bulk
X-Mailing-List: csound
Delivered-To: mailing list csound@lists.bath.ac.uk
Received: (qmail 20715 invoked from network); 1 Nov 1999 05:25:00 -0000
Received: from pat.bath.ac.uk (138.38.32.2)
  by amos.bath.ac.uk with SMTP; 1 Nov 1999 05:25:00 -0000
Received: (qmail 16581 invoked from network); 1 Nov 1999 05:25:00 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 1 Nov 1999 05:25:00 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (FAA623734); Mon, 1 Nov 1999 05:24:59 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 1 Nov 1999 05:24:58 GMT
Received: from smtp6.mindspring.com [207.69.200.110] by hermes via ESMTP (FAA611004); Mon, 1 Nov 1999 05:24:57 GMT
Received: from Realizer (user-2ive533.dialup.mindspring.com [165.247.20.99])
	by smtp6.mindspring.com (8.8.5/8.8.5) with SMTP id AAA00548;
	Mon, 1 Nov 1999 00:24:52 -0500 (EST)
From: Michael Gogins 
To: Gabriel Maldonado 
Cc: Csoundlist 
Date: Mon, 1 Nov 1999 00:28:22 -0500
Message-ID: 
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
In-Reply-To: <381C43A1.8EF0A249@agora.stm.it>
Importance: Normal
Subject: Re: [Csnd] Csound stdin / stdout

The reason I'm asking about this is if it worked as advertized, it would be
possible to write a VST plugin or a JavaSound implementation of Csound by
reading and writing audio from the Csound process file handles, instead of
having to hack the Csound code into a new kind of driver. This would only
work if either input, or output, or both, blocked if data were not
available.

-----Original Message-----
From: Gabriel Maldonado [mailto:g.maldonado@agora.stm.it]
Sent: Sunday, October 31, 1999 8:27 AM
To: Michael Gogins
Cc: Csoundlist
Subject: Re: Csound stdin / stdout


I never tested it. Do you have some suggestion?

Michael Gogins wrote:
>
> With DirectCsound, Winsound, and consound, do audio input and output via
> stdin and stdout work and, if so, how well?
>
> In particular, are the files read and/or written with blocking, for
example,
> if the output file is not available, does Csound suspend execution until
it
> is available (this could be handled implicitly by the write system call)?

--
Gabriel Maldonado

http://web.tiscalinet.it/G-Maldonado


--
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26856;
          1 Nov 99 10:07 GMT
Received: from [130.209.96.11] (helo=dns1.arts.gla.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11iENJ-0004zr-00
	for jpff@maths.bath.ac.uk; Mon, 1 Nov 1999 10:07:41 +0000
Received: from music.gla.ac.uk (celeste.music.gla.ac.uk [130.209.97.23])
	by dns1.arts.gla.ac.uk (8.9.3/8.9.3) with ESMTP id KAA21504;
	Mon, 1 Nov 1999 10:06:10 GMT
Received: from clarinet.music.gla.ac.uk (clarinet [130.209.97.3])
	by music.gla.ac.uk (8.8.5/8.8.6) with ESMTP id KAA01648;
	Mon, 1 Nov 1999 10:07:45 GMT
Received: (from sbrandon@localhost)
          by clarinet.music.gla.ac.uk (8.8.4/8.8.4)
	  id KAA04778; Mon, 1 Nov 1999 10:07:32 GMT
Message-Id: <199911011007.KAA04778@clarinet.music.gla.ac.uk>
Content-Type: text/plain
MIME-Version: 1.0 (NeXT Mail 3.3 v118.2)
In-Reply-To: <9003-Sun31Oct1999102818+0000-jpff@maths.bath.ac.uk>
X-Nextstep-Mailer: Mail 3.3 [m68k] (Enhance 2.2p2)
Received: by NeXT.Mailer (1.118.2)
From: Stephen Brandon - SysAdmin 
Date: Mon,  1 Nov 1999 10:07:27 GMT
To: jpff@maths.bath.ac.uk
Subject: Re: [Csnd] Win NT Problems take 2
cc: csound@lists.bath.AC.UK, ken@music.gla.ac.uk, nick@music.gla.ac.uk
References: <3.0.1.32.19991029084912.017d25d0@sunhawk.com>
	<9003-Sun31Oct1999102818+0000-jpff@maths.bath.ac.uk>

jff wrote:
> I am responsible for coding winsound, with considerable help from a
> number of people more knowledgeable that I am about Windows
> (Richard Dobson for one). I run on Windows95 (two versions)
> although I have recently acquired Windows98 on my Linux number 2
> machine; I have not tried Csound on that machine yet.
>
> I do not have access to NT anywhere I know so am dependent on what
> I am told. If you can tell me more clearly what does not work I
> would happily look again at the code, or anyone else who wants to
> can. ==John ffitch

Hi John,
We have found the following problem here at Glasgow Univ:

Using WinNT, on an NTFS partition, system drive is D:, the majority  
of the file system (including the csound program dir, and the root  
dir) is write protected...

... the first time you do a compile, it works ok, but the second  
time you try, csound reports that it cannot write the score.srt  
file. If you re-import the .sco and .orc files into the interface  
(although it looks like they are already there, of course) it will  
work a second time, but you have to do this each time you compile.  
Nasty, and most people have gone back to the command line.

I suspect the search path within winsound gets reset after you run  
a score. Most people would not see this problem as not many people  
write-protect their systems.

We'd be very grateful if you could fix this. It's probably a very  
simple bug.

Thanks,
Stephen Brandon
---
Systems Administrator,
Department of Music,		e-mail: S.Brandon@music.gla.ac.uk
14 University Gardens,			(NeXT mail welcomed)
University of Glasgow,		Tel: 	+44 (0)141 330 6065
Glasgow.			Fax:	+44 (0)141 330 3518
Scotland
G12 8QH


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26884;
          1 Nov 99 10:13 GMT
Received: from [138.38.32.81] (helo=mercury.bath.ac.uk ident=qmailr)
	by wallace.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11iDTK-0000Ir-00
	for j.p.ffitch@maths.bath.ac.uk; Mon, 1 Nov 1999 09:09:50 +0000
Received: (qmail 5137 invoked from network); 1 Nov 1999 10:09:33 -0000
Received: from amos.bath.ac.uk (qmailr@138.38.32.36)
  by mercury.bath.ac.uk with SMTP; 1 Nov 1999 10:09:33 -0000
Received: (qmail 27294 invoked by uid 1457); 1 Nov 1999 10:07:43 -0000
Mailing-List: contact csound-help@lists.bath.ac.uk; run by ezmlm
Precedence: bulk
X-Mailing-List: csound
Delivered-To: mailing list csound@lists.bath.ac.uk
Received: (qmail 27284 invoked from network); 1 Nov 1999 10:07:43 -0000
Received: from pat.bath.ac.uk (138.38.32.2)
  by amos.bath.ac.uk with SMTP; 1 Nov 1999 10:07:43 -0000
Received: (qmail 7229 invoked from network); 1 Nov 1999 10:07:42 -0000
Received: from dns1.arts.gla.ac.uk (130.209.96.11)
  by pat.bath.ac.uk with SMTP; 1 Nov 1999 10:07:42 -0000
Received: from music.gla.ac.uk (celeste.music.gla.ac.uk [130.209.97.23])
	by dns1.arts.gla.ac.uk (8.9.3/8.9.3) with ESMTP id KAA21504;
	Mon, 1 Nov 1999 10:06:10 GMT
Received: from clarinet.music.gla.ac.uk (clarinet [130.209.97.3])
	by music.gla.ac.uk (8.8.5/8.8.6) with ESMTP id KAA01648;
	Mon, 1 Nov 1999 10:07:45 GMT
Received: (from sbrandon@localhost)
          by clarinet.music.gla.ac.uk (8.8.4/8.8.4)
	  id KAA04778; Mon, 1 Nov 1999 10:07:32 GMT
Message-Id: <199911011007.KAA04778@clarinet.music.gla.ac.uk>
Content-Type: text/plain
MIME-Version: 1.0 (NeXT Mail 3.3 v118.2)
In-Reply-To: <9003-Sun31Oct1999102818+0000-jpff@maths.bath.ac.uk>
X-Nextstep-Mailer: Mail 3.3 [m68k] (Enhance 2.2p2)
Received: by NeXT.Mailer (1.118.2)
From: Stephen Brandon - SysAdmin 
Date: Mon,  1 Nov 1999 10:07:27 GMT
To: jpff@maths.bath.ac.uk
cc: csound@lists.bath.AC.UK, ken@music.gla.ac.uk, nick@music.gla.ac.uk
References: <3.0.1.32.19991029084912.017d25d0@sunhawk.com>
	<9003-Sun31Oct1999102818+0000-jpff@maths.bath.ac.uk>
Subject: Re: [Csnd] Win NT Problems take 2

jff wrote:
> I am responsible for coding winsound, with considerable help from a
> number of people more knowledgeable that I am about Windows
> (Richard Dobson for one). I run on Windows95 (two versions)
> although I have recently acquired Windows98 on my Linux number 2
> machine; I have not tried Csound on that machine yet.
>
> I do not have access to NT anywhere I know so am dependent on what
> I am told. If you can tell me more clearly what does not work I
> would happily look again at the code, or anyone else who wants to
> can. ==John ffitch

Hi John,
We have found the following problem here at Glasgow Univ:

Using WinNT, on an NTFS partition, system drive is D:, the majority  
of the file system (including the csound program dir, and the root  
dir) is write protected...

... the first time you do a compile, it works ok, but the second  
time you try, csound reports that it cannot write the score.srt  
file. If you re-import the .sco and .orc files into the interface  
(although it looks like they are already there, of course) it will  
work a second time, but you have to do this each time you compile.  
Nasty, and most people have gone back to the command line.

I suspect the search path within winsound gets reset after you run  
a score. Most people would not see this problem as not many people  
write-protect their systems.

We'd be very grateful if you could fix this. It's probably a very  
simple bug.

Thanks,
Stephen Brandon
---
Systems Administrator,
Department of Music,		e-mail: S.Brandon@music.gla.ac.uk
14 University Gardens,			(NeXT mail welcomed)
University of Glasgow,		Tel: 	+44 (0)141 330 6065
Glasgow.			Fax:	+44 (0)141 330 3518
Scotland
G12 8QH
--
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk