sound

Record and save audio in c# .net web application

Is there anyway that I can record sound from a microphone using c# .net What is the best option if i have to save the audio online in terms of the file occupying storage space. Any particular format that the file should be saved in for optimum output. ...

How to convert AMR sound stream to PCM uncompressed stream in .NET

I need to convert an AMR (Adaptive Multi-Rate) audio file recorded in a phone (as a Stream object) to a PCM uncompressed wav audio Stream so it can be processed afterwards for speech recognition. The Speech Recognition doesn't like the AMR format. This is going to be a server application using the Microsoft Speech Platform. I am not sure...

Integrate View and CCLayer/CCScene in iPhone

Hi all, I am developing a game in cocos2d. Now I had done a coding in my previous iPhone application which was doing functionalities like recording and playing the recorded sound. I want to implement that same thing in my cocos2d application also. So i want to integrate them in such a way that I can use that SoundViewController.h and...

playing an audio file after a time delay

I have an audio file that I want to begin playing at a 20 second delay, after the user has seen some animations play etc... does anyone know how I might go about doing this? I have 5 animations that play, after which I would like to audio file to begin. the whole thing would keep cycling until the user exits the app. here's the code I ...

Would Java be a realistic option for writing a music DAW (Digital Audio Workstation)

I program in Java doing a lot of web related stuff but I've been toying with the idea of creating a very simple DAW in some language. I considered C# but it doesn't seem to support Direct X anymore (Though there are some libraries that work with differing degrees of success). I was curious if anyone out there had an opinion on playing a ...

Microphone level in Java

I'm trying to access the level of the mic through Java. I don't need to record anything, I just want to know a relative scale of sound level. Is this possible in real-time? If it's impossible, maybe this could work: Start recording when the level is over a certain value, stop when the level drops under a certain level for a certain tim...

Get sound level from device while recording in C++

I want to get sound level, so I can display it in my SDL application (the platform is Linux) when recording sound. How can I do that? I use FMOD API in my app, but for recording, I'm using SoX (forking and using exec() to set it up - probably this could be done better but I don't know how :( ). Should I use some function of SoX, FMOD API...

Playing sound effect (CLICK/NAVIGATION_RIGHT) for button clicks - Android

Hello, I'm trying to use the playSoundEffect () method to play a sound effect when a button is clicked, but so far its' proved very difficult for some reason. I have defined the following. <ImageButton android:id="@+id/Button_flip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="FLIP!" android:src...

How repeat a MIDI file in C#

Dear friends according to my last post in here one of friends suggest me the below code using System; using System.Text; using System.Runtime.InteropServices; using System.IO; namespace TeaTimer { /// <summary> /// MCIPlayer is based off code by Slain. /// Found here: http://www.sadeveloper.net/Articles_View.aspx?articleID=...

Problems about creating an iPhone Piano UI

Hi, I'm trying to create an iPhone piano app. I have created 14 different UIImageViews in Interface Builder, to represent the keys. With touchesBegan, touchesMoved, touchesEnded and touchesCancelled I then tried to play the audio files. So once the sound is played when you move your finger (touchesMoved) I have solved with a NSMutableA...

in-browser real-time audio input options?

Are there any? I'm looking for some way to plug in a microphone to a computer and access the stream in real time to do analysis and visualization for display and interaction in-browser (preferably cross-browser). Any recommendations or pointers toward toolkits or examples would be appreciated-- Thanks! ...

Android: save sound as ringtone and notification

Hi, I'm saving a sound from my app to be used as a ringtone or a notification sound. Here's part of my code, taken from this page: ContentValues values = new ContentValues(); values.put(MediaStore.MediaColumns.DATA, k.getAbsolutePath()); values.put(MediaStore.MediaColumns.TITLE, soundName); values.put(MediaStore.MediaColumns.MIME_TYPE,...

CS5 Flash app has sounds when run locally but it's mute when run in a server.

I'm making this small app in Flash CS5 using AS3. Sounds are being reproduced using flash.media.Sound and flash.media.SoundChannel. Locally , everything sound perfect, but when I run the game from a server it just goes mute. Any help is apreciated. Thanks. ...

[audio iphone maths] how to calculate the number of Packets for X seconds?

Hi guys, i'm tring to understand the Audio * things for iPhone currently i'm reading: core audio overview here i got a question: from apple example codes: - (void) calculateSizesFor: (Float64) seconds { UInt32 maxPacketSize; UInt32 propertySize = sizeof (maxPacketSize); AudioFileGetProperty ( audioFileID, ...

Strange Delay When Site Loads Sound Effects

Hi, I'm experimenting with sound effects for my website, the problem is the sound effects are delayed between 1 to 5 seconds. http://theo.mypreview.co.uk/street-fighter-legacy/ Here is the script for the audio played during the page transitions effect (explosion sound only played for the second set to links) <script> function Eva...

Slight noise problem when changing the volume in my soft synth

Hi, I'm writing a little software synthesizer and it sounds pretty decent except for a slight noise when the volume changes. e.g. while the volume is changing, a sine wave sounds more like a flute, when the volume is constant it sounds bright and pure. As the volume changes pretty much constantly because of the ADSR, this is very annoyin...

How to create sound from an array of double and play it on speaker.

I have an array of double (size more than 60k entries), I have the frequency value. Now I want to create a sound from it using C/C++ which I can play on speaker. My OS is linux. Thanks. I hope I am clear enough. ...

Import a Sound into Flash CS5 with a relative path

I'm looking to import an mp3 into Flash CS5, but Flash is only letting me import the file with an absolute path. Is there a way I can import the mp3 into Flash with a path of "../sounds/file.mp3" so that the Update feature still works if I move the outside directory around? ...

Audiotoolbox Sound Volume Issue

I have some Audiotoolbox sounds. I created a sound in a UIViewController A. Using AudioServices functions, I play them, and it's fine. When I change the system sound volume via device (with my finger), the sound's volume behaves just fine and changes accordingly. But then I alloc another UIViewController B and add its view as a subvie...

Property in audio callback still 0

I am trying to implement solution that has been described before, here is the link http://stackoverflow.com/questions/2718837/how-to-run-vibrate-continuously-in-iphone Everything works fine except when I am trying to retrieve bool property iShouldKeepBuzzing which should say when to stop looping vibration I still get value 0, so it is...