Kyma Forum
  Tips & Techniques
  random sample selection

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   random sample selection
garth paine
Member
posted 28 July 2001 22:04         Edit/Delete Message   Reply w/Quote
I am interested in being able to cahnge the contents of a sample buffer in realtime. This is different to being able to select one of many samples loaded - ie. in a sampler - because there are a number of functions associated with each buffer, so I am interested in being able to rapidly change the contents of the buffer. The contents would be one of a group of selected sound files, but I don't have enough memory to load them all into Capy at compile time. The loading of the new sound would have to be very fast, as I am developing the idea for use with interactive dance system (using VNS). I am trying to find a middle ground between the sampel culture and a realtime synthssis approach, so am thinking about the sampel buffer as a container rather than a fixed sound. I had developed a version of this idea in Max/Msp, and am looking to implement it in Kyma/Capy, but can't see how to do this bit.

The buffer then has variable enveloping, filtering, speed and direction of playback and other variables associated with the buffer. There are currently 32 buffers associated with different fields in a 2D physical space throught whcih dancers move.

IP: Logged

David McClain
Member
posted 29 July 2001 01:40         Edit/Delete Message   Reply w/Quote
Hi Garth!

Not that this is of any direct help, but I was just reading about a similar system done by folks in Mexico, CMU, and Stanford. They tied a bunch of sensors to dancers and fed the results into an SGI computer running a combination of Tcl/Tk, Prolog, Escamol, and Aura. The sound producing code was in Escamol and Aura, and the rule base for the dance gestures was in Prolog.

This was from an article in the most recent issue of the "Computer Music Journal", Summer 2001, Vol 25 No 2, MIT Press. They called their system SICIB.

- DM

IP: Logged

dennis
Member
posted 30 July 2001 11:47         Edit/Delete Message   Reply w/Quote
Hi Garth!

Drop me a line at:
dennis@green-teasoftware.com

I've got some tools that might help you out.

IP: Logged

garth paine
Member
posted 30 July 2001 17:01         Edit/Delete Message   Reply w/Quote
Thanks Guys for your responces. I have been working with dance for some years now, using David Rokeby's VNS. It provides video sensing by way of differencing, and produces an array of numbers of the length of the number of defined fields. It's great. You can see a couple of pieces on the site that use this system and SuperCollider to do realtime synthesis. Since getting the Capy last year I am doing my development in Kyma, as it is a real instrument rather than just a programming language.

my site is http://www.activatedspace.com.au click on installations - the Map1 video is brocken, but the Map2 one works.

Thanks again for your help

IP: Logged

SSC
Administrator
posted 31 July 2001 09:16         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by garth paine:
I am interested in being able to cahnge the contents of a sample buffer in realtime.

Have you considered using MemoryWriters scheduled in parallel with your sample playback? A MemoryWriter can be changing the contents of a sample while it is playing. Or you could mute the playback while you were writing the new sample into that chunk of memory.


IP: Logged

garth paine
Member
posted 31 July 2001 20:19         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by SSC:
Have you considered using MemoryWriters scheduled in parallel with your sample playback? A MemoryWriter can be changing the contents of a sample while it is playing. Or you could mute the playback while you were writing the new sample into that chunk of memory.

Thanks I'll look at that. I am wanting to change the buffer contents very quickly, and also wanting to access many more samples than I have RAM for.

IP: Logged

dennis
Member
posted 01 August 2001 11:07         Edit/Delete Message   Reply w/Quote
Hi Garth!

I need some numbers! You've got 32 sample buffers. What's the size of the buffers? Even better, give minimum, average, and maximum sizes, if that makes sense. Also, how fast do you need to modify the buffers? And how fast do you need to read new buffers from the hard disk?

How many sample buffers will be playing simultaneously?

IP: Logged

garth paine
Member
posted 01 August 2001 19:10         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by dennis:
Hi Garth!

I need some numbers! You've got 32 sample buffers. What's the size of the buffers? Even better, give minimum, average, and maximum sizes, if that makes sense. Also, how fast do you need to modify the buffers? And how fast do you need to read new buffers from the hard disk?

How many sample buffers will be playing simultaneously?


up to 16 buffers at this stage may wish to go to 32 latter. The content of the buffer need to change in a video frame - 30ms

buffer sizes range from say 2 sec to 40 sec. in MSP they are dynamically allocated according to the sample size being loaded. I see that as advantageous as it doesn't leave unused sample RAM hanging about when it's not needed - equally there is a problem with possible overloading the RAM I guess.

IP: Logged

SSC
Administrator
posted 02 August 2001 09:23         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by garth paine:
up to 16 buffers at this stage.
buffer sizes range from say 2 sec to 40 sec.

Perhaps a judicious mix of KeyMappedMultisamples read from Disk for the longest samples and KeyMappedMultisamples read from RAM for the short samples would do the trick.


IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c