Timeline Search

Search the site by date and time.

Many (although not all) pages on this site include a date and possibly time at which the event described occurred, the page was posted, or the page was updated. Here you can narrow a search down to as narrow a period as you like; or, alternatively, broaden it to all of time, set the Maximum Retrievals Per Page to 1000 and browse every page here!

Organica Audio: Music-playing n JavaScript With The Web Audio API

By: Paul S. Cilwa Posted: 11/17/2017
Topics: #Computers #Programming #Projects #WebAudioAPI #JavaScript #MusicPlayer #Cross-fadingMusicPlayer Page Views: 109
A project demonstrating how to use the Web Audio API (JavaScript) to create a cross-fading music player.

I've been trying to improve my JavaScript skills. This is a language I've not much experience with, but it's the third leg of the Web Design Stool. (The other two are, of course, HTML and CSS.) I have always learned better by experimenting on a real project than by following tutorials from beginning to end. And the project I decided to work on is a web-based (in other words, JavaScript) music player. There's a (relatively) new application programming interface out there called the Web Audio API. This API is supported by all modern browsers and can be used to provide far more sophisticated control of the playing of music and sounds than the HTML5 audio tag can manage. Now, there are a zillion music players out there. But most of them do not incorporate the ability to cross-fade from one track to the next, and that's a feature I require (probably because I was once a radio disk jockey).

Read more…

Step 5: Playlist

By: Paul S. Cilwa Posted: 11/17/2017
Topics: #Computers #Programming #Projects #WebAudioAPI #JavaScript #MusicPlayer #Cross-fadingMusicPlayer #OrganicaAudio Page Views: 120
Wrapping JavaScript promises around asynchronous operations.

Read more…

Step 4: Promises, Promises

By: Paul S. Cilwa Posted: 11/17/2017
Topics: #Computers #Programming #Projects #WebAudioAPI #JavaScript #MusicPlayer #Cross-fadingMusicPlayer #OrganicaAudio Page Views: 130
Wrapping JavaScript promises around asynchronous operations.

Because Javascript is an odd combination of synchronous and asynchronous activities—you want things to happen, but you must also be responsive to further user input—it has long needed a mechanism to allow asynchronous operations to complete before continuing to the next operation. The mechanism to accomplish this is called Promises and it is newly implemented in Javascript in all current browsers.

Read more…

Step 3: The OrganicaAudioTrack Constructor

By: Paul S. Cilwa Posted: 11/17/2017
Topics: #Computers #Programming #Projects #WebAudioAPI #JavaScript #MusicPlayer #Cross-fadingMusicPlayer #OrganicaAudio Page Views: 111
Representing a single music track for the Web Audio API.

It's now time to open the empty OrganicaAudio.js file and create the constructor for the object that will encapsulate the Web Audio API. We can start by typing in some preliminary lines:

Read more…

Step 2: The OrganicaAudio Constructor

By: Paul S. Cilwa Posted: 11/17/2017
Topics: #Computers #Programming #Projects #WebAudioAPI #JavaScript #MusicPlayer #Cross-fadingMusicPlayer #OrganicaAudio Page Views: 124
Accessing an audio context from the Web Audio API.

It's now time to open the empty OrganicaAudio.js file and create the constructor for the object that will encapsulate the Web Audio API. We can start by typing in some preliminary lines:

Read more…

Step 1: Creating the OrganicaAudio Project

By: Paul S. Cilwa Posted: 11/17/2017
Topics: #Computers #Programming #Projects #WebAudioAPI #JavaScript #MusicPlayer #Cross-fadingMusicPlayer #OrganicaAudio Page Views: 139
The biggest programming journey begins with a single file. Or two.

There are any number of web-page editing editors, as well as dedicated JavaScript editors, out there. You can use your favorite. But you can also use as simple a tool as Notepad to write a web page and/or JavaScript library. Firefox (my preferred browser) allows me to test JavaScript without having to upload or publish anything, anywhere.

Read more…

Organica

By: Paul S. Cilwa Posted: 11/17/2017
Topics: #Computers #Programming #Organica #Projects Page Views: 108
Project pieces for my ultimate goal: A document-oriented computer interface.

I have for many years been designing a new-concept computer interface I call Organica. Eventually, I wish to replace the current action-centered interfaces (Windows, Apple, Android, Linux) with a document or object-centered interface. With such an interface, one works on one's document (whether it's an email, novel, painting, photo, song or video) with total freedom to include one kind of item in any other. No user would ever have to "buy an app" with a learning curve of its own; instead, one might choose to "buy an enhancement" that will be applicable to any kind of object.

Read more…

Portrait of John

By: Paul S. Cilwa Updated: 11/12/2017
Topics: #JohnDavidCilwa Page Views: 477
A year-by-year look at the amazing young man who is my son.

Please enjoy my living portrait of this amazing young man as he has grown from infancy to adulthood!

Read more…

Dominic's First Haircut

By: Paul S. Cilwa Occurred: 11/6/2017
Topics: #Family #Dominic Page Views: 139
My youngest grandson gets a little off the top.

My youngest grandson, Dominic, is a bit over a year old, and it was time for his first haircut today.

Read more…

Gianna On The Run

By: Paul S. Cilwa Occurred: 11/4/2017
Topics: #Family #Gianna Page Views: 195
My 3-year-old granddaughter sure gets around!

I got to spend a few hours with Gianna. At 3, she's gotten to be quite the conversationalist. She also loves to run and jump and was eager to show me what she could do, followed closely by "Baby Bubba". We went outside the front door so she could race around the new fountain.

Read more…