sound

Most simple sound format?

I was reading about bitmap images. They are one of the more simple image formats (especially 1 bit bitmaps). I am interested to see what a sound file looks like. May someone refer me to the most simple sound file format? thanks Actually, I found this wav file link. If someone else has any other links/words of wisdom they'd like t...

load sound dynamically in as2 having problem

hi I want to load sound placed in sounds folder. Code is var my_sound = new Sound(); my_sound.loadSound("sounds/sound1.mp3"); my_sound.onLoad = function(success:boolean){ if(success){ my_sound.start(); } } This plays sound when flash is open and pressing CTRL+ENTER(Test Movie). but when we plays the swf it won...

How can I make a Pink Noise generator?

((Answer selected - see Edit 5 below.)) I need to write a simple pink-noise generator in C#. The problem is, I've never done any audio work before, so I don't know how to interact with the sound card, etc. I do know that I want to stay away from using DirectX, mostly because I don't want to download a massive SDK just for this tiny proj...

What to replace this java code with?

The following code is used for playing a sound file in my java applet: public synchronized void play() { try { //Here filename is a URL retreived through //getClassLoader().getResource() InputStream in = new FileInputStream(filename.getFile()); AudioStream as = new AudioStream(in); ...

Using Sound Effects in a java game

Basically I am trying to use this SoundEffect class in a simple java game I'm working on for my assignment. import java.io.*; import java.net.URL; import javax.sound.sampled.*; /** * This enum encapsulates all the sound effects of a game, so as to separate the sound playing * codes from the game codes. * 1. Define all your sound eff...

Legality of sampled sound clips in an iPhone app

Does anyone know the legality of using sampled sound clips (specifically spoken words) from movies as part of an iPhone app? ...

automatically composit sound - php or something like that - GD library for sound?

Ok does anybody have any idea for good ways to accomplish the following: A user programs some drum loops in flash and is somehow able to download or save an mp3 of the loop. I thought that the pattern could be composted on the server side. Then a link to the file is sent to the user. I had thought there might be something like image...

Is it worth starting a new open source project or joining in?

There are a few various open source projects that I'm not particularly happy with, for example, I feel that various aspects of sound on Linux is simply appalling when compared to Windows. I know this is because sound card manufacturers make their hardware for Windows, and it's probably their fault that support is so bad. But I'm sure we ...

How to generate a guitar note

Back in a freshman or software programming class we had to write a program that would simulate the sound of a guitar pluck. I can make pure sin waves all day, but I am trying to remember how to do a sound like a guitar pluck. I remember it had something to with using random() and a falloff constant added to the sin wave, but I can not r...

playing wav file in java - how do I extend or concatenate the sound played?

Is it possible to create a temporary file that contains a "loop" of a wav file? Or is it possible to manipulate the stream sent to a stream reader/writer? Basically I want to play some wav file for a period of time and if that time is greater than the length of time that the wav file provides I want to loop. ...

How to get the final length on a Sound object that is still loading?

I'm creating a basic MP3 player in ActionScript 3. I have a basic progress bar that indicates how much of the song has played. The progress is calculated as a decimal percentage normalized between 0 and 1 as such: var progress:Number = channel.position / sound.length; The problem is, if the audio is still loading/buffering the sound...

where to store media files in an iPhone app

I am new to writing iPhone apps, but I have an idea for one. The only problem is that the app I want to write will require a ton of very tiny sound files. I want to organize everything in a hierarchy of folders in the app, but allow the user to add more sounds later, possibly from the music collection or something. Basically, the user...

How do I play the "New Mail" system sound in .Net?

How do I play the "New Mail" system sound in C#? This is also called the "Notify" sound. In Win32, that would be something like sndPlaySound('Notify', (SND_ALIAS or SND_ASYNC)); So how do you do that in .Net? I know that you can do System.Media.SystemSounds.Asterisk.Play(); But there's a very limited set of five sounds there - n...

change volume win32 c++

How would I go about changing the sound volume in c++ win32? Also how would I mute/unmute it? Thanks for the help! ...

Is there any free library to play various sound format in .NET?

I would like to play sound in my application, as far as I know, .net can only handle wav files by default. Is there any sound playing library which I can use? I know about bass but it is not free for commercial use. Any pointers would be helpful. ...

Adding sound to a VB6 program

I am graduate student trying to manipulate an existing program. Basiclly, the user is tasked to follow a target around with a joystick. I want the program to have a pulse rate associated with the position of the target. I've managed to find the section in the code where the position is calculated/determined, now I just need to add a cond...

Convert Midi Note Numbers To Name and Octave

Does anybody know of anything that exists in the Java world to map midi note numbers to specific note names and octave numbers. For example, see the reference table: http://www.harmony-central.com/MIDI/Doc/table2.html I want to map a midi note number 60 to it's corresponding note name (MiddleC) in octave 4. I could write a utility cl...

Playing sound samples on the iPhone

Hi, I've reached the point where i want to play some samples in my game/app. My instinct says use openAL ... I will have the situation where I will need to play multiple samples at once (however no more than 2 or 3) and the samples will be short (2 or 3 seconds). My question is what is the best way of playing samples on the iPhone give...

Programs causing static noise in speakers?

Does anyone know a reason why my programs could be causing my speakers to output some soft static? The programs themselves don't have a single element that outputs sound to anything, yet when I run a few of my programs I can hear a static coming from my speakers. It even gets louder when I run certain programs. Moving the speakers around...

Mixing Sound in Java?

How do I play the same sound more than once at any given time with numerous other sounds going on at the same moment? Right now I've got a "Clip" playing but it won't overlap with itself. ( I hear one bullet fire, the sound finishes then it plays again ). I'm writing a game with a fast bullet firing system but i can't get the sound to w...