Csound Csound-dev Csound-tekno Search About

[ Csound] BOUNCE Csound: Non-member submission from [Peter Neubacker ] (fwd)

Date1998-08-18 09:40
Fromjames@maths.ex.ac.uk
Subject[ Csound] BOUNCE Csound: Non-member submission from [Peter Neubacker ] (fwd)
Hi,

here is a little bug fix for NeXT (Intel) csound users:

Did you realize that when you open more than one .snd file with gen01,
only the first one is being read correctly? The consecutive ones are read
as raw data including the sound header, as the first (int) .snd becomes
byte-reversed.

To fix it, in file fgens.c  , function   static void gen01raw()
add the line

p->bytrev = 0;

somewhere in the beginning to reinit the byte reverse function!

Bye - Peter