Jump to content

Recommended Posts

http://wavepot.com/

 

Try out some of the premade projects on the right side - this is pretty neat stuff from a programming perspective.

WATMM-Records-Signature-Banner-500x80.jpg

 

Follow WATMM on Twitter: @WATMMOfficial

  On 6/24/2014 at 5:16 PM, Joyrex said:

Thieved from @madgarden off Twitter. Paste in this -

 

function dsp(t){t*=8000;o=(((t>>10)*411)&7)*t;o|=((t>>15)&1)*t*((t>>16)&7);o^=o+(t>>12)&127;return(o&255)/255-0.5;}
And leave it playing for a bit

I haven't eaten a Wagon Wheel since 07/11/07... ilovecubus.co.uk - 25ml of mp3 taken twice daily.

  On 7/1/2014 at 1:21 AM, Braintree said:

Cool! Is the the wavepot site written in Java?

Not sure - JavaSCRIPT perhaps, but not Java - no applets loading, etc.

 

They've almost reached their 2000$ funding goal for new features - you can pledge in Bitcoin, PayPal or Dogecoin

WATMM-Records-Signature-Banner-500x80.jpg

 

Follow WATMM on Twitter: @WATMMOfficial

  • 4 weeks later...

Ah, you have to delete all the code in the example first. It was probably just adding bits of that code to the code to make that sine tone

I haven't eaten a Wagon Wheel since 07/11/07... ilovecubus.co.uk - 25ml of mp3 taken twice daily.

nope, did that.

 

Replaced the sine code with that code:

 

OOOOOOOOOOOOOOOOOOOOOOOOOHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

 

Replaced all the welcome message too so that line 1 started with the 'function' bit:

 

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOHHHHHHHHHHHHHHHHHHHHHHH

Hmm, you sure you've copied the whole one line code including the important final '}' character? Looks like if there's an error in the script it just plays the previous bit of compiled code (i.e. that sine wave)

I haven't eaten a Wagon Wheel since 07/11/07... ilovecubus.co.uk - 25ml of mp3 taken twice daily.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   1 Member

×
×