Easiest way to produce guitar chords in linux and/or python -



Easiest way to produce guitar chords in linux and/or python -

what i'm trying accomplish playing guitar chord python application. know (or can calculate) frequencies in chord if needed.

i'm thinking if low level leg work of producing multiple sine waves @ right frequencies wont sound right due envelope needing right also, else wont sound guitar more of hum.

tantilisingly, linux sox command play can produce pretty convincing individual note with:

play -n synth 0 pluck e3

so i'm asking is,

a) possible shoehorn play command whole chord (ideally differing start times simulate plectrum string stroke) -- i've not been able maybe theres bash fairydust that'll fork process or such sounds right. if possible i'd settle calling out bash command code (i dont reinventing wheel).

b) (even better) there way in python of achieving (a guitar chord sound) ? i've seen few accessable python midi librarys frankly midi isn't fit sound want, far can tell.

the manual gives example:

play -n synth pl g2 pl b2 pl d3 pl g3 pl d4 pl g4 \ delay 0 .05 .1 .15 .2 .25 remix - fade 0 4 .1 norm -1

this creates 6 simultaneous instances of synth (as separate sound channels), delays 5 of channels increasing times, mixes them downwards single channel.

the result pretty convincing guitar chord; can of course of study alter notes or delays easily. can play around sustain , tone of 'guitar', or add together overdrive effect—see manual details.

python linux bash audio guitar

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -