electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 » fonik's place
8-Step Sequencer with voltage controllable pattern (VCPS)
Post new topic   Reply to topic Moderators: fonik
Page 14 of 14 [328 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2, 3, ..., 12, 13, 14
Author Message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 22858
Location: The Netherlands, Enschede
Audio files: 237
G2 patch files: 319

PostPosted: Sat Apr 27, 2019 8:42 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh yes, plenty of control stuff to be done for emebedded computer thingies. And I'll push noone anywhere Laughing
_________________
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
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 22858
Location: The Netherlands, Enschede
Audio files: 237
G2 patch files: 319

PostPosted: Sat Apr 27, 2019 3:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

Fiddled a bit with it .. and came to the conclusion that 16 steps can work alright provided that the gain and offset controls for the VC input work exponentially.

That way you only need as many steps as there are steps in the sequencer .. and you can then set the offset to the step the effect should start on and the gain to the range of steps it should work on.

In code this is easy to do, in pseudo code something like:

Code:

uintX_t function GrayCode( uintX_t aValue)
{
  return aValue ^ ( aValue >> 1);
}

Pattern = pattern_input / voltage_range;
Start = 1 << ( stepcount * offset_input / voltage_range);
Length = 1 << (stepcount * gain_input / voltage_range);
Pattern = GrayCode( Start + Length * Pattern); 


still for your setup you would need a 16 bit ADC for 16 steps .. that's not a very handy thing to need in a mixed analog / digital setup .. even when using a processor as most processors will only have 10 or 12 bit ADCs built in.

But it still could be useful for a shorter sequencer too, to make it easier for the user to set the effect range.

_________________
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
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 22858
Location: The Netherlands, Enschede
Audio files: 237
G2 patch files: 319

PostPosted: Sat Apr 27, 2019 3:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Oh and also - it is a very nice sequencer! Cool
_________________
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
Display posts from previous:   
Post new topic   Reply to topic Moderators: fonik
Page 14 of 14 [328 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3, ..., 12, 13, 14
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » fonik's place
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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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