0

Song: 至少我還有你

Rough Stage 1:

  • Base line in piano
  • Piano verse and chorus
  • Skip guitar in verse .. to keep music suspense

 

Rough Stage 2:

  • Build percussion
  • Bouncing to rough_stage2_bounce
  • Unload to rough_stage2_unload

 

Stage 3

  • Continue building percussions
  • Bounce to rough_stage3_bounce

 

Stage 4

  • Complete C part and short skeleton
  • Completed short skeleton
  • Added bass
  • Added Chorus E guitar, played with acc guitar, added amp3 to sound electronic, had to do a pitch shift +12 semitones to get that sound
    • Played 2 different styles, 1 time random mutes
    • The other time a flying every click 1/8 play.
  • Need a pad!
    • found 8 pads
  • Discovered discovery Omni: Type, Epic Synths , Flaming Supersaws, Loud Raving Lunatic are great dance synths
  • Discovered discovery dream searching soft (high, modwheel )  bery nice to play on piano.
  • Bouncing to rough_stage4_bounce
    • As we have many pads.
    • CONTINUE AT shining voices (mid, high)

 

Stage 5:

  • Add snaps to bridge clap
  • Add vocal type pad, like ending of a the hymn song

 

Todo:slice a breakbeat loop

A lot of offbeat beats, and resources, so gotta continue building and bouncing percussions.

It’s ok for the beats to go slightly off during this stage, because later once confirmed, we will be creating an accurate instrument

 

facebooktwittergoogle plus

0

Best practice for parsing HTML in PHP? Use DOM

http://stackoverflow.com/questions/3577641/how-do-you-parse-and-process-html-xml-in-php

 

[code]

function cfriend_get_href_links($html) {

// Create a new DOM Document to hold our webpage structure
$xml = new DOMDocument();

// Load the url’s contents into the DOM
$xml->loadHTML($html);

// Empty array to hold all links to return
$links = array();

//Loop through each <a> tag in the dom and add it to the link array
foreach($xml->getElementsByTagName(‘a’) as $link) {
$links[] = array(‘url’ => $link->getAttribute(‘href’), ‘text’ => $link->nodeValue);
}

//Return the links
return $links;
}

[/code]
facebooktwittergoogle plus

0

Best practice mysql NULL or not ?

http://stackoverflow.com/questions/1267999/mysql-better-to-insert-null-or-empty-string

 

 

I Personally use NULL for more powerful results..

 

By using NULL you can distinguish between “put no data” and “put empty data”.

Some more differences:

A LENGTH of NULL is NULL, a LENGTH of an empty string is 0.

NULLs are sorted before the empty strings.

COUNT(message) will count empty strings but not NULLs

You can search for an empty string using a bound variable but not for a NULL. This query:

SELECT *
FROM mytable
WHERE mytext = ?
will never match a NULL in mytext, whatever value you pass from the client. To match NULLs, you’ll have to use other query:

SELECT *
FROM mytable
WHERE mytext IS NULL

facebooktwittergoogle plus

0

How to store and deal with Mysql currency money value data?

Since money needs an exact representation don’t use data types that are only approximate like float. You can use a fixed-point numeric data type for that like

numeric(15,2)
15 is the precision (total length of value including decimal places)
2 is the number of digits after decimal point
See MySQL Numeric Types:

These types are used when it is important to preserve exact precision, for example with monetary data.

 

I personally use numeric(19,4) for financial records that gives you a better hand to play and adopt new requests easily.

facebooktwittergoogle plus


0

Which stage to create a restore backup for Windows for a Music DAW setup? Symlink to save space or decide what files to bring out or stay home

Right now, important to be problem-free, virus free.

So we install ALL drivers, ALL Cubase and default softwares ONLY – maschine, remote sl… skip komplete and opther stuffs

For the non-defaults, i.e. trillian,stylus etc,  try to install them and ALL plugins to another directory outside of SYSTEM directory, By system we mean C:\program files , anywhere that will be backed up and restored. A good location would be ANOTHER DRIVE \ Musicdata\ Vstplugins

+ automap, remote SL

+ maschine

 

Remember to point Cubase to use the right VST folder in MUSICDATA, to scan in Plugin Manager.

 

Setup:

https://www.steinberg.net/en/support/knowledgebase_new/show_details/kb_show/optimizing-windows-for-daws.html

Configure power energy settings for your OS.

 

 

Finally use Macrium Reflect on Windows 10:

http://www.howtogeek.com/199068/how-to-upgrade-your-existing-hard-drive-in-under-an-hour/

– VSS failure image backup ? : http://windowssecrets.com/forums/showthread.php/172081-Best-of-breed-Win10-s-hybrid-backup-system?p=1026251&viewfull=1#post1026251

  • Use Windows 7 on Macbook pro to do it.

 

MUSICDATA folder of plugins and samples can be symbolic linked to an external drive and behave like it’s LOCAL to cubase, maschine and other softwares:

 

http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/

  • Copy MUSICDATA from local to external drive i.e. J:\
    – install LINK SHELL EXTENSION
    – Pick J:\MUSICDATA as ‘PICK LINK SOURCE’ on right click menu in File Explorer
    – Then on local C:\ (lacie) drop as ‘SYMBOLIC LINK’
    – that’s it!
facebooktwittergoogle plus