Debian+MIDI

10 bejegyzés megtekintése - 1-10 / 11
  • Szerző
    Bejegyzés
  • #2065249
    pointux
    Felhasználó

      „A hangfontokkal is gondban vagyok, mert én majdnem biztos vagyok benne, hogy van MIDI chip a kártyámon (SB128), mert még a régi SB16 is tudott MIDI-t játszani és ott szó sem volt hangfontokról. Tehát végül kell-e hangfont vagy nem, és egyáltalán, össze tudnánk szedni, hogy mi minden kell a midi lejátszáshoz?”
      Egy sb16-on (normál körülmények között) nincs midi szintetizátor csak midi kompatibilitás – bemenet – (meg fm chip), persze ettõl még képes midit lejátszani, csak az adsr görgék adatait nem a kártya, hanem a merevlemez tárolja és nem a kártyán lévõ chip állítja elõ a nyers hanghullámot, hanem a processzor. (Pl. az awe32 egy sb16, csak egy ilyen szintetizátorral; az sb128-on nem tudom, hogy van-e)
      Elvileg alsa támogatással azonnal mennie kéne. (Esetleg nincs jól beállítva a program elérési útvonala aka.: az eszköz nem az alapértelmezett helyen van – oka több lehet.)
      Amennyiben mégsem lenne szintetizátor akkor ott van pl a timidity(.sf.net).

      #2065250
      retaliator44
      Felhasználó

        Az alsa-val az a gond, hogy az alsa-modules csomagok csak 2.4-es kernelhez vannak, de sok programnak 2.6-os kell…

        #2065251
        ELaci
        Felhasználó

          Próbáld ezt: modprobe snd-seq-midi  ami létrehozza a /dev/snd/seq -t

          #2065252
          retaliator44
          Felhasználó

            Nem ír ki semmit, viszont nem is hallok semmit, de hibaüzenet sincs :). Játssza, de nincs hangja.

            #2065253
            ELaci
            Felhasználó

              Az alsamixer  tolattyúi hogy állnak?

              #2065254
              retaliator44
              Felhasználó

                Pont úgy ahogy a kmix is mutatja. A master és a pcm0 felhúzva, a többi elnémítva. De ha bekapcsolom õket, akkor sem jobb.

                #2065255
                ELaci
                Felhasználó
                  retaliator44 wrote:
                  Pont úgy ahogy a kmix is mutatja. A master és a pcm0 felhúzva, a többi elnémítva. De ha bekapcsolom õket, akkor sem jobb.

                  Akkor egyelõre passz.

                  #2065256
                  ELaci
                  Felhasználó
                    #2065257
                    tothaa
                    Felhasználó
                      vizsla wrote:
                      Amennyiben mégsem lenne szintetizátor akkor ott van pl a timidity(.sf.net).

                      $ timidity sorryseemstobe.mid
                      /etc/timidity/freepats.cfg: No such file or directory
                      timidity: Can’t read any configuration file.
                      Please check /etc/timidity/timidity.cfg

                      áh, frípacs nincs telepítve grrr…. – telepítem…kész…
                      Mostmár lejátsza nekem a timidity(retaliator44, neked is lejátsza?), de valami furcsa hangzással és némi hibaüzenet is van:

                      Code:
                      $ timidity sorryseemstobe.mid
                      Requested buffer size 32768, fragment size 8192
                      ALSA pcm ‘default’ set buffer size 32768, period size 2728 bytes
                      Playing sorryseemstobe.mid
                      MIDI file: sorryseemstobe.mid
                      sorryseemstobe.mid: No such file or directory
                      andrew@edvac4:~$ cd Desktop/
                      andrew@edvac4:~/Desktop$ timidity sorryseemstobe.mid
                      Requested buffer size 32768, fragment size 8192
                      ALSA pcm ‘default’ set buffer size 32768, period size 2728 bytes
                      Playing sorryseemstobe.mid
                      MIDI file: sorryseemstobe.mid
                      Format: 1  Tracks: 12  Divisions: 192
                      Track name: piano
                      Track name: BASS
                      Track name: BO BASS
                      Track name: STRINGS
                      Track name: drums
                      Track name: PAN FLUTE
                      Track name: GUITAIR
                      Track name: slo strings
                      Track name: SORRY SEEMS TO BE
                      Track name: THE HARDEST WORD
                      Track name: ELTON JOHN
                      Drum set 127 is undefined
                      No instrument mapped to tone bank 0, program 41 – this instrument will not be heard
                      No instrument mapped to tone bank 0, program 49 – this instrument will not be heard
                      No instrument mapped to drum set 0, program 35 – this instrument will not be heard
                      No instrument mapped to drum set 0, program 41 – this instrument will not be heard
                      No instrument mapped to drum set 0, program 45 – this instrument will not be heard
                      No instrument mapped to drum set 0, program 48 – this instrument will not be heard
                      Playing time: ~234 seconds
                      Notes cut: 0
                      Notes lost totally: 0

                      Vagy ez:

                      Code:
                      $ timidity modern.mid
                      Requested buffer size 32768, fragment size 8192
                      ALSA pcm ‘default’ set buffer size 32768, period size 2728 bytes
                      Playing modern.mid
                      MIDI file: modern.mid
                      Format: 1  Tracks: 8  Divisions: 120
                      Drum set 1 is undefined
                      No instrument mapped to tone bank 0, program 49 – this instrument will not be heard
                      No instrument mapped to drum set 0, program 35 – this instrument will not be heard
                      No instrument mapped to drum set 0, program 43 – this instrument will not be heard
                      No instrument mapped to drum set 0, program 45 – this instrument will not be heard
                      No instrument mapped to drum set 0, program 47 – this instrument will not be heard
                      No instrument mapped to drum set 0, program 48 – this instrument will not be heard
                      No instrument mapped to drum set 0, program 50 – this instrument will not be heard
                      ((c) Oldal Gyula)Playing time: ~17 seconds
                      Notes cut: 0
                      Notes lost totally: 0

                      (alsa-project oldalán van még egy csomó más file is az alsa-driver-en kívül, az mire való? alsa-firmware, alsa-lib, alsa-oss, alsa-plugins, alsa-tools, alsa-utils;

                      Nekem akkor kell-e alsa? De mégsincs midi – pl.: kmidi-vel -, pedig a kártyám -C-Media PCI- a támogatottak között van:
                      # ./configure
                      [..]
                      checking for built-in ALSA… yes
                      configure: error: You have built-in ALSA in your kernel.
                      # |

                      )

                      #2065258
                      nastjakam
                      Felhasználó
                      10 bejegyzés megtekintése - 1-10 / 11
                      • Be kell jelentkezni a hozzászóláshoz.