Not play a sound everytime a single frame is rendered, but when the entire animation is done.
What system are you on?
Windows, so ideally, once the animations/frames finished rendering, it will play a selected wav file to alert me
I believe this can be done with a simple python script. Create a function using the aud module which plays a sound of your choosing, and append it to bpy.app.handlers.render_complete.
Wouldn’t this just execute on every single frame render complete instead of a sequence ?
Nope! Just tested it. It is only called “on completion of render job”, i.e. when there’s no more frames left to render.
Mr. @Rocketman, you are amazing.
Now how do I erm “Create a function using the aud module which plays a sound of your choosing, and append it to bpy.app.handlers.render_complete.” ?
Render+ “Stay on top of your renders with desktop, email and sound notifications. Render+ can also turn your computer off (or set it to sleep) when it’s done rendering.”
It’s also polite to someones post if they helped you.
Oh you are the guy that says “This youtuber seriously need to learn how to sculpt.” too.
“Hi, how are ya…”
I’m good. How are you?
I’m getting the feeling you don’t enjoy my help. I’ve been answering a lot of your questions. Would you prefer me to not answer your questions?
On the contrary, I wish I can hold you tight, like really hug you and say thank you.
Your cycles renderer answer are so good I dare not say anything stupid until I fully grasp the magnificent education you have given me.
I don’t need you to answer even one more of my question for me to want to hold you and say thank you.
Love you.
Let’s be friends, you don’t have to answer even one more questions for this friendship
Would you be my friend ?
For sure. PM me your discord. I’ll friend you.
I don’t use discord, I use WhatsApp, that and YouTube is the extend of my social media reach, everything else is just promotion without my presence.
You can pm me your WhatsApp.
I don’t have WhatsApp. Discord only requires a email to sign up and doesn’t need to be installed on the phone, though they do have a phone app. It’s a great place to ask questions and have them answered in real time or find a group for a video game session. I find the Unreal group of particular help. There is this guy there that is a master of Unreal. He hangs out on the Unreal Discord every now and then. There is also The Blender Hub which is great. They have a general help section as well as people showing off a bunch of stuff and so much more. It’s lots of fun.
I used to do the whole discord thing but I don’t do that anymore, I am trying out second life though.
Lots of nice people there.
This worked for me:
import bpy, aud
device = aud.Device()
completion_sound = aud.Sound('PATH/TO/SOUND/FILE/GOES/HERE')
def play_completion_sound(dummy):
device.play(completion_sound)
bpy.app.handlers.render_complete.append(play_completion_sound)
Second life? I though that was only for virtual sex?
Thanks Rocketman, I will save the whole thing as render_complete_sound.py and install and see what happen when I am home.
It worked when I ran it from the text editor but there may be a few extra lines needed to run it as an addon.