Skip to content

Classical Guitar Tablature from classtab.org represented in SLEEP files for HyperDrive

License

Notifications You must be signed in to change notification settings

hyperdrives/classtab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

classtab

Classical Guitar Tablature HyperDrive Archive from classtab.org

www.classtab.org

https://hashbase.io/hyperdrives/classtab

Installation

$ npm install @hyperdrives/classtab

or (Github):

$ npm install hyperdrives/classtab

Usage

You can read the archive directly by simply requiring and initializing the hyperdrive with the correct public key.

const storage = require.resolve('@hyperdrives/classtab')
const classtab = require('hyperdrive')(storage, key, opts)

or using a convenient wrapper:

const classtab = require('@hyperdrives/classtab')(key, opts)

You can also leverage random-access-http to read the archive from the public Github repository.

'use strict'

const hyperdrive = require('hyperdrive')
const http = require('random-access-http')

const prefix = 'https://github.com/hyperdrives/classtab/raw/master/'
const key = '161fb2014dc31a0ba47af677307d6103843e2ad7139f7c8fcea19b1bbf35148f'
const drive = hyperdrive((filename) => http(prefix + filename), key)

classtab.readdir('/', console.log)

Archive

The ClassTab archive represents a set of tablature and MIDI files for classical guitar.

Public Key

161fb2014dc31a0ba47af677307d6103843e2ad7139f7c8fcea19b1bbf35148f

Credits

See http://www.classtab.org/credits.htm

License

GPLv3

About

Classical Guitar Tablature from classtab.org represented in SLEEP files for HyperDrive

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published