| I would have thought that with the python opcodes and Tkinter's canvas,
you'd be able to do a nice one in no time at all.
Victor
----- Original Message -----
From: "Oeyvind Brandtsegg"
To:
Sent: Sunday, January 27, 2008 10:20 AM
Subject: [Csnd] Re: prototype FLTK based ftable "graphic" editor
> This is interesting,
> however, I find it a bit hard to edit graphically without seeing the
> result displayed.
>
> For a Wx implementation of something similar, have a look at the
> graph.py module that comes with PartikkelExplorer. It's a general data
> plotting module, but in PartikkelExplorer it is used for editing
> csound ftables with the mouse.
> It has a simple test build in if you run it as main (that is, just
> double click the file, or type "python graph.py" on the commandline).
> The graphics are ugly as hell, I am the first to admit, but it works.
>
> Oeyvind
>
> 2008/1/27, Tim Mortimer :
>>
>> AS crappy as this is, i have attempted to write a ftable editor using
>> only
>> FLTK widgets!
>>
>> The aptly named FLjoy proved to be about the best fit for the job in the
>> end.
>>
>> unfortunately FLsetVal doesn't seem to work for sliders that have
>> inverted
>> min / max values...
>>
>> in this example illustrative csd attached, the x axis is pitch, & the y
>> axis
>> is keyscaled db values
>>
>> The left mouse button in the FLjoy target zone plays back the appropriate
>> index at the appropriate dB
>>
>> the right mouse button allows for rewriting of the current target ftable
>> index.
>>
>> So with the right mouse button held down you can quickly, easily, (albeit
>> roughly) fashion some sort of whimsical ftable shape -
>>
>> i mainly designed this with parameter mapping in mind, rather than
>> drawing
>> oscillator shapes - & as such, it's also meant to be an editing rather
>> than
>> performance interface element (i'll be unleashing them en masse in my
>> planned "ambient supersyn"
>>
>> selecting Index Lock allows for fine tuning of the currently selected
>> index
>> (by depressing the right mouse button) without the worry of accidently
>> slipping over into a neighbouring bin
>>
>> The value is displayed in the text box, & also in the slider to the right
>> of
>> the joystick space.
>>
>> Don't alter the text boxes, they are for display purposes only
>>
>> I look forward to suggestions for improvements - or even better
>> demonstrations of improvements - or even better yet the WXPython realtime
>> ftable editor that someone else is now going to go away & write, wherein
>> the
>> tables fields are all displayed & responsive to changes within the mouse
>> editing space itself!
>>
>> & to think it only took me about 16 hours! (he said sarcastically,
>> thinking
>> it might take 3 or 4 at the most...)
>>
>> http://www.nabble.com/file/p15117478/fljoy.csd fljoy.csd
>>
>> happy hunting
>>
>> T.
>> --
>> View this message in context:
>> http://www.nabble.com/prototype-FLTK-based-ftable-%22graphic%22-editor-tp15117478p15117478.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
|