Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Using VerticalSlider controls for Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96674] Re: Using VerticalSlider controls for Manipulate
  • From: brtubb at pdmusic.org
  • Date: Fri, 20 Feb 2009 05:46:26 -0500 (EST)
  • References: <gne6t8$pfv$1@smc.vnet.net> <gngpo8$8g$1@smc.vnet.net>

I found a "solution" which might interest others, so here is an
example. As my intent is to allow dynamic values with labels for the
sliders, the "Button" approach is the next best thing :>)

Dynamic[a]; Dynamic[b]; a = 64; b = 64;
Print[
 Column[
  {
   Row[
    {VerticalSlider[Dynamic[a], {0, 127, 1}],
     , " ", VerticalSlider[Dynamic[b], {0, 127, 1}]}
    ],
   Row[{Dynamic[Button[a]], "  ", Dynamic[Button[b]]}]
   }
  ]
 ]

Thanks for all the feedback.

P.S. Ideally I'd like to use Mathematica perhaps with the Orchestra-95 text
based music language (for programming "ease") to allow both MIDI
[SoundNote[] based] AND additive synthesis [Play[] based] playback of
music playable polyphonically with the Sound[] function whether for
algorithmic music or not!.

But it would be very helpful if Mathematica could IMPORT MIDI files and just
export them (unless Version 7 can now -- v6 doesn't).

Benjamin Tubb
www.pdmusic.org

On Feb 19, 2:34 am, brt... at pdmusic.org wrote:
> On Feb 18, 5:00 am, Yves Klett <yves.kl... at googlemail.com> wrote:
>
>
>
>
>
> > Benjamin,
>
> > you might have a look at the earlier thread,"Custom label for a slider
> > in Manipulate".
>
> > While I agree with David that Manipulate is not suitable for everything=
,
> > for those still wanting to use it there is Control[] in Version 7 that
> > allows you to place Manipulate control statements flexibly, e.g. in
> > grids, columns etc.
>
> > Regards,
> > Yves
>
> > brt... at pdmusic.org schrieb:
>
> > > In reference to the Manipulate function, does anyone know how to use
> > > row arranged variables with it, particular the VerticalSlider control
> > > if possible. As it it the only placement alignment is either top,
> > > bottom left or right but only in column formats, I want to use rows.
> > > I'm using Mathematica v6.0.2.
>
> > > Benjamin Tubb
> > >www.pdmusic.org-Hide quoted text -
>
> > - Show quoted text -
>
> Thanks. As to ver 7, I'm using ver 6.0.2 with a complimentary license
> from Stephen Wolfram already (but it expires 5 Mar 09), having only
> bought ver 3 previously, and can't afford to upgrade (to $2500!)
> otherwise. As it is I'm trying to develop some music Demonstration
> Projects on as fast a learning curve as I can, despite having two hard
> drive crashes last year, and only (finally) recovering late last
> month, but at least I have DSL service now <g>, and a new (mfg. 12/08)
> 300GB hard drive! And I'm still using a WinXP Pro PC.- Hide quoted text -
>
> - Show quoted text -



  • Prev by Date: Re: Help with Mathematica 7.0
  • Next by Date: Re: pfa2pfb
  • Previous by thread: Re: Using VerticalSlider controls for Manipulate
  • Next by thread: Re: Re: Using VerticalSlider controls for Manipulate