| 56 | |
| 57 | == Troubleshooting == |
| 58 | |
| 59 | === Audio Package === |
| 60 | If your receive an error stating that you don't have the audio package in Octave you will need to install the following package. |
| 61 | |
| 62 | {{{ |
| 63 | sudo octave |
| 64 | pkg install -forge audio |
| 65 | }}} |
| 66 | |
| 67 | If this tells you to install liboctave-dev, in a different terminal enter |
| 68 | |
| 69 | {{{ |
| 70 | sudo apt-get install liboctave-dev |
| 71 | }}} |
| 72 | |
| 73 | then retry the above steps for package installation. |
| 74 | |
| 75 | To verify that you have the package installed you can enter |
| 76 | |
| 77 | {{{ |
| 78 | pkg list |
| 79 | }}} |
| 80 | |
| 81 | and should see the following |
| 82 | |
| 83 | [[Image(pkglist.png, 650px)]] |
| 84 | |
| 85 | |
| 86 | The audio package uses external software to play and record audio. The following should be sufficient. |
| 87 | |
| 88 | {{{ |
| 89 | sudo apt-get install sox |
| 90 | }}} |
| 91 | |
| 92 | === Signal Package === |
| 93 | If you receive the following error |
| 94 | |
| 95 | [[Image(fir1_err.png, 650px)]] |
| 96 | |
| 97 | you will need to install the signal package. |
| 98 | |
| 99 | To install the signal package you will need to use the following commands |
| 100 | {{{ |
| 101 | sudo octave |
| 102 | pkg install -forge signal |
| 103 | }}} |
| 104 | |
| 105 | If you receive the following error: |
| 106 | [[Image(signal_err.png, 650px)]] |
| 107 | you will need to install the control package with the command |
| 108 | {{{ |
| 109 | pkg install -forge control |
| 110 | }}} |
| 111 | Then redo the package installation for the signal package. |