How do you do a volume control for an MPEG Video being played through Direct
Media Xtra?
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED
You haven't declared 'vol' as a global in the scripts for the volume up and
volume down.
You can also shorten your scripts like so:
For volume [+]
on mouseUp me
global vol
vol = max(7, vol + 1)
the soundLevel = vol
end mouseUp me
For volume [-]
on mouseUp me
global vol
v
> But I get error-
> variable used before assigned a value
You need to declare "global vol" at the top of each of your mouseUp
handlers.
Try:
on startMovie
global vol
set vol to 4
set the soundLevel to vol
end
-- for volume [ + ]
on mouseUp
global vol
if vol
I am very new to Director and lingo especially so bear with me please.
I have a volume icon and a plus and a minus sprite and i want to make
the volume go up incrementally on clicking plus and doown clicking minus
I've put these scripts in:
on startMovie
global vol
set vol to 4
I'm an illustrator and not a programer.
I am working on a director prodject that uses puppet sounds. The puppet
sounds work ok
but I would like to add a button that would controll the volume of my
puppets?
How do I do this?
[To remove yourself from this list, or to change to digest mode,
hi nik;
did you tried to set the value in a test movie?
i had some troubles with dot syntax evaluation
e.g.
dir8: mem.strokeWidth.integer.string worked
dir8.5 i need: (mem.strokeWidth.integer).string
cheers stefan
[To remove yourself from this list, or to change to digest mode, go to
h
D]]On
Behalf Of nik crosina
Sent: Thursday, July 19, 2001 1:39 PM
To: [EMAIL PROTECTED]
Subject: sound volume with tabuleiro mpg xtra
the project i am worknig on is an update to a
cd-rom i did a few month back with director v8
(now we got v8.5) and thsi previous version still
works fine (movie fil
hi list,
i am writing to report a problem i am discovering
about the mpg xtra: i cannot get a currently playing
mpg movie to adjust its sound level by setting
'the soundLevel' with lingo.
the project i am worknig on is an update to a
cd-rom i did a few month back with director v8
(now we got v8
"Charlie Fiskeaux II" <[EMAIL PROTECTED]> wrote
> Have you tried volumes over 256? 255 is full volume, so to increase the volume you
>will need to use volumes over 255. I have
> increased volume to 500 or 600 without any distortion (like the books say will
>happ
Have you tried volumes over 256? 255 is full volume, so to increase the volume you
will need to use volumes over 255. I have
increased volume to 500 or 600 without any distortion (like the books say will happen)
so try somewhere between 400 and 600, that
should work. You can place the sprite
Stephanie,
Do you know that you can permanently boost the volume of a QT movie by
using nothing but the QT Player (the Pro version)? Open it in the Player,
click Movie Info, Sound track, and drag to get up to 200%, then save the
movie (this doesn't really double the volume, but it
Do you mean just the quicktime movie or the director file?? My QTmovie in
itself is large (22mb).
-Original Message-
From: Colin Holgate <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, July 01, 2001 1:58 PM
Subject: Re: volume of QT movie
>Fixing the volume in QuickTime would of course be the best solution, but at
>this time it's just not possible.
If you put the movie somewhere, I can fix it.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post mess
Colin wrote:
>property s,startedyet
>
>on beginsprite me
>s = the spritenum of me
>startedyet = false
>end
>
>on enterframe
>if not startedyet then
> startedyet = true
> sprite(s).volume = 255
> sprite(s).movierate = 1
>
>I'm not exactly sure where I need to place the volume scriptshould it be
>a frame script or attached as a behavior to the cast member. I have tried
>to do both and this causes director to skip right through the movies and go
>to the next marker. Any suggestions would be gr
I am having a small problem with the volume of 2 QT movies within the dir
movie. The volume is not as loud as my other voice overs, so I have been
trying to increase the volume using lingo. No luck so far, here is the
script I'm using for the volume:
on StartMovie
sprite(7).volume = 25
At 13:00 13/06/2001, Kamil Dabkowski wrote:
>Hi,
>
>How can I control sound(?).volume of AVI movie. In which channel the
>AVI sound is playing?
Use sprite(x).volume where x is the sprite channel containing your AVI.
--
Mark A. Boyd
Keep-On-Learnin' :)
[To remove yourself f
Hi,
How can I control sound(?).volume of AVI movie. In which channel the
AVI sound is playing?
Thanks
Kamil
--
Kamil Dabkowski
Geometrek
http://stop.at/kamil
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages
On Wednesday, May 09, 2001 4:09 PM, Conrad Ayala wrote:
>Is there a lingo script out there that can lower the volume of a sound
>channel while the button is being pressed down?
erhm... i'm late on this, but better late than never... right?
i did a slider volume thing for a project
Hi Conrad
If you still desire the effect of getting a gradual lowering or increasing
of the volume, then I suggest you make a little modification to your
methodology.
< behaviour attached to button sprite >
property p_Bool_ChangeVolume
property p_Int_FrameCount
pr
>
> I've created a slider also.. however it does not change the volume
> smoothly. I would love to see your code. With the info. you have posted on
> this subject I can already see where I went wrong.
>
here's some code for a slider volume changer, you need to attach
Thanks for all your help. I found that the updateStage is not working, but
as I have it right now, where the volume will lower and increase every time
you click the button is fine with the client. Thank you all for all your help.
At 12:46 AM 5/10/01 -0400, you wrote:
> > Thanks for t
> In other words, the ratio of thumb to slider range determines the volume in
> relation to the maximum system volume. I don't have the code handy, but I'll
> post it tomorrow when I'm in the office, if you still need it.
>
> -Kurt
Kurt,
I've created
> Thanks for the tip, but when I tried this it made the sound seem like it
> just turned off right away without any sort of gradual fade. How would I
> make the volume sort of lower when I press the button but not just
> completely turn off?
As Bhakti said, an updatestage is probabl
try throwing an updateStage inside the loop, after changing the volume.
Conrad Ayala wrote:
>
> Thanks for the tip, but when I tried this it made the sound seem like it
> just turned off right away without any sort of gradual fade. How would I
> make the volume sort of lower when
Thanks for the tip, but when I tried this it made the sound seem like it
just turned off right away without any sort of gradual fade. How would I
make the volume sort of lower when I press the button but not just
completely turn off?
At 06:03 PM 5/9/01 -0400, you wrote:
> > Is there
Heh. Certainly... my fault ;)
sound().volume = sound().volume -1
David V.
-Original Message-
From: Conrad Ayala [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 4:57 PM
To: [EMAIL PROTECTED]
Subject: RE: lowering the volume while the buttonis being
presse d down
Is
> Is there anyway to use 'the volume of sound 1' instead of 'member'?
you have the sound in sound channel 1? try the soundLevel. it controlls
overall sound. it's values are from 1-7 as I remember.
HTH
Al Hospers
CamberSoft, Inc.
alcambersoftcom
http://www.cambersoft
Is there anyway to use 'the volume of sound 1' instead of 'member'?
At 02:35 PM 5/9/01 -0700, you wrote:
>Try:
>
>on mouseDown
> repeat while the mouseDown
> member().volume = member( file>).volume -1
> end repeat
&
Try:
on mouseDown
repeat while the mouseDown
member().volume = member().volume -1
end repeat
end
Keep in mind that repeat loop will prevent other interaction from occurring.
David V.
-Original Message-
From: Conrad Ayala [mailto:[EMAIL PROTECTED]]
Sent
Is there a lingo script out there that can lower the volume of a sound
channel while the button is being pressed down?
===
Conrad AyalaInterface Architect
The Spin Group, Inc.
2000 South 4th Street Phone: 414-672-
Milwaukee
> Here's a situation, though. I have a client who wants to use this as a kind
> of poor man's copy protection--if the CD isn't in the drive, he doesn't
> want the game to run. What's to prevent somebody from simply copying the
> name file to their hard drive? I think the average gamer could find a
On 5/3/01 7:28 PM, "Al Hospers" <[EMAIL PROTECTED]> wrote:
> Xtra - correct?
Right. But you can also get some kind of disklist as well, and step through
that list if need be.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To pos
> A bit of a correction to one of my earlier posts. You can use Buddy's
> baDiskInfo to find the volume name of a CD on Windows only.
> It's not a Mac
> function, though. Well, the DiskInfo function is available on
> the Mac, but
> you apparently can't get the vo
>repeat with volumeName in ["MyCD1", "MyCD2", "MyCD3", "MyCD4"]
>
> if baFileExist(volumeName & ":ID" then exit repeat
>end repeat
Thanks, mare--that's actually the approach I use at the moment, except I'm
using b
Kerry Thompson kindly wrote:
>A bit of a correction to one of my earlier posts. You can use Buddy's
>baDiskInfo to find the volume name of a CD on Windows only. It's not a Mac
>function, though. Well, the DiskInfo function is available on the Mac, but
>you apparently can
A bit of a correction to one of my earlier posts. You can use Buddy's
baDiskInfo to find the volume name of a CD on Windows only. It's not a Mac
function, though. Well, the DiskInfo function is available on the Mac, but
you apparently can't get the volume name like you
With the buddy api xtra, yes.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Th
>Is it possible to read a volume label of a cd-rom.
Yep--you need the Director Swiss Army Knife, aka Buddy API. I think you
want the baDiskInfo command. Check it out at http://www.mods.com.au/budapi/.
No one should be without Buddy. It's cheap--in fact, free if you use, I
believe, 2
Hi
Is it possible to read a volume label of a cd-rom. This is for detecting
which cd-rom as a part of multi cd-rom set is in the
cdrom disk drive.
Ravi
_
Get Your Private, Free E-mail from MSN Hotmail at http
Hi,
With Director 8.0 after 'sound fadeOut' command is executed the volume property
does not come to 0. The value before its execution is still returned. On
Windows (98SE) sound cannot be heard even if the play-head moves and the volume
is not changed. My workaround is the below
41 matches
Mail list logo