SuperCollider Forum
May 21, 2013, 06:47:55 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The SuperCollider forum is currently experiencing a rash of spambot registrations. New user requests may not be approved quickly as a result -- and if your email address looks like spam, it might not be approved at all. We are working to improve the security of the registration process, and to provide alternate means to contact the administrators to get a new account. Thanks for your patience.
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: drum synthesis  (Read 3329 times)
0 Members and 1 Guest are viewing this topic.
cproud
Newbie
*

Karma: 0
Posts: 3


View Profile
« on: July 09, 2008, 03:13:55 AM »

hi there,
a new supercollider user, me, is trying to build up some simple drum sounds using fm and am synthesis, then to be controlled by midi messages.
can someone help me getting started, what kind of ugens to use, enevelope settings and the whole midi control thing?
cheers
Logged
dewdrop_world
AdminGroup
Full Member
*

Karma: 9
Posts: 193



View Profile WWW
« Reply #1 on: July 09, 2008, 03:52:26 PM »

Not a lot of time at the moment for an indepth reply, but if you're looking at FM, you might be interested in Stefan Kersten's FM7 (aka FM_Matrix) unit generator. It's a plugin you can add easily to the server and the language.

http://space.k-hornz.de/pub/skUG/

It's supposed to be sort of like the old Yamaha DX7 style FM implementation (you know, 6 oscillators, different "algorithms").

My next thought is, learn to use EnvGen and Env to get the right attack/decay shapes.

More later perhaps... pretty busy these days.
James
Logged

cproud
Newbie
*

Karma: 0
Posts: 3


View Profile
« Reply #2 on: July 14, 2008, 01:57:57 PM »

thanx james,
i think i got some sounds going now. now i'm using the gui from the help file to trigger (changed from start/stop button to only a trigger) the sounds, eventhough introducing a second trigger unables the control sliders??
second question, is it possible to trigger the button (former start/stop button from the help file to gui) with a midi signal??
if that makes sense, i'd be thankful to get some infos
[/quote]
Logged
dewdrop_world
AdminGroup
Full Member
*

Karma: 9
Posts: 193



View Profile WWW
« Reply #3 on: July 16, 2008, 12:55:59 PM »

thanx james,
i think i got some sounds going now. now i'm using the gui from the help file to trigger (changed from start/stop button to only a trigger) the sounds, eventhough introducing a second trigger unables the control sliders??
second question, is it possible to trigger the button (former start/stop button from the help file to gui) with a midi signal??
if that makes sense, i'd be thankful to get some infos

Hmm... if the second trigger disables the sliders, then there's probably something in your gui code causing the second trigger to take some inappropriate action. Could you post a code snippet?

No problem to do it by MIDI, but something in your sentence makes me think about design practices. It sounds a bit like you want to put the synth-triggering bit into the button's action, and then call the button when a MIDI message is received. That's a bit backward in my view (and I think generally among programmers). Usually GUI widgets should reflect the state of some object exists independently of the GUI, but they shouldn't serve as important connective tissue between other bits of code.

I think it would be better to have your MIDI responder create the Synth, and optionally that function could also make something flashy happen in the interface.

See the MIDIResponder help file for information on listening to MIDI messages. My extension library (available as a set of Quarks) has another approach to MIDI responders that I personally find more convenient.

James
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!