Musical instrument project
Archiver
Posts: 46,084
hi there,
I wonder if anybody could help me out with a project I am working on:
I want to make a simple musical instrument using the BS2 as the
processor using the freqOut command to create the musical sounds. The
instrument will have 7 keys and will ideally create polyphonic
sounds.
The first problem I am running into is that using the freqOut command
I have to specify a duration for the frequency, something which I do
not know as I cannot anticipate how long the keys will be held down
for. What i would like to be able to do is not specify a duration for
freqOut, but rather tie it to the logic state of a pin.
I have tried a short duration for freqout and got it to check the
logic state of a switch, then return to the frequency if the switch
is still down, but this produces not very acceptable sounds. I also
tried just creating the high/low of the frequency in s simple loop
(high6, pause 1, low6, pause 1 etc) but again this did not produce
the right quality of sound...
thanking you all in advance for your thoughts,
crispin jones
I wonder if anybody could help me out with a project I am working on:
I want to make a simple musical instrument using the BS2 as the
processor using the freqOut command to create the musical sounds. The
instrument will have 7 keys and will ideally create polyphonic
sounds.
The first problem I am running into is that using the freqOut command
I have to specify a duration for the frequency, something which I do
not know as I cannot anticipate how long the keys will be held down
for. What i would like to be able to do is not specify a duration for
freqOut, but rather tie it to the logic state of a pin.
I have tried a short duration for freqout and got it to check the
logic state of a switch, then return to the frequency if the switch
is still down, but this produces not very acceptable sounds. I also
tried just creating the high/low of the frequency in s simple loop
(high6, pause 1, low6, pause 1 etc) but again this did not produce
the right quality of sound...
thanking you all in advance for your thoughts,
crispin jones