其中sound.c 用于錄音和回放。其中特別需要注意的是:1。目前聲卡似乎不能打開全雙工,所以如果fd = open("/dev/dsp", O_RDWR) ,則無法錄音和回放。只能分別設置RDONLY和WRONLY。即半雙工方式。否則,就是在錄音的時候可以聽見,但是無法回放。分析下來似乎是IIC總線中只分配了一個通道給聲卡,或者是只啟用了一個通道,所以無法錄音和放音同步進行。解決方法就是分別以RDONLY方式打開進行錄音和WRONLY方式打開進行放音。 Sound1.c用于將錄音保存在test.wav文件中,并利用cast test.wav > /dev/sound/dsp回放文件。此處需要注意的是,錄音頻率必須是44100才能正確回放。否則就會出現類似快放的效果。分析應該是cast方式利用了dsp的默認播放頻率44100,所以如果錄音的時候低于這個頻率,這放的時候就會快放。 此外,設置采樣率的時候必須設置成16bit,否則會提示出錯。原因尚不知道,估計是與聲卡有關。
上傳時間: 2013-12-31
上傳用戶:cc1
本書提供用J B u i l d e r開發數據庫應用程序、創建分布式應用程序以及編寫J a v a B e a n 組件的高級資料。它包括下列幾個部分: • 第一部分是“開發數據庫應用程序”,它提供關于使用J b u i l d e r的D a t a E x p r e s s數據 庫體系結構的信息,并解釋原始數據組件和類之間的相互關系,以及怎樣使用它 們來創建你的數據庫應用程序。它還解釋怎樣使用Data Modeler(數據模型器)和 Application Generator(應用程序生成器)創建數據驅動的客戶機/服務器應用程 序。 • 第二部分是“開發分布式應用程序”,它提供關于使用ORB Explorer、用J B u i l d e r 創建多級的分布應用程序、調試分布式應用程序、用J a v a定義C O R B A接口以及 使用s e r v l e t等的信息。 • 第三部分是“創建J a v a B e a n”,它解釋怎樣開發新的J a v a B e a n組件,描述在組件 開發中涉及的任務, 怎樣使用B e a n s E x p r e s s創建新的J a v a B e a n,以及關于屬性、 事件、B e a nIn f o類和其他方面的詳細情況。
上傳時間: 2014-01-03
上傳用戶:wpt
在Quartus下使用D觸發器來加入延遲,每個D觸發器增加半個周期的延遲,稍加更改可以得到不同的延遲。
上傳時間: 2013-12-19
上傳用戶:wys0120
8051 串行接口是一個可編程的全雙工串行通訊接口。它可用作異步通訊方式(UART),與串行傳送信息的外 部設備相連接,或用于通過標準異步通訊協議進行全雙工的8051 多機系統也可以通過同步方式,使用TTL 或CMOS 移位寄存器來擴充I/O 口。
上傳時間: 2013-12-16
上傳用戶:
8051 串行接口是一個可編程的全雙工串行通訊接口。它可用作異步通訊方式(UART),與串行傳送信息的外 部設備相連接,或用于通過標準異步通訊協議進行全雙工的8051 多機系統也可以通過同步方式,使用TTL 或CMOS 移位寄存器來擴充I/O 口。
上傳時間: 2013-12-01
上傳用戶:陽光少年2016
The PCI Local bus concept was developed to break the PC data I/O bottleneck and clearly opens the door to increasing system speed and expansion capabilities. The PCI Local bus moves high speed peripherals from the I/O bus and places them closer to the system’s processor bus, providing faster data transfers between the processor and peripherals. The PCI Local bus also addresses the industry’s need for a bus standard which is not directly dependent on the speed, size and type of system processor. It represents the first microprocessor independent bus offering performance more than adequate for the most demanding applications such as full-motion video.
標簽: bottleneck developed the concept
上傳時間: 2014-12-03
上傳用戶:ikemada
The PCI Local bus concept was developed to break the PC data I/O bottleneck and clearly opens the door to increasing system speed and expansion capabilities. The PCI Local bus moves high speed peripherals from the I/O bus and places them closer to the system’s processor bus, providing faster data transfers between the processor and peripherals. The PCI Local bus also addresses the industry’s need for a bus standard which is not directly dependent on the speed, size and type of system processor. It represents the first microprocessor independent bus offering performance more than adequate for the most demanding applications such as full-motion video. Hardware reference
標簽: bottleneck developed the concept
上傳時間: 2016-03-18
上傳用戶:極客
The PCI Local bus concept was developed to break the PC data I/O bottleneck and clearly opens the door to increasing system speed and expansion capabilities. The PCI Local bus moves high speed peripherals from the I/O bus and places them closer to the system’s processor bus, providing faster data transfers between the processor and peripherals. The PCI Local bus also addresses the industry’s need for a bus standard which is not directly dependent on the speed, size and type of system processor. It represents the first microprocessor independent bus offering performance more than adequate for the most demanding applications such as full-motion video. User Manual
標簽: bottleneck developed the concept
上傳時間: 2014-01-15
上傳用戶:努力努力再努力
實現最優二叉樹的構造;在此基礎上完成哈夫曼編碼器與譯碼器。 假設報文中只會出現如下表所示的字符: 字符 A B C D E F G H I J K L M N 頻度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 57 字符 O P Q R S T U V W X Y Z , . 頻度 63 15 1 48 51 80 23 8 18 1 16 1 6 2 要求完成的系統應具備如下的功能: 1.初始化。從終端(文件)讀入字符集的數據信息,。建立哈夫曼樹。 2.編碼:利用已建好的哈夫曼樹對明文文件進行編碼,并存入目標文件(哈夫曼碼文件)。 3.譯碼:利用已建好的哈夫曼樹對目標文件(哈夫曼碼文件)進行編碼,并存入指定的明文文件。 4.輸出哈夫曼編碼文件:輸出每一個字符的哈夫曼編碼。
上傳時間: 2014-11-23
上傳用戶:shanml
C51實用程序(45個) I/O、定時器、中斷、看門狗、計數器、軟件AD、VB串口、93c06驅動、24c02系列驅動、7219、20045、軟件陷阱、串口中斷、碼值轉換、AVR通訊、IIC、DS1302、DS1820、SPI、1602、12232、12864、T6963、1330、PC鍵、鍵盤輸入法、智能化、飛機游戲、貪吃蛇、多級菜單實例等
上傳時間: 2016-06-17
上傳用戶:hasan2015