Re: [tablatures] Audio to Midi to tablature

[ Thread Index | Date Index | More lilynet.net/tablatures Archives ]


On 01/13/2011 11:43 PM, Federico Bruni wrote:
Il giorno gio, 13/01/2011 alle 10.46 +0100, rosea.grammostola ha
scritto:
Hi,


Someone asked me if there is a way to record audio and get tablature
score as output. I know you can convert audio to midi with aubionotes
(didn't test it yet). If that is possible, converting midi to tablature
would be the next step. Is it possible and what is the best method / app
(rumor, musescore, tuxguitar)?

First, I must say that I've never tried that, because I'm not really
interested in it.

Have you heard about Scolily (free software)?
http://codingteam.net/project/scolily

It seems that it can export to LilyPond.

It should be packaged in Ubuntu, not in Debian.
You can compile it with the usual combo (./configure&&  make&&  make
install).
I think that you must record a single Voice tune. I *suppose* that
polyphony is too difficult for any software.

Otherwise, if you manage to get a good .midi file from an audio
recording you can:

* import it using Tuxguitar
* run midi2ly

I'm getting curious... I think I'll try in the weekend.

Cheers,
Federico

Thanks. Scolily don't seems to support JACK and I have no clue about recording without JACK ;)

So I recorded a little song, played by myself via midi keyboard. Opened aubionotes, hooked up aqualung multimedia player to aubionotes ins via JACK. Connected aubionotes midi out to Qtractor midi sequencer. I played the recorded audio via Aqualung via aubionotes in Qtractor which recorded the midi out from aubionotes. Imported that midi track into Tuxguitar and exported it to pdf and lily, see attachement.

\r

Attachment: audiotomidi_test.pdf
Description: Adobe PDF document

\version "2.10.5"
\paper {
   indent = #0
   printallheaders = ##t
   ragged-right = ##f
   ragged-bottom = ##t
}
\layout {
   \context { \Score
      \override MetronomeMark #'padding = #'5
   }
   \context { \Staff
      \override TimeSignature #'style = #'numbered
      \override StringNumber #'transparent = ##t
   }
   \context { \TabStaff
      \override TimeSignature #'style = #'numbered
      \override Stem #'transparent = ##t
      \override Beam #'transparent = ##t
   }
   \context { \StaffGroup
      \consists "Instrument_name_engraver"
   }
}
TrackAMusic = #(define-music-function (parser location inTab) (boolean?)
#{
   \tempo 4=120
   \clef #(if $inTab "tab" "treble_8")
   \key c \major
   \time 4/4
   r2r8\times 2/3 {e'2\1 } r32
   \times 2/3 {r16} d'4.\2 r16\times 2/3 {r64} c'4.\2 r32.\times 2/3 {d'8\2 } 
   \times 2/3 {r2} e'4.\1 r32.e'4\1 
   r8r32e'2.\1 r32d'32.\2 \times 2/3 {r64} 
   \times 2/3 {r2r32} d'4.\2 r32d'8.\2 
   r2r64e'4.\1 r64.\times 2/3 {g'8\1 } 
   r4r32.\times 2/3 {g'1\1 } r32
   r8e'2\1 r16e'64\1 d'4\2 r32.
   r64c'4.\2 \times 2/3 {r16} d'4.\2 r32.e'8\1 
   r8.r32.e'4.\1 r16e'4\1 r16
   r4r16\times 2/3 {r64} d'2\2 r8c'32.\2 
   \times 2/3 {r2} r32e'4.\1 d'4\2 
   \times 2/3 {r4r64} c'2.\2 r16
   \bar "|."
   \pageBreak
#})
TrackALyrics = \lyricmode {
   \set ignoreMelismata = ##t
   
   \unset ignoreMelismata
}
TrackAStaff = \new Staff {
   \removeWithTag #'chords
   \TrackAMusic ##f
}
TrackATabStaff = \new TabStaff {
   \set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -20 )
   \removeWithTag #'chords
   \removeWithTag #'texts
   \TrackAMusic ##t
}
TrackAStaffGroup = \new StaffGroup <<
   \TrackAStaff
   \TrackATabStaff
>>
\score {
   \TrackAStaffGroup
   \header {
      title = "" 
      composer = "" 
      instrument = "" 
   }
}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/