Top Banner
Sound-Cards Software Patrick Horne
30

Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Jan 12, 2016

Download

Documents

Buck Barber
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Sound-Cards Software

Patrick Horne

Page 2: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Introduction

• What is a sound card• Basic History of

Soundcards• What is Streaming Audio

how is it used in software • What are the different

software solutions for sound card– Basic Intro to curbase

• Programming for soundcards in .NET

• Conclusion

Page 3: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

What is a sound card

A sound card is a device which allows a computer system to record and/or play sounds.

http://en.wikipedia.org/wiki/Image:Sblive%21.jpg

Page 4: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

History of Soundcards / Software

• 1974 - Lynne Wilmslow• 1982 -

TRS-80/Spectrum SoundCard – Published in Practical Computing (Lyndsay Robinson)

Page 5: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

History of Soundcard / Software

•1984 - Spectrum Computer add on made by Datel.•Analogue to digital converter, 8 bit, low cost

Ferranti ZN427/ 449Ferranti ZN427/ 449

Page 6: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

What Can a Modern Sound Card do?

• Sound Cards can deal with– MIDI – WAV

Some can also deal with

– Compressed Sounds – MP3, WMA

Page 7: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Categories of Music Software

• Drives• Music Manipulates

– Curbase• Players

– Windows Media Player– WinAmp– Real Player

• Burners Software– Create your own Music

CD

Page 8: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Software: Streaming Audio

• Streaming Audio– Allows continuous

playback of sounds without the need to download the whole file before you begin.

– Really took off since broadband emerged.

– Concept of VOIP.

Page 9: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

How does Streaming Audio Work

BufferBrowser

HTTP ServerBrowser makes HTTP RequestTo Server forStreaming File

Sends text fileWith link to Audio server

Opens upStreaming software

StreamingServer

Decode Compressed data

PlaySound Winmm.dll(memory address)

Soundcard

Page 10: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Software: Curbase

• Multi Track Recording– Play on different

tracks at the same time.

Page 11: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Software: Curbase

•Change Mixing levels:-•By tone, so you can cut out particular noisy sounds. •Sounds can be separated in to the basic frequencies. •By removing high or low frequencies we can improve sound recording

Page 12: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Software: Curbase

• Sound Fonts– MIDI files work by:-

• Using a formula which synthesises the sound itself or modify pre-existing samples.

Or• prerecording sounds

for example “C Piano”, “D Piano”

Sound fonts allow you to swap these samples.

Page 13: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Software: Curbase

– Virtual Instruments and plugin effects

– Allows you to import extra instruments

Page 14: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.
Page 15: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Mute button

Mute

Mute All

Page 16: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Record ButtonStopLoop Tempo

Allow jump to sections

Page 17: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Element on the track

Lets you make a selection

Lets youCut apart the Track - Splicing

Glue lets you stick Bit of track together

Lets You selectA empty track

Page 18: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

This allows you to control the width of what you are Chopping or if you create parts

Page 19: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Mute button

RightClick on to a context menu

Go to view -> Edit using different modes

Edit the bit you recorded

Page 20: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Allows you to fine tune your MIDI recordings

Allows individual changes on track

Same type of changing facilities

Each Represents a note being played

Page 21: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.
Page 22: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.
Page 23: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Software: CD Burners

• After you have finished your manipulation– Drag and drop the files to the CD.– CD Disc Burn the files as WAV files tracks so that it

can be read by the CD as music tracks.– DeepBurner

Page 24: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Developing Applications In Windows

• Since Windows 3.1, Windows has provided:-– SPlaysound(“Filename”) Winmm.dll library for

sending files to the soundcard.• With Windows Visco which is being developed:-

– Manipulation of sound will be much easier.• Give much better control as sounds can be

changed on the windows side rather than using programming.

Page 25: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Imports System Imports System.DiagnosticsImports System.IO Imports System.Runtime.InteropServices

Public Class Sounds <Flags()> _ Public Enum PlaySoundFlags

SND_SYNC = 0 SND_ASYNC = 1 SND_FILENAME = &H20000 SND_RESOURCE = &H40004

End Enum

Private Declare Function PlaySound Lib "winmm.dll"

(ByVal fileName As String, ByVal hmod As IntPtr, ByVal flags As PlaySoundFlags) As Integer

Programming for Soundcards

Page 26: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Programming for Soundcards

Public Shared Sub Play(ByVal fileName As String) Try PlaySound(fileName, IntPtr.Zero, PlaySoundFlags.SND_FILENAME Or _ PlaySoundFlags.SND_ASYNC)

Catch

Debug.WriteLine("Can't play sound file")

End Try End Class

Page 27: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Programming for Soundcards

Public Class ConsoleStart

Sub Main()

Public Sub Main()

Sounds.Play(“helloworld.wav”)

End Sub

End Sub

End Class

Page 28: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Conclusion

• We have looked at the history of soundcards

• We have looked at several different soundcard software solutions

• Looked at programming soundcards

• For slide notes http://heapey.f2s.com

Page 29: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

References

• research.microsoft.com/users/lyn/soundcardhistory.ppt • http://www.developer.com/net/vb/article.php/

10926_3357131_2• http://www.obsoletecomputermuseum.org/nextcolor/

sound.jpg

Page 30: Sound-Cards Software Patrick Horne. Introduction What is a sound card Basic History of Soundcards What is Streaming Audio how is it used in software What.

Any Questions