Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / DBP 7.4 - Could not save sound, why?

Author
Message
Valle
18
Years of Service
User Offline
Joined: 10th Mar 2006
Location: in your girlfriends bed
Posted: 5th Oct 2009 15:26
Hi, I'm making a sound from a memblock. I can play it without a problem, but when i try to save it following error pops up: 'Runtime Error 3008 - Could not save sound at line 28'
I see no reason why it shouldn't work.




Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 6th Oct 2009 20:55 Edited at: 6th Oct 2009 21:01
Quote: "I see no reason why it shouldn't work."


Neither do I - and it doesn't even if you change it to a more familiar sampling rate. More importantly, since you can play the sound you obviously ought to be able to save it.

I don't think I've ever been able to get the save sound function to work and have always had to write my own save sound function.

It's time this bug was fixed.

Although I vaguely recall it was fixed at one stage. I'll have to check.

Edit
I was thinking of this from U7.1:

Quote: " * Thanks to GREENGANDALF for his suggestion of LOAD IMAGE for volume textures
and fixing the MAKE SOUND FROM MEMBLOCK so many more 'larger' WAVs can be used
"


I obviously forgot to tell/remind Lee about the save sound problem.
Valle
18
Years of Service
User Offline
Joined: 10th Mar 2006
Location: in your girlfriends bed
Posted: 6th Oct 2009 23:26
Quote: "I don't think I've ever been able to get the save sound function to work and have always had to write my own save sound function."


I tried to just save the memblock to a file, but that didnt work.
Could you post your save_sound() function here?


Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 7th Oct 2009 01:51
Try the attached. It's a proto-type keyboard application. Just click a few keys on the keyboard (red is middle "C" I think), press s to play back the keys you pressed, then press the space key to close.

You should find that the individual notes have been saved.

The code contains all the ingredients of a save sound function but I haven't wrapped it up neatly yet. I'm afraid my "to do" list just gets longer every day.

Attachments

Login to view attachments
Valle
18
Years of Service
User Offline
Joined: 10th Mar 2006
Location: in your girlfriends bed
Posted: 7th Oct 2009 15:20
thanks, that helps a lot
It would be better if the save sound command would work though


Valle
18
Years of Service
User Offline
Joined: 10th Mar 2006
Location: in your girlfriends bed
Posted: 9th Mar 2010 17:57
This is still not confirmed...


Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 9th Mar 2010 18:23
Quote: "This is still not confirmed..."


Yes, it's still a problem with U7.5.

Why hasn't it been confirmed?
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 9th Mar 2010 19:25
Because I hadn't worked my way back to last October yet!

Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 9th Mar 2010 21:10
You've still a long way to go before that ...

Just trying to cheer you up.
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 11th Mar 2010 20:51
Ok, the problem is as described, but it's not really a bug, for a simple reason. The help reads:
Quote: "This command will save a sound to a file previously captured using the RECORD SOUND command.
...
You cannot save a sound file that originated from any other source."


I'll add this to my list of future enhancement suggestions for after the 7.5 release is complete.

Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 12th Mar 2010 01:01
Thanks for the clarification. I wonder how long the Help files have said that?

Just checked the ring-bound Help file that came with my original copy of DBPro(). Guess what it says.

[Mental note to self - READ THE HELP FILES before commenting on or posting a bug report.]

The enhancement would be useful though.
DarkTy
18
Years of Service
User Offline
Joined: 28th Feb 2006
Location:
Posted: 27th Apr 2010 01:57
(first, sorry for my english)

For to "save sound " you could see this beatiful function "Create Sound" in this music generator that make file ".wav", from this topic
http://forum.thegamecreators.com/?m=forum_view&t=99381&b=6
is not necessary memblock.

<<La Perspicacia รจ l'Arte dell'Intelligenza>>
gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 16th Mar 2011 13:13 Edited at: 16th Mar 2011 13:28
good example "Green Gandalf" for post that is dated
Posted: 6th Oct 2009 11:51

I know i sent you a message already

the example you posted here
as I looked a bit closer I see some one else made it
but it is still a good example for me to study

would it be able to save other sounds created ?

in my case there is a free dll in the forum
that lets you use windows voices
and I found more voices for windows so dbp can talk
I would like the option to save sound they generate

If a thought is Just a thought ~ so whats the main thought ?

Login to post a reply

Server time is: 2024-04-24 00:37:00
Your offset time is: 2024-04-24 00:37:00