How to play several audio files at the same time and mute toggle some voices?

Hi all

Forgive me if this is mentioned elsewhere and kindly point me in the right direction.  I'm a kid with flash and action script so if you are in doubt, error on the side of more specific in your response, there is a lot of vocabulary I still don't know.

The goal:

I have 4 audio files which are Soprano, Alto, tenor and low voice of a musical example.  The result should allow the user to play all 4 voices at once and dumb voice specific to hear all the possible combinations of voices playing together or solo.  I imagined a check box at the beginning of each rated musical line that puts that voice muted when checked.

It would be ideal to have the game, interrupt and stop reproduction choices where 'Stop' resets playback at the start and 'Pause' maintains the current place in time and takes over from there, once playback is started again.

I am able to get the simple audio files to play from a single button, but I am struggling to find how to link multiple audio files to start at the same time by a single button.  I found this link: https://forums.adobe.com/thread/1069107?start=0 & tstart = 0

where the last message mentions the use of tables, but being a complete beginner, I don't completely understand what they are doing.

I know it's a big piece of questions at once, but if you could meet any part of it, or direct me to a tutorial/instructions, I would really appreciate it.

Thank you for taking the time to help others

use:

kglad wrote:

use:

import flash.events.MouseEvent;

import flash.media.SoundTransform;

var soprano: Sound = new Soprano();

Var high: Sound = new Alto();

var tenor: Sound = new Tenor();

var bass: Sound = new Bass();

Ash var: Array = [soprano, alto, tenor, low];

var offsetA:Array =]

var st: SoundTransform = new SoundTransform();

play_btn.addEventListener (MouseEvent.CLICK, playF);

pause_btn.addEventListener (MouseEvent.CLICK, pauseF);

stop_btn.addEventListener (MouseEvent.CLICK, stopF);

playF function (e: MouseEvent): void {}

for (var i: int = 0; i)< sounda.length;="" i++)="">

This ["sc_" + i] = [i] Sunda () .play;

}

}

function pauseF (e: MouseEvent): void {}

for (var i: int = 0; i)< sounda.length;="" i++)="">

offsetA [i] = this ["sc_" + i] .position;

This ["sc_" + i]. Stop();

}

}

function stopF (e: MouseEvent): void {}

for (var i: int = 0; i)< sounda.length;="" i++)="">

offsetA [i] = 0;

This ["sc_" + i]. Stop();

}

}

function unpauseF(e:MouseEvent):void {}

for (var i: int = 0; i)< sounda.length;="" i++)="">

This ["sc_" + i] = Sunda [i] .play (offsetA [i]);

}

}

function muteF(i:int):void {}

St.volume = 0;

This ["sc_" + i] .soundTransform = m;

}

function unmuteF(i:int):void {}

St.volume = 1;

This ["sc_" + i] .soundTransform = m;

}

Tags: Adobe Animate

Similar Questions

  • Export of markers unique to several audio files at the same time

    Hello!

    I created a unique marker for a bunch of files wav with hearing. Is there a way to export all the data marker of all files? I found that it is possible to export the unique marker of each wav to a CSV file, but I wouldn't do that to all of these separate wav files...

    I found a way to do it with the CueListTool and Windows shell. I moved audio files that I wanted to get the markers and the software CueListTool in the same folder. Then I went into this folder with Windows cmd. After that, I wrote this command in the cmd:

    • cueltool.exe fichier.wav - r s - x

    What makes a clt-file that contains the data for the marker. Since I can't program with Windows cmd, I used a Matlab script that does this command for all the wav files I wanted.

  • How can I register several OCX files at the same time

    How can I register several OCX files at the same time. OCX depending on the application files are stored in a network location, IE. R:\HR\whatever\whatever\*. OCX instead of manually record each ocx file, I would be with a simple batch file or an automated script. Anyone have any good ideas?

    Hi James,

    The Microsoft Answers community focuses on the context of use. Please join the professional community of COMPUTING in following the link MSDN forum

    http://social.msdn.Microsoft.com/forums/en-us/categories

  • How can I download multiple files at the same time?

    Hello

    I have a question. I send a customer a link to a location in my cloud. There are several pictures inside and I don't want him to download each of them separately. Is there a way download them all at the same time? I sent a feature request on this subject for more than a year, but it seems that there is still no solution for this. Or have I missed?

    Thanks in advance!

    mchl

    Currently the only way is to zip file and the client download this way until something changes.

  • Windows media player plays most audio file but the 0r 5 last 10 seconds are crackling

    Windows media player plays most audio file but the 0r 5 last 10 seconds are crunchy, why?

    The following article might be worth a visit:

    Windows Vista - How can I stop my music skip or break down when I play?
    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-stop-my-music-from-skipping-or-breaking-up-when-I-play-it

  • How to share several files at the same time?

    iI am trying to share a number of edited files and sending one at a time takes too much time. How to share several files at the same time?

    Yes, you can select and send/share several files at once.

    Start https://cloud.acrobat.com/send. Click Select files to send and then follow the instructions in file selection. If you want to add more files, simply click on add files:

    You can include up to 50 files by "transaction".

  • Prime Minister CC does not allow me to add several MTS files in the same sequence?

    Hello. I've been shooting on a Sony A7s ii. When editing first CC does not allow me to add several MTS files in the same sequence? It will add the audio but no Visual.

    Any ideas?

    Hi Bunglefoot,

    Hello. I've been shooting on a Sony A7s ii. Which first CC edition does not allow me to add several MTS files in the same sequence? It will add the audio but no Visual.

    Please visit this link:

    FAQ: Why no audio or video will not at the track where I let down?

    Thank you

    Ilyes Singh

  • Is it possible to plug a USB to my new iPad Pro, to transfer PDF files and some Jpeg files from the USB key with an adapter of lightning? If there is NO adapter, how can I get these files on the USB key and my iPad pro?

    Is it possible to plug a USB to my new iPad Pro, to transfer PDF files and some Jpeg files from the USB key with an adapter of lightning? If there is NO adapter, how can I get these files on the USB key and my iPad pro? I need these PDF files transferred my I touch pro. Any suggestions?  Please

    Thank you

    Mike Tingey

    The iPad does not support USB keys. There are some wireless flash drives that can be used, but not the classical records. I suggest you transfer files to a computer and their synchronization then back to the iPad via iTunes.

  • How read datalog multiple files at the same time?

    Hello friends...

    can someone help me to show how read datalog multiple files at the same time?

    Here is the example of my case.

    I have 500 files in a folder. each file contains a waveform and its setting.

    and then I want to do a card spectral these files, because these files have been saved in the order.

    the point is to know how to read these 500 files at once? I made a program to read these files, but the program can read these files in one by one. So it is very uncomfortable to read 500 files one by one. can someone help me solve this problem? Thank you. I hope you can show me the program. Thank you again...

    Hi jojo,

    Well, in the range of functions daughter, you will find a function to list the contents of the folder. This allows to get the names of all the files datalog, and then use a loop FOR to read.

    No one is obliged to provide 500 names of files manually - that's why we use a programming language to let the computer do the stupid work

  • Delete several files at the same time

    Y at - it an easy way (simple) to remove several image and document files at the same time.  My sister downloaded hundreds of photos to my computer and I want to delete them.  I've spent a lot of time to delete individually and don't have not made much progress.  Is there a way to pick several at a time and remove them?

    Y at - it an easy way (simple) to remove several image and document files at the same time.  My sister downloaded hundreds of photos to my computer and I want to delete them.  I've spent a lot of time to delete individually and don't have not made much progress.  Is there a way to pick several at a time and remove them?

    See HairyFool response, and I would add the following. You can select multiple files in a folder by clicking on one and then by holding down the Ctrl key and clicking on all the others you want, one at a time.

    After selecting several files, you can do what you want with them - all remove them, copy them, cut, etc..

  • I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    Hi sindres79946597,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> General-> uncheck "Open Documents in the new tab in the same window.

    Now, reboot your system, when you open multiple PDFs that all will open in a new window so that you can easily compare.

    Kind regards
    Nicos

  • Can I download multiple files at the same time? How?

    Can I download multiple files at the same time? How?

    Hi sday706,

    If you're referring to Acrobat.com, you can certainly.

    1. Sign in to your account on https://cloud.acrobat.com/files with your Adobe ID and password.
    2. Click the icon of the file download (the cloud and arrow icon) at the top right.
    3. Select the files you want to download. Shift-click to select contiguous files. Or Ctrl + click (Windows) or command-click (Mac OS) to click on non-contiguous files.
    4. Click on choose.

    Please let us know how it goes.

    Best,

    Sara

  • Select several CSS classes simultaneously (was: how to select multiple css rules at the same time?)

    Hello!

    I have Dreamweaver 8

    I tried to select several css rules at the same time create a css stylesheet, but I don't know how to do it!

    This man do in this video at 03:00

    http://www.YouTube.com/watch?v=ZbQ3GTFC-O0

    Thank you!

    DW8 does not support the selection of several classes in the properties panel.  I'm sure that this feature appeared in the exit of the CS6.  Unless you upgrade to CC or CS6, you must do this manually in your code.

    Nancy O.

  • How to launch two executable files (excel file & a .exe file) at the same time using VB Script?

    Hello

    I need vb Script code to run exe files at the same time.

    I hope someone will help me!

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Blank composition - several active triggers at the same time?

    I am trying to create a magazine layout Builder. In doing so, I have several PNG files in a blank publication.  I put it right now so that whenever you click on a trigger target Exchange with a different design element.  However, the point of my Configurator is to show how the different elements together, look what means that I have several active triggers at the same time in order to see how to watch them together.  Is there a way to do this?

    I don't think this is a feature that is available in the widget of blank publication provided by muse - there may be an external widget that can do the trick. However, if you want to try to work around him with the blank publication widget, I used this workaround solution myself:

    1. In one layer, make a widget of composition with the single trigger
    2. With layer a locked switch to two layer and do another composition directly on your first widget
    3. Be sure to check "hide target: with click" and "hide all initially" to the two widgets

    See the video provided:

    Dropbox - CompositionDemo.mov

    Hope this helps, or you find a widget on a third party site that allows you to complete your layout.

Maybe you are looking for

  • Upgrade CPU on SP2100

    I was wondering if anyone can help - im trying to put a new processor in a SP2100 - apparently there are 3 configurations differenct of them being a 1900 p4 type - this particular model is a type of 1800 celeron - so I thought I would try with my old

  • Game K430 with Turbo, auto, Cool switch machine.

    How will I know if this switch is working properly? rmose Windows 2008 1 TB HARD DRIVE 12 GB memory

  • How to change the type of insurance policy indicator on front panel

    Hello I want to change the type of digital indicator police led style. I have the police. But, how can I change the type of indicator of independent policy and not only not by changing the type of policy application. I checked the property node avail

  • error during windows vista games

    whenever I try to play a game on my laptop - windows vista - it displays an error that says: Falied to create DirectX device How can I solve this problem?

  • filmmaker does not allow "add to the timeline.

    Hello everyoneI have vista 32 bit and moviemaker 6.0I installed a plugin called ShaderTFXAfter a fact that I tried to add a transition to a video on the timelinebut each transition I click on the option. Add to the timeline. is offI uninstall the plu