electro-music.org   Dedicated to experimental electro-acoustic
and electronic music
 
 Front Page  |  Radio  |  Forum  |  Media  |  Playlists  |  Wiki
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 » DIY Hardware and Software » ChucK programming language
Alternative reverbs?
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
cbit



Joined: Dec 01, 2005
Posts: 35

PostPosted: Fri Oct 30, 2009 2:37 pm    Post subject: Alternative reverbs? Reply with quote  Mark this post and the followings unread

I noticed that the three reverbs JCRev, NRev and PRCRev expose only a mix parameter. I was wondering: what are chuckists currently doing when they want a greater level of control over the reverbs they use in chuck (eg. damping, decay parameters etc)?
_________________
http://basementhum.blogspot.com
Back to top
View user's profile Send private message Visit poster's website
cbit



Joined: Dec 01, 2005
Posts: 35

PostPosted: Mon Nov 02, 2009 7:33 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm thinking then: I probably need to route audio out of chuck, through a reverb plugin in a DAW and then back into chuck if i want more parameter control than the built-in verb ugens offer.
_________________
http://basementhum.blogspot.com
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Mon Nov 02, 2009 9:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Radarsat1 did a port of Freeverb to ChucK UGen, I think. That was supposed to work but wasn't pushed into the main build. I'm not sure why, actually.
_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cbit



Joined: Dec 01, 2005
Posts: 35

PostPosted: Mon Nov 02, 2009 11:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks, googling those terms lead me to this page: http://www.music.mcgill.ca/~sinclair/content/blog/faust2ck_a_faust_wrapper-generator_for_chuck_ugens

This should be enough information to get chuck compiled with freeverb at least when I can't put it off any longer Wink

_________________
http://basementhum.blogspot.com
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Mon Nov 02, 2009 3:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ah, yes, there it is.

I never minded the situation because I tend to use outboard spring-reberbs when producing and only really use the ChucK ones when livecoding. On those moments slapping on a extra LPF tends to do for me for tuning, but yes; that's a issue.

Right now the complete STK (Synthesis ToolKit, where we are borrowing the reverbs from) does have decay-time member functions for the reverbs. There has recently been talk of updating the version of the STK that we use, but the problem is that we don't use the current (older) version in a straight way and made changes to it to make it interact with the rest in a more ChucKian way. Ge said he'd look into updating; it's not yet clear how hard that would be.

You can, BTW, write a convolution reverb using LiSa. LiSa would hold a impulse response and you'd start one voice per sample with a voiceGain of the original signal. That would be a very short program and you get to be cool because you can say "I wrote a convolution reverb this afternoon" at the local pub but I'd fear for the cpu usage.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cbit



Joined: Dec 01, 2005
Posts: 35

PostPosted: Mon Nov 02, 2009 5:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks again!

Quote:
you get to be cool because you can say "I wrote a convolution reverb this afternoon" at the local pub


Maybe the difference between typical pub clientele in Rotterdam and the Hague is bigger than I though Smile

To recreate the max patch I only really need a reverb on a couple of submix groups, which i guess I could handle by piping audio from chuck to Live, and to the speakers from there. But part of the reason I was thinking it'd be nice to have as part of the chuck patch is that it'd make it a little easier to add a resampling trickery stage, post effects, with LiSa.

Having said all that, I will also revisit the existing verbs in chuck. I'll own up that I'd pretty much decided they weren't suitable _because_ they didn't have that parameter control, and not because i'd listened to them with representative material, maybe with some extra filtering as you suggest, they can be suitable.

_________________
http://basementhum.blogspot.com
Back to top
View user's profile Send private message Visit poster's website
flowdesigner



Joined: Dec 15, 2009
Posts: 3
Location: chamonix

PostPosted: Wed Dec 16, 2009 6:02 am    Post subject: Reply with quote  Mark this post and the followings unread

Is it difficult to build good reverbs from scratch in Chuck?

Is it possible to build a convolution reverb from scratch?
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Fri Dec 18, 2009 7:37 am    Post subject: Reply with quote  Mark this post and the followings unread

flowdesigner wrote:
Is it difficult to build good reverbs from scratch in Chuck?


I think that writing good reverbs is hard in general, not just in ChucK. You can though. We have interpolating delays, feedback, allpass filters and of course there is the old Lexicon trick of adding a bit of chorus. All of those are available.

Quote:
Is it possible to build a convolution reverb from scratch?


Yes, but you better prepare for a heavy CPU hit as convolution takes a lot from your computer.

I think that anything that can be done is DSP at all can be done in ChucK as well.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
flowdesigner



Joined: Dec 15, 2009
Posts: 3
Location: chamonix

PostPosted: Fri Dec 18, 2009 2:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you,


Do you know if anyone actually have implemented a convolution reverb in Chuck and been able to play it?

Is it possible to render sounds that is to CPU expensive for real time?

Cheers!
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Fri Dec 18, 2009 5:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

I once wrote one, but never actually tested it. It's also based on LiSa and I later realised LiSa has a 200 voice limit so that would mean that using a single instance of LiSa you would be limited to IR's of 200 samples max. A bit short. I could write one that would use multiple LiSa's, I suppose.

You can render "offline" by starting ChucK using "chuck --silent". It won't generate audio out but it will still record wave files if told to do so.

_________________
Kassen
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: Kassen
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
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
Log in
Username:     Password:      Log me on automatically each visit    


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2026 by electro-music.org