Old 08-04-2006, 05:26 AM   #1
LOSER
Human being with feelings
 
Join Date: May 2006
Posts: 2,373
Default 1st Ever Jesusonic Tutorial

As people where searching for a Jesusonic Tutorial but couldn't find one, I decided to write the "1st Ever Jesusonic Tutorial".

Read the Documentation (not necessary but good to know it exists):
(http://www.jesusonic.com/help.html#p2)

And then jump right into the tutorial:
There are 3 ways to get it:
Some idiots website:
[Site down]

Attachmnent further down this thread:
http://www.cockos.com/forum/showpost...7&postcount=17

The Wiki version (not finished yet):
http://www.cockos.com/wiki/index.php...sonic_Tutorial

Last edited by LOSER; 08-10-2007 at 10:40 AM.
LOSER is offline   Reply With Quote
Old 08-04-2006, 05:53 AM   #2
Newbie Brad
Human being with feelings
 
Join Date: Mar 2006
Location: Nashville, TN
Posts: 128
Default

Thanks loser, this is an explosion of good tips about Jesusonic. Really big thanks! Newbie Brad
Newbie Brad is offline   Reply With Quote
Old 08-04-2006, 10:36 AM   #3
LOSER
Human being with feelings
 
Join Date: May 2006
Posts: 2,373
Default

Here Some Links To Interesting Reading Stuff About DSP

http://www.dspguide.com/pdfbook.htm
http://www.dspguru.com/
http://ccrma-www.stanford.edu/~jos/filters/
http://www.musicdsp.org/
http://svr-www.eng.cam.ac.uk/~ajr/SpeechAnalysis/

For Those Wanting To Get More Into DSP
LOSER is offline   Reply With Quote
Old 08-17-2006, 08:31 AM   #4
yep
Human being with feelings
 
Join Date: Aug 2006
Posts: 2,019
Default

This is awesome stuff, loser. Thanks for putting it together.
yep is offline   Reply With Quote
Old 09-28-2006, 06:46 PM   #5
kenn
Human being with feelings
 
Join Date: Aug 2006
Location: Toronto ON
Posts: 314
Default

what yep said. Thanks!
kenn is offline   Reply With Quote
Old 10-02-2006, 02:32 AM   #6
cryptomail
Human being with feelings
 
cryptomail's Avatar
 
Join Date: Jan 2005
Location: SF BA
Posts: 163
Default At the risk of being redundant...

That rocks...
I checked out some of the files, and they are wonderfully commented.
Thank you so much for doing this 'LOSER'

Quote:
Originally Posted by kenn
what yep said. Thanks!
cryptomail is offline   Reply With Quote
Old 10-13-2006, 12:43 PM   #7
LOSER
Human being with feelings
 
Join Date: May 2006
Posts: 2,373
Default

So here is a tiny "update" (mainly just corrected spelling ). Added a compressor tutorial, hopefully more too come.

Edit: Fixed the 'log()' issue in the compressor. (That doesn't mean it was broken before, but it would have got broken )

Tiny update, again.

Last edited by LOSER; 12-27-2006 at 01:36 PM.
LOSER is offline   Reply With Quote
Old 10-26-2006, 02:02 PM   #8
LOSER
Human being with feelings
 
Join Date: May 2006
Posts: 2,373
Default

Anyone else want to contribute with his/her own tutoring FX?
LOSER is offline   Reply With Quote
Old 11-07-2006, 04:10 AM   #9
Amether
Human being with feelings
 
Amether's Avatar
 
Join Date: Apr 2006
Location: London
Posts: 519
Default

I'm starting to write more JSFX and I'm wondering (as I'm not really a programmer) what sort of things I should be thinking about when coding? What should I avoid putting in the @sample portion if I can help it?

I'm thinking about what locks up CPU the most, that sort of thing... is it, for instance ok to put an if statement within the @sample portion? Or is it a trivial amount of cycles? I have no idea about this sort of thing.
Amether is offline   Reply With Quote
Old 11-07-2006, 09:20 AM   #10
LOSER
Human being with feelings
 
Join Date: May 2006
Posts: 2,373
Default

Quote:
Originally Posted by Amether
I'm starting to write more JSFX and I'm wondering (as I'm not really a programmer) what sort of things I should be thinking about when coding? What should I avoid putting in the @sample portion if I can help it?

I'm thinking about what locks up CPU the most, that sort of thing... is it, for instance ok to put an if statement within the @sample portion? Or is it a trivial amount of cycles? I have no idea about this sort of thing.
As I'm not really a programmer either, I'm just telling you my take on this:

Try to avoid putting things in the @sample code that aren't needed to be evaluated on _every_ sample, e.g. user settings that need to be converted from dB to amplitude value, precalculate this in the @slider code to make shure it is only calculated when the user changes the sliders.

Evenmore you can precalculate constants in the @init code (only loaded at plug-in start), e.g. if you will need the sqrt(2) alot in your code, put it the @init, you can even put it like this 'sqrtof2 = 1.414214' and then every time you would use 'sqrt(2)' in your code just use 'sqrtof2'.

For sure you can put '?' operators in the @sample code they don't take much CPU, it's real just the calculation that takes up CPU. You can try finding quicker ways to calculate things, e.g. use 'amp = exp( dB * log(2)/6 )' (can percalculate the log(2)/6) instead of 'amp = 2 ^ (db/6)' which takes more CPU (IMO anyway), or use the 20*log10(dB), do what ever you like, but try to keep the calculations down to a minimum.

Always try to find more efficent ways to achieve the desired FX, e.g. switching a variable form 0 to 1 to 0 to 1, you could always ask 'foo==0 ? foo=1 : foo=0;' or you just simply do 'foo=1-foo;' (dunno if it's more efficent though) and the list goes on and on, so be creative

But in general just try if you can use particular operators/calculations in the @sample code if you can't you'll notice it (it crackles and stutters ), if you want to optimize your code drop useless calculations and ifs and stuff and use a CPU monitor to check the CPU use and see if you can get it down.

Last edited by LOSER; 11-07-2006 at 09:27 AM. Reason: removed bullshit, even though there's still alot of it in it
LOSER is offline   Reply With Quote
Old 11-08-2006, 03:37 AM   #11
Amether
Human being with feelings
 
Amether's Avatar
 
Join Date: Apr 2006
Location: London
Posts: 519
Default

Thanks! It would be nice if we could have some sort of place where we could post bits of code which don't work/ questions as to the best way to approach problems... I dunno. Maybe this is something I need to work out on my own... Maybe this is what this forum is anyway - it's hardly flooded with posts atm...
Amether is offline   Reply With Quote
Old 11-17-2006, 03:25 PM   #12
rickosound
Human being with feelings
 
Join Date: Nov 2006
Posts: 9
Default

link seems dead. Is this tutorial still available? thanks
rickosound is offline   Reply With Quote
Old 11-18-2006, 08:43 AM   #13
LOSER
Human being with feelings
 
Join Date: May 2006
Posts: 2,373
Default

Quote:
Originally Posted by rickosound View Post
link seems dead. Is this tutorial still available? thanks
Link is down (ATM hopefully ).
Try this [No more valid] try this instead: http://www.cockos.com/forum/showpost...7&postcount=16
(Posted a bit upwards in this thread)

Last edited by LOSER; 12-27-2006 at 01:35 PM.
LOSER is offline   Reply With Quote
Old 11-20-2006, 07:01 AM   #14
rickosound
Human being with feelings
 
Join Date: Nov 2006
Posts: 9
Default

got it- thanks!
rickosound is offline   Reply With Quote
Old 12-26-2006, 10:10 PM   #15
Jae.Thomas
Human being with feelings
 
Join Date: Jun 2006
Posts: 22,567
Default

thanks for this, LOSER!
Jae.Thomas is offline   Reply With Quote
Old 12-27-2006, 01:34 PM   #16
LOSER
Human being with feelings
 
Join Date: May 2006
Posts: 2,373
Default

Ahh yeah, latest version (0.07) in case anyone missed it

Includes the Jesusonic html documentation and README file with instructions.

Last edited by LOSER; 02-04-2007 at 07:28 AM.
LOSER is offline   Reply With Quote
Old 02-04-2007, 07:27 AM   #17
LOSER
Human being with feelings
 
Join Date: May 2006
Posts: 2,373
Default

New Version. Added two MIDI code examples ...
Attached Files
File Type: zip 1st_Ever_JS_Tutorial_008.zip (22.7 KB, 635 views)
LOSER is offline   Reply With Quote
Old 02-04-2007, 01:33 PM   #18
eMaRe
Human being with feelings
 
eMaRe's Avatar
 
Join Date: Dec 2006
Location: New York
Posts: 216
Default

Thanks LOSER I needed the MIDI examples. I have an effect I want to make, but I may need some help from others in the forum with more experience...
eMaRe is offline   Reply With Quote
Old 02-05-2007, 04:40 AM   #19
Amether
Human being with feelings
 
Amether's Avatar
 
Join Date: Apr 2006
Location: London
Posts: 519
Default

Yeah these are cool - simple fx which actually show how things are done - I had no idea how playback buffers really worked - but it's really quite simple! Now to start messing...
Amether is offline   Reply With Quote
Old 02-08-2007, 03:00 AM   #20
sumpm1
Human being with feelings
 
Join Date: Jan 2007
Posts: 578
Default

Thanks for the tut LOSER. I was just looking for someone to create a humanize, or randomize midi JS in this post http://www.cockos.com/forum/showthread.php?t=5546 .

I think I am going to try some of it myself, so I will be looking at your midi examples. I don't think it can be created as pictured in my thread.
sumpm1 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.