electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
delay loop artifacts
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [23 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Tom



Joined: Oct 08, 2006
Posts: 6
Location: California
G2 patch files: 2

PostPosted: Sun Oct 08, 2006 4:26 pm    Post subject: delay loop artifacts
Subject description: please verify stange behavior
Reply with quote  Mark this post and the followings unread

I perform with delay loops on my voice and ebow electric guitar. I now have a G2X (os 1.40). I would like to control my entire sound with the G2X, using one slot to loop the guitar, one slot to loop my voice, one slot to generate a drone, and one slot for lead synth. When I created a simple patch to capture and loop my guitar continuously, I found that some background noise built up to an audible level in just a few minutes. I wondered if the G2X was capable of performing looping functions, so I googled the net and found Rob Hordijk's tutorial. Rob states the following;

"But by using digital memory the audio can loop forever without any degradation. In the preparation for this article a two second loop on the G2 was made to recirculate for two days, and still sounded as fresh and crisp as when it was captured."

The loop I made degenerated rapidly. To invistigate this I created a patch with 3 parallel loops fed by an oscillator instead of audio in. Loop 1 is nearly identical to the one in Rob's tutorial. All three loops produce audible artifacts. When the feedback level is set below 100%, the original sound decays to silence but the artifacts remain audible indefinitely.

The source signal is designed to produce a sine wave pulse lasting approximately half the duration of the loop. One interesting thing is that the artifacts overlap the sine wave only. The silent half of the loop remains silent.

Am I doing something wrong?
Is my synth malfunctioning?
Can anyone create clean loops that don't degenerate?
Does my patch produce noise on anyone's synth that is also capable of producing clean loops?

My patch is attached.

Thanks,
Tom


Delay artifacts.pch2
 Description:
Three parallel delay loops that produce audible artifacts, even after the original sound has decayed to silence.

Download (listen)
 Filename:  Delay artifacts.pch2
 Filesize:  3.63 KB
 Downloaded:  994 Time(s)

Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24391
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Sun Oct 08, 2006 4:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

The patch seems to be defective, I can't load it (and the header looks funny when I open it in a text editor), don't know what went wrong, could you maybe try to repost it Tom ?
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Tom



Joined: Oct 08, 2006
Posts: 6
Location: California
G2 patch files: 2

PostPosted: Sun Oct 08, 2006 10:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

I am reposting the patch. I downloaded the patch from my first post and it works fine on my machine. This patch was made on a Mac with the NMG2Editor VERSION 1.40 BUILD 266. I don't know if there is a Mac/PC issue. Let me know if it still doesn't work.

Also, I forgot to mention that this patch works best if you play just one note. Playing more than one note sometimes produces a pop. I didn't bother to fix this since the patch is intended to demonstrate an effect, not to be played musically.

Tom


Delay artifacts.pch2
 Description:
Three parallel delay loops that produce audible artifacts, even after the original sound has decayed to silence.

Download (listen)
 Filename:  Delay artifacts.pch2
 Filesize:  3.63 KB
 Downloaded:  962 Time(s)

Back to top
View user's profile Send private message
ian-s



Joined: Apr 01, 2004
Posts: 2672
Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626

PostPosted: Mon Oct 09, 2006 12:29 am    Post subject: Reply with quote  Mark this post and the followings unread

"Can't load file, file format is not supported!"

Never seen that message before. Question
Back to top
View user's profile Send private message
sebber



Joined: Aug 27, 2004
Posts: 501
Location: Berlin
Audio files: 3
G2 patch files: 33

PostPosted: Mon Oct 09, 2006 2:05 am    Post subject: Reply with quote  Mark this post and the followings unread

Same thing here.
_________________
Fish don't swim. They dive.
Back to top
View user's profile Send private message Visit poster's website
G2DREAM



Joined: Apr 27, 2005
Posts: 171
Location: Athens,Greece
Audio files: 5
G2 patch files: 3

PostPosted: Mon Oct 09, 2006 3:48 am    Post subject: Reply with quote  Mark this post and the followings unread

Me too!
_____________
cyber-evolution
Back to top
View user's profile Send private message
gurk



Joined: May 27, 2004
Posts: 16
Location: Edinburgh, Scotland
G2 patch files: 2

PostPosted: Mon Oct 09, 2006 1:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

here is a fixed version of the file, so it now opens...

had some kind of header added to the file, which i deleted..


delay_artifacts_122.pch2
 Description:

Download (listen)
 Filename:  delay_artifacts_122.pch2
 Filesize:  3.5 KB
 Downloaded:  1042 Time(s)

Back to top
View user's profile Send private message
gurk



Joined: May 27, 2004
Posts: 16
Location: Edinburgh, Scotland
G2 patch files: 2

PostPosted: Mon Oct 09, 2006 2:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

I hear artifacts in the sound also..

They appear to increase in amplitude when the feedback decays right out..

Quantisation error maybe? Something to do with the 16-bit precision of the delays possibly?
Back to top
View user's profile Send private message
Tom



Joined: Oct 08, 2006
Posts: 6
Location: California
G2 patch files: 2

PostPosted: Tue Oct 10, 2006 12:37 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for making an readable patch. Mac osx has file permissions. Maybe it is only allowing my computer to open the file. Eventually I will need to figure this out so I can post readable patches.

Quote:
I hear artifacts in the sound also..

They appear to increase in amplitude when the feedback decays right out..

Quantisation error maybe? Something to do with the 16-bit precision of the delays possibly?


So these artifacts are not unique to my g2. I have created loops on many pieces of gear,as well as in programs such as pd and even Pro Tools. I have never run into anything this severe. If the loop creates noise, at least this noise should also decay to silence if the feedback is below 100%. This noise simply never goes away.

Also, in a loop where the feedback is set to 100%, the effect of the loop is to multiply the output of the delay by the number 1 and then send it back into the delay. Any quantization error would only occur when the signal first enters the delay. After that the audio is already in a format that the delay uses and no further errors are produced regardless of how many times the audio goes through the loop. For example, in pd I can create a delay loop with unity feedback and the output of the loop is bit for bit identical to the original signal that went into the loop, regardless of how long the loop runs for. This is the basic quality of digital looping that has allowed it to become such a popular technique. The g2 is the first piece of digital gear I have used that can not achieve bit for bit accurate looping.

The odd thing is that, in Rob Hordijk's tutorial he states that the g2 can create loops without any degradation. i created the exact patch from the tutorial and noise was audible within 3 minutes. Since my g2 is not the only one making this noise, something has changed between when Rob wrote the tutorial and now.

Can anyone create a delay loop with unity feedback that can repeat the signal with no degradation?

Tom
Back to top
View user's profile Send private message
Fozzie



Joined: Jun 04, 2004
Posts: 875
Location: Near Wageningen, the Netherlands
Audio files: 8
G2 patch files: 49

PostPosted: Tue Oct 10, 2006 2:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Can't check or test myself right now, but could it be (though it shouldn't) that the delaytime settings have anything to do with this? I think the looper patches that have been posted so far mostly use the Clocksync delaytime settings. I use Tim's magnificent looperpatch a lot, and have not noticed artifacts (the source I use is a noisy guitarist, so yes, that could play a role Laughing; lot's of distortions Rolling Eyes )
Back to top
View user's profile Send private message
Tim Kleinert



Joined: Mar 12, 2004
Posts: 1148
Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236

PostPosted: Tue Oct 10, 2006 3:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Let me join in briefly...

When developing the DeluxeLooper patch, I let it run for hours to check the longterm stability against time drift. When I came back to check, the loop was still in sync, but sounded a bit degraded. So I guess the same holds here too.

I'm pretty convinced that it has to do with the 16 bit delay memory. That old devil. Converting the 24 bit audio signal down to 16 bits and back once or twice doesn't do that much harm. But within a feedback loop, the subtle harmonic distortions resulting from the conversion will build up. That's the way it sounds to me at least, when listening to the demonstrational patch.

The 16 bit delay memory is the most severe design flaw of this synthesizer.

There are also other artefacts connected to the delays, which come from inacurracies of the memory readout pointers -delay lines occasionaly grabbing samples from other delay lines allocated to the same memory chip. I documented those in the "bugs" section. Those could be easily fixed by a software update -if there ever was one... Rolling Eyes
Back to top
View user's profile Send private message
cebec



Joined: Apr 19, 2004
Posts: 1098
Location: Virginia
Audio files: 3
G2 patch files: 31

PostPosted: Tue Oct 10, 2006 7:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Did we ever check to see if the degradation occurs on the G2 Demo? It shouldn't, should it, since the Demo uses system RAM?
Back to top
View user's profile Send private message
Tim Kleinert



Joined: Mar 12, 2004
Posts: 1148
Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236

PostPosted: Tue Oct 10, 2006 10:59 am    Post subject: Reply with quote  Mark this post and the followings unread

cebec wrote:
Did we ever check to see if the degradation occurs on the G2 Demo? It shouldn't, should it, since the Demo uses system RAM?


The Demo uses the same 16 bit delays.
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24391
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Tue Oct 10, 2006 2:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

The demo version is said to basically be the same code as the hardware version and to be running in a DSP emulation environment (which makes it slow). Nevetheless there are some minor differences in behaviour.
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Tom



Joined: Oct 08, 2006
Posts: 6
Location: California
G2 patch files: 2

PostPosted: Wed Oct 11, 2006 1:48 am    Post subject: Reply with quote  Mark this post and the followings unread

Now that I know this is not a problem with my machine, but a problem in the code, I decided to take some noise floor measurements. If we call the maximum output before clipping 0db, then the output of a sine wave oscillator is down 2 bits at -12db. A delay module with internal feedback, such as Delay A, decays to silence without producing any lingering artifacts whenever the feedback parameter is set at or below 50 (64). At a setting of 50.8 (65) after the source signal has decayed to silence the artifacts are at -78 db. When compared to the original signal at -12 db this yields a s/n ratio of 66 db. Keeping in mind that these artifacts persist indefinitely, any patch using a delay like this can have a s/n ratio as low as 66 db, roughly the same sound quality as the 12 bit samplers produced by companies like ensoniq back in the 1980's. At higher settings it gets worse, up to 16 db worse, yielding a s/n ratio of only 50 db. When the feedback loop is set to unity, I can't measure the noise floor because the source signal is still present, but by listening I guess that the artifacts are only about 20 db quieter than the source signal. So much for 24 bit audio. Even if the delays are 16 bit, properly coded feedback will produce artifacts at -93 db. Delay modules that do not include internal feedback, and have feedback externally applied perform about 4 db better than delay modules with internal feedback.

In general I find the sound quality of the g2 to be ok, but I have not seen any looping patches made by anyone else. Since looping is my favorite performance technique, this is the natural place for me to start programming my own patches. What a surprise. Confused

Tom
Back to top
View user's profile Send private message
Fozzie



Joined: Jun 04, 2004
Posts: 875
Location: Near Wageningen, the Netherlands
Audio files: 8
G2 patch files: 49

PostPosted: Wed Oct 11, 2006 2:52 am    Post subject: Reply with quote  Mark this post and the followings unread

Tom wrote:
In general I find the sound quality of the g2 to be ok, but I have not seen any looping patches made by anyone else. Since looping is my favorite performance technique, this is the natural place for me to start programming my own patches. What a surprise. Confused

Tom

You should look a bit more careful in the archives (use the search function); there are quite some looper patches (also search for 'multiplexer' for lofi longer delays that I find useable for live guitar processing but that also have some sync issues; definitely search for Tim's "deluxelooper", it is a fantastic looper patch with added pitch-shifting and time-stretching)
Back to top
View user's profile Send private message
Tom



Joined: Oct 08, 2006
Posts: 6
Location: California
G2 patch files: 2

PostPosted: Wed Oct 11, 2006 6:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
Conversion between 24 and 16 bits doesn't explain things either


[note Blue Hell] Embarassed

I've hit the edit button here instead of the reply button, I'm very sorry, tried to undo it ... but that would not work anymore .... Embarassed

I basically just wanted to say that I think you were right ...
Back to top
View user's profile Send private message
Tim Kleinert



Joined: Mar 12, 2004
Posts: 1148
Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236

PostPosted: Thu Oct 12, 2006 12:45 am    Post subject: Reply with quote  Mark this post and the followings unread

Tom wrote:
(...) When I saw the complexity of DeluxeLooper, I couldn't imagine someone putting so much work into a patch that had so much distortion, (...)

Embarassed Laughing

To be honest -DeluxeLooper was just a challenge for me, an mental exercise. I wanted to see if I could pull it off. But actually I've never used the patch myself. Confused Talking of putting too much work into something that isn't useful to oneself... Embarassed Laughing

But I totally agree: the delay lines are probably the shittiest modules the G2 has to offer -closely followed by the reverb module. That they are undoubtedly not up to studio standard sound fidelity doesn't bother me much, because -in my book- the entire G2 is not up to studio standard sound fidelity. Laughing Love it nevertheless.
Back to top
View user's profile Send private message
Tom



Joined: Oct 08, 2006
Posts: 6
Location: California
G2 patch files: 2

PostPosted: Thu Oct 12, 2006 1:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
To be honest -DeluxeLooper was just a challenge for me, an mental exercise.


A truly impressive one at that.

My live sound has evolved into something very intricate. The possibility of bringing just my guitar, a DI box, and the g2 to a gig, being able to control the tempo of delay loops, sequences, and lfo's all in sync from the master clock in the g2, and still achieve the sound that i am accustomed to, was very exciting. To do so from a device that has no cooling fans would have been heavenly. The search continues.

Tom
Back to top
View user's profile Send private message
ian-s



Joined: Apr 01, 2004
Posts: 2672
Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626

PostPosted: Thu Oct 12, 2006 4:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

A delay module does not seem to be very difficult, a block of memory addressed by a pair of pointers. Data goes in at the head and is taken out at the tail. For a fixed delay with unity gain feedback, it would be hard to imagine how distortion could occur out side the initial bit reduction.
The G2 delay times can all be altered at run time, even the ones with no modulation inputs. This requires some form of interpolation and most likely this is where the problem is. I suppose a future software upgrade might use an improved interpolation technique, or offer a mode which does not use interpolation at all for a small selection of fixed delay times.

The poor delay implementation also ruins some non loop related patches. I had a feed forward comb filter where the ‘sweet spot’ got hammered by some really nasty grit.

Are the delay effects in other Clavia keyboards any better?
Back to top
View user's profile Send private message
dorremifasol



Joined: Sep 28, 2006
Posts: 823
Location: Barcelona, Spain
Audio files: 7
G2 patch files: 49

PostPosted: Fri Oct 13, 2006 1:52 am    Post subject: Reply with quote  Mark this post and the followings unread

Though I haven't had my G2 for much time, I have definitely heard those delay clicks and noises. I haven't had enough time to check all the patches but I have heard them in some organ leslie effects, and a great nl3 unison patch.

This is the biggest bug I have found yet, and I sincerely don't understand how can be that it hasn't be fixed by now...

Cheers,
Albert
Back to top
View user's profile Send private message Visit poster's website
Antimon



Joined: Jan 18, 2005
Posts: 4145
Location: Sweden
Audio files: 371
G2 patch files: 100

PostPosted: Fri Oct 13, 2006 5:25 am    Post subject: Reply with quote  Mark this post and the followings unread

g2ian wrote:

The G2 delay times can all be altered at run time, even the ones with no modulation inputs. This requires some form of interpolation and most likely this is where the problem is. I suppose a future software upgrade might use an improved interpolation technique, or offer a mode which does not use interpolation at all for a small selection of fixed delay times.


If they do fix this, I hope that they keep the old behavior as an option. You can create some nice clicks and noises by whacking the delay time back and forth on long delays with feedback.

I don't really have any experience with analog feedback circuitry like the G2 delays - how should a delay unit react if you changed the delay time abruptly from, say, 2 seconds to 1 second? It seems to me that some kind of noise burst is hard to avoid.

/Stefan

_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
3phase



Joined: Jul 27, 2004
Posts: 1189
Location: Berlin
Audio files: 13
G2 patch files: 141

PostPosted: Fri Oct 13, 2006 7:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

they should at least remove the zippery noises on integrated delay modules...
you allways can have that on the basic delay module..
now its the other way around..i found the integrated delay modules pretty redundant because i like to generate my zippery noises myself and have clean delaytime sweeps available.

i agree that the delay modules are underdeveloped yet.
I dont know what clavia is up to...but i really hope that they will do a bugfix at one point...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [23 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use