Mein Haus

In meinem Haus gibt es neun Räume. Die Küche, das Wohzimmer, das Esszimmer, der Waschraum, drei Schlafzimmer, und ein und einhalb Badezimmer. Natürlich, haben wir auch einen Dachboden und einen Keller. In den nächsten Wochen, werde ich über jedes Zimmer in meinem Haus schreiben.

Mein Haus: das Wohnzimmer

In meinem Wohnzimmer gibt es zwei Lampen. Sie stehen auf die kleinen Tischen. Ein kleiner Tisch steht bei der Couch. Die andere steht bei das Sofa. Vor der Couch ist der Couchtisch. Wenn ich Kaffee trinke, setze ich meiner Kaffeetasse auf den Couchtisch.

Der Fernseher steht bei der Wand. Am Abends, fernsehen meine Familie. Die Kinder mögen Cartoons. Meine Frau und ich haben eine Lieblingsserie, The Walking Dead. Er spielt jeden Sonntagabend. Meine setzt auf dem Sofa. Ich setze auf den Couch.

Wenn ich möchte einem Buch lesen, mache ich der Lampe an. Mein Lieblingsplatz, zu lese, ist meinen Fernsehsessel. Er ist braun und leder. Meines Fraus Lieblingsplatz ist dem Sofa.

Es war kurz, es tut mir leid. Vielleicht nächte Woche wird langer.

Auf Wiederbloggen

Deutsch Blog

Since I was very young, I’ve held a huge interest in my family’s German heritage. The language, the culture, and the beautiful scenery. I remember, as a boy, my maternal Grandmother would tell me of how her Grandfather spoke German to her. She would always tell me how she regretted not listening to his lessons, but when she was a young child, naturally, she had other interests in mind.

I first started learning German at the age of twelve. Now, nearly 18 years later, I’m embarrassingly still only an A2 or B1 at best. With that said, everything I’ve learned along the way, has been self-taught. And even as recent as five years ago, the amount of free (and good quality) learning material on the internet was few and far between. I’ve recently started on a bit more accelerated path to learning, being that the internet is now so vast, where free, good quality information is plentiful. It also helps that there are some great people assisting me, some of them are native speakers.

I came up with the idea to write weekly blog posts, completely in German. The context of the posts might be boring in the beginning. And hopefully, they will become more interesting as I go on. But the context is not really whats important. Learning through throwing myself out there and making mistakes is. The context will basically be about my week at work and home life with my family. There are currently a few people that agreed to help me fix my mistakes. I’m very greatful for that.

Enough boring stuff for now. More of that will come later. If you haven’t already died of boredom, thanks for reading.

Harry

Introduction to Music Production Week 3: Effects

This week I’ll give a quick explanation to the three effects categories of DSP (Digital Signal Processing) and they are, dynamic, delay, and filter effects. These three categories are generally related to three of the principles of sound, amplitude, propagation, and timbre.

Dynamic Effects:

  • Compressor  – Narrows a signal’s dynamic range. Amplifies low sounds and a attenuates loud sounds. Making the audio have a more normalized feel.
  • Limiter – Keeps the audio level from going over a pre-set amount.
  • Expander –  Decreases the level of signals that fall below a certain threshold to a specified range. For instance, if the threshold is set to -6dB, once the audio is below that threshold, the audio can be pushed down to -10dB, but not complete silence.
  • Noise Gate – Decreases the level of signals that fall below a certain threshold to complete silence.

Dynamic effects automatically control amplitude over time.

Delay Effects:

  • Reverbs – Reflections of sound within a space that slowly decay
  • Delays – Recorded sound that is either played back multiple times or fed back into the recording to create a repeating decay.
  • Phasers – Audio that is split into two separate paths. One path is an all pass filter which preserves amplitude. When the two paths are mixed there is cancellation of notched frequencies creating a phasing effect.
  • Flangers  – The same as a phaser, although the all pass filter is replaced by a delay.
  • Choruses – Two sounds that are almost similar in timbre and pitch converge and are perceived as one.

Delay effects are related to propagation sound. They can create the illusion
of three dimensionality. They can also make the audio sound like it was recorded in either a small or large room.

Filter Effects:

  • High Pass Filter – Allows all frequencies above the cut off point to pass. HPF cuts the lows and allows the highs to pass.
  • Low Pass Filter –  Allows all frequencies below the cut off point to pass. LPF cuts the highs and allows the lows to pass.
  • Band Pass Filter – Allows a specified band of frequencies to pass. All other frequencies above and below the specified band are then cut.
  • Parametric EQ – A more precise eq that controls three parameters, amplitude, center frequency, and bandwidth.
  • Graphic EQ – An equalizer with pre-set bands that can be boosted or cut in a range of -/+ 6dB to -/+12dB.

Filter effects control the timbre of sound.

If you have any corrections, please feel free to comment.

Introduction to Music Production Week 1 Assignment: Recording Signal Flow

Hello, my name is Harry. I live in North Eastern, Pennsylvania in the USA. For Week 1 of Berklee’s Introduction to Music Production at Coursera.org, I’ll do an overview of a typical recording signal flow for my assignment.

Signal Flow In

So to start with, we need a sound source, such as a voice or speaker. This source creates pressure variations in the air, called sound, which is then captured by an input transducer, in this case, a microphone. Those pressure variations are then turned into voltage variations, which is our audio signal. The low level audio signal then travels through a balanced XLR cable to an audio interface.

A microphone has a male XLR connector (left) that connects to the female XLR connector (right) of an XLR cable.
Lexicon Alpha Audio Interface
Lexicon Alpha (front)
Lexicon Alpha (back)
Lexicon Alpha (back)

At the audio interface the signal goes through a number of components before it reaches the computer.

First, the signal is sent through a microphone preamp that brings the low level signal up to the standard operating level. This level can be amplified or attenuated by controlling a trim knob, such as the Line 2/Mic on the picture above. (labeled as front)

Next the signal is sent through an A/D converter (analog to digital). Which converts the analog signal to a digital signal of 1’s and 0’s that the computer can understand, called binary data.

The binary data travels through either a Firewire or USB cable into your computer to be received by your DAW (Digital Audio Workstation) of choice. This data can then manipulated and mixed in with other audio within your DAW.

Signal Flow Out

The data is then sent back from your DAW via Firewire or USB cable to your audio interface

Here it is ran through the D/A converter (digital to analog) where it becomes , once again, an analog signal.

Lastly, the newly converted analog signal is sent through an amplifier to the output transducer, such as monitors or headphones.

Overview

To make a quick overview of what we just covered.

  • Pressure variations (sound) are created in the air and captured by input transducer (microphone)
  • Sound is turned into voltage variations (audio signal) and travels through XLR cable to audio interface
  • Low level audio signal is amplified by a mic preamp and adjusted by a trim knob
  • Analog signal is converted to digital (binary data) and travels via Firewire or USB cable to the computer
  • The data reaches DAW (digital audio workstation) and is manipulated
  • Binary data is sent back from DAW to audio interface and goes through digital to analog conversion
  • Analog signal is amplified and sent to output transducer, headphones/monitors

 

Thanks for reading and please feel free to give any feedback relating this topic or corrections to the material covered.

HTML/CSS: Styling an element, while using less code.

Today I’ll quickly summarize on styling an element using basic HTML and CSS, and how I later learned how to get the same result, while using a smaller amount of code.

In the process of making this.

I first used the following code:


HTML:
<div class ="container">
    <div class ="content">
        <p>Hello, World!</p>
    </div>
</div>

CSS:
p
{
    text-align: center;    
}

.container
{
    width: 300px;
    height: 300px;
    border: #0000FF 5px solid;
    padding: 0px;
}

.content
{
    width: 300px;
    height: 300px;
    background-color: #FF0000; 
}​
 

Shortly after, I found that I could do the same thing in less time, using less code.

Here is the fixed, shorter version:


HTML:
<div class="content">

    Hello, World!

</div>

CSS:
.content
{
    width: 300px;
    height: 300px;
    border: #0000FF 5px solid;
    background-color: #FF0000;
    text-align: center;
}

Take notice how I removed the <p> elements and the container class. I was able to trim two lines off the HTML code and ten lines of the CSS code. I realized I didn’t really need the container class at all.

I also discovered that you could input text directly into a <div> with no need for <p> and manipulate it through CSS just the same.

Here are two examples that show both codes do the same thing:
More Code
Less Code

Comments and suggestions are welcome.

Thanks for reading.

Javascript: setTimeout() and setInterval()

At first, the difference between setTimeout and setInterval can be confusing because they are both rather similar, they both support a function and a delay, but one important attribute sets them apart from one another. Here I hope to clarify the difference between the two.

setTimeout();

How it works:

The method –
setTimeout(function, delay) “The delay is in milliseconds, i.e. 1 second = 1000 milliseconds”

The arguments –
function – The code to be executed.
delay – The code will be executed one time after a set delay.

Here I have created a simple popup alert using setTimeout() that has a delay of 3 seconds.
Click here for an example on jsFiddle.

setInterval();

How it works:

The method –
setInterval(function, delay) “The delay is also measured in milliseconds”

The arguments –
function – The code to be executed.
delay – The code will be executed repeatedly after a set delay.

Here I have created a clock using setInterval(), the clock updates every second.
Click here for an example on jsFiddle.

As you can see from the examples:

setTimeout(); – Executes once after a set delay.
setInterval(); – Executes repeatedly after a set delay.

Please feel free to comment with any suggestions on different ways to use setTimeout() and setInterval.

Thanks for reading.

The beginning…

With still being new to the world of web development, I thought I should start a blog to document what I learn and share it with others. I have a very basic knowledge of web development at the moment and I plan on bettering myself over time through research and with the help of others through feedback.

Any comment and criticism is welcome and appreciated, it will only help me better myself. And hopefully, some where down the road, someone will be able to learn from the posts that I have made.