Author |
Message |
mosc
Site Admin
Joined: Jan 31, 2003 Posts: 18195 Location: Durham, NC
Audio files: 211
G2 patch files: 60
|
|
Back to top
|
|
|
deknow
Joined: Sep 15, 2004 Posts: 1307 Location: Leominster, MA (USA)
G2 patch files: 15
|
Posted: Tue Jan 23, 2007 1:03 pm Post subject:
|
|
|
howard, am i missing something here? wouldn't this be cake to do with the g2?
deknow |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24075 Location: The Netherlands, Enschede
Audio files: 277
G2 patch files: 320
|
|
Back to top
|
|
|
mosc
Site Admin
Joined: Jan 31, 2003 Posts: 18195 Location: Durham, NC
Audio files: 211
G2 patch files: 60
|
Posted: Tue Jan 23, 2007 1:52 pm Post subject:
|
|
|
deknow wrote: | howard, am i missing something here? wouldn't this be cake to do with the g2? |
The G2 can do this to some degree, and I have done a patch that works like Jan's but a little differently, but one has to have a G2. We need a good simple solution that runs without dedicated hardware. I thought ChucK would be ideal. _________________ --Howard
my music and other stuff |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Tue Jan 23, 2007 1:55 pm Post subject:
Re: Ambiophonic encoder Subject description: Anyone interested in coding this |
|
|
mosc wrote: | Would anyone care to take a shot a coding up a Chuck encoder?
|
Hmmmm, that's micro second, right? a milionth of a second? The patch itself would be trivial but I'm not at all sure about micro second delays since the feedback loop itself would mean one sample of delay already which is already roughly 23 micro seconds at cd quality. I looks like the interpolating delays that can take fractional lengths like DelayA and DelayL should be capable of this sort of thing but the manual warns about "high-frequency signal attenuation to varying degrees depending on the fractional delay setting." which might affect stereo perception and which I bet will have a pritty large effect on moving sound sources.
It would also need a fairly elaborate controll structure to generate parameters and moving soundsources would demand interpolation of controller-data.
Isn't there a Csound opcode that's specialised for this? _________________ Kassen |
|
Back to top
|
|
|
mosc
Site Admin
Joined: Jan 31, 2003 Posts: 18195 Location: Durham, NC
Audio files: 211
G2 patch files: 60
|
Posted: Tue Jan 23, 2007 2:01 pm Post subject:
|
|
|
I don't have much experience with CSound either.
With the G2, on can generate a 48 KHz clock and that has a period of about 21 usec which gives 60, 80, and 90 usec delays which it useful. Experience is that 70 to 80 is the best value - depends a bit on your head dimensions and on the speaker setup.
Kassen, can't you run ChucK at 96 KHz? _________________ --Howard
my music and other stuff |
|
Back to top
|
|
|
elektro80
Site Admin
Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Tue Jan 23, 2007 2:15 pm Post subject:
|
|
|
Where is Dr. Justice?
This seems like something for the Soundart Chameleon DSP
_________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Tue Jan 23, 2007 2:16 pm Post subject:
|
|
|
mosc wrote: | I don't have much experience with CSound either.
|
I'm fairly certain it has specialised tools for this. Perhaps the main advantage of those would be that they take straightforward parameters with regard to the direction of the sound.
Quote: | With the G2, on can generate a 48 KHz clock and that has a period of about 21 usec which gives 60, 80, and 90 usec delays which it useful. Experience is that 70 to 80 is the best value - depends a bit on your head dimensions and on the speaker setup.
|
Yeah, those are within that range but HEAVILY quantised which translates directly to quantisiation of the directions a sound can come from.
Quote: | Kassen, can't you run ChucK at 96 KHz? |
Yes, no problem. When rendering off line I think ChucK can actually run at arbitrary bitrates though obviously playback of such files would be impossible on most DAC's and going into the MHz range would result in very large files as well as lots of render-time but I do think it's possible. I'd have to try how well those interpolationg fractional delays hold up on this sort of aplication. Maybe they would be fine at 96KHz. Another question would be how to generate the controler data, is there literature on this?
I for one am not going to be able to dive deeply into this in the next month because my curent project is already complicated enough and has a deadline.
It might be nice to port/borow the Csound upcode for this. That one could be a very nice match for some of the accoustical models that ChucK borows from the STK. _________________ Kassen |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Tue Jan 23, 2007 2:21 pm Post subject:
|
|
|
elektro80 wrote: | Where is Dr. Justice?
|
Well; invite him over! _________________ Kassen |
|
Back to top
|
|
|
DrJustice
Joined: Sep 13, 2004 Posts: 2114 Location: Morokulien
Audio files: 4
|
Posted: Tue Jan 23, 2007 8:27 pm Post subject:
|
|
|
I just caught wind of this thread (thanks elektro80!).
The Chameleon is quite suitable for this kind of thing, but as mosc points out, not everybody has a G2, and much less a Chameleon. However, if there's demand amongst electro-music.com's 2 (?) other Chameleon owners for a Chamy version I'd be happy to write one. Hmmm, perhaps I will even without the demand, just to hear what it's like...
DJ
-- |
|
Back to top
|
|
|
deknow
Joined: Sep 15, 2004 Posts: 1307 Location: Leominster, MA (USA)
G2 patch files: 15
|
Posted: Tue Jan 23, 2007 11:47 pm Post subject:
|
|
|
...could synthedit possibly do this? i just downloaded the trial, and it will take a value of .000006 (is that right?), but i don't know if it actually will delay that ammount, or some minimum (the doc says between 0 and 10 sec). it would be nice to have a vst plugin to do this...but my recolection is that there is some minimum delay time (i think i determined this through experementation more than a year ago).
deknow |
|
Back to top
|
|
|
elektro80
Site Admin
Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Wed Jan 24, 2007 12:12 am Post subject:
|
|
|
DrJustice wrote: | I just caught wind of this thread (thanks elektro80!).
The Chameleon is quite suitable for this kind of thing, but as mosc points out, not everybody has a G2, and much less a Chameleon. However, if there's demand amongst electro-music.com's 2 (?) other Chameleon owners for a Chamy version I'd be happy to write one. Hmmm, perhaps I will even without the demand, just to hear what it's like...
DJ
-- |
THX! I reckoned this was a reasonably small task for a master of the Chameleon! _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
Back to top
|
|
|
utenzil
Joined: Apr 10, 2006 Posts: 58 Location: maryland
|
Posted: Wed Jan 24, 2007 8:26 am Post subject:
|
|
|
deknow wrote: | ...could synthedit possibly do this? i just downloaded the trial, and it will take a value of .000006 (is that right?), but i don't know if it actually will delay that ammount, or some minimum (the doc says between 0 and 10 sec). it would be nice to have a vst plugin to do this...but my recolection is that there is some minimum delay time (i think i determined this through experementation more than a year ago).
deknow |
That's a good question, min delay time-- when I saw this I thought it would be easily done in synthedit as well: what OS(s) does it need to run on?
0.00006 would be 60 usec. _________________ Utenzil
http://utenzil.com Last edited by utenzil on Wed Jan 24, 2007 8:53 am; edited 1 time in total |
|
Back to top
|
|
|
deknow
Joined: Sep 15, 2004 Posts: 1307 Location: Leominster, MA (USA)
G2 patch files: 15
|
Posted: Wed Jan 24, 2007 8:30 am Post subject:
|
|
|
...synthedit only runs on windows (i believe). the interface is very similar to the g2 editor, but the "contraption" can be saved as a vst plugin (but i think the vst only runs on windows as well).
deknow |
|
Back to top
|
|
|
utenzil
Joined: Apr 10, 2006 Posts: 58 Location: maryland
|
Posted: Wed Jan 24, 2007 10:37 am Post subject:
|
|
|
deknow wrote: | ...synthedit only runs on windows (i believe). the interface is very similar to the g2 editor, but the "contraption" can be saved as a vst plugin (but i think the vst only runs on windows as well).
deknow |
Synthedit is definitely windows only. It would be very easy to establish the signal path and modules indicated above in Synthedit, the question would be the ability to do the usec delay. _________________ Utenzil
http://utenzil.com |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Wed Jan 24, 2007 12:17 pm Post subject:
|
|
|
Ok, Did a quick test and it looks like DelayL in ChucK can be set to .0001ms. When asked it then reports it's length is "0.004800 :(dur)" which is exactly right (it runs at 48KHz on Linux by default).
So; yes, ChucK should be able to do this, I'm not sure wether it'll do it very *well* and I'm also not sure where I'll get those durations or amplification amounts from but it should at least work on a theoretical level. I'd also imagine that any system in the sub-MHz samplerate range will have artifacts with this sort of delay length.
That would make it cross-platform but probably less convenient then a VST for most people.[/u] _________________ Kassen |
|
Back to top
|
|
|
seraph
Editor
Joined: Jun 21, 2003 Posts: 12398 Location: Firenze, Italy
Audio files: 33
G2 patch files: 2
|
Posted: Wed Jan 24, 2007 12:50 pm Post subject:
|
|
|
DrJustice wrote: | 2 (?) other Chameleon owners |
that rings a bell _________________ homepage - blog - forum - youtube
Quote: | Don't die with your music still in you - Wayne Dyer |
|
|
Back to top
|
|
|
elektro80
Site Admin
Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Wed Jan 24, 2007 1:14 pm Post subject:
|
|
|
seraph wrote: | DrJustice wrote: | 2 (?) other Chameleon owners |
that rings a bell |
You only have one bell left? _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
Back to top
|
|
|
utenzil
Joined: Apr 10, 2006 Posts: 58 Location: maryland
|
Posted: Wed Jan 24, 2007 2:25 pm Post subject:
|
|
|
Kassen wrote: | Ok, Did a quick test and it looks like DelayL in ChucK can be set to .0001ms. When asked it then reports it's length is "0.004800 :(dur)" which is exactly right (it runs at 48KHz on Linux by default).
So; yes, ChucK should be able to do this, I'm not sure wether it'll do it very *well* and I'm also not sure where I'll get those durations or amplification amounts from but it should at least work on a theoretical level. I'd also imagine that any system in the sub-MHz samplerate range will have artifacts with this sort of delay length.
That would make it cross-platform but probably less convenient then a VST for most people.[/u] |
Asked around on the KVR forum-- EVM provides a sample delay module for synthedit.
http://www.evmsynths.com/modules.htm
I will try to do something tonight in synthedit. _________________ Utenzil
http://utenzil.com |
|
Back to top
|
|
|
seraph
Editor
Joined: Jun 21, 2003 Posts: 12398 Location: Firenze, Italy
Audio files: 33
G2 patch files: 2
|
Posted: Wed Jan 24, 2007 2:44 pm Post subject:
|
|
|
elektro80 wrote: | seraph wrote: | DrJustice wrote: | 2 (?) other Chameleon owners |
that rings a bell |
You only have one bell left? |
I left the other ones for later use _________________ homepage - blog - forum - youtube
Quote: | Don't die with your music still in you - Wayne Dyer |
|
|
Back to top
|
|
|
utenzil
Joined: Apr 10, 2006 Posts: 58 Location: maryland
|
Posted: Thu Jan 25, 2007 8:07 am Post subject:
|
|
|
I put together a synthedit VST and ran across something that makes sense. I did not try the EVM sample based delay, btw, but first used the delay2 module, which accepts a .00006 value.
Within the VST, data is passed between modules as blocks of samples. If you try to introduce a feedback loop (which this schematic does, out of the delays and back to the mixer) you generate an error. You can avoid this error by inserting a 'feedback delay' in the offending feedback path. However, because the blocks are in sizes of 100 samples, inserting this will not permit a delay value of less than 100 samples: I ended up with a kind of tinny sounding flanger as a result.
I'm using a slightly outdated version of synthedit, maybe this behavior has been modified since.
I *did* realize a VST that kludges the signal path: it adds some brightness to the mix by mixing the split, partly inverted, ever so slightly delayed signal with the original signal. When used on the master (stereo) track, the end result is a crisper mix that loses a bit of bass. You can recover the bass by adding a post low end boost, and this technique also seems
to 'de-muddify' the bass as well.
Here is the link to the VST .dll (windows only):
http://utenzil.com/vst/ambiotenzil.dll
(the sample-block information comes from the synthedit help on the topic "Feedback paths" btw). _________________ Utenzil
http://utenzil.com |
|
Back to top
|
|
|
bachus
Joined: Feb 29, 2004 Posts: 2922 Location: Up in that tree over there.
Audio files: 5
|
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
|
Back to top
|
|
|
bachus
Joined: Feb 29, 2004 Posts: 2922 Location: Up in that tree over there.
Audio files: 5
|
Posted: Wed Apr 02, 2008 4:58 am Post subject:
|
|
|
Inventor wrote: | I made a ChucK one tonight, attached. Play with the four parameters at the top. Takes input from microphone and you must wear headphones for this one. Needs stereo input. Enjoy! |
Ummmm ...... ????? ....... on headphones ...... ????? ....... _________________ The question is not whether they can talk or reason, but whether they can suffer. -- Jeremy Bentham |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Wed Apr 02, 2008 5:16 am Post subject:
|
|
|
Well the headphones were so that you could say something into the mic and hear the enhanced version much better. For actual use you would hook the inputs up to a stereo source and let it run out the speakers (=> dac;). I just set it up on the mic input for testing. _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
|