A better way to add sound to chess game?

A better way to add sound to chess game?

I'm using scripting to animate full chess games and it works great. I basically set up the board dynamically and then populate the pieces with keyframes to the move location, all good on that end.

The issue is adding sound. The way I did it was I had the 3 sounds move, capture, check and then just duplicated them and added them to the corresponding frame on the timeline and it works but the above game is 111 moves so thats 111+ sounds and it got so slow.

Is there a way to do add the sounds into an array and then use a duplicator? or like make an array of the frame number the sound is supposed to be on and play the sound on that frame number? Any way to avoid adding a layer for each move?

Thanks

*****EDIT******

Apparently Cavalry does a lot of processing to audio so when 100+ audio clip layers, even very short ones, are added the processing compounds. So i did a few things that actually worked, not sure which one to give credit to but I did the following:

  1. Put Frequency Bands as low as possible, 2 - Put Smoothing Steps and Sub Steps to 0 - and turned off A-Weighting, I have no idea what it is but it sounds like processing so i turned it off

  2. When creating the sounds i chunked them into folders of 20 instead of all in one folder

Now it works great, audio can be added

u/CodeGregDotNet — 5 days ago
▲ 2 r/SocialMediaManagers+1 crossposts

What industry would want bulk animated image templates for their socials?

sorry if this sounds general or vague - I'm trying to stay away from self promotion - I'm a motion designer and I've come up with a way to bulk render videos - NOT Ai! - you can think of it as an animated template that gets filled with different data/images. And I can render hundreds of videos in one go

I've used it myself to grow a few socials and the results are very promising - but it doesnt fit with everything - it needs lots of data and images, basically spreadsheet data.

So my question is what industry/businesses would need this? Ideas I have:

- realtors

- high ticket items (boats, car dealers)

- high inventory e commerce shops - someone with hundreds+ of products to sell

curious who my clients would be.

Thanks

reddit.com
u/CodeGregDotNet — 19 days ago

Thais see part-time jobs as low class? or for students only?

a lot of my students are in Uni and/or don't have a job, even a part-time job - I'm American and that is insane to me. Through my whole life and all my friends lives, especially at Uni - everyone had a job of some sort - ive probably had around 20+ jobs if I had to calculate them all up - very common in America

I suggest to them getting a part-time job and they look offended. One guy told me it's 'low social value' and most say their parents won't let them get a part-time job! insane!

so for University educated people in Thailand which seems to be a majority now, their first 'real' job is at around 22 years old and it's straight to full time?? in a field they chose to major in when they were 17?

it seems more socially acceptable to not have a job if you've graduated uni, and fuck around all day, than it is to have a part-time job....

Thai people, is this true? is it changing? is it an older generation type thing?

thank you krap

****edit****

thank you all for commenting. Judging by the comments, yes its 100% true and it seems to be very offensive to even suggest it to someone whos graduated uni or studying. Ive been here for 10+ years and didn't realize how big of a deal it is. interesting...

reddit.com
u/CodeGregDotNet — 23 days ago

I dynamically rendered so many videos in Cavalry...that my wife left me

A little video about ways I've used dynamic rendering and a little tutorial on how to do it.

youtu.be
u/CodeGregDotNet — 1 month ago

Setting up an automated chess board - A bit in over my head

I have a 'piece_prefab' that takes in an int that changes to the piece I want.

I have the pieces of the board mapped from 0-31 - I have 4 scripts to determine the xPos, the yPos, opacity, Frame (or the piece img) of each piece - and i have a piece index value - and it works! if I scroll through that Piece Index in the image the piece will jump around the board and change images to each pieces correct position/frame

My question is how do I create a duplicator for that? I need a duplicator with 32 count ---> the index of the duplicator will go to the Piece Index??? this is where im lost, attempts to duplicate have been a disaster

hope that makes sense

**Edit**
I think i figured it out - since the positions were being calculated after the fact through the scripts it couldn't use a duplicator - So i have to duplicate everything per piece

u/CodeGregDotNet — 1 month ago

I take spreadsheet data and make automated social media videos (not Ai) not exactly sure what to do with it

I'm not really 'in the business' so I just wanted to get some opinions on who would want something like this.

But basically I make a hand-crafted design and animation template - connect the data via spreadsheet and I can render hundreds of videos in minutes.

I've been testing it out with quotes on socials 'read30daily' - and with NASA Space images on 'SP4CE_IMG'

it's going very well, definite value to the right people - but who are those people? is my question

Thanks

reddit.com
u/CodeGregDotNet — 1 month ago

Anybody have experience with/know anything about headless rendering of Cavalry on a server?

everything i read seems to be pre Canva acquisition? not 100% sure

But basically I want to make a template, user adds their own info/images, once they do triggers Cavalry to render the video with the info/images. Seems to be a Pro or Enterprise feature, but does that still apply post Canva?

Any info helps - thanks

reddit.com
u/CodeGregDotNet — 2 months ago

1 Year old Frenchie seems bored of dog food now

Just seems bored of the food we give him, we try to spice it up with some stuff but he goes over and sniffs and walks away.

He has been getting a lot of people food from the wife and the mother in law. I feel like he knows if he waits long enough hell get people food. He also was on some medicine for giardia a week or two ago and it had to come after food, so i think he kinda got traumatized with the pills - he knew after food they came so he tried to not eat. But it wasn't so bad and he got better.

He's still himself, still playful, no negative changes, and wolfs down the people food - anyone else have this? did we spoil him with the people food?

he was a psychopath at around 10months just running and playing like a madman all the time - he has calmed down, maybe just eating less?

reddit.com
u/CodeGregDotNet — 2 months ago

Absolutely loving Cavalry!

Discovered Cavalry when it became free - used to make stuff like this in AE back in the day but couldnt stand Adobe and got rid of it.

And Cavalry is exactly how I wanted to use AE - Above is from 'Astronomy Photo of the Day' - I used the api to get an image, title, description, and photo credit - put them all in a google sheet, connected everything to Cavalry in a kind of animated template - dynamic rendering

90 videos just like that. So cool...

u/CodeGregDotNet — 2 months ago
▲ 1 r/ebooks

I created a website that sends historical docs & books straight to your Kindle daily

The reads are all cut up into 30-60min reads. Meant to help me keep my challenge of reading for 30mins a day. website here -> https://read30daily.com/

No reason why it couldnt work with non kindles - as long as they accept emailing to the device, should work

You can get one as a free test, you get to choose 1 of 4 docs/books. If anyone tries it I would like some feedback. Let me know how it goes.

I have hundreds of historical/public domain articles, letters, speeches, books, documents, things of that nature - but I am always looking for suggestions as well. So anyone who knows of interesting readings that fit the category - I would love some suggestions

In the example in the photo - that guy experimented on himself with nitrous oxide back in 1799 and he documented the whole thing. He discovered the effects of it to put people under for surgery. It definitely sounds like he became addicted to it from his writings

Thanks

https://preview.redd.it/cfqpfn8xtj8h1.jpg?width=1536&format=pjpg&auto=webp&s=15b317ab06a98d257acb70365af243fd9a21fe03

https://preview.redd.it/syc87o8xtj8h1.jpg?width=1536&format=pjpg&auto=webp&s=c2fa6a6e203fec53d681a63ddc1fdd7b4a0c43e1

reddit.com
u/CodeGregDotNet — 2 months ago

Made a website to learn the Thai alphabet - surprised how well it works!

I made it myself, it's just monkey-see monkey-do style typing thai words/sentences. Simple, but definitely works for me, I'm starting to read now - I don't always know exactly what I'm reading but baby steps...

https://type-thai.com/

if you try it out, let me know what you think. Will be adding 'premium' thai teacher made lessons at some point, but right now everything is free

reddit.com
u/CodeGregDotNet — 3 months ago

I just made a site for learning Thai script, check it out - very simple monkey see monkey do typing words/sentences in Thai - works better than I expected, Im starting to be able to read

type-thai.com
u/CodeGregDotNet — 3 months ago

Photo booth for passport photos in US Embassy BKK?

I remember using one last time I was there, but wanna check it's still there. Anybody been recently and seen/used it?

reddit.com
u/CodeGregDotNet — 3 months ago