PBSpotFX_Demivec v1.5

Advanced game related topics
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: PBSpotFX_Demivec v1.5

Post by Demivec »

Blue Steel wrote:the difference i'm hoping to achieve is that instead of in PJ's case where they put in a random seed .. that you'll be able to use your export and use your .sfs data into end program or by adding that data to a procedure call

thus making it a similar command to those of the retro languages.

in doing so i've noticed that when you press random that at least some of the sliders that you have set up for only posative adjustments are at times displaying Negative values.
I understand your goal. It would do away with having to store all the data of a sound and just store it's attributes. I think Joakim Christiansen has made some progress towards it. I think he entitled it Slashtone SoundFX Builder(mentioned in another thread).

I stalled in my first attempts towards that idea but I will return to it again soon with a renewed interest. It is a matter of determining which characteristics would be most useful and then allowing a range of frequencies and durations. It naturally bears some similarities to MIDI and MOD files in that respect. It would differ though in that it would be varying a description of a sound instead of a sound sample.

...now where was I? What you mentioned regarding sliders that were set up for only positive adjustments, instead displaying negative values at times confuses me a little. Would you kindly flesh out an example for me, and perhaps referencing a portion of code? I could give some explanation once I was sure what you were talking about. :wink:
User avatar
Blue Steel
Enthusiast
Enthusiast
Posts: 132
Joined: Wed Aug 31, 2005 4:49 pm
Contact:

Re: PBSpotFX_Demivec v1.5

Post by Blue Steel »

after command line like
playsfx (frequency,waveform,attack,sustain,etc.., etc,etyc,,,)

about the negative values i've added/edited your textgadget lines to display the values as set by random in your code

example of edit

Code: Select all

TextGadget(#AttackTime_txt,textX,y + 0 * si + adj2,textW,textH,strf(s\env_attack)+"  Attack time",#PB_Text_Right)
I'd attach a screen shot but theres no option for that on the forum :( {hint.. hint}



I hope you can follow what i'm attempting to do. (yeah i know i'm jumping in at the deep end again)
any help in this project of mine would greatfully be accepted


you can d/load a copy of my edited file from here
http://www.codingmonkeys.com/index.php? ... dl=item272

remember its still a work in progress and things WILL DEFINATLY change

changes so far .
Displays Values of the settings beside the sliders
added use of consolas ( size 8 ) font
touched up layout of screen
added SELECT/COPY/PASTE box (hopefully to be used later.. already generating sample syntax with correct values.. order of which WILL change)
made displayed waveform on play larger

Comments and Edits (to tidy up my code) appreciated
Last edited by Blue Steel on Sun May 02, 2010 12:07 pm, edited 1 time in total.
Currently using PureBasic 4.51(x86)

Image http://www.codingmonkeys.com
Covers many languages including PureBasic
User avatar
Blue Steel
Enthusiast
Enthusiast
Posts: 132
Joined: Wed Aug 31, 2005 4:49 pm
Contact:

Re: PBSpotFX_Demivec v1.5

Post by Blue Steel »

edited my last reply. BUMP
Currently using PureBasic 4.51(x86)

Image http://www.codingmonkeys.com
Covers many languages including PureBasic
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PBSpotFX_Demivec v1.5

Post by IdeasVacuum »

Hi Blue Steel

Take a look at Kenmo's effort:

http://www.purebasic.fr/english/viewtop ... 12&t=45664
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Frabbing
User
User
Posts: 10
Joined: Mon May 09, 2011 7:59 pm
Contact:

Re: PBSpotFX_Demivec v1.5

Post by Frabbing »

Thank you for sharing!!!

Image
Best regards,
Frank
Post Reply