Audios Play in Loop - audio

I have a Macbook pro, running snow leopard.
My goal is to memorize around 4000 small pieces of audios ranging from 10 to 20 second each.
I want to memorize in sets of 20.
I would like to play these 20 in a loop, this is what I would like to achieve.
Play track 1 for n number of times
Play track 2 n number of times
Play track 1 & 2 n number of times
Play track 3 n number of times
Play track 1 & 2 & 3 n number of times
n is the variable I would like to be able to set, so that in the initial stages it will be high and later as I make progress I want to be able to minimize this.
Any suggestions would be greatly appreciated.

Related

Assistance with Excel Formatting/Formula/Equations

I have been building an automated trading robot. I have done this via using a virtual GUI in order to integrate it.
I want to be able to analyze the data using Excel. The problem is that I don't know how to organize the data on excel to give me the most vital information. So I thought there wouldn't be a better place to post this then stackoverflow. I have been looking for the "right" youtube video, which would be able to describe what I am looking for.
1.) Count for maximum loss trade sequence( I.e. If the program loss three times in the row as the max, this would be the count for it.)
2.)Count for maximum win trade sequence ( Same thing as mentioned previously, but for wins)
3.) Count for "Pages" loss trade sequence (Every 10 trades equals 1 page. This would mean that if we have 6 losses out of the 10 trades this consists of 1 loss page, if next ten trades consist the same thing or more losses then this means we have 2 pages of loss trade sequence.)
4.) Count for "Pages" Win trade sequence (Every 10 trades equals 1 page. This would mean the same as "Count for Pages loss trade sequence" just for wins instead.)
5.) Count for "Pages" Draw trade sequence ( Every 10 trades equals 1 page. This would mean we had 5 winning and losing trades out of the 10)
6.) Maximum Win pages in a row ( How many pages we won in a row based on #4 calculation)
7.) Maximum Lost pages in a row ( How many pages we lost in a row based on #3 calculation)
8.) Average of winning trades # (Averaging total amount of wins in a row)
9.) Average of losing trades # (Averaging total amount of losses in a row)
Examples below are correlated numerically with list above.
H:27-H:22 is the maximum lost trade sequence = 6
H:1-H:5 is the maximum win sequence = 5
(Rounding) is the total of losing pages = 2 (locations H:39-H:30 and H:29-H:20)
(Rounding) is the total of winning pages = 2 (locations H:50- H:41 and H-10:H-1)
(Ronding) is the total of drawn pages = 1 (location H:60-H:69)
There were no wins in a row
Two page losses in a row (H:39-H:20)
(would take count of wins / sequential wins count) i.e. if we had 10 sequences of winning in a row out of 100 wins this would equal 1 every ten times as the average
(would take count of losses / sequential losses) ^^ same thing except for losses
Any help would be greatly appreciated, heck even a youtube video. I have been working on this program for a while. I learned the hard way, and noticed that I need better data management. Thanks in advance!
"Excel Sheet"

Creating a ramdom baseball batting order in excel

I am trying to build a baseball spreadsheet for my little league team. I have 10 players and 15 games. I am trying to figure out a way to populate the batting order where everyone gets an equal numbers of games batting 1-10 in the order.
Does anyone know of an easy way to do this?
As mentioned in the comments, it's impossible to evenly distribute 10 players in 10 batting order positions over 15 games. It's similar to trying to divide 15 by 10 evenly. So you'll have to get creative on how to handle the five remaining games (fundraiser?)
Random but Fair For Ten Games
In answer to your question of creating a random batting order, you'd probably only want to randomize once, and then offset the order by 1 position each game. This will get you each player in one position in for ten games.
Random Each Game
If you truly wanted random each game, you'd probably have some undesirable distribution with some kids getting to bet first multiple times while others never get a turn (hazards of truly random).
I built out a quick spreadsheet on google sheets here that you can see how such a tool could work. If you download and hit delete in a blank cell it will re-randomize the sheet. It's using the functions index and Rank and Rand.
Good luck.

Finding stabilizing average of agent-based model runs

So I ran about 200 agent-based model runs and I want to see how the average is changing over time.
For example if we have 10 points
2 4 2 8 6 5 9 8 1 3
I want to calculate the average as the number of points changes
(2+4)/ 2 = 3
now for the next point it will be (3+2)/2 = 2.5
so I can plot each average and see after how many runs does the average stabilize. Something like this image < https://imgur.com/a/VXeeuxy > Can someone provide an equation or method?
Thank you
I think you just want a 'cumulative average' of 1,2..n points. You can do this in a single formula if you don't mind using offset:
In most versions of Excel (F1):
=SUBTOTAL(1,OFFSET(B23,0,0,1,COLUMN(B23:K23)-COLUMN(A23)))
In Excel 365 only (F2):
=SUBTOTAL(1,OFFSET(B23,0,0,1,SEQUENCE(1,COLUMNS(B23:K23))))
Or a more dynamic version that works for a whole row (F3):
=SUBTOTAL(1,OFFSET(B23,0,0,1,COLUMN(A1:INDEX(1:1,COUNT(23:23)))))
and (F4)
=SUBTOTAL(1,OFFSET(B23,0,0,1,SEQUENCE(1,COUNT(23:23))))

Waterfalls in Excel

UPDATE I tried to upload pictures, but I got the message that I couldn't upload pictures but I got links instead. Let me know if this works...
Thanks for taking a second to look through this. This is my first post so I am trying to make sure that I make the question (and hopefully, the solution) relevant to more than just me.
I work in a repair/manufacturing planning position and have to identify the bottlenecks in my various processes. I have one type of asset that has multiple flavors. For example, if I worked on Honda Accords, I would have to distinguish between a 1986 Accord LX from a 1996 Accord EX-L.
Based on the induction schedule of my assets and how long they take in different parts of my processes, these bottlenecks can be manifest in several different ways: a lack of facility space, a lack of a certain type of manpower, or a lack of support equipment just to name a few. Now, I have dates for incoming assets for the next two years, and I have the durations for the different parts of my processes that each type of asset will. More simply: an Accord from 1986 takes 3 weeks to inspect (Gate 1), 4 weeks to repair (Gate 2) and 5 weeks to put back together and test (Gate 3); whereas an Accord from 1996 takes 3 weeks to inspect(Gate 1) 2 weeks to repair (Gate 2) and 3 weeks to put back together and test (Gate 3).
I have already been able to take the incoming dates an lay them out on our fiscal year (vs. the calendar year) using =weeknum(). I then used an =IF() to place an "x" on the corresponding week.
What I am looking to do is place a series of colored cells (corresponding to the weeks of the gates) that starts in the cell with the "x" and extends to the cells to the right the number of cells corresponding to the number of weeks. For example, if I have a 1986 Accord start in week 3, I would like the 3 cells to the right to be blue, followed by 4 green cells, and finally 5 yellow cells. I am essentially trying to graphically represent the times that the assets will be within my facilities and where my bottlenecks are. If I only have 5 locations for Gate 1 and my waterfall shows I have times where I need 8 spaces, I need to let the boss know.
I didn't see a way to upload the files I am working from, so if someone will let me know, I'll post up what I have so far...
Again, thank you for looking.
The data as I initially receive it and format it: Initial Information
The finished waterfall product I am looking to make: Final Waterfall

How to count random rows

I have a problem trying to come out with a solution for my job.
I work at a warehouse and we work on containers. Each containers has X amount of boxes and X amount of paperwork for the boxes. We are also given a due date.
I wanted to use some kind of algorithm or formulas but I don't know how to use it of any kind.
Lets say i have 1000 containers and 700,000 boxes&28,000 Paper Work to be done in the next 7 days with 2 different shifts. For those containers I already have a list of the 1,000 of what needs to be done, but i want to do it quickly with excel to distribute the work based on categories. In those 1000, I also have a due date. So lets say I want to do 72 Containers per shift (144 for 1 day). I also want to do 50,000 boxes each shift with 2000 paper work also each shift.
My priorities is first Due Date, if a container is getting close to current date, that takes priority(lets say within 1 day). Next if i want to do 50,000 boxes and 2000 paper work per shift, i want to insert that into a cell and excel will automatically select the best 72 containers per shift that prioritizes due date(doesn't matter how many boxes or papers if it is within 1 day)and then chooses what ever best containers that will equal out to 50,000 boxes and 2,000 papers. Each container and its information in written per row with the columns having headers. I want it to be done this way so that i don't manually count each container so that i can best distribute the same amount of work to each shift. This way my 1 hour process can be done in 5 minutes.
I don't know if i am asking too much but i just need a sample to then test it on a file.
Sorry for providing the wrong information right away. I've included a sample of what I am trying to achieve.
Instead of 72 containers, with the example I lowered it 11 per shift but the boxes and paper count didn't change.
Container List
What this shows is that the yellow highlighted were selected because of due date being very close to current date. Orange highlight were selected to complete the 11 container count goal while being as close as possible to 50k boxes and 2k load slips. Then were sorted for email purposes, the other 11 were also already selected for the 2nd shift when they come in keeping in mind of the same goal as 1st shift. Any left containers are going to ignored at least till the next day.
Is this possible or am I thinking too far ahead of myself.

Resources