| Author |
Message |
Inventor

Joined: Oct 13, 2007 Posts: 778 Location: Florida, USA
Audio files: 37
|
Posted: Sun Mar 23, 2008 11:40 pm Post subject:
LiSa Voices Question Subject description: How do I record on different voices with LiSa? |
 |
|
I am putting LiSa in Synth Lab with both MAUI user input control and analog voltage control. So far it works, but I can only use one voice. My record and playback shreds are as follows:
| Code: | // shred for record button on lisa
function void lisa_record_adj () {
while (true) {
lisa_record => now;
if (lisa_record.state ()) {
lisa.recPos (0::second);
lisa.record (1);
} else {
lisa.record (0);
}
}
}
spork ~ lisa_record_adj ();
// shred for play button on lisa
function void lisa_play_adj () {
while (true) {
lisa_play => now;
if (lisa_play.state ()) {
lisa.playPos (lisa_voice.value () $ int, 0::second);
lisa.rampUp (lisa_voice.value () $ int, lisa_ramp_duration);
} else {
lisa.rampDown (lisa_voice.value () $ int, lisa_ramp_duration);
}
}
}
spork ~ lisa_play_adj (); |
No matter what slider setting i put on lisa_voice.value (), I get the recorded voice. In the documentation the record (int) function does not have a version that lets me specify the voice, and there seems to be no description of how to set it. I have called .duration (1::minute), .maxVoices (10), and .clear () in my initialization function, so things are set up right. Is there something having to do with getVoice () that sets the record voice? How do I get this to work? |
|
|
Back to top
|
|
 |
Frostburn

Joined: Dec 12, 2007 Posts: 163 Location: Finland
Audio files: 5
|
Posted: Mon Mar 24, 2008 1:18 am Post subject:
|
 |
|
One LiSa, one record buffer.
All the voices access the same buffer but can play (with) it at different rates. _________________ In Serendipity We Trust |
|
|
Back to top
|
|
 |
Inventor

Joined: Oct 13, 2007 Posts: 778 Location: Florida, USA
Audio files: 37
|
Posted: Mon Mar 24, 2008 2:12 am Post subject:
|
 |
|
| Oh, that's too bad. But thanks, Frosty, you da man! |
|
|
Back to top
|
|
 |
kijjaz

Joined: Sep 20, 2004 Posts: 408 Location: bangkok, thailand
Audio files: 2
|
Posted: Thu Mar 27, 2008 9:01 pm Post subject:
|
 |
|
| now.. Frostburn's Digital Tape may be one wayout for this ^_^ |
|
|
Back to top
|
|
 |
Frostburn

Joined: Dec 12, 2007 Posts: 163 Location: Finland
Audio files: 5
|
Posted: Fri Mar 28, 2008 8:28 am Post subject:
|
 |
|
| kijjaz wrote: | | now.. Frostburn's Digital Tape may be one wayout for this ^_^ |
LiSa - Live Sampler
Digital Tape - Recource Devourer
DigitalTape runs in real time but it does consume a lot of resources... Maybe after some testing it could be implemented in ChucK on the source level... It is after all just a fancy float buffer writer and an interpolating reader. We'll see. _________________ In Serendipity We Trust |
|
|
Back to top
|
|
 |
Inventor

Joined: Oct 13, 2007 Posts: 778 Location: Florida, USA
Audio files: 37
|
Posted: Fri Mar 28, 2008 8:41 am Post subject:
|
 |
|
Well, I don't mind putting a CPU hog in Synth Lab as long as I can shut it off when it's not in use. I'm gonna hold off on plugging DigitalTape into Synth Lab until I hear the examples and learn more about it, but it sure seems cool.
Perhaps the interpolation could be done with the Step and Envelope UGens somehow? _________________ @(ºoº)@ ><}}}º> ~(^.^) <:3 )~ |
|
|
Back to top
|
|
 |
Frostburn

Joined: Dec 12, 2007 Posts: 163 Location: Finland
Audio files: 5
|
Posted: Fri Mar 28, 2008 8:48 am Post subject:
|
 |
|
| Inventor wrote: | | Perhaps the interpolation could be done with the Step and Envelope UGens somehow? |
Interpolation can be done with the chuckian UGens but Digital Tape exists beyond time. You can write and read as much as you like without stopping to pull some samples out of an Envelope. _________________ In Serendipity We Trust |
|
|
Back to top
|
|
 |
|