Wow - that looks REALLY interesting!
Thank you :-)
I managed to get it up and running on my (Windows) PC - but I had to change the chuck file (not the midi one) so that the default samples were loaded. It was looking in the 'data' folder rather than 'samples' - also the closed hat and open hat are ch.wav and oh.wav.
Thanks for these comments, I've fixed these bugs in the new release.
Would it be possible to add note length at some point? Although this is probably moving away from the drum machine approach.
At the moment the samples play for their 'natural' length. I can see how note length could be done if the sequence sent MIDI out events but not with samples. How would you do this?
Can't wait to try it out with more channels and my own samples.
Thanks a tonne!
rikrak
On 6/8/06, Ollie Glass
wrote: I've released an artificially intelligent drum machine using ChucK at www.blackholeprojector.com Hope you enjoy it. The two scripts for the step sequencer could be useful to people doing related things.
Thanks to everyone who made ChucK, answered my questions on this list and made my app possible!
Ollie _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
On 6/9/06, Ollie Glass
At the moment the samples play for their 'natural' length. I can see how note length could be done if the sequence sent MIDI out events but not with samples. How would you do this?
Hmmmm, perhaps I'm missing something but wouldn't a simple ADSR do? That might give interesting options. Normally step sequencers and variable note-length don't like eachother, at least not for the interface but here perhaps the neural net could take care of note length? With hits it's relatively sure about getting longer? Very nice work, I'll have a detailed look as soon as possible but at a glance it looked great. Kas.
Hi, Nice work. I think also Envelope will do the trick. A fun chuck workout is also to define your own envelope. You could either make an object that extends Ugen or write a function and spork it. That way you could send two arguments for the beginning index and end index of the sample to playback and then just do something like this: startval => sample.pos; (endval - startval)::samps => now; sample.samples() => sample.pos; Make sense? I use this little bit of code all the time to make glitchy little things that crackle and pop when I start and stop the sample. You can put this through a low pass filter to take the edge off if you like. Hooray for threading! Happy ChucKing. --art On 9-Jun-06, at 7:27 AM, Kassen wrote:
On 6/9/06, Ollie Glass
At the moment the samples play for their 'natural' length. I can see how note length could be done if the sequence sent MIDI out events but not with samples. How would you do this?
Hmmmm, perhaps I'm missing something but wouldn't a simple ADSR do? That might give interesting options. Normally step sequencers and variable note-length don't like eachother, at least not for the interface but here perhaps the neural net could take care of note length? With hits it's relatively sure about getting longer?
Very nice work, I'll have a detailed look as soon as possible but at a glance it looked great.
Kas. _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (3)
-
Adam Tindale
-
Kassen
-
Ollie Glass