How to play midi and update graphics at the same time?

hello
I want to begin playing a midi file and then immediately while the music is still playing I want to update the screen, for ex. panel.update();It now seems that that whole screen freezes until the music has finished. How can I simultaneously update UI and play midi. Please help. Thanx!
-Wonderful-

http://www.google.com/search?q=java+thread+tutorial
Plenty of tutorials and examples out there.

Similar Messages

  • Go to detail page and update record at the same time

    Hi guys,
    I`m very new to dreamweaver and have no coding skills, so
    please be gentle.
    I`m have created a mail box and it all works fine, the
    problem i`m having is that I want to be able to tag wether a
    message has been read or not.
    So the subject has to be a link so when someone clicks the
    subject you are redirected to the read message page and it displays
    the message in full.
    My question is there a way to go to detail page and update
    record at the same time?
    I`m using ASP and the mysql read or not field is a SET

    "mrmidjam" <[email protected]> wrote in
    message
    news:fghrpf$7s2$[email protected]..
    > Hi guys,
    >
    > I`m very new to dreamweaver and have no coding skills,
    so please be
    > gentle.
    >
    > I`m have created a mail box and it all works fine, the
    problem i`m having
    > is
    > that I want to be able to tag wether a message has been
    read or not.
    >
    > So the subject has to be a link so when someone clicks
    the subject you are
    > redirected to the read message page and it displays the
    message in full.
    >
    > My question is there a way to go to detail page and
    update record at the
    > same
    > time?
    You can use the Update Record ZerverBehavrior and then have
    it redirect to
    the detailpage.
    Joris

  • Play Music and Watch Pictures at the same time?

    Can you play music and view pictures at the same time using AppleTV?

    Welcome to the Apple Community.
    Yes indeed, there are various options for slideshows, including the background music for the slideshow.

  • Running Integrated and Dedicated Graphics At The Same Time

    Hey all, I know this question has been asked before, but I haven't found an answer particularly pertaining to my situation. 
    First of all, I have an HP Compaq Elite 8300 with an Intel i5-3470, integrated graphics (DisplayPort and VGA.) I also have a dedicated GPU (Nvidia GeForce 7300 LE.) I enabled the integrated graphics in the BIOS to use both the integrated graphics and the dedicated graphics at the same time. 
    Now, I have one monitor plugged into the integrated graphics, as I set that as the primary GPU. Whenever I plug a monitor into the 7300, both screens go blank and nothing shows up. As a matter of fact, on start-up once, I had all four monitors plugged in and all that happened was that every monitor stayed blank and blinked every few seconds. Any ideas on what to do?

    Hi,
    When the BIOS detects a discrete graphics card the integrated graphics processor will be disabled. HP normally placed black covers over the motherboard video ports marked do not remove when a discrete graphics card is shipped with the PC. Trying to run both is probably confusing the BIOS in your PC.
    Not all PCs containing the Intel i5-3470 will have an enabled graphics processor.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • [SOLVED] How to use timidity++ and other programs at the same time?

    I have installed timidity following arch wiki instructions - I have soundfont, and I start it in /etc/rc.conf
    It works properly with tuxguitar (and tuxguitar-alsa) or kmid, but I cannot play MIDI and - for example - oggs in amarok at the same time.
    I suspect that the problem is that timidity doesn't use dmix alsa plugin I have made in my ~/.asoundrc.
    The question is: how to tell timidity to use my dmix plugin?
    Last edited by senjin (2007-11-19 19:53:50)

    but they don't define "default" there, but "!default"...
    anyway, I have already both "default" and "!default" defined exactly the same way:
    pcm.!default
    type plug
    slave.pcm "dmixer"
    pcm.default
    type plug
    slave.pcm "dmixer"
    pcm.dmixer
    type dmix
    ipc_key 1024
    slave
    pcm "hw:0,0"
    format "S32_LE"
    channels 2
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 44100
    bindings
    0 0
    1 1
    ctl.dmixer
    type hw
    card 0
    pcm.w_y_h
    type hw
    card 0
    device 0
    pcm.what_you_hear
    type plug
    ttable.0.10 1 # digital mix left
    ttable.1.11 1 # digital mix right
    slave.pcm w_y_h
    pcm.skype
    type asym
    playback.pcm "dmixer"
    capture.pcm "skype_input"
    pcm.skype_input
    type dsnoop
    ipc_key 2048
    slave
    pcm "hw:0,0"
    period_time 0
    buffer_time 0
    period_size 1024
    buffer_size 8192
    rate 44100
    and it doesn't work!
    Last edited by senjin (2007-11-18 17:49:21)

  • Win 8 - How to use StereoMix and Headphones Mic at the same time?

    I am using Windows 8 64 bit and believe I may have an IDT driver problem.
    I need to enable StereoMix and my Headphones Mic at the same time. I know this was previously possible with windows xp and windows 7.
    What happens is If I enable either Headphones Mic (Logitech headphones with Mic) or StereoMix the other one becomes " current;ly unavailable"  I cannot get them both to work together. I can get StereoMix and the Internal Mic to work together ( both enabled at the same time) but the sound quality is bad because the internal mic picks up noises from the PC. I need to have both my headphones mic and stereo mix enabled at the same time.
    The driver I'm using is the one provided by HP with the laptop. It is called sp59620.exe
    Would another IDT driver solve the problem? Can you think of another reason this is not working?
    Here are my specs.
    System Manufacturer/Model Number HP Pavillion G7-2251dx
    OS Windows 8 64 bit
    CPU AMD A-8 4500M
    Memory 8 Gigabytes DDR3 sdram
    Graphics Card Discrete ATI Radeon HD 7640G with 2 Gigs
    Sound Card IDT Audio
    Monitor(s) Displays 17.3
    Screen Resolution 1600x900
    If you cannot help, where else should I look? i have tried Windows and Microsoft forums and no one can give me an answer.
    Thank you.

    I have tried the instructions in that video and I cant get passed the very bad feedback i get when telling my recording device to Listen.  His secone instruction from his notes here
    ["Right Click the Realtech HD audio device and set as default if its not already.
    (note you may want to turn off any powered speakers you may have to prevent feedback.)
    -Select the Recording Tab at the top of the window.
    -Select the Stereo Mix device and set it to default if its not already.
    -Right click and select Properties.
    -Select the Listen Tab at the top of the window.
    -Change the drop-down box to the entry for USB headset and check the Listen to this device checkbox.
    -click ok to dismiss the window.
    -Right click on the USB headset microphone device and select properties.
    -Select the Listen Tab at the top of the window.
    -Change the drop-down box to the entry for the Realtech HD Audio device and check the Listen to this device checkbox.
    -click ok to dismiss the window.
    So, essentially, the game audio will play through the Realtec, your mic is also set to play to the Realtec. both audio streams are now part of Stereo Mix. Stereo Mix is being listened to by your headset allowing you to hear the game and your voice.]
    ~~~~~~~~~~~~~~~~~
    Don't know about turning off any powered speakers.. the only speakers I have besides the headphones are the internal laptop speakers.  I get the same feedback if i have the headphones plugged in or not.

  • How to play more than 2 audio at the same time in a page

    I worked for interactivity book's page in Hype and I inserted two audio in a page
    One is background music played when page opend, Other is effect audio that played when touch the object.
    i added this widget in ibooks author.
    In ibooks-author on mac, i can hear two sound well. but in ibooks on ipad i got the problem..
    When i touch the object and play effect sound, background audio is stopped.
    Moreover, after effect sound ended then bgm is not played.
    i hope to hear two sound at the same time on ibooks, if not, play bgm continue after effect audio over.
    plz answer this problem.. T.T

    I got the same problems! I can't play multi audio at the same time. Would you mind letting me know the detail of how to deal with this problems.
    Regards,

  • Upload file and update text at the same time

    I wanted upload a file and i have text box also, i know how
    to upload a file but the problem i cannot update the text box at
    the same time can anyone share how, I'm using the
    ASPSimpleUpload.Upload.
    please helpe thanks

    Do you mean something like this?
    SQL> create table table_name
      2  (column_a number
      3  ,column_b number
      4  ,column_c number
      5  ,date_column_d date
      6  );
    Table created.
    SQL>
    SQL> insert into table_name values (0,0,0,sysdate);
    1 row created.
    SQL> insert into table_name values (1,1,1,sysdate);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> create view view_name
      2  as
      3  select
      4  column_a,
      5  column_b,
      6  column_c,
      7  case when column_c = 1 then to_date('01-JAN-1900','DD-MON-YYYY')
      8       else date_column_d
      9  end  date_column_d
    10  from
    11  table_name;
    View created.
    SQL> select * from view_name;
                COLUMN_A             COLUMN_B             COLUMN_C DATE_COLUMN_D
                       0                    0                    0 12-DEC-2008 07:42:15
                       1                    1                    1 01-JAN-1900 00:00:00Edited by: SomeoneElse on Dec 12, 2008 7:42 AM

  • How to have amounts and amounts splitted at the same time

    Hi everybody, I need to show data as in the example (4 fields):
    Product Category           Number of tickets by category               Product               Number of tickets by product
    Category 1                              100                            product A                             50
                                                                           product B                              50
    Category 2                               10                             product C                              8
                                                                           product D                               2As you can see I need to see the total of tickets for each product category, and then splitted by product.
    In order to try to have this result, I take the following fields from the business area:
    Product Category
    count(tickets_id)
    Product
    but I'm not able to have the amount of tickets by category and the amount of tickets by product at the same time inside the report.....because as soon as I split by product I loose the total of tickets by Category.....
    How can I have this two amounts together ? The first referred to the total of tickets by Category and the second splitted by product at the same time?
    I tried to do a calculation count(count(tickets_id))....but it's not possible...I have the error "Nested Aggregated functions are not allowed"..
    Any help will be appreciated
    Thanks in advance
    Alex

    Tamir, thank you so much !!!
    It work perfectly ! but...just the last question...How can I group these records ?
    I explain to you better. Now, the situation, after using the analytic functions (as you mentioned) is the following:
       Product_Category      Count                  Product             Count      
         Category 1          100                   Product A              40
         Category 1          100                   Product A              40
         Category 1          100                   Product A              40
         Category 1          100                   Product B              60
         Category 2          10                    Product C              8
         Category 2          10                    Product D              2
         Category 2          10                    Product D              2 If I use the SORT (order by), I have empty records (blank) as below:
       Product_Category      Count                  Product             Count      
         Category 1          100                   Product A              40
         blank               blank                 blank                  blank
         blank               blank                 blank                  blank
         Category 1          100                   Product B              60
         Category 2          10                    Product C              8
         Category 2          10                    Product D              2
         blank               blank                 blank                  blank ...but I like to have the data grouped as:
       Product_Category      Count                  Product             Count      
         Category 1          100                   Product A              40
                                                   Product B              60
         Category 2          10                    Product C              8
         Category 2          10                    Product D              2 So, my question is this: how can I group the data using Discoverer ?
    Thanks again
    Alex

  • Play Music and Apple TV at the same time?

    Is it possible to stream a movie to your TV via Apple TV as well as play music independently on your computer without interrupting the movie?
    - I bought my Apple TV last week and connected Home Sharing on my windows computer, TV and my iPhone, iPad and iPod
    - But when we were testing out playing a movie through the TV, I also tried to play a song from my iTunes on my computer, but it stopped the movie on the TV.

    Welcome to the Apple Community.
    Independant Devices wrote:
    Is it possible to stream a movie to your TV via Apple TV as well as play music independently on your computer without interrupting the movie?
    Yes.
    Where are you starting the movie from, you need to start it on the Apple TV and start the music on your computer. You can't initiate multiple streams from the computer but multiple devices can initiate multiple streams when started from the device.
    We have a number of Apple TV's and often watch and listen to different content on each at the same time.

  • Can't play DVD and use Spotlight at the same time.

    I have been running in to all sorts of problems while playing a DVD. I have TV shows on DVD, so I watch them while I work. Everytime I have one playing and I open Spotlight to search for something my PB begins making this very loud noise. I don't know if it is my DVD player or something else, but as soon as I delete what is was I was searching for in Sportlight, it stops. It really bugs hearing this noise, because it sounds like something is wrong. If anybody can help, that would be great.

    Oh sorry, perhaps I wasn't clear.
    I have noticed that when you ask the optical drive to do one thing, it spins perfectly well and does what it is supposed to.
    If however you ask it do a second thing while it is still doing the first, then the laser skips between the two jobs and sounds strange.
    So... If you had a dvd or cd with 2 large files on it and
    a) Selected BOTH files together and copied them to the desktop, the drive would spin fast and transfer the files.
    b) Selected one file to copy and started the transfer to the desktop, THEN while the first was copying, selected a SECOND file from the DVD and started copying that, you would find the laser skipping between the two jobs.
    I thought that if you do this, and it is the same as what happens when watching a dvd and using spotlight, then it could be that spotlight is indexing the dvd while it is playing and the drive is therefore trying to do two things at once.
    I hope that helps.

  • My iPod is playing internal and external sound at the same time when my headphones are connected

    Hi, I have an iPod nano, 16 GB, 5th gen, that I've had for almost five years. It has never given me any problems before, but today when I plugged in my headphones the sound played not only inside the headphones but through the iPod's external speaker. When I turn the volume up or down only the external sound goes up or down, the headphones still play music at the same volume. I tried connecting the iPod to other headphones, and inserted and removed the headphone jack from the iPod about 20 times, the only thing I haven't tried is restoring because I don't know if that would make any difference and I would like to avoid restoring if I can. Thank you for your time.

    Thank you for the suggestion, but it didn't work.

  • Playing music and video games at the same time, itunes gets distorted.....

    i have a problem. i used to be able to play music while play games such at warcraft and counter strike but when i installed the new intunes 7 i cannot do that anymore. the music is all distored and speeds up and slows down. as if the cd is scratched really bad. it is really frustrating. does anyone now how to fix this or is it unfixable?
    Sony PCV-RZ54G Windows XP

    i found a fix for WoW
    Open the World of Warcraft folder on your hard drive (Default Folder: C:\Program Files\World of Warcraft).
    - Open the *** folder.
    - Open the Config.*** file using a text editor, like WordPad.
    Add the following line to the list if it doesn't exist:
    SET SoundOutputSystem "x"
    Set "x" to be 1 first, if it still occurs bump it to 2 and so on up to 4.
    you must restart WoW everytime you change the number.
    heres the link in the WoW forums.
    http://forums.worldofwarcraft.com/thread.html?topicId=28083078&sid=1

  • Can i play audio and record video at the same time, disabling the external mike, so the video has that audio?

    can i play  audio while recording a video so that the audio is recorded with the video? .. disabling the inboard mic, ? .. thank you 

    Hi SwedelostinAmerica,
    Welcome to the Apple Support Communities!
    The iPhone can maintain multiple pairing records, but it can only connect to one headset or hands-free device at a time. However, in your situation there may be a solution. You can connect the iPhone via Bluetooth for calls and use the 3.5mm jack on your iPhone and car radio to connect for music.
    The following article explains Bluetooth pairing and usage. Please use it as a reference.
    iOS: Third-party Bluetooth accessories
    http://support.apple.com/kb/HT1664
    Have a great day,
    Joe

  • How do I make Organizer and Editor open at the same time?

    I'm new to PSE 10 and want to know how to make Organizer and Editor open at the same time. I can get the Organizer up, but have to pick out a photo and click on Fix: Full Photo Edit to get Editor to open. Is that the only way to do it?
    Thanks,
    K

    Create Desktop shortcuts for the Organizer and the Editor:
    The Editor's executable is:
    "C:\Program Files (x86)\Adobe\Photoshop Elements 10\PhotoshopElementsEditor.exe"
    The Organizer's executable is:
    "C:\Program Files (x86)\Adobe\Elements 10 Organizer\PhotoshopElementsOrganizer.exe"
    Ken

Maybe you are looking for

  • T430s: boot from an external USB DVD drive

    I wanted to change boot sequence to boot from external DVD drive to install Win8. To access the BIOS I hit Enter (empty password I guess) but in the BIOS everything is greyed out: I can't make any changes. What is going on? Solved! Go to Solution.

  • Events on Jpeg image

    I have a jpeg image of a particular area map which i need to load in my app using swing, is there a way to fire some event when clicked on specific areas on the jpeg image and then highlight that area. I have googled and tried various ways but still

  • Combination Chart using APEX

    Is it possible to develop a combination chart (say a stacked bar chart + line chart) on the same chart using APEX? I have a requirement where standard deviation needs to be on line chart connecting through bars. Thanks R

  • Brute force on admin account - Windows Domain

    Hello, I have seen a rise of attempts to brute force our Administrator account on a awindows domain. I have in place, a Cisco ASA5505 w/ IPS sensor. I'd like to use the IPS sensor to automatically block IP's that brute force after x failed login atte

  • Maybe I'm missing something re PS as a separate wondow?

    I used to use PS 7 & then CS2 on a Windows machine. When I switched to the Mac, using CS2 & the CS3 trial, one thing I did not like was the manner PS opened - the panels(layers, history, etc.) sort of floating on my desktop, making my Desktop the bac