iOS音頻編碼

常見的音頻文件格式有.wav、.mp3蹭越、.m4a等??github代碼

一、WAV封裝

pcm裸流數(shù)據(jù)嵌入WAV頭就形成.wav數(shù)據(jù)

class?WaveEncoder: NSObject {

? ? static func writeWavFileHeader(totalAudioLength: Int64, totalDataLength: Int64, sampleRate: Int64, channels: UInt8, byteRate: Int64) -> Data? {

? ? ? ? var?header = [UInt8](repeating: 0, count: 44)

? ? ? ? header[0] = ("R"?as?Character).asciiValue!

? ? ? ? header[1] = ("I"?as?Character).asciiValue!

? ? ? ? header[2] = ("F"?as?Character).asciiValue!

? ? ? ? header[3] = ("F"?as?Character).asciiValue!

? ? ? ? // 4byte,從下個(gè)地址到文件結(jié)尾的總字節(jié)數(shù)

? ? ? ? header[4] = UInt8(totalDataLength & 0xFF) // file-size (equals file-size - 8)

? ? ? ? header[5] = UInt8((totalDataLength >> 8) & 0xFF)

? ? ? ? header[6] = UInt8((totalDataLength >> 16) & 0xFF)

? ? ? ? header[7] = UInt8((totalDataLength >> 24) & 0xFF)

? ? ? ? // 4byte,wav文件標(biāo)志:WAVE

? ? ? ? header[8] = ("W"?as?Character).asciiValue! // Mark it as type "WAVE"

? ? ? ? header[9] = ("A"?as?Character).asciiValue!

? ? ? ? header[10] = ("V"?as?Character).asciiValue!

? ? ? ? header[11] = ("E"?as?Character).asciiValue!

? ? ? ? // 4byte,波形文件標(biāo)志:FMT(最后一位空格符)

? ? ? ? header[12] = ("f" as Character).asciiValue! // Mark the format section 'fmt ' chunk

? ? ? ? header[13] = ("m"?as?Character).asciiValue!

? ? ? ? header[14] = ("t"?as?Character).asciiValue!

? ? ? ? header[15] = (" "?as?Character).asciiValue!

? ? ? ? // 4byte,音頻屬性

? ? ? ? header[16] = 16 // 4 bytes: size of 'fmt ' chunk, Length of format data.? Always 16

? ? ? ? header[17] =0

? ? ? ? header[18] =0

? ? ? ? header[19] =0

? ? ? ? // 2byte,格式種類(1-線性pcm-WAVE_FORMAT_PCM,WAVEFORMAT_ADPCM)

? ? ? ? header[20] = 1 // format = 1 ,Wave type PCM

? ? ? ? header[21] = 0

? ? ? ? // 2byte,通道數(shù)

? ? ? ? header[22] = UInt8(channels) // channels

? ? ? ? header[23] = 0

? ? ? ? // 4byte,采樣率

? ? ? ? header[24] = UInt8(sampleRate & 0xFF)

? ? ? ? header[25] = UInt8((sampleRate >> 8) &0xFF)

? ? ? ? header[26] = UInt8((sampleRate >> 16) &0xFF)

? ? ? ? header[27] = UInt8((sampleRate >> 24) &0xFF)

? ? ? ? // 4byte 傳輸速率,Byte率=采樣頻率*音頻通道數(shù)*每次采樣得到的樣本位數(shù)/8教届,00005622H响鹃,也就是22050Byte/s=11025*1*16/8驾霜。

? ? ? ? header[28] = UInt8(byteRate &0xFF)

? ? ? ? header[29] = UInt8((byteRate >> 8) &0xFF)

? ? ? ? header[30] = UInt8((byteRate >> 16) &0xFF)

? ? ? ? header[31] = UInt8((byteRate >> 24) &0xFF)

? ? ? ? // 2byte? 一個(gè)采樣多聲道數(shù)據(jù)塊大小,塊對(duì)齊=通道數(shù)*每次采樣得到的樣本位數(shù)/8,0002H买置,也就是2=1*16/8

? ? ? ? header[32] = UInt8(channels *16 / 8)

? ? ? ? header[33] = 0

? ? ? ? // 2byte,采樣精度-PCM位寬

? ? ? ? header[34] =16// bits per sample

? ? ? ? header[35] = 0

? ? ? ? // 4byte,數(shù)據(jù)標(biāo)志:data

? ? ? ? header[36] = ("d"?as?Character).asciiValue!// "data" marker

? ? ? ? header[37] = ("a"?as?Character).asciiValue!

? ? ? ? header[38] = ("t"?as?Character).asciiValue!

? ? ? ? header[39] = ("a"?as?Character).asciiValue!

? ? ? ? // 4byte,從下個(gè)地址到文件結(jié)尾的總字節(jié)數(shù)粪糙,即除了wav header以外的pcm data length(純音頻數(shù)據(jù))

? ? ? ? header[40] = UInt8(totalAudioLength & 0xFF)// data-size (equals file-size - 44).

? ? ? ? header[41] = UInt8((totalAudioLength >> 8) & 0xFF)

? ? ? ? header[42] = UInt8((totalAudioLength >> 16) & 0xFF)

? ? ? ? header[43] = UInt8((totalAudioLength >>24) & 0xFF)

? ? ? ? returnData(bytes: &header, count:44)

? ? }

}

二、Lame MP3封裝

pcm裸流數(shù)據(jù)經(jīng)過lame mp3編碼器壓縮編碼生成.mp3數(shù)據(jù)

classMp3Encoder: NSObject {

? ? let pcmFile: FileHandle

? ? let mp3File: FileHandle

? ? let?lameClient: lame_t

? ? varpage:Int=0

? ?init?(pcmFilePath: String, mp3FilePath: String, sampleRate: Int32, channels: Int32, bitRate: Int32) {

? ? ? ? if?!FileManager.default.fileExists(atPath: mp3FilePath) {

? ? ? ? ? ? FileManager.default.createFile(atPath: mp3FilePath, contents: nil, attributes: nil)

? ? ? ? }

? ? ? ? guard?let?pcmFileHandle = FileHandle(forReadingAtPath: pcmFilePath),?let?mp3FileHandle = FileHandle(forWritingAtPath: mp3FilePath)?else?{

? ? ? ? ? ? return?nil

? ? ? ? }

? ? ? ? pcmFile = pcmFileHandle

? ? ? ? mp3File = mp3FileHandle

? ? ? ? lameClient = lame_init()

? ? ? ? lame_set_in_samplerate(lameClient, sampleRate)

? ? ? ? lame_set_out_samplerate(lameClient, sampleRate)

? ? ? ? lame_set_num_channels(lameClient, channels)

? ? ? ? lame_set_brate(lameClient, bitRate /1000)

? ? ? ? lame_init_params(lameClient)

? ? }

? ? func?encode() {

? ? ? ? let?bufferSize = 1024*256

? ? ? ? page = 0

? ? ? ? readData(bufferSize: bufferSize)

? ? }

? ? func readData(bufferSize: Int) {

? ? ? ? let?data = pcmFile.readData(ofLength: bufferSize)

? ? ? ? if?data.count > 0 {

? ? ? ? ? ? var?leftBuffer = [Int16](repeatElement(0, count: bufferSize /2))

? ? ? ? ? ? var?rightBuffer = [Int16](repeatElement(0, count: bufferSize /2))

? ? ? ? ? ? var?mp3Buffer = [UInt8](repeatElement(0, count: bufferSize))

? ? ? ? ? ? let?bytes = [UInt8](data)

? ? ? ? ? ? for?i?instride(from: 0, through: bytes.count-2,by: 2) {

? ? ? ? ? ? ? ? if?i / 2 % 2 == 0 {

? ? ? ? ? ? ? ? ? ? leftBuffer[i / 2] = Int16(bytes[i]) |Int16(bytes[i +1]) << 8

? ? ? ? ? ? ? ? }?else?{

? ? ? ? ? ? ? ? ? ? rightBuffer[i / 2] = Int16(bytes[i]) | Int16(bytes[i +1]) <<8

? ? ? ? ? ? ? ? }

? ? ? ? ? ? }

? ? ? ? ? ? lame_encode_buffer(lameClient, &leftBuffer, &rightBuffer, Int32(bytes.count) / 2, &mp3Buffer,Int32(bytes.count))

? ? ? ? ? ? mp3File.write(Data(mp3Buffer))

? ? ? ? ? ? leftBuffer.removeAll()

? ? ? ? ? ? rightBuffer.removeAll()

? ? ? ? ? ? mp3Buffer.removeAll()

? ? ? ? ? ? page+=1

? ? ? ? }

? ? ? ? if?data.count < bufferSize {

? ? ? ? ? ? return

? ? ? ? }

? ? ? ? pcmFile.seek(toFileOffset: UInt64(bufferSize *page))

? ? ? ? readData(bufferSize: bufferSize)

? ? }


? ? deinit{

? ? ? ? if#available(iOS13.0, *) {

? ? ? ? ? ? try?pcmFile.close()

? ? ? ? ? ? try?mp3File.close()

? ? ? ? }

? ? ? ? lame_close(lameClient)

? ? }

}

三忿项、FDK-AAC封裝

pcm裸流數(shù)據(jù)經(jīng)過fdk-aac編碼器壓縮編碼生成.m4a數(shù)據(jù)

/// encoder moudle

struct AACEncModule: OptionSet {

? ? let rawValue: UInt8

? ? init(rawValue:UInt8) {

? ? ? ? self.rawValue= rawValue

? ? }

? ? /// -DEFAULT:? full enc moudles

? ? static?let?`default`: AACEncModule= .init(rawValue:0)

? ? /// - AAC: Allocate AAC Core Encoder module.

? ? static?let?aac: AACEncModule = .init(rawValue:1<<0)

? ? /// - SBR: Allocate Spectral Band Replication module.

? ? static?let?sbr: AACEncModule= .init(rawValue:1<<1)

? ? /// - PS: Allocate Parametric Stereo module.

? ? static?let?ps: AACEncModule= .init(rawValue:1<<2)

? ? /// - MD: Allocate Meta Data module within AAC encoder.

? ? static?let?md: AACEncModule= .init(rawValue:1<<4)

}

struct AACEncChannel: OptionSet {

? ? let rawValue: UInt

? ? init(rawValue:UInt) {

? ? ? ? self.rawValue = rawValue

? ? }

? ? static?let?`default`: AACEncChannel = .init(rawValue:1)

? ? static func minChannel(rawValue: UInt) -> AACEncChannel {

? ? ? ? return?AACEncChannel(rawValue: rawValue << 8)

? ? }

? ? static func maxChannel(rawValue: UInt) -> AACEncChannel {

? ? ? ? return?AACEncChannel(rawValue: rawValue)

? ? }

}

/// VBR moudle

struct AACEncBitrateMode: OptionSet {

? ? let rawValue: UInt8

? ? init(rawValue:UInt8) {

? ? ? ? self.rawValue= rawValue

? ? }

? ? /// -DEFAULT:? Constant bitrate, use bitrate according

? ? static let `default`: AACEncBitrateMode = .init(rawValue: 0)

? ? /// - veryLow: Variable bitrate mode, \ref vbrmode "very low bitrate".

? ? static let veryLow: AACEncBitrateMode = .init(rawValue: 1)

? ? /// - low: Variable bitrate mode, \ref vbrmode "low bitrate".

? ? static let low: AACEncBitrateMode = .init(rawValue: 2)

? ? /// - medium:? Variable bitrate mode, \ref vbrmode "medium bitrate".

? ? static let medium: AACEncBitrateMode = .init(rawValue: 3)

? ? /// - high:? Variable bitrate mode, \ref vbrmode "high bitrate".

? ? static let high: AACEncBitrateMode = .init(rawValue: 4)

? ? /// - veryHigh:? Variable bitrate mode, \ref vbrmode "very high bitrate".

? ? static let veryHigh: AACEncBitrateMode = .init(rawValue: 5)

}

classFDKAACEncoder: NSObject {

? ? private let pcmFile: FileHandle

? ? private let aacFile: FileHandle

? ? private?var?aacEncoder: HANDLE_AACENCODER?

? ? private?var?page:UInt32=0

? ? private var channels: AACEncChannel = .default

? ? private?var?frameSize: UINT =0

? ? private?lazy?var?encInfo: AACENC_InfoStruct = .init()

? ? init?(pcmFilePath:String,aacFilePath:String,sampleRate:Int32,channels:AACEncChannel= .default,bitRate:Int32,encMoudle:AACEncModule= .default,aot: AUDIO_OBJECT_TYPE = AOT_AAC_LC,transtype: TRANSPORT_TYPE = TT_MP4_ADTS,isEldSbrMode:Bool=false,vbr:AACEncBitrateMode= .default,afterburner:Int=0) {

? ? ? ? if?!FileManager.default.fileExists(atPath: aacFilePath) {

? ? ? ? ? ? FileManager.default.createFile(atPath: aacFilePath, contents: nil, attributes: nil)

? ? ? ? }

? ? ? ? guard?let?pcmFileHandle = FileHandle(forReadingAtPath: pcmFilePath),?let?aacFileHandle = FileHandle(forWritingAtPath: aacFilePath)?else?{

? ? ? ? ? ? returnnil

? ? ? ? }

? ? ? ? pcmFile = pcmFileHandle

? ? ? ? aacFile = aacFileHandle

? ? ? ? self.channels = channels

? ? ? ? super.init()

? ? ? ? i faacEncOpen(&aacEncoder, UINT(encMoudle.rawValue), UINT(channels.rawValue)) != AACENC_OK {

? ? ? ? ? ? return?nil

? ? ? ? }

? ? ? ? if?aacEncoder_SetParam(aacEncoder, AACENC_AOT, UINT(aot.rawValue)) != AACENC_OK {

? ? ? ? ? ? return?nil

? ? ? ? }

? ? ? ? if?isEldSbrMode, aot == AOT_ER_AAC_ELD {

? ? ? ? ? ? if?aacEncoder_SetParam(aacEncoder, AACENC_SBR_MODE,1)? !=? AACENC_OK {

? ? ? ? ? ? ? ? return?nil

? ? ? ? ? ? }

? ? ? ? }

? ? ? ? if?aacEncoder_SetParam(aacEncoder, AACENC_SAMPLERATE, UINT(sampleRate)) != AACENC_OK {

? ? ? ? ? ? return?nil

? ? ? ? }

? ? ? ? if?aacEncoder_SetParam(aacEncoder,? AACENC_CHANNELMODE, UINT(getChannelMode(nChannels: channels.rawValue).rawValue))? != AACENC_OK {

? ? ? ? ? ? return?nil

? ? ? ? }

? ? ? ? if?aacEncoder_SetParam(aacEncoder,? AACENC_CHANNELORDER, 1)? != AACENC_OK {

? ? ? ? ? ? return?nil

? ? ? ? }

? ? ? ? if?vbr != .default {

? ? ? ? ? ? if?aacEncoder_SetParam(aacEncoder, AACENC_BITRATEMODE, UINT(vbr.rawValue)) != AACENC_OK {

? ? ? ? ? ? ? ? return?nil

? ? ? ? ? ? }

? ? ? ? }?else?{

? ? ? ? ? ? if?aacEncoder_SetParam(aacEncoder, AACENC_BITRATE, UINT(bitRate)) != AACENC_OK {

? ? ? ? ? ? ? ? return?nil

? ? ? ? ? ? }

? ? ? ? }

? ? ? ? if?aacEncoder_SetParam(aacEncoder, AACENC_TRANSMUX, UINT(transtype.rawValue)) != AACENC_OK {

? ? ? ? ? ? return?nil

? ? ? ? }

? ? ? ? if?aacEncoder_SetParam(aacEncoder, AACENC_AFTERBURNER, UINT(afterburner)) != AACENC_OK {

? ? ? ? ? ? return?nil

? ? ? ? }

? ? ? ? if?aacEncEncode(aacEncoder,nil,nil,nil,nil) != AACENC_OK {

? ? ? ? ? ? return?nil

? ? ? ? }

? ? ? ? if?aacEncInfo(aacEncoder, &encInfo) != AACENC_OK {

? ? ? ? ? ? return?nil

? ? ? ? }

? ? ? ? frameSize = encInfo.frameLength

? ? }

? ? func?getChannelMode(nChannels: UInt) -> CHANNEL_MODE {

? ? ? ? var?chMode: CHANNEL_MODE = MODE_INVALID

? ? ? ? switch?nChannels {

? ? ? ? case1:

? ? ? ? ? ? chMode = MODE_1

? ? ? ? case2:

? ? ? ? ? ? chMode = MODE_2

? ? ? ? case3:

? ? ? ? ? ? chMode = MODE_1_2

? ? ? ? case4:

? ? ? ? ? ? chMode = MODE_1_2_1

? ? ? ? case5:

? ? ? ? ? ? chMode = MODE_1_2_2

? ? ? ? case6:

? ? ? ? ? ? chMode = MODE_1_2_2_1

? ? ? ? case7:

? ? ? ? ? ? chMode = MODE_6_1

? ? ? ? case8:

? ? ? ? ? ? chMode = MODE_7_1_BACK

? ? ? ? default:

? ? ? ? ? ? chMode = MODE_INVALID

? ? ? ? }

? ? ? ? return?chMode

? ? }

? ? func?encode() {

? ? ? ? let?input_size = UInt32(channels.rawValue) * 2 * frameSize

? ? ? ? page=0

? ? ? ? while?true?{

? ? ? ? ? ? page += 1

? ? ? ? ? ? var?read =0

? ? ? ? ? ? let?data = pcmFile.readData(ofLength:Int(input_size))

? ? ? ? ? ? let?bytes = [UInt8](data)

? ? ? ? ? ? if?bytes.count <=0 {

? ? ? ? ? ? ? ? return

? ? ? ? ? ? }

? ? ? ? ? ? read = bytes.count

? ? ? ? ? ? let convert_buf: UnsafeMutableRawPointer? = UnsafeMutableRawPointer.allocate(byteCount: read, alignment: MemoryLayout<Int16>.alignment)

? ? ? ? ? ? var?in_buf = AACENC_BufDesc()

? ? ? ? ? ? var?out_buf = AACENC_BufDesc()

? ? ? ? ? ? var?in_args = AACENC_InArgs()

? ? ? ? ? ? var?out_args = AACENC_OutArgs()

? ? ? ? ? ? let?in_identifier =Int(IN_AUDIO_DATA.rawValue)

? ? ? ? ? ? var?in_size =0, in_elem_size = 0

? ? ? ? ? ? let?out_identifier = Int(OUT_BITSTREAM_DATA.rawValue)

? ? ? ? ? ? var?out_size =0, out_elem_size =0

? ? ? ? ? ? let?outbufSize =20480

? ? ? ? ? ? let outbuf: UnsafeMutableRawPointer? = UnsafeMutableRawPointer.allocate(byteCount: outbufSize, alignment: MemoryLayout<UInt8>.alignment)

? ? ? ? ? ? var?err: AACENC_ERROR?

? ? ? ? ? ? for?i?in?0..< read /2{

? ? ? ? ? ? ? ? convert_buf?.advanced(by:MemoryLayout.stride* i).storeBytes(of: INT_PCM(bytes[2* i]) | INT_PCM(bytes[2* i +1]) << 8, as: INT_PCM.self)

? ? ? ? ? ? }

? ? ? ? ? ? in_size = bytes.count

? ? ? ? ? ? in_elem_size =2

? ? ? ? ? ? in_args.numInSamples = INT(read <=0? -1: read /2)

? ? ? ? ? ? in_buf.numBufs =1

? ? ? ? ? ? let inBufPointer = UnsafeMutablePointer<UnsafeMutableRawPointer?>.allocate(capacity: 1)

? ? ? ? ? ? inBufPointer.pointee= convert_buf

? ? ? ? ? ? in_buf.bufs = inBufPointer

? ? ? ? ? ? let?inBufferIdsPointer: UnsafeMutablePointer = UnsafeMutablePointer.allocate(capacity:1)

? ? ? ? ? ? inBufferIdsPointer.pointee= INT(in_identifier)

? ? ? ? ? ? in_buf.bufferIdentifiers = inBufferIdsPointer

? ? ? ? ? ? let?inBufferSizesPointer: UnsafeMutablePointer = UnsafeMutablePointer.allocate(capacity:1)

? ? ? ? ? ? inBufferSizesPointer.pointee= INT(in_size)

? ? ? ? ? ? in_buf.bufSizes = inBufferSizesPointer

? ? ? ? ? ? let?inBufferElSizesPointer: UnsafeMutablePointer = UnsafeMutablePointer.allocate(capacity:1)

? ? ? ? ? ? inBufferElSizesPointer.pointee= INT(in_elem_size)

? ? ? ? ? ? in_buf.bufElSizes = inBufferElSizesPointer

? ? ? ? ? ? out_size = outbufSize * MemoryLayout<UInt8>.size

? ? ? ? ? ? out_elem_size = 1

? ? ? ? ? ? out_buf.numBufs = 1

? ? ? ? ? ? let outBufPointer = UnsafeMutablePointer<UnsafeMutableRawPointer?>.allocate(capacity: 1)

? ? ? ? ? ? outBufPointer.pointee= outbuf

? ? ? ? ? ? out_buf.bufs = outBufPointer

? ? ? ? ? ? let?outBufferIdsPointer: UnsafeMutablePointer = UnsafeMutablePointer.allocate(capacity:1)

? ? ? ? ? ? outBufferIdsPointer.pointee= INT(out_identifier)

? ? ? ? ? ? out_buf.bufferIdentifiers = outBufferIdsPointer

? ? ? ? ? ? let?outBufferSizesPointer:UnsafeMutablePointer =UnsafeMutablePointer.allocate(capacity:1)

? ? ? ? ? ? outBufferSizesPointer.pointee = INT(out_size)

? ? ? ? ? ? out_buf.bufSizes = outBufferSizesPointer

? ? ? ? ? ? let?outBufferElSizesPointer:UnsafeMutablePointer = UnsafeMutablePointer.allocate(capacity:1)

? ? ? ? ? ? outBufferElSizesPointer.pointee= INT(out_elem_size)

? ? ? ? ? ? out_buf.bufElSizes = outBufferElSizesPointer

? ? ? ? ? ? err = aacEncEncode(aacEncoder, &in_buf, &out_buf, &in_args, &out_args)

? ? ? ? ? ? convert_buf?.deallocate()

? ? ? ? ? ? inBufPointer.deallocate()

? ? ? ? ? ? inBufferIdsPointer.deallocate()

? ? ? ? ? ? inBufferElSizesPointer.deallocate()

? ? ? ? ? ? func?freeOutBufs() {

? ? ? ? ? ? ? ? outbuf?.deallocate()

? ? ? ? ? ? ? ? outBufPointer.deallocate()

? ? ? ? ? ? ? ? outBufferIdsPointer.deallocate()

? ? ? ? ? ? ? ? outBufferElSizesPointer.deallocate()

? ? ? ? ? ? }

? ? ? ? ? ? if?err != AACENC_OK {

? ? ? ? ? ? ? ? if?err == AACENC_ENCODE_EOF {

? ? ? ? ? ? ? ? ? ? break

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? return

? ? ? ? ? ? }

? ? ? ? ? ? if?out_args.numOutBytes ==0{

? ? ? ? ? ? ? ? freeOutBufs()

? ? ? ? ? ? ? ? pcmFile.seek(toFileOffset:UInt64(input_size *page))

? ? ? ? ? ? ? ? continue

? ? ? ? ? ? }

? ? ? ? ? ? var?aacBuffer: [UInt8] = []

? ? ? ? ? ? for?i?in?0..< out_args.numOutBytes {

? ? ? ? ? ? ? ? if?let?byte = outbuf?.advanced(by:MemoryLayout.stride*Int(i)).load(as:UInt8.self) {

? ? ? ? ? ? ? ? ? ? aacBuffer.append(byte)

? ? ? ? ? ? ? ? }

? ? ? ? ? ? }

? ? ? ? ? ? aacFile.write(Data(aacBuffer))

? ? ? ? ? ? freeOutBufs()

? ? ? ? ? ? pcmFile.seek(toFileOffset:UInt64(input_size *page))

? ? ? ? }

? ? }

? ? deinit{

? ? ? ? if?aacEncoder !=?nil?{

? ? ? ? ? ? aacEncClose(&aacEncoder)

? ? ? ? }

? ? }

}

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末蓉冈,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子轩触,更是在濱河造成了極大的恐慌寞酿,老刑警劉巖,帶你破解...
    沈念sama閱讀 219,039評(píng)論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件脱柱,死亡現(xiàn)場(chǎng)離奇詭異伐弹,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)榨为,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,426評(píng)論 3 395
  • 文/潘曉璐 我一進(jìn)店門惨好,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人随闺,你說我怎么就攤上這事日川。” “怎么了矩乐?”我有些...
    開封第一講書人閱讀 165,417評(píng)論 0 356
  • 文/不壞的土叔 我叫張陵龄句,是天一觀的道長(zhǎng)。 經(jīng)常有香客問我绰精,道長(zhǎng)撒璧,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,868評(píng)論 1 295
  • 正文 為了忘掉前任笨使,我火速辦了婚禮卿樱,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘硫椰。我一直安慰自己繁调,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,892評(píng)論 6 392
  • 文/花漫 我一把揭開白布靶草。 她就那樣靜靜地躺著蹄胰,像睡著了一般。 火紅的嫁衣襯著肌膚如雪奕翔。 梳的紋絲不亂的頭發(fā)上裕寨,一...
    開封第一講書人閱讀 51,692評(píng)論 1 305
  • 那天,我揣著相機(jī)與錄音,去河邊找鬼宾袜。 笑死捻艳,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的庆猫。 我是一名探鬼主播认轨,決...
    沈念sama閱讀 40,416評(píng)論 3 419
  • 文/蒼蘭香墨 我猛地睜開眼,長(zhǎng)吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼月培!你這毒婦竟也來了嘁字?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,326評(píng)論 0 276
  • 序言:老撾萬榮一對(duì)情侶失蹤杉畜,失蹤者是張志新(化名)和其女友劉穎纪蜒,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體寻行,經(jīng)...
    沈念sama閱讀 45,782評(píng)論 1 316
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡霍掺,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,957評(píng)論 3 337
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了拌蜘。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片杆烁。...
    茶點(diǎn)故事閱讀 40,102評(píng)論 1 350
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖简卧,靈堂內(nèi)的尸體忽然破棺而出兔魂,到底是詐尸還是另有隱情,我是刑警寧澤举娩,帶...
    沈念sama閱讀 35,790評(píng)論 5 346
  • 正文 年R本政府宣布析校,位于F島的核電站,受9級(jí)特大地震影響铜涉,放射性物質(zhì)發(fā)生泄漏智玻。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,442評(píng)論 3 331
  • 文/蒙蒙 一芙代、第九天 我趴在偏房一處隱蔽的房頂上張望吊奢。 院中可真熱鬧,春花似錦纹烹、人聲如沸页滚。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,996評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽裹驰。三九已至,卻和暖如春片挂,著一層夾襖步出監(jiān)牢的瞬間幻林,已是汗流浹背贞盯。 一陣腳步聲響...
    開封第一講書人閱讀 33,113評(píng)論 1 272
  • 我被黑心中介騙來泰國(guó)打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留沪饺,地道東北人邻悬。 一個(gè)月前我還...
    沈念sama閱讀 48,332評(píng)論 3 373
  • 正文 我出身青樓,卻偏偏與公主長(zhǎng)得像随闽,于是被迫代替她去往敵國(guó)和親。 傳聞我的和親對(duì)象是個(gè)殘疾皇子肝谭,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,044評(píng)論 2 355

推薦閱讀更多精彩內(nèi)容