[gst-devel] a GstType for a musical note

Stefan Kost ensonic at hora-obscura.de
Mon Apr 18 08:09:27 CEST 2005


can't the scale be part of the GValue ? The downside is that this means doing 
the table lookup everytime one wants to read from the value. And its needs 
convinience api. The advantage would be that apps would know that this is the 
property they should feed musical notes into.

Heres a first link to infos about scales:

I'll do some reasearch during the next days to find out about how other 
plugin-apis handle that.


> hi hi,
> in gstreamer/gst/gstvalue.{c,h} we define custom g_value_types for e.g. 
> For audio-synth plugins instead of a frequency one usually supplies a 
> keyboard note, either as a number or in a 3 char notation (C-0, D#5).
> I'd prefer to have GValue Type for it, rather that using a normal 
> integer or a direct frequency.
> Again the question is where to put it. There core does not really need 
> to know about it (besides gst-inspect showing the proper param type of 
> an elemnt).
> Having this in plugins would be good, so that multiple plugins can use 
> the same type and apps can rely on the type.
> Any ideas, comments.
> Stefan
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

More information about the gstreamer-devel mailing list