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 » DIY Hardware and Software » Supercollider
Making a tangent oscillator!
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
daleth



Joined: Apr 04, 2007
Posts: 1
Location: Brooklyn, NY

PostPosted: Wed Apr 04, 2007 7:00 pm    Post subject: Making a tangent oscillator! Reply with quote  Mark this post and the followings unread

Hi everybody! New to the forum. I registered on the newscores.com SC forum, but I think they're having a spam problem so registration is closed at the moment. I hope this post finds some readers!

I am trying to make basically the tan equivalent of SinOsc. I simply want to modulate the amplitude of a synth with the tangent function to achieve a steady ramp with very rapid slopes near the asymptotes.

I started trying Signal.waveFill, but since it generates a fixed-length buffer I'm not sure it will really be appropriate for what I want (I want to modulate various different synths with different lengths of tangent oscs). Here's the code I started (not really right yet):

Code:
(
var tanOsc, mul, bufLength = 512;

mul = bufLength / (pi/2);

tanOsc = Signal.newClear(bufLength);
tanOsc.waveFill({
   arg x, i;
   tan((x) / mul)// / 3000
   //  - (bufLength / 2)
}, 0, 4pi);
//tanOsc.plot;

tanOsc.play(true, 1);
)


I still haven't gotten that quite right, but even if I do, I'm not sure how to use it to modulate another signal.

Thanks so much in advance for your help and insight!

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



Joined: Aug 28, 2006
Posts: 858
Location: Guangzhou, China
Audio files: 4

PostPosted: Sun Apr 15, 2007 8:55 am    Post subject: Reply with quote  Mark this post and the followings unread

The question was asked, and answered, on the mailing list:

http://www.nabble.com/Making-a-tangent-based-modulator-t3532715.html#a9859794

James

_________________
ddw online: http://www.dewdrop-world.net
sc3 online: http://supercollider.sourceforge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [2 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 » Supercollider
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