Need help with sound scubber

Could someone please help me out. I am so close to having
this sound scrubber work.
Here is what is not working:
--The slider thumb does not move when the music is playing
and it should.
--Also when you slide the slider thumb, the musical score
(frame) should change and it doesn't.
This is a bit different from scrubbers for Mp3 or other SWA
files.
You can go to
http://www.bachharpsichord.com/AudioCD.zip
and get the <1Meg file and xtra (they have to be in the same
folder and the extra is in demo mode (which is free for all to
try)).
When you try to run the program you need to put a music CD in
your CD drive. The first track should be around 3 minutes. I have
cuepoints in the program which move to the next frame(page) while
the music is playing.
Thank to all you geniuses!!

Something like this?
http://nonlinear.openspark.com/tips/sound/panvolume/

Similar Messages

  • Need help with Sound Methods

    Hi, I am new to java and need help with sound methods.
    q: create a new method that will halve the volume of the positive values and double the volume of the negative values.
    Message was edited by:
    Apaula30

    duplicate message #2

  • Please i need help with sound application! please?

    hey there people heres the deal I need to complete this before 5 today but im completely stumped...we have to make a sound file player with a swing interface I have it playing(kind of!) but where now...I would be forever in your debt as my masters degree hangs in the balance! de de duhhhh! cheers
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.event.*;
    import java.io.File;
    import java.io.IOException;
    import javax.sound.sampled.*;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.Clip;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.LineEvent;
    import javax.sound.sampled.LineListener;
    import javax.sound.sampled.LineUnavailableException;
    public class AudioPlayer extends JFrame implements ActionListener, ChangeListener{
    boolean playing;
    boolean looping;
    String filename = File.separator+"tmp";
    File selFile;
    Clip clip;
    JFileChooser fc = new JFileChooser();
    JButton btnOpen = new JButton("Open");
    JButton btnPlay = new JButton("Play");
    JButton btnStop = new JButton("Stop");
    JButton btnPause = new JButton("Pause");
    JButton btnLoop = new JButton("Loop");
    JSlider volume = new JSlider(SwingConstants.HORIZONTAL,0,100,0);
    JSlider panning = new JSlider(SwingConstants.HORIZONTAL,0,100,0);
    public AudioPlayer(){
    Container contentPane = getContentPane();
    contentPane.setLayout(new FlowLayout());
    contentPane.add(btnOpen);btnPlay.addActionListener(this);
    contentPane.add(btnPlay);btnPlay.addActionListener(this);
    contentPane.add(btnStop);btnStop.addActionListener(this);
    contentPane.add(btnPause);btnPause.addActionListener(this);
    contentPane.add(btnLoop);btnLoop.addActionListener(this);
    // Show open dialog; this method does not return until the dialog is closed
    fc.showOpenDialog(this);
    selFile = fc.getSelectedFile();
    volume.addChangeListener(this);
    panning.addChangeListener(this);
    volume.putClientProperty("JSlider.isFilled", Boolean.TRUE);
    volume.setPaintTicks(true);volume.setPaintLabels(true);
    volume.setMajorTickSpacing(20);volume.setMinorTickSpacing(10);
    contentPane.add(volume);
    panning.putClientProperty("JSlider.isFilled", Boolean.TRUE);
    panning.setPaintTicks(true);panning.setPaintLabels(true);
    panning.setMajorTickSpacing(20);panning.setMinorTickSpacing(10);
    contentPane.add(panning);
    addWindowListener(
    new WindowAdapter () {
    public void windowClosing(WindowEvent e){
    setVisible(false);
    public void actionPerformed(ActionEvent e){
    int returnVal = JFileChooser.APPROVE_OPTION;
    //Handle open file action.
    if (e.getSource() == btnOpen)
    System.out.println("FA1");
    returnVal = fc.showOpenDialog(AudioPlayer.this);
    if (returnVal == JFileChooser.APPROVE_OPTION)
    { selFile = fc.getSelectedFile();
    //This is where a real application would open the file.
    else
    if(e.getSource() == btnPlay)
    playAudio();
    public void stateChanged(ChangeEvent e)
    public static void main(String[] args)
    AudioPlayer audioPlayer = new AudioPlayer();
    audioPlayer.setSize(400,400);
    audioPlayer.show();
    public void playAudio ()
    playing = true;
    AudioInputStream audiosource = null;
    try
    audiosource = AudioSystem.getAudioInputStream(selFile);
    System.out.println("here");
    //System.out.println(audiosource.getFormat());
    DataLine.Info dataLineInfo = new DataLine.Info(Clip.class,audiosource.getFormat());
    clip = (Clip)AudioSystem.getLine(dataLineInfo);
    clip.open(audiosource);
    catch (UnsupportedAudioFileException e)
    catch (LineUnavailableException e)
    catch (IOException e)
    //catch (Exception e) {}
    if (looping)
    clip.loop(clip.LOOP_CONTINUOUSLY);
    else
    clip.loop(0);
    playing = false;
    }

    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.event.*;
    import javax.sound.sampled.*;
    * Description of the Class
    *@author rsmazara
    *@created 28 February 2003
    public class AudioPlayer extends JFrame implements ActionListener, ChangeListener {
    File selFile;
    JFileChooser fc = new JFileChooser();
    JButton btnOpen = new JButton( "Open" );
    JButton btnPlay = new JButton( "Play >" );
    JButton btnStop = new JButton( "Stop" );
    JButton btnPause = new JButton( "Pause ||" );
    JCheckBox btnLoop = new JCheckBox( "Loop" );
    JSlider volume = new JSlider( SwingConstants.HORIZONTAL, 0, 100, 0 );
    JSlider panning = new JSlider( SwingConstants.HORIZONTAL, 0, 100, 0 );
    JLabel label = new JLabel( " " );
    public AudioPlayer() {
    Container contentPane = getContentPane();
    contentPane.setLayout( new FlowLayout() );
    btnOpen.addActionListener( this );
    contentPane.add( btnOpen );
    btnPlay.addActionListener( this );
    contentPane.add( btnPlay );
    btnPlay.addActionListener( this );
    contentPane.add( btnStop );
    btnStop.addActionListener( this );
    contentPane.add( btnPause );
    btnPause.addActionListener( this );
    contentPane.add( btnLoop );
    btnLoop.addActionListener( this );
    btnPlay.setEnabled( false );
    btnStop.setEnabled( false );
    btnPause.setEnabled( false );
    // Show open dialog; this method does not return until the dialog is closed
    // fc.showOpenDialog( this );
    // selFile = fc.getSelectedFile();
    volume.addChangeListener( this );
    panning.addChangeListener( this );
    volume.putClientProperty( "JSlider.isFilled", Boolean.TRUE );
    volume.setPaintTicks( true );
    volume.setPaintLabels( true );
    volume.setMajorTickSpacing( 20 );
    volume.setMinorTickSpacing( 10 );
    contentPane.add( volume );
    panning.putClientProperty( "JSlider.isFilled", Boolean.TRUE );
    panning.setPaintTicks( true );
    panning.setPaintLabels( true );
    panning.setMajorTickSpacing( 20 );
    panning.setMinorTickSpacing( 10 );
    contentPane.add( panning );
    contentPane.add( label );
    addWindowListener(
    new WindowAdapter() {
    public void windowClosing( WindowEvent e ) {
    setVisible( false );
    System.exit( -100 );
    public void actionPerformed( ActionEvent e ) {
    int returnVal = JFileChooser.APPROVE_OPTION;
    //Handle open file action.
    System.out.println( e.getActionCommand() );
    ///open
    if ( e.getSource() == btnOpen ) {
    System.out.println( "FA1" );
    returnVal = fc.showOpenDialog( AudioPlayer.this );
    if ( returnVal == JFileChooser.APPROVE_OPTION ) {
    selFile = fc.getSelectedFile();
    player = new Player( selFile );
    label.setText( "File loaded : " + selFile.getAbsolutePath() );
    btnPlay.setEnabled( true );
    btnStop.setEnabled( false );
    btnPause.setEnabled( false );
    //This is where a real application would open the file.
    } else {
    //play
    if ( e.getSource() == btnPlay ) {
    player.go( btnLoop.isSelected() );
    btnPlay.setEnabled( false );
    btnStop.setEnabled( true );
    btnPause.setEnabled( true );
    // playAudio();
    // pause
    if ( e.getSource() == btnPause ) {
    player.pause();
    btnPlay.setEnabled( true );
    btnStop.setEnabled( true );
    btnPause.setEnabled( false );
    if ( e.getSource() == btnStop ) {
    player.finish();
    btnPlay.setEnabled( true );
    btnStop.setEnabled( false );
    btnPause.setEnabled( false );
    public void stateChanged( ChangeEvent e ) {
    private Player player = null;
    public static void main( String[] args ) {
    AudioPlayer audioPlayer = new AudioPlayer();
    audioPlayer.setSize( 400, 400 );
    audioPlayer.show();
    * Description of the Class
    *@author rsmazara
    *@created 28 February 2003
    class Player {
    Clip clip;
    private java.io.File selectedFile = null;
    private boolean looping = false;
    public Player( File file ) {
    selectedFile = file;
    AudioInputStream audiosource = null;
    try {
    audiosource = AudioSystem.getAudioInputStream( selectedFile );
    System.out.println( "here" );
    //System.out.println(audiosource.getFormat());
    DataLine.Info dataLineInfo = new DataLine.Info( Clip.class, audiosource.getFormat() );
    clip = ( Clip ) AudioSystem.getLine( dataLineInfo );
    clip.open( audiosource );
    } catch ( UnsupportedAudioFileException e1 ) {
    e1.printStackTrace();
    } catch ( LineUnavailableException e2 ) {
    e2.printStackTrace();
    } catch ( IOException e3 ) {
    e3.printStackTrace();
    private boolean work = false;
    public void go( boolean loop ) {
    looping = loop;
    playAudio();
    public void finish() {
    clip.stop();
    public boolean isWorking() {
    return clip.isRunning();
    long pausePosition = ( long ) 0;
    public void pause() {
    pausePosition = clip.getMicrosecondPosition();
    clip.stop();
    public void restart() {
    clip.setMicrosecondPosition( pausePosition );
    playAudio();
    public void loop( boolean loop ) {
    looping = loop;
    private void playAudio() {
    if ( looping ) {
    clip.loop( clip.LOOP_CONTINUOUSLY );
    } else {
    clip.loop( 0 );

  • Need Help with Sound Recording

    Hi,
    I'm a Comp. Sys. Eng. student in my final year and I've been trying to record sound with java for a couple of months now and its driving me stupid. I've looked around on just about every java source site I could find and have found many similar examples of sound recording, none seem to work on my machine. The problem is that I keep on getting either IOExceptions, or empty .wav files (as in the code below). The code included below is a shortened and modified version of some code I got from jsresources.org, the full link is http://www.jsresources.org/examples/AudioCommon.java.html.
    I have not had any experience with multimedia in java before.
    Can somebody please tell me what is wrong with this code? or is my java environment to blame?
    Am I declaring my AudioFormat correctly?
    Am I controlling my AudioInputStream correctly?
    I'm using JDK1.4 in eclipse. Any help would be greatly appreciated.
    * AudioCommon.java
    * This file is part of jsresources.org
    * Copyright (c) 1999 - 2001 by Matthias Pfisterer
    * All rights reserved.
    import java.io.File;
    import java.io.IOException;
    import javax.sound.sampled.AudioFileFormat;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.Line;
    import javax.sound.sampled.LineUnavailableException;
    import javax.sound.sampled.Mixer;
    import javax.sound.sampled.SourceDataLine;
    import javax.sound.sampled.TargetDataLine;
    public class AudioCommon
         private static boolean          DEBUG = true;
         public static void main(String Args[]){
              AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED,
    44100.0F, 16, 2, 4, 44100.0F, false);
              TargetDataLine dataLine = getTargetDataLine("AK5370 ",
                        audioFormat,
                        5);
              File     outputFile = new File("C:\\testRecorder.wav");
              try{
                   outputFile.createNewFile();
              } catch(IOException ioe){
                   System.err.println("Couldn't create a new file: " + ioe);
              AudioFileFormat.Type     targetType = AudioFileFormat.Type.WAVE;
              SimpleAudioRecorder     recorder = new SimpleAudioRecorder(
                        dataLine,
                        targetType,
                        outputFile);
              out("Press ENTER to start the recording.");
              try
                   System.in.read();
              catch (IOException e)
                   e.printStackTrace();
              recorder.start();
              out("Recording...");
              long millis = System.currentTimeMillis();
              while(System.currentTimeMillis() < millis + 5000);
              recorder.stopRecording();
              out("Recording stopped.");
              if(outputFile.exists()){
                   System.out.println("File Exists.");
              } else {
                   System.err.println("File does not Exist.");
              System.exit(0);
         public static TargetDataLine getTargetDataLine(String strMixerName,
                                       AudioFormat audioFormat,
                                       int nBufferSize)
                   Asking for a line is a rather tricky thing.
                   We have to construct an Info object that specifies
                   the desired properties for the line.
                   First, we have to say which kind of line we want. The
                   possibilities are: SourceDataLine (for playback), Clip
                   (for repeated playback)     and TargetDataLine (for
                   recording).
                   Here, we want to do normal capture, so we ask for
                   a TargetDataLine.
                   Then, we have to pass an AudioFormat object, so that
                   the Line knows which format the data passed to it
                   will have.
                   Furthermore, we can give Java Sound a hint about how
                   big the internal buffer for the line should be. This
                   isn't used here, signaling that we
                   don't care about the exact size. Java Sound will use
                   some default value for the buffer size.
              TargetDataLine     targetDataLine = null;
              DataLine.Info     info = new DataLine.Info(TargetDataLine.class,
                                       audioFormat, nBufferSize);
              try
                   if (strMixerName != null)
                        Mixer.Info     mixerInfo = getMixerInfo(strMixerName);
                        if (mixerInfo == null)
                             out("AudioCommon.getTargetDataLine(): mixer not found: " + strMixerName);
                             return null;
                        Mixer     mixer = AudioSystem.getMixer(mixerInfo);
                        targetDataLine = (TargetDataLine) mixer.getLine(info);
                   else
                        if (DEBUG) { out("AudioCommon.getTargetDataLine(): using default mixer"); }
                        targetDataLine = (TargetDataLine) AudioSystem.getLine(info);
                   *     The line is there, but it is not yet ready to
                   *     receive audio data. We have to open the line.
                   if (DEBUG) { out("AudioCommon.getTargetDataLine(): opening line..."); }
                   targetDataLine.open(audioFormat, nBufferSize);
                   if (DEBUG) { out("AudioCommon.getTargetDataLine(): opened line"); }
              catch (LineUnavailableException e)
                   if (DEBUG) { e.printStackTrace(); }
              catch (Exception e)
                   if (DEBUG) { e.printStackTrace(); }
                   if (DEBUG) { out("AudioCommon.getTargetDataLine(): returning line: " + targetDataLine); }
              return targetDataLine;
    EOF<<<<<<<<<<<<<<<<import java.io.File;
    import javax.sound.sampled.*;
    class SimpleAudioRecorder extends Thread{
         private TargetDataLine          m_line;
         private AudioFileFormat.Type     m_targetType;
         private AudioInputStream     m_audioInputStream;
         private File               m_outputFile;
         public SimpleAudioRecorder(TargetDataLine line,
              AudioFileFormat.Type targetType,
              File file)
         m_line = line;
         m_audioInputStream = new AudioInputStream(line);
         m_targetType = targetType;
         m_outputFile = file;
         public void stopRecording(){
              m_line.stop();
              m_line.flush();
              m_line.close();
    EOF<<<<<<<<<<<<<<<<

    your asking the quest in the jmf forum and using some old type of handling the media
    sun has given you very good frame work which reduce lot of coding and makes the life easy
    then why are you going to old way.
    first go and read jmf tutorial and implement your self dont go to get the code which some other people have written. do your self . you have energy to do. why are depending on others
    read well tutorial and design. you will win i am sure
    jmf makes life easy

  • Need help with Sound Problem

    If you have 1 sound file playing on say frame 1, how do you
    get frame 2 to play a different sound, without playing frame one's
    sound as well? Right now 'frame 2' is playing both sound files. If
    I use the commande 'stopAllSounds' the frame 2 sound file will not
    play either.
    Please help. Thank you.

    nwbgator wrote:
    > If you have 1 sound file playing on say frame 1, how do
    you get frame 2 to play
    > a different sound, without playing frame one's sound as
    well? Right now 'frame
    > 2' is playing both sound files. If I use the commande
    'stopAllSounds' the
    > frame 2 sound file will not play either.
    The sound once started will play for as long as you loop it
    or as long as its length
    is (if not loop is define). Even sound run independent to
    timeline so if you enter
    frame 2 it will simply play another sound.
    You need to make some on/off switches on frames or actions
    that will control the
    sound. Entering another frame won't do it and using
    stopAllSounds works like purge
    and clear player from all its sounds. The only way to get
    sound back will be by
    reloading the entire movie. One of these actions that not
    many of us are using.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Need help with sound on media and itunes. not working

    The media player and itunes sound does not work. need help

    You either need to kill all sounds when they click the
    Next/Back buttons OR you could disable the buttons until the sound
    completes.
    Hope that helps!

  • NEED HELP with Sound Blaster 5.1 digital LIVE! IM FED UP WITH THIS PEICE OF JUNK SOUND C

    yes i installed the Sound Blaster 5. digital LIVE! into my system and i got a new updated installation cd from creative and everything .. now heres the problem everytime i try to do an upgrade or download stuff from creative i always get an error message sayin MY SOUND CARD IS NOT INSTALLED .. but everything on my computer says it is installed and working properly .. so what the hell is going on ??? im a first time buyer of creative products and i purchased this from word of mouth on how good it was and i tell you what this sound card is a peice of **bleep** ... i have never in my life had such a problem installing something .. well i cant even use diagnostics cause i get the same message " MY SOUND CARD IS NOT INSTALLED ... i have tried uninstalling everything and so for and still nuthing .. i get sound through it but i cannot access any of the features from the cd or upgrade any of the drivers or anything .. SOOOOOOOOOOOOOOOO WHAT AM I SUSPOSED TO DO ?? IM ALSO GOING AS FAR AS SENDING THIS BACK TO CREATIVE FOR A REPLACEMENT CAUSE THIS CARD HAS TO BE DEFECTIVE .........ANYONE WITH SOME ANSWERS PLEASE LET ME KNOW ?

    ok i found my directx program and opened it and did sound test and other tests and it says theres no problems found .
    so this leads me back to my problem i stll get the error message saying that MY SOUND CARD CANNOT BE DETECTED ON MY SYSTEM . PLEASE MAKE SURE YOU SOUND CARD IS PROPERLY INSTALLED ...
    i went to creative to do the autoupdate install so it would auto check my system and i get a error message saying theres components that are corrupted and it closes and does nuthing ..
    and everytime i try to do an update i get the no sound card error message so im back to square ,
    i have done everything i can possibly think of and also everything the techs told me to do nd this **bleep** still dont work and i still cant use any of the features that came on the disc (i.e.) diagnostics and others etc.etc.etc.
    my only conclusion is i have a deffecti've sound card ..........unless someone can think of a miracle fix i dont see anything else it could be
    Message Edited by theviper on -06-2005 :00 AM

  • Need help with sound editing in FCE 4

    I want to remove certain background sounds from my HDV video.. (ex. a baby screams in the background, I want to remove it).
    Is there some way to separate different sounds within the video and delete that specific sound?
    Also, I want to keep certain voices within the video, but have everything else have just white noise for the sound.
    (I've read the parts of the manual, but haven't seen where I can completely edit and replace the audio in a recorded video)
    Is this something that can be done using Soundtrack Pro 1.5 in FCE 3.5 HD?

    Well.. I can see the waveforms that I basically want to remove and delete.
    If I can delete it or cut it out, can I tie in the 'loose ends' of the audio?
    (I don't want dead silence for 2-3 seconds of the film)
    Also, is there a way to 'line up' the audio to each frame? I want to use a sound to play everytime someone's mouth opens.

  • I need help with Sound Blaster Live 5.1 Digital

    ...because I cannot install it. I formated my Windows XP and since then my Audio Card isn't working because my PC hasn't auto-installed it like everything other. The bad news are that I have lost my installing cd and I don't know what to do... Please...heeeelp!!!

    Have you try using the Li'veDrvUni driver?
    Jason

  • Need help with Installing Canon LBP 2900B on Macbook Pro OSX 10.6.8

    I know this is going to sound silly, but really need help with this, URGENTLY!!!
    Bought a Canon LBP2900B printer more than a year ago, and was using it on my MacBook Pro with OSX Snow Leopard (10.6.8) very well. My hard disk recently crashed and now I cannot reinstall the printer, nor can I find the driver for it anywhere for the Mac.
    Have searched all the forums and followed all discussion threads on the Apple Communities as well, but none of the solutions seem to work. Even went back to @Dexter's solution with trying to download the file from the link http://boolet.free.fr/CAPT.zip (this is what I had done when I bought the printer, and it worked perfectly) but the link doesn't exist anymore.
    Extremely grateful if anyone can put up a solution to this, or alternatively, IF ANYONE HAS THE OLD CAPT.ZIP FILE AND CAN UPLOAD IT.
    Thanks in advance. Look forward to your solutions.
    Cheers

    Depends on how the partitons are arranged. If they're exactly as quoted, then yes.
    Open Disk Utility and select the partition tab.
    In the diagram, the top partition needs to be the one you're booted from, and partition 2 the middle one.
    Select Partiton 2 so that it's highlighted, and click the '-' button below the diagram.
    Drag the bottom right corner of partition 1 down to meet partition 3.

  • I need help with my text tone and I have ring tone. no text tone for the 4s.

    I need help with my text tone. I have ring tone no text tone. I have a 4s.

        Hi Sarar2333!  Let's get your text tones working again!
    Here's a link with instructions how to enable and change your alert sounds for your text/notification settings on your iPhone 4S: http://vz.to/1stiF8a.  You can ensure text tones are enabled by selecting a tone in the "Text Tone" setting.  Let me know how that works out for you.  Thanks!
    AnthonyTa_VZW
    Follow us on Twitter @VZWSupport

  • Hi, I need help with my iphone four bought in England but I live in Italy, I upgraded IOS six and now I can not read more than the Italian card, how can I contact a service center via email?

    Hi, I need help with my iphone four bought in England but I live in Italy, I upgraded IOS six and now I can not read more than the Italian card, how can I contact a service center via email?

    Only the carrier it is locked to can authorize unlocking it. Sounds like the phone was hacked to unlock it originally. Find out what carrier it is locked to, and look up their contact information using google or the search engine of your choice.

  • NEED HELP with ut2004 patch mu

    HEY,
    GREAT PRODUCT..BUT I GOT ONE QUESTION.
    I RECENTLY INSTALLED THE NEW SOUNDBLASTEER X-FI UT2004 PATCH..WOW ITS AMAZING BUT WHEN EVERYTHING IS INPUTED WITH THE SOUND OPTIONS IN THE GAME.. THE "H/W 3D + EAX"... THE MUSIC DOESNT PLAY BUT WHEN I CHOOSE H/W + audio.. THE MUSIC PLAYS REGULAR BUT THE NEW WEAPON SOUNDS AND MUSIC ENHANCEMENT ISNT THERE.. PLEASE HELP ME TO GET THE MUSIC RUNNING IN THIS NEW PATCH, THE WEAPONS R AMAZING.. I JUST NEED HELP WITH THE MUSIC PLAYING.
    thanks,
    DANNY

    Have you actually read what the patch does? If not, check it out here. http://www.soundblaster.com/products/x-fi/technology/ut2004/ What you are hearing is probably it. The weapon sounds itself don't change. It just sounds more immersi've in that you can hear the rockets flying from one side to another more clearly, or hearing flak scattering when it hits the ground, etc.. It's nothing significant, but it does make it a bit more interesting to play.

  • Need help with "percentage of" I need to see grandparent totals

    Theres a division in my database between Supervisors, Representants, and Lines.
    The hierarchy is Supervisors -> Representants -> Lines
    I have a measure called "acum sold" and I need the percentage of it.
    I`m using "Percentage of" -> "Collumn"and it works untill I reach the Lines level, then it doesn`t work (well it does, but not in the way I want)
    Basically it`s this
    Supervisor----Acum Sold---% Acum Sold
    X-------------1000------------100%----
    Then I go to the next level
    Supervisor----Representant----Acum Sold---% Acum Sold
    -----X----------------XY------------------500---------------50%-----
    -----X----------------YZ------------------500---------------50%-----
    And it`s still the way I want, but when I drill to XY representant...
    Supervisor----Representant----Lines-------Acum Sold---% Acum Sold
    -----X----------------XY------------XY1---------100---------------20%-----
    -----X----------------XY------------XY2---------400---------------80%-----
    The percentage is based off the XY totals (percentage of the 500 total acum sold) but I actually need the percentage based on the Supervisor
    I need something like this
    Supervisor----Representant----Lines-------Acum Sold---% Acum Sold
    -----X----------------XY------------XY1---------100---------------10%-----
    -----X----------------XY------------XY2---------400---------------40%-----
    Because XY1 and XY2 sold only 50% of the supervisor`s total. But BIEE is always trying to get 100% of the parent level, instead of the "grandparent" one.
    I hope I didn`t sound that confusing, I really need help with this one.
    Thanks in advance

    You need to use level based measures. Look up documentation/this forum for Level based measures (LBM).
    In short you drag a fact meaure to a heirarchy level in business mapping layer and it will always aggreagtre to that level. So create a total and grandparent level then divide child sum by grandparent total (LBM)

  • Need help with a currently "in-use" form we want to switch to Adobes hosting service

    Hi, I am in desperate need of help with some issues concerning several forms which we currently use a paid third party (not Adobe) to host and "re-distribute through email"...Somehow I got charged $14.95 for YOUR service, (signed up for a trial, but never used it)..and now I am paying for a year of use of the similar service which Adobe is in control of.  I might want to port my form distribution through Adobe in the hopes of reducing the errors, problems and hassles my customers are experiencing when some of them push our  "submit button". (and I guess I am familiar with these somewhat from reading what IS available in here, and I also know that, Adobe is working to alleviate some of these " submit"  issues, so let's don't start by going backwards, here) I need solutions now for my issues or I can leave it as is, If Adobe's solution will be no better for my end users...
    We used FormsCentral to code these forms and it works for the most part (if the end-user can co-operate, and thats iffy, sometimes), but I need help with how to make it go through your servers (and not the third party folks we use now), Not being cruel or racist here, but your over the phone "support techs" are about horrible & I cannot understand them or work with any of them, so I would definitely need someone who speaks English and can understand the nuances of programming these forms, to please contact me back. (Sorry, but both those attributes will be required to be able to help me, so, no "newbie-interns" or first week trainees are gonna cut it).... If you have anyone who fits the bill on those items and would be willing to help us, please contact me back at your earliest convenience. If we have to communicate here, I will do that & I can submit whatever we need to & to whoever we need to.
    I need to get this right and working for the majority of my users and on any platform and OS.
    You may certainly call me to talk about this, and I have given my number numerous times to your (expletive deleted) time wasting - recording message thingy. So, If it's not available look it up under [email protected]
    (and you will probably get right to me, unlike my and I'm sure most other folks',  "Adobe phone-in experiences")
    Thank You,
    Michael Corman
    VinylCouture
    Phenix City, Alabama  36869

    Well, thanks for writing back...just so you know...I started using Adobe products in 1987, ...yeah...back then...like Illustrator 1 & 9" B&W Macs ...John Warnock's Helvetica's....stuff like that...8.5 x 11 LaserWriters...all that good stuff...I still have some of it working on a mac...much of it was stuff I bought. some stuff I did not...I'm not a big fan of this "cloud" thing Adobe has foisted upon the creatives of the world...which I'm sure you can tell...but the functionality and usefulness of your software can not be disputed, so feel free to do whatever we will continue to pay for, ...I am very impressed with CC PS on the 64 bit PC and perhaps I will end up paying you the stipend that you demand for the other services.
    So  I guess that brings us to our problem.. a few years back and at the height of the recession and near bankruptcy myself,  I was damn lucky and hit on something and began a small arts and crafts supply service to sell my products online to a very "niche market" ...I had a unique product and still sell that product (plus others) online...My website is www.vinylcouture.com...Strange? Yes...but there is a market it seems, for everything now, and this is the market I service...Catagorically, these are 99%+ women that use these "adhesive, sticky backed vinyl products"  to make different "craft items" that are just way too various and numerous to go into... generally older women, women who are computer illiterate for the most part...and all this is irrelevant to my problem, but I want you to have every bit of background on this and especially the demographic we are dealing with, so we can get right to the meat of the problem.
    OK...So about two years ago, I decided to offer a "plain sheet" product of a plain colored "stick back" vinyl... it is available in multiple quantities of packs ( like 5 pieces, 10 pieces, 15 pieces, in a packi  & so on)...and if you are still on my site.. go to any  "GO RIGHT TO OUR ORDER PAGE"  button, scroll down a little...and then to the "PLAIN VINYL" section...you will see the Weebly website order process.) You can back out from here, I think,..but, anyway this product is available in 63 colors + or - a few. So then the problem is,  how do they select their individual colors within that (whatever) pack?... .
    So my initial idea was to enable a "selection form" for these "colors" that would be transmitted to me via email as 'part" of the "order process".. We tried getting our customers to submit a  " a list" ( something my competitiors still do, lol, poor bastards)......but that..is just unbelievable..I can't even begin to tell you what a freakin' nightmare that was...these people cannot even count to 10, much less any higher... figuring out what colors to list and send me... well, lets just say, it wasn't working......I had to figure out a better way...Something had to be done.
    So after thinking this all out,  and yeah...due to my total ignorance, i figured that we could make a form with Live Cycle Designer (Now Forms Central)...(back then something that was bundled with Adobe Acrobat Pro), I believe, and thats what this thing was authored in... and it would be all good...LOL!
    Well not so simple...as you well know, Adobe Acrobat would NOT LET YOU EMAIL anything from itself.....it just wouldn't work (and I know why, and all that hooey), but not being one to take NO for answer,.I started looking for a way to make my little gizmo work.. So I found this company that said they can "hijack" (re-direct actually) the request to email, bypass the wah-wah, and re-transmit it to the proper parties.....for less than $100 a year,  I think...its called http://pdf-fillableforms.com/.
    A nice gentleman named Joseph Silva helped us program the thing to go to his servers and back out. Please dont hassle them...I need them...for now..it basically does work...try it...you should get back a copy of the form that you filled out...good luck however,  if you're on MAC OSX or similar...
    I have included a copy of both of our forms (and feel free to fill it out and play with it)...just put test somewhere on it...(and you must include YOUR email or it will balk)..they are supposed to be mostly identical, except one seems to be twice as large....generating a 1.7 meg file upon submission, while the other one only generates a 600K file or so...thats another issue for another day or maybe you can advise on that also...
    OK so far so good......In our shop, once Grandma buys a 10 pack (or whatever), Only then she gets to the link on her receipt page ro the relevant "selection form" ,(this prevents "Filling and Sending"  with "no order" and "no payment", another early problem we had)... which they can click on and it will usually download and open up on their device if all goes well...Then our little form is supposed to be fillable and is supposed to ADD UP all the quantities, so grandma knows how many she is buying and so forth right on the fly,  and even while she changes her mind..., and IT'S LARGE so grandma can see it, and then it TOTALS it all up for them, ( cause remember, they can NOT add)..,  except there is a programming bug (mouse-click should be a mouse-up probably or something..) which makes you click in the blank spaces to get to a correct TOTAL...about 70-80% of our customers can enable all these features and usually the process completes without problems for them especially on PC's running Windows OS and Acrobat Reader X or XI...at least for most... Unfortunately it is still not the "seamless process" I would like or had envisioned for the other folks out there that do have trouble using our form....  Many folks report to us the following issues that we know of.  First of all it takes too much time to load up...We know its HUGE...is there anyway that you can see, to streamline this thing? I would love for it to be more compact...this really helps on the phones and pads as I'm sure you well know.
    Some just tell us,"it WON'T work"....I believe this is because they are totally out of it and dont even have Adobe Reader on their machine, & don't know how to get it ( yes, we provide the links).....or it's some ancient version....no one can stop this one...
    It almost always generates some kind ( at least one time)  of "error message" which we do warn them about..., telling one,  basically that "Acrobat doesnt even like this happening at all, and it could be detrimental to ones computer files", blah-blah...(this freaks grandma out really bad)...& usually they end up not even trying to send it...  and then I get calls that even you wouldn't believe...& If they DO nut up and push the Red "Submit Form" button, it will usually send the thing to us (and also back to them at the "required email address" they furnished on the form, thats what the folks at the "fillable forms place" do) so, if it's performing it's functions, why it is having to complain?. What are we doing wrong?....and how can I fix it?...Will re-compiling it or saving it as a newer version of "FormsCentral" correct any of these problems ?
    Ok, so that should keep you busy for a minute and we can start out with those problems...but the next thing is, how can I take advantage of YOUR re-direct & hosting services?, And will it get rid of the error messages, and the slowness, and the iOS incompatibilities ? (amazingly,  the last iOS Reader version worked almost OK.. but the newest version doesnt seem to work with my form on my iphone4)  If it will enable any version of the iOS to send my form correctly and more transparently, then it might be worth the money...$14.95 a MONTH you say. hmmmmm...Better be good.
    Another problem is, that I really don't need 5000 forms a month submitted. I think its like 70-100 or less....Got any plans for that?  Maybe I'm just not BIG ENOUGH to use Adobe's services, however in this case, I really don't care whose I do use as long as the product works most correctly for my customers as well as us. Like I said, If I'm doing the best I can, I won't change anything, and still use the other third party, If Adobe has a better solution, then i'm all for that as well. In the meantime, Thanks for any help you can provide on this...
    Michael Corman
    VinylCouture.com
    (706) 326-7911

Maybe you are looking for

  • Iphone remote app and itunes

    All seemed to be going well until - the updates. Now my iphone will not recognize my itunes libraries. I deleted the library link from the iPhone remote app and even told itunes to forget all remotes. Back to my iphone to set up as a remote - again.

  • Weblogic Precompilation of Jsps

    Hi there,           I'm deploying a project to Weblogic 8.1.2 and I'm trying to use Ant - in conjunction with Weblogic tasks - wldeploy and wlappc - to build and deploy my project for me. And I'm noticing some bizarre behaviour with the weblogic prec

  • Statistical WBS

    Hi, When im procuring asset by using a Statistical WBS in PO ,whether  commitment will generate. Regards

  • Portal OWA iView logon popup issue

    Hello, I have configured web outlook (owa) access via iView and everything is working fine, except that the user is seeing logon popup every time when the new browser session is started. Our portal is only used within intranet environment. Is there w

  • Hp pavilion g6 notebook PC. No sound from speakers or headphones

    Hi, I just did all the recommended updates for my computer this week due to it working so slowly. It started working like new again with one problem, I now have absolutely no sound. A big problem for me since I use this laptop as a TV and love listen