Author |
Message |
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Wed Jun 17, 2009 3:14 am Post subject:
ChucK Guitar Effects Subject description: Four examples and request for more |
|
|
A while back we had a thread about guitar effects programs for ChucK. Kijjaz and I wrote some code, attached, that does freaky things with guitar input and makes really kewl sounds.
I'm posting because I'd like to start doing some guitar jams on The ChucK Show using such guitar effects programs, and I was wondering if anyone would like to take a shot at creating some more. Or if you're busy or don't have a guitar, I wonder if you could suggest some possibilities for me to convert into code.
Please let me know what your thoughts are on this topic, I'm eager to develop a collection of really kewl effects for the show. Thanks.
Les
Description: |
|
Download |
Filename: |
Primal2.ck |
Filesize: |
5.07 KB |
Downloaded: |
825 Time(s) |
Description: |
|
Download |
Filename: |
Kijjaz_Trancey1.ck |
Filesize: |
1.65 KB |
Downloaded: |
751 Time(s) |
Description: |
|
Download |
Filename: |
Kijjaz_Psychedellic1.ck |
Filesize: |
1.05 KB |
Downloaded: |
734 Time(s) |
Description: |
|
Download |
Filename: |
Kijjaz_Evolver.ck |
Filesize: |
946 Bytes |
Downloaded: |
754 Time(s) |
_________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
wmonk
Joined: Sep 15, 2008 Posts: 528 Location: Enschede, the Netherlands
Audio files: 15
|
Posted: Wed Jun 17, 2009 8:22 am Post subject:
|
|
|
Cool idea Inventor! Perhaps you can send me some guitar files to use the effects on. That way I can do some effects, without destroying my soundcard by plugging my guitar into the mic input
The effect of the effects would be clearer when using the same guitar for programming. |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Wed Jun 17, 2009 8:26 am Post subject:
|
|
|
wmonk wrote: | Cool idea Inventor! Perhaps you can send me some guitar files to use the effects on. That way I can do some effects, without destroying my soundcard by plugging my guitar into the mic input
The effect of the effects would be clearer when using the same guitar for programming. |
Wow Thomas, thanks for giving it a shot! I will record some guitar for you in a wav file using ChucK so you can read it in with WvIn or whatever it's called, I forget. I have found that ChucK will not read in just any wav file but it will read in it's own files as far as I know. I'll post soon.
Les _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
|
Back to top
|
|
|
wmonk
Joined: Sep 15, 2008 Posts: 528 Location: Enschede, the Netherlands
Audio files: 15
|
Posted: Wed Jun 17, 2009 2:19 pm Post subject:
|
|
|
Well, got some things done. The UAna's are great for some effects. Now time to find my microphone to test it with my own voice. Will update this post soon! |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Wed Jun 17, 2009 2:27 pm Post subject:
|
|
|
Gee Thomas, I didn't know you could speak guitar! Haha, just kidding. I just got the idea to try summing the output of delayed versions of the input signal for an interesting effect. Maybe I'll get time to try it tonight.
Les _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
wmonk
Joined: Sep 15, 2008 Posts: 528 Location: Enschede, the Netherlands
Audio files: 15
|
Posted: Wed Jun 17, 2009 4:04 pm Post subject:
|
|
|
The idea was to post a MP3 file here with the files demoing, but couldn't find the mic.
Number 001 is more or less a chorus like effect, it brightens the signal.
Number 002 sounds like a bitcrusher, I like it. I did some modifications to create the others:
Number 003 is dark, Number 4 is more like waterdrops.
Description: |
|
Download |
Filename: |
20090617-guitareffect001.ck |
Filesize: |
425 Bytes |
Downloaded: |
704 Time(s) |
Description: |
|
Download |
Filename: |
20090617-guitareffect002.ck |
Filesize: |
461 Bytes |
Downloaded: |
657 Time(s) |
Description: |
|
Download |
Filename: |
20090617-guitareffect003.ck |
Filesize: |
578 Bytes |
Downloaded: |
702 Time(s) |
Description: |
|
Download |
Filename: |
20090617-guitareffect004.ck |
Filesize: |
506 Bytes |
Downloaded: |
681 Time(s) |
|
|
Back to top
|
|
|
mrcold
Joined: Jun 18, 2009 Posts: 187 Location: USA
Audio files: 31
|
Posted: Thu Jun 18, 2009 10:42 am Post subject:
|
|
|
hey..
these are awesome
I am working on a project and stuff like this is EXACTLY what I need. |
|
Back to top
|
|
|
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
Posted: Thu Jun 18, 2009 11:09 am Post subject:
|
|
|
There's always the old oscillator sync trick. Actually it wasn't as simple as I first thought, since I misinterpreted the sync input on SinOsc. Change the channels on adc and dac to your liking (I need to do it like this to get it to work with my Motu):
Code: | adc.chan(0) => blackhole;
SinOsc sinOsc => dac.chan(2);
sinOsc => dac.chan(3);
1 => sinOsc.sync;
400 => sinOsc.freq;
1 => sinOsc.gain;
0.0 => float max;
0.0 => float lastValue;
0.0 => float lfoPhase;
while(true) {
1::samp => now;
0.00001 +=> lfoPhase;
if (lfoPhase > pi*2.0) {
0 => lfoPhase;
}
Math.sin(lfoPhase)*1000.0 + 1200.0 => sinOsc.freq;
adc.last() => float value;
if (value > max) {
value => max;
}
0.0001 -=> max;
max => sinOsc.gain;
if (lastValue < 0.0 && value >= 0.0) {
0.0 => sinOsc.phase;
}
value => lastValue;
}
|
_________________ Antimon's Window
@soundcloud @Flattr home - you can't explain music |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Fri Jun 19, 2009 4:15 am Post subject:
|
|
|
mrcold wrote: | hey..
these are awesome
I am working on a project and stuff like this is EXACTLY what I need. |
Welcome on board! _________________ Kassen |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Sun Jun 28, 2009 3:09 am Post subject:
|
|
|
I got to thinking about that last posted code, KijjazPsychedelic2, while in chat and it occurred to me that I could create a hardware feedback loop instead of a software one. So I just moved the delay line to the output and now I'm waiting for morning so I can hook things up and jam.
You see, I have a special cable that runs from the eMac's headphones output to the guitar amp's CD player input. I just attenuate the signal in software and then a feedback loop will be established.
Guitar input will get sounded by the amp, and then the eMac's microphone will pick up the guitar and my voice, go all psychedelic on it, and send that back to the guitar amp. This process repeats so that many images of the sound are present at any one time.
What's so cool about this is that it will fill my living room with the psychedelic sounds instead of just being on the headphones as in the past.
I should be able to control the amp gain and the eMac volume to establish any desired level of effect. Wish me luck. If it works, I may do it on the ChucK show.
Les _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
|
Back to top
|
|
|
|