Das Werkstatt

what we do? everything.
It is currently Fri Sep 10, 2010 3:31 am

All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: gstreamer, anyone?
PostPosted: Tue Sep 23, 2008 9:17 am 
Offline
Site Admin
User avatar

Joined: Fri Aug 29, 2003 6:39 pm
Posts: 763
"halex" (from monome-forums) has expressed this idea using his knowhow about gstreamer:

http://mediati.org/temp/router.html

The term "pads" is an excellent description of what I previously called "ports" or "inputs/outputs" of elements/widgets/etc.


Top
 Profile  
 
 Post subject: Graphical representation: Icons
PostPosted: Sat Oct 11, 2008 2:56 pm 
Offline
Site Admin
User avatar

Joined: Fri Aug 29, 2003 6:39 pm
Posts: 763
Almost each entity (gear, element, ...) will have a visual representation in form of an icon.

All icons reside in one folder, separated by naming convention.
The icons are stored as PNG, (forced) lowercase filenames like this:
Code:
$classname-$instancename.png


Fallback:
In case, no icon file is found for an entity, an optional fallback icon must exist:
Code:
$classname.png


Top
 Profile  
 
 Post subject: pads! my long lost friends!
PostPosted: Sat Oct 11, 2008 2:59 pm 
Offline
Site Admin
User avatar

Joined: Fri Aug 29, 2003 6:39 pm
Posts: 763
Thanks to the (afterwards somewhat obvious) appearance of "pads" (pins) as a separate class in the framework design, it turns out that they will be quite an important part ioflow

Here's an excerpt of my current class draft (ugly pseudocode. probably pascal style?)

Code:
=== TPad ===
properties:
- name      : string      # name handle for pad
- label   : string      # human readable name of pad (useful for labeling "pins")
- value   : variant      # current value of data in pad
- offset   : numeric      # +/- offset to add to the value before sending
- pads      : array of pads      # existing connections
- inputs   : array of pads      # connections to listen to (filled once at runtime from "self.pads")
- outputs   : array of pads      # connections to send to (filled once at runtime from "self.pads")
- flow      : [in|out|duplex]    # data flow of pad: "sink|source|both"
- type      : numeric|string|xxx    # type
- keep alive   : numeric      # interval between re-sending of value (in msec)
- ramping   : numeric      # time delay between 2 values (in msec)
- calibration   : bool         # auto calibration on/off
- filter   : array of TPadFilter   #
- min      : numeric      # lower range limit
- max      : numeric      # upper range limit
- precision   : numeric      # decimals after the comma. for floats.

methods:
- send()            #
- recv()            #
- bang()            # trigger re-sending of previous values


As you can see, most of the magical data conversion (type, range, etc...) will be done in here, as well as preprocessing(filtering) of values.

Oh, btw: Did I mention that the filtering array is actually going to be an "effect rack" style chain? It will be possible to cascade filters. :)

Currently, the most basic filter is a gate:
Code:
=== TPadFilter ===
properties:
- name      : string      # name handle for pad
- label   : string      # human readable name of filter
- in      : variant      # input
- out      : variant      # output
- old      : array of variant   # previous value. useful for differential filters.

   === (TPadFilter)TGate ===
   # Blocks values outside a given range
   properties:
   - min      :
   - max      :
   - type      : [lowpass|midpass|highpass]


Top
 Profile  
 
 Post subject: the reason
PostPosted: Tue Nov 25, 2008 8:41 am 
Offline
Site Admin
User avatar

Joined: Fri Aug 29, 2003 6:39 pm
Posts: 763
Here's a short text describing the project and its aims:
(similar to an abstract, but bundled with motivation info)

== work in progress... ===
Quote:
The status quo of creating and performing music using electronic devices is less than ideal for musicians. Often it requires a quite high level of technical- (sometimes even programmer-) skills to simply use your gear. In order to nurture the progress of developing useful physical user interfaces, it is necessary to provide an "instrument-like" machine to the people.

_________________
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group