Csound Csound-dev Csound-tekno Search About

simultaneous "soundin" files

Date1997-02-24 21:01
FromJohn Boyd
Subjectsimultaneous "soundin" files
John et al..

	How does csound load sample instruments like this?:

;############################################

instr 1
        iamp = p4
        asig    soundin "tabla.aif"
                out asig*iamp
endin

instr 2
        iamp = p4
        asig    soundin "timpani.aif"
                out asig*iamp
endin

;############################################


I have an .orc file that has something like 175 different samples and
I'm curious as to when csound reads these files in.  Does it simply load
all the samples into memory 1st or does it open up file handles when
they're needed during the performance?  I've been seeing some voices
drop off during high tempo performances which makes me wonder whether a
faster scsi2 harddrive would help.

Before I go loading samples with discrete frequencies and then try
analyzing the output with spectrum analysis to see how many show up,
maybe you can shed some light on this...?

Thanks,

JSB