1 229 zvukové soubory bez licenčních poplatků pro "Let"

00:00
18:07
(recorder: zoomh4npro 2018)(microphones: binaural roland cs-10em in-ear monitors). As these are recorded using binaural in-ear mics, i purposefully don't turn my head to keep the sound clean and coming from the same direction. Wow, this is a long one. . . But a good one. Let me set the scene for this audio because i am a nerd. . . Burbank, california. A large apartment/condominium complex with an open courtyard and a swimming pool and hot tub. Now, for some reason in la, nobody ever seems to actually use pools or hot tubs anymore so it's not hard to get clean audio. So, from beginning to end you will basically hear me turn the automatic shutoff dial on the wall, walk to the hot tub, get in the hot tub, and sit in various positions for extended periods of time. I was alone for the entire experience (wife was at work) and nobody joined. It's very clean audio and safe for all production. Recorded on 11/20/2018 in burbank, ca. Enjoy,. Christopher c. Courter.
Autor: Courter
00:00
03:02
passeggiata viennese è una straordinaria canzone strumentale senza voce che crea una sensazione di serenità e tranquillità. La melodia accattivante e il ritmo rilassante sono perfetti per un momento di relax sia da soli che in compagnia. La musica ti invita a camminare per le vie di vienna, con una sensazione di leggerezza e di benessere che ti fa sentire oltre l'anima. L'atmosfera della città è magica, e questa canzone è la colonna sonora perfetta per sentirsi immersi in essa. Lasciati trasportare dalla bellezza di "passeggiata viennese" e goditi un momento di pace e armonia interiore. "passeggiata viennese" is an extraordinary instrumental song without vocals that creates a sense of serenity and tranquility. The catchy melody and relaxing rhythm are perfect for a moment of relaxation both alone and in company. The music invites you to walk through the streets of vienna, with a feeling of lightness and well-being that makes you feel beyond the soul. The atmosphere of the city is magical, and this song is the perfect soundtrack to feel immersed in it. Let yourself be carried away by the beauty of "passeggiata viennese" and enjoy a moment of inner peace and harmony.
Autor: Angelorizzo
00:00
00:07
Military air vehicle flying. Loopable. Extracted from a video (http://img. Youtube. Com/vi/ttascwxumi8/2. Jpg) by a us government agency, thus public domain. This sound is cc0/public domain but i highly recommend that you include a link to this page when using it, to avoid misunderstandings. Find many more military sounds in my military sounds pack, also located on freesound. Http://farm9. Staticflickr. Com/8070/8213683889_517a10ef52_o. Pngon flac and ogg vorbis audio file formats. Contact me if you have interest in specific sounds for open source or commercial purpose.
Autor: Qubodup
00:00
00:03
Direct exterior mic recording of an arrow being fired from 40lbs english longbow. Recorded on rode shotgun mic into zoom h4n. De noised/de bird atmos in rx6 then logic processing.
Autor: Joedinessound
00:00
00:09
Interpretation of a modern vertical fighter jet landing as a sci-fi starship landing. Few audacity edits. Based on audio extracted from a video (http://img. Youtube. Com/vi/ktg5ekotr_m/2. Jpg) by a us government agency, which is thus public domain. This sound is cc0/public domain but i highly recommend that you include a link to this page when using it, to avoid misunderstandings. Find many more military sounds in my military sounds pack, also located on freesound. Http://farm9. Staticflickr. Com/8070/8213683889_517a10ef52_o. Pngon flac and ogg vorbis audio file formats. Contact me if you have interest in specific sounds for open source or commercial purpose.
Autor: Qubodup
00:00
00:16
I think i used stereo mics that came with my h5. Recorded on top of a parking garage right next to the airport. I caught this great sound early in the morning before city traffic could get busy enough to ruin the recording. Enhanced with ozone 6 and removed some bassy wind noise with rx5. I think i actually used this sound for various whooshes for my flash sound in flash v quicksilver. Https://www. Youtube. Com/watch?v=vwcqy-d0i_g&t=49s. Please post a link if you use this file. I'm excited to see what you can do with this!. Text me if you want to have fun and talk audio. I love hearing what people are up to in different sound communities!702-860-9869.
Autor: Oscaraudiogeek
00:00
00:31
I made the "rocket start up" sound by cyberkineticfilms loopable inside magix music maker. (original: http://www. Freesound. Org/people/cyberkineticfilms/sounds/130202/ ). Feel free to use for anything.
Autor: Mickboere
00:00
00:19
Spacey synth phrase made in fl studio.
Autor: Levelclearer
00:00
00:38
Sfx conversion edited: adobe + fxs + mastered.
Autor: Szegvari
00:00
00:14
I guess it's what (nearly) every hongkongers would like to make it as ringtone sound for everyday life, right? #hehe#. Recorded near dolce & gabbana kowloon shop, at canton road, tsim sha tsui, hong kong, during protesting against d&g;'s "blocking esp. Hongkongers to take photos outside their shops" behaviour on 8th january, 2012. The "無綫新聞.事事但但" (tvb news, absentminded (news reporting)) is a slogan which to satirize tvb that self-filtering unwanted news for china government, or specificity, the communist party of china. Their (sometimes actually talking about yuen chi wai's, the head of the news dept. Of tvb, who interviewed with li pang after "8964" tiananmen square protests of 1989, with no following the professional conduct of journalism, and being abused as dog after the report was broadcasted) behaviour lets many hong kong network users calling them cctvb, which means they are more likely to be the hong kong mirror of cctv in china. A man even made a board wrote "無綫新聞.事事但但" and shown on camera when tvb news was doing a live report. This slogan are being called by protesters on that event as they don't like tvb reports the event like a entertainment news.
Autor: Hkmtrhah
00:00
01:00
[helicopter_short_version. Wav]. [helicopter_rushing. Wav]. If you enjoyed the sound, please rate, comment, spread! it really helps!. Note: make sure to check out the other matrixxx-sounds! the sound quality is always better when you download the sound(s)! ⛄. Enjoy!/matrixxx.
Autor: Matrixxx
00:00
00:10
Mid flight noise on a plane. Extracted from a video (http://img. Youtube. Com/vi/31xifsgfx1k/2. Jpg) by a us government agency, thus public domain. This sound is cc0/public domain but i highly recommend that you include a link to this page when using it, to avoid misunderstandings. Find many more military sounds in my military sounds pack, also located on freesound. Http://farm9. Staticflickr. Com/8070/8213683889_517a10ef52_o. Pngon flac and ogg vorbis audio file formats. Contact me if you have interest in specific sounds for open source or commercial purpose.
Autor: Qubodup
00:00
09:50
Yes! så nöjd att detta ljud hände, typ! let me take this info in swedish, okay. Buchla style slow krell. En modulerande osc och en som moduleras, men man hör bägge i mixen! ena osc går via en lpg den andra via vca/mix. Till det "skrynkliga" ljudet använder jag en pip slope modulerad av jerkoff och sloth. Ljudkällan är en sinus som går via en lugnt modulerad wave shaper. En envelope follower plus sloth ger en trg till en s/h ibland och då byts tonen. Skrynkelljudet går även till mitt analoga delay. Tonen är även liiite modulerad av en env. Ganska west coast och buchla. . . Google translate :-)buchla style slow krell. A modulating osc and one that is modulated, but you can hear both in the mix! ena osc goes via a lpg the other via vca / mix. To the "creepy" sound i use a pip slope modulated by jerkoff and sloth. The sound source is a sine that goes through a quietly modulated wave shaper. An envelope follower plus sloth gives a trg to an s / h sometimes and then the tone changes. The cry sound also goes to my analogue delay. The tone is also liiite modulated by an env. Pretty west coast and buchla. . .
Autor: Gis Sweden
00:00
00:02
So these are all real reactions to certain things i do, i. E, video games, narrations, etc. Funny story. . . The reason this one is from far away is because while recording a narration, a lovely spider decided to descend from the ceiling, and i flipped out, having decently bad arachnophobia. It also got near my hamster's cage, so naturally i bellowed "die!" when killing it. I'm uh. . . Very passionate about certain things. I myself need genuinely real vocal reactions. I often look for voice clips here on freesound, and there's just some stuff that isn't here. I know i'm not the only one, either, so i post mine as well so others may use them. Interestingly, i've gotten one person who took the time to uh. . . Tell me how they. . . Disapproved of my voice clips, so i just wanted to say that if you wanna use them, do, if not, don't, that's why they are there. I enjoy animating, and others do too, wanting to use others' voice clips. I also had a couple people make techno remixes of a lot of my sounds (thank you by the way, they're awesome). It's not that i care about the. . . Interesting way the one person expressed their opinion, it's just to let some similar acting people know that i post these for a reason. *shrug* but whatever floats your zeppelin, i honestly don't care. Anyway, for those who do use them, thank you. :p.
Autor: Reitanna
00:00
00:15
[helicopter_full_version. Wav]. If you enjoyed the sound, please rate, comment, spread! it really helps!. Note: make sure to check out the other matrixxx-sounds! the sound quality is always better when you download the sound(s)! ⛄. Enjoy!/matrixxx.
Autor: Matrixxx
00:00
00:03
[helicopter_full_version. Wav]. Helicopter rushing (action cinematic-style!). This sound can for example be used in films, documentaries - you name it!. If you enjoyed the sound, please rate, comment, spread! it really helps!. Note: make sure to check out the other matrixxx-sounds! the sound quality is always better when you download the sound(s)! ⛄. Enjoy!/matrixxx.
Autor: Matrixxx
00:00
05:02
This is one of a set of voices created to be mixed together to form background ambiance for parties and other events. The walla project is the creation of jule hoverson of 19 nocturne boulevard and public domain for all to use without attribution. Script. Party crowd:well, look who's here!i thought you weren't coming?oh, i see. Well, put your coat over there and grab a drink. So, where were we?oh yeah, so my boss says to me i need to work late, and i tell him that if he wants me to work late he's going to have to pay me to work overtime. You think he likes that?what he do?he told me that he can get a college grad to do my job for half the price. Well, i told him- try it!hey, are those snacks fresh?let me have one!mmmm. . . . Tasty!ow!what is this? a snail?i think i chipped a tooth!excuse me. I better go call a dentist!oh no! look who just walked in!can you believe her? wearing a dress like that?that's not his wife. Mmm-hmm. I'm so excited, this is my first time at a soiree {swa-ray} like this!isn't that too too adorable?who's got the glasses?isn’t there anything to drink?i hope you don't mind, but we're going to have to leave early. I'm here! the party can start!i definitely need another one. That was the babysitter. We need to go. [plus - feel free to ad lib anything else you want. ].
Autor: Ultrarob
00:00
05:40
A murder of crows, loud, right before a rainstorm / an airplane passes overhead. Unintelligible voices in a room nearby. Crickets (late evening) recorded on zoom h6.
Autor: Kalhan
00:00
00:60
[rocket_thrust_01. Wav]. Rocket thrust!. If you enjoyed the sound, please rate, comment, spread! it really helps!. Note: make sure to check out the other matrixxx-sounds! the sound quality is always better when you download the sound(s)! ⛄. Enjoy!/matrixxx.
Autor: Matrixxx
00:00
01:40
[rocket_thrust_02. Wav]. Rocket thrust!. If you enjoyed the sound, please rate, comment, spread! it really helps!. Note: make sure to check out the other matrixxx-sounds! the sound quality is always better when you download the sound(s)! ⛄. Enjoy!/matrixxx.
Autor: Matrixxx
00:00
00:03
Mayday !!!!. If you enjoyed the sound, please rate, comment, spread! it really helps!. Note: make sure to check out the other matrixxx-sounds! the sound quality is always better when you download the sound(s)! ⛄. Enjoy!/matrixxx.
Autor: Matrixxx
00:00
18:01
This is a recording of myself sleeping, beginning ~ 1:00 am local time (~ 3hrs after going to bed) on january 10th, 2020 (which i later discovered was a full moon). I was in the midst of experimenting with recording myself all night long out of curiosity, using a laptop placed near the head of my bed. This particular recording was the only anomalous one (the rest consisting mostly of just breathing or snoring with occasional sleep-talking). This ~2 hour recording has several interesting properties, which make it hard for me to believe that these sounds were actually going on while i was sleeping. On the other hand, i don't have a memory of editing this file if i did. Either way, i find it unsettling. I found the file in oct 2021 while organizing my samples. As far as i can remember, this is the original raw recording. On further inspection, i discovered that it has some additional peculiar properties that make it even harder to believe i could have made it without remembering doing so. The audio spans almost exactly 118min (7080s). There’s a frequency sweep with a cycle-length of 6480ms that repeats throughout the entire recording. Dividing the 118min by 6. 48min (60 cycles) results in 18 parts containing exactly 60 cycles and a remainder of 12 cycles. If you think you know the source of the strange sounds or if you've ever heard anything similar, please let me know in the comments or email me at storyofthelie@protonmail. Com. I collected the most interesting bits into this pack:https://freesound. Org/people/storyofthelie/packs/33653/. Approximate times of weird stuff:. 25min - stretched cough41min - voice & sounds45min - metal hit & voice47min - call response55min - door latch1hr 3min - portal1hr 7min - more portal1hr 11min - open portal1hr 20min - echo voice1hr 23min - echo voice, tones, portal1hr 36min - stomp into breathing1hr 51min - echo voice1hr 53min - cycle tone change into crazy.
Autor: Storyofthelie
00:00
00:02
Okay, about this small bibliothek there is a story to tell. Maybe a year ago my mother phoned me and asked if i could give her a hand because the door to her kitchen was squeaking. After work i went to her, went down to the cellar, took the can with the lubricating grease, went upstairs and made my mother happy. Then i putted the grease back and went upstairs. Whe sat down, drank a cup of coffee. Then i had to go to the toilet andnoticed that the toilet door was squeaking too. So i went down to the cellar again and took once again the grease. Now i thought, before i make the stairs again, i'll show if any other thing in my mothers house is squeaking. It was terrible! i swear, never in my entire life i've been in a house where so many different things were squeaking so impassionated. First off all i went back to my car and took my cheap dictaphone i use for work. And before i putted grease on those squeaking things i recorded them. Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx. So this are really historic sounds! none of them exist anymore in the real world!. Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx. But. . . When i heard through them later i was disappointed of the bad sound quality, cutting out higher ond lower frenquencies of the rich spectrum of those "neeeeiiiks" and "uiihggs". During winter holidays i processed them first with the audacity noise reduction - then with other tools. The result gives an unreal impression of the original sounding, they have now some "synthetic" touch - but makes them probably usable for funny films or comic-likeeffects. All the sounds in my "big squeek pack" where recorded in one afternoon and all in my mothers house. "tension-sounds" for example are nothing else than a junker (tin can? - sorry, my english) moved from one side of a wooden shelf to another, meanwhile my dictoaphone was laying in the junker. I don't ask to credit me - but if you make use of one of these sounds and create something funny with them, please let me know. . . So i can show it my mother too. Thank you.
Autor: Fantozzi
00:00
00:01
This is a collection of "small room reverb" impulse responses that i sampled in a new england home known as butternut lodge, built and owned by actress bette davis back in 1940. It consists of all wooden rooms with many non-parallel surfaces, rugs and furniture and includes 3 round-shaped "silo" rooms! these rooms sound clean and do not have the irritating "ping" of many rectangular rooms. Short history/pictures of butternut (https://www. Airbnb. Com/rooms/24692769?source_impression_id=p3_1659215694_liuasyfxoceab5fn). Although these round shapes (and some of the other very small rooms) could potentially wreak havoc with phase at specific frequencies when summed to mono, i recorded this using the mid/side mic technique; therefore, the "side" channels fully cancel out, leaving a clean monaural reverb signal. These irs are stored as flac files. They can be used directly by any daw without conversion and have the added feature of being id3 tagged with a photo of the room each ir is taken from. After downloading, select view -> large icons in the folder to view the rooms. I sampled each room using a swept sine wave into a jbl flip 6 bluetooth speaker; recorded through a tascam tm-st1 m/s stereo microphone, feeding a tascam dr-07 recorder @ 24-bits 44. 1 khz and deconvolved using reaper. As of this post, i've been using these rooms for about 2 weeks. So far, i've found the "garage" to sound fantastic on drums! the drum sound! also, many of the other smaller rooms have a great effect on guitars, keys, and hand percussion. Each room varies in tone and brightness, so i've found that selecting/tuning the reverb send works well if approached like an eq. Increase the effect send until the instrument "feels" right (then perhaps back off slightly). A close-miked acoustic guitar, for instance, will take on a nice brightness and 3-d quality; not particularly reverberant, just big. At that point, i recommend applying any eq, compression, and bigger-sounding reverb effects. Hopefully you enjoy this. Please let me know how you like it and if you have any suggestions. Cheers!. Ken.
Autor: Kenmix
00:00
00:29
Ok, i don't know how many of you might be interested in this, but i figure there's no harm in posting it. I'm working on some original songs. Laptop-based, electronic songs, with many orchestral parts, including violin, viola, cello, and string bass. Presonus studio one has some very nice vst string instruments, and i have some really great ones for kontakt. But they all are missing one thing, and i couldn't find the (admittedly esoteric) sound that i'm looking for anywhere on the internet. Being a viola player myself, i recorded myself playing these very particular incidental sounds. Let me explain-. There's this 'grabby' sound that a well-rosined bow makes just is it is first being drawn across the string. Listen carefully to any of the pros and you'll hear it. In your laptop sequences, if used subtly, right at the point where the first note of a phrase is initiated, this sound can give the string part a marked sense of realism*. This, combined with vibrato, reverb and a nice warm/tube/tape saturation setting, nobody will be able to tell the difference between your vst and the real thing. About the audio-i tried to keep them as pitchless as possible, thus not limiting their utility. I recorded two sets of all four open strings (c, g, d, a), first close mic'ed, and once from a few feet away, in stereo. Or to say it another way, the sounds are as follows-1. Open c close2. Open g close3. Open d close4. Open a close5. Open c far6. Open g far7. Open d far8. Open a far. It's totally overkill for me to record all the different versions, but i suppose somebody out there might find one more appropriate than another for their purposes. They work pretty effortlessly for violin and viola, but you might have to pitch them down for cello and string bass. I added no processing whatsoever, apart from normalizing each individual sound. Aiff, recorded at 44/16. Nady scm-2090 stereo condenser mic, focusrite saffire pro 24 interface, recorded in logic. Not the quietest room, but these sounds will be so far down in the mix that it won't matter. Free for all to download, no attribution necessary. Http://www. Freesound. Org/people/bruce%20burbank/sounds/220917/. As an example, here's the part i'm working on that motivated me to record these sounds, with the grabby sound in place. See if you can spot the three times i used it. *pro tip- much the same way i'll insert an inhale breath right before horn or oboe phrases.
Autor: Bruce Burbank
00:00
21:21
This is a failed attempt at sampling a rock drumkit on 6 tracks. The channels are as follows:. 0: oh l1: oh r2: kick3: snare4: room l5: room r. I've captured this into ardour 5. 12 using 3 different audio interfaces:. Behringer umc202hd - overheads (dynamic mics)line 6 pod studio ux2 - kick and snare (condenser + dynamic)zoom h2 - room ambience (built-in xy condenser mics). This file is a 6-channel 24-bit flac file encoded using ffmpeg from the raw wav files exported from the original ardour session. There are several issues with this recording however:. 1. The tracks seem to drift, because the individual audio interface clocks were not in sync. The proper way to record multitrack audio is using a single multichannel audio interface - but i didn't have one. 2. There's either x-runs or some usb transfer issues creating small glitches and dropouts in various tracks her and there. Don't know why did this happen, as we've been tracking the real drummer's performance without these issues. Now - fixing these issues manually would be an insane amount of work, but i hope maybe someone has means to either solve them with programming a special tool, or know a tool that could fix these, and make this recorded session ready to be sliced as a drumkit for say - drumgizmo. There's some really good stuff in here - an i was able to cut and mix some really nice drum samples, that i've been using for years, but it's not ready to be fully sliced for maximum flixibility. The instrument was played by myself - it's a drumset by pearl (don't remember the details), owned by the drummer of a band i recorded this with. The band was called small hint - hence the drumkit name. We were recording an ep, and i used some free time left to capture this as well. The ep was never finished and we disbanded soon after. Regarding fixing the issues - here's what i think needs to be done:. 1. I think each hit would have to be automatically phase-aligned on all 6 channels, to correct for the drift. 2. I think it should be possible to automatically detect clicks by simply watching for a sudden change in amplitude between adjacent samples - marking bad areas and then using something like audacity's repair effect to interpolate the waveforms. I think the glitches have much steeper changes in amplitude than even the drum transients, so it should be possible to differentiate between those automatically. If you found a way to fix at least some of these problems - please let me know!. If you've made some "remixes" on freesound - i'd also love to know that. Apart from that - sample what you can out of this and make some sick drum tracks!.
Autor: Unfa
00:00
00:01
Start sound of mac ii iix iicx iici se/30. Create by dissessemble rom code and use wave table algorithm write c program write wav file. C program below:. /* mac_ii. C *//* boot beep mac ii *//* 2558/09/06 */. #include. #define knumber_samples 30000#define kdelay_note 300#define kwave_table_value 0x30013f10#define ksample_rate 22257 // hz. Void preparewavetable( unsigned short *wavetable, unsigned int value );void updatewavetable( unsigned short *wavetable, unsigned short chiso );void savesound( char *filename, short *sounddata, unsigned int numberframes, unsigned int samplerate );. Int main () {. // ---- wave tableunsigned short wavetable[256];// ---- sound data, stereoshort sounddata[knumber_samples << 1];// ---- increment array (16/16 bit fix point integer)int arrayincrement[] = {3 << 16, 4 << 16, (3 << 16) + 0x2f2, 6 << 16};// ---- prepare wave tablepreparewavetable( wavetable, kwave_table_value );. // ---- array phase (16/16 bit fix point integer)unsigned int arrayphase[] = {0, 0, 0, 0}; // set all = 0. Unsigned int samplenumber = 0;while( samplenumber < knumber_samples ) {. // ---- calculate sampleunsigned int channelleft = 0;unsigned int channelright = 0;unsigned char notenumber = 0;while ( notenumber < 4 ) {// ---- see if should update phase for note, only do if play noteif( samplenumber >= notenumber*kdelay_note ) {// ---- up date phase beforearrayphase[notenumber] += arrayincrement[notenumber];// ---- not let out of range [0; 255]if( arrayphase[notenumber] > 0xff0000 ) // 0xff0000 == 255 << 16arrayphase[notenumber] -= 0xff0000; // return to begin of wave table}unsigned short mauvat = wavetable[arrayphase[notenumber] >> 16];. // ---- add sound componentsif( notenumber < 2 ) // ---- first 2 notes left channelchannelleft += mauvat;else // ---- last 2 notes right channelchannelright += mauvat;// ---- next notenotenumber++;}// ---- save left and right samplessounddata[samplenumber << 1] = (channelleft << 9) - 0x8000; // use << 1 for 16 bitsounddata[(samplenumber << 1) + 1] = (channelright << 9) - 0x8000; // use << 1 for 16 bitupdatewavetable( wavetable, samplenumber & 0xff );samplenumber++;}// ---- save wav filesavesound( "mac ii. Wav", sounddata, samplenumber << 1, ksample_rate ); // multiply 2 because stereo. Return 1;}. Void preparewavetable( unsigned short *wavetable, unsigned int value ) {. // ---- prepare wave tableunsigned short index = 0;unsigned short wavetablevalue = value & 0xff;while( index < 64 ) {wavetable[index] = wavetablevalue; // << 8; // for 16 bitindex++;}. Wavetablevalue = (value >> 8) & 0xff;while( index < 128 ) {wavetable[index] = wavetablevalue; // << 8; // for 16 bitindex++;}. Wavetablevalue = (value >> 16) & 0xff;while( index < 192 ) {wavetable[index] = wavetablevalue; // << 8; // for 16 bitindex++;}wavetablevalue = (value >> 24) & 0xff;while( index < 256 ) {wavetable[index] = wavetablevalue; // << 8; // for 16 bitindex++;}}. Void updatewavetable( unsigned short *wavetable, unsigned short index ) {// ---- get value from wave tableunsigned short value = wavetable[index];// ---- calculate new value for wave tableif( index == 255 ) { // careful at last element of wave tablevalue += wavetable[0];value = (value >> 1);wavetable[0] = value;}else {value += wavetable[index+1];value = (value >> 1);wavetable[index+1] = value;}. }. #pragma mark ---- save wavvoid saveheader( file *filename, unsigned int samplerate );void savesounddatainteger16bit( file *filename, short *sounddata, unsigned int numbersamples );. Void savesound( char *filename, short *sounddata, unsigned int numberframes, unsigned int samplerate ) {// ---- open filefile *file = fopen( filename, "wb" );if( file ) {// ---- "riff"fprintf( file, "riff" );// ---- length sound file - 8unsigned int lengthsoundfile = 32;lengthsoundfile += numberframes << 1; // một không có một mẫu vạt cho kênh trái và phải// ---- save file lengthfputc( (lengthsoundfile) & 0xff, file );fputc( (lengthsoundfile >> 8) & 0xff, file );fputc( (lengthsoundfile >> 16) & 0xff, file );fputc( (lengthsoundfile >> 24) & 0xff, file );// ---- "wave"fprintf( file, "wave" );// ---- save headersaveheader( file, samplerate );// ---- save sound datasavesounddatainteger16bit( file, sounddata, numberframes );// ---- close filefclose( file );}else {printf( "problem save file %s\n", filename );}}. Void saveheader( file *file, unsigned int samplerate ) {// ---- name for header "fmt "fprintf( file, "fmt " );// ---- header lengthfputc( 0x10, file ); // length 16 bytefputc( 0x00, file );fputc( 0x00, file );fputc( 0x00, file );// ---- method for encode, 16 bit pcmfputc( 0x01 & 0xff, file );fputc( (0x00 >> 8) & 0xff, file );// ---- number channels (stereo)fputc( 0x02, file );fputc( 0x00, file );// ---- sample rate (hz)fputc( samplerate & 0xff, file );fputc( (samplerate >> 8) & 0xff, file );fputc( (samplerate >> 16) & 0xff, file );fputc( (samplerate >> 24) & 0xff, file );// ---- number bytes/secondunsigned int numberbytessecond = samplerate << 2; // multiply 4 because short (2 byte) * 2 channelfputc( numberbytessecond & 0xff, file );fputc( (numberbytessecond >> 8) & 0xff, file );fputc( (numberbytessecond >> 16) & 0xff, file );fputc( (numberbytessecond >> 24) & 0xff, file );// ---- byte cho một khung (nên = số lượng mẫu vật * số lượng kênh)// ---- number bytes for sampleunsigned short bytesoneframe = 4; // short (2 byte) * 2 channelunsigned char bitsonesample = 16; // shortfputc( bytesoneframe & 0xff, file );fputc( (bytesoneframe >> 8) & 0xff, file );. Fputc( bitsonesample, file );fputc( 0x00, file );}. Void savesounddatainteger16bit( file *file, short *sounddata, unsigned int numbersamples ) {fprintf( file, "data" );unsigned int datalength = numbersamples << 1; // each sample 2 bytefputc( datalength & 0xff, file );fputc( (datalength >> 8) & 0xff, file );fputc( (datalength >> 16) & 0xff, file );fputc( (datalength >> 24) & 0xff, file );unsigned int sampleindex = 0;while( sampleindex < numbersamples ) {short shortdata = sounddata[sampleindex];fputc( shortdata & 0xff, file );fputc( (shortdata >> 8) & 0xff, file );sampleindex++;}}.
Autor: Sieuamthanh
1201 - 1229 z 1 229
/ 25