How to update a sound file?

Discussion and feedback on Construct 2

Post » Sun Nov 25, 2012 11:31 pm

Hello all,

I'm wondering if there's a way to update a sound in the editor? (like updating a graphic asset by just loading another file in the animation editor)

Right now, I have to import the updated sound with a new name, changing manually ALL the code lines involved with the sound by the new one then deleting the old version.
That's crazy.

Tell me there's another and easier method!!!!!

Thank you :)
B
61
S
16
G
12
Posts: 314
Reputation: 11,307

Post » Wed Nov 28, 2012 8:41 am

Hi KaMiZoTo,

I encountered the same issue but no update of sound file has been made.
My ways are:
1. Delete the sound file (e.g. effect1.ogg)
2. Imported the revised ogg file with the same name

I need to recode all steps in Event Sheet but the sound effect remains the same, can some people help?

Thank you very much!
B
5
S
1
G
1
Posts: 10
Reputation: 1,184

Post » Wed Nov 28, 2012 9:52 am

Yeah it is pretty tedious, it'a a pity that when you import a sound of the same name it doesn't just replace it.
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Wed Nov 28, 2012 10:04 am

Hi,

Well, my good practice for this is:

Use Play (by name) instead of Play, because in Play (by name) you put the sound file name like a string, and if you delete the sound file, the action do not change, it will not work, but do not change. And soon as you load the new sound file it will start work again.

NRA
B
90
S
5
G
8
Posts: 165
Reputation: 7,648

Post » Wed Nov 28, 2012 2:20 pm

You could just save as a folder project then paste over the file in Windows Explorer.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,590

Post » Wed Nov 28, 2012 4:24 pm

[QUOTE=NRABrazil] Hi,

Well, my good practice for this is:

Use Play (by name) instead of Play, because in Play (by name) you put the sound file name like a string, and if you delete the sound file, the action do not change, it will not work, but do not change. And soon as you load the new sound file it will start work again.

NRA[/QUOTE]

I'm going to switch to this method. I usually go through many sounds looking for the right feel. I do wish it did have a replace audio the same way as you can in the image editor.

B
31
S
6
G
4
Posts: 160
Reputation: 5,998

Post » Thu Nov 29, 2012 5:57 am

Thanks NRABrazil and Ashley,
I will sure try both strategies in my upcoming projects!!
Mike
B
5
S
1
G
1
Posts: 10
Reputation: 1,184

Post » Sat Dec 01, 2012 10:26 am

Hey Ashley :)

I already tried that method but, actually, there 3 differents formats for ONE single sound. (Wav, OGG and MP4 if I remember)
So I have to manually convert the Wav file into the other formats because just replacing the wav is not enough. (tell me if I'm wrong)
So this is definitely not a method I will use.
May be using PLAY by name is a temporary acceptable solution but pleeeaasseee, can you add a REPLACE sound file feature ??!!!!

http://bit.ly/yv8egg

By the way, thanx to all of you for your answers! :)
B
61
S
16
G
12
Posts: 314
Reputation: 11,307

Post » Thu Feb 07, 2013 5:30 pm

Just to say i would love to see this implemented too.(update audio file)cesisco2013-02-07 17:41:06
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Tue May 28, 2013 11:56 pm

This still doesn't exist? This is a giant PITA. Ugh. Please change this so you can replace a sound the same way you replace an image.
B
5
Posts: 9
Reputation: 393

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest