https://github.com/hohonuuli/dna-music
Some Scala code to convert fasta gene sequences into music
https://github.com/hohonuuli/dna-music
Last synced: 3 months ago
JSON representation
Some Scala code to convert fasta gene sequences into music
- Host: GitHub
- URL: https://github.com/hohonuuli/dna-music
- Owner: hohonuuli
- Created: 2011-04-23T01:37:26.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2016-03-31T19:51:54.000Z (about 9 years ago)
- Last Synced: 2025-02-04T21:45:48.187Z (4 months ago)
- Language: Scala
- Homepage:
- Size: 228 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
What?:
Some code to convert Gene sequences into songs.
Why?:
1) 'Cause I can
2) Haven't you ever wondered if genes would make good songs.How?:
import hohonuuli.fasta._
// val f = new FastaNucleicAcidSeq(fastaString) // nucleic acid format
// val f = new FastaProteinSeq(fastaString) // amino acid formatval f = new FastaSeq(fastaString) // for ACGTU only
val s = new BasicSong(f)
DNAPlayer.play(s)// DNAPlayer.save(s) // to save as midi file