| Hi Art,
Can you try to use the keyboard with diffamator? Do you get stuttering?
What I think could be happening is that the operating system does
key-repeat, and you are generating many events on a single keypress...
Cheers,
Andrés
Art Hunkins wrote:
> I've been experimenting further with sensekey (in WinME) from the
> commandline. My goal is to trigger samples with keypresses.
>
> The basic mechanism is working fine and as I expect, except for one
> exasperating (and perhaps fatal) problem: any time I strike a key, even for
> the shortest possible duration, any audio currently sounding stutters
> ("zipper noise") for a full second. (This includes the beginning of the
> just-triggered sample.)
>
> The stuttering occurs even with keypresses that don't trigger samples, and
> indeed when I truncate code to check for a single key as trigger (the
> stutter is of the same, one-second duration).
>
> The same .csd using midi input as trigger (midiin doing the input
> processing) works flawlessly.
>
> My tentative conclusion is that sensekey, as it responds to ASCII keyboard
> strokes, is doing a lot of processing - so much so that is causes audio to
> "zipper." The effect is the same as in Csound4 when using FLTK widgets; the
> mouse moving across the screen caused "zipper noise" on my vintage PC.
> However, it's been a *long* time (I can't recall when) since I've
> encountered this phenomenon on my current-issue machines.
>
> Is there anything to be done? (I'd attach a .csd, but I'd have to send along
> a substantial sample as well. I don't think the problem is code I've
> written, though perhaps it's code I *haven't* written - a lack of awareness
> of some important factor.)
>
> Thanks for any insight. I'd *really* like to be able to ASCII-trigger
> samples with sensekey. As Victor says, "just a laptop and go."
>
> Art Hunkins
>
> ----- Original Message -----
> From: "Victor Lazzarini"
> To: "Art Hunkins" ; "Developer discussions"
>
> Sent: Friday, December 01, 2006 11:59 AM
> Subject: Re: [Cs-dev] sensekey
>
>
>
>> yesterday I played with some mappings and I thought it was quite
>> interesting. I did some button-accordion mappings that created
>> a computer squeeze-box. This would in fact help the mobility
>> of works, just a laptop and go!
>>
>> Victor
>>
>> At 16:35 01/12/2006, you wrote:
>>
>>> FWIW:
>>>
>>> Neither Winsound, nor CsoundGUI, nor Lettuce allow sensekey to respond to
>>> ASCII input.
>>>
>>> If Rory *did* opt to add that capability to Lettuce, it would be
>>>
> something
>
>>> these other frontends couldn't (currently) do.
>>>
>>> I wonder how many realtime users out there are interested in being able
>>>
> to
>
>>> use sensekey (i.e., ASCII keyboard input) in Windows, and without FLTK -
>>>
> but
>
>>> within a front end such as Lettuce? (Perhaps I'm the only one?)
>>>
>>> Art Hunkins
>>>
>>> ----- Original Message -----
>>> From: "Victor Lazzarini"
>>> To: "Art Hunkins" ; "Developer discussions"
>>>
>>> Sent: Friday, December 01, 2006 11:12 AM
>>> Subject: Re: [Cs-dev] sensekey
>>>
>>>
>>> No problem really. As for Lettuce, I reckon Rory will
>>> add that very soon.
>>>
>>> Victor
>>>
>>> At 16:09 01/12/2006, you wrote:
>>>
>>>> Thanks, Victor, for stating the matter succinctly.
>>>>
>>>> Actually, I *thought* that's what I had said. Apparently, long years in
>>>> academia and a low level of technical expertise have resulted in my
>>>>
>>> clouding
>>>
>>>> the issue one more time. Sorry about that.
>>>>
>>>> I appreciate you developers bearing with me.
>>>>
>>>> Art Hunkins
>>>>
>>>> ----- Original Message -----
>>>> From: "Victor Lazzarini"
>>>> To: "Art Hunkins" ; "Developer discussions"
>>>>
>>>> Sent: Friday, December 01, 2006 10:15 AM
>>>> Subject: Re: [Cs-dev] sensekey
>>>>
>>>>
>>>> But it does work on Windows, with/without FLTK. It doesn't work with
>>>> Lettuce, which
>>>> is a different thing.
>>>>
>>>> Victor
>>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>
> your
>
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>> Victor Lazzarini
>> Music Technology Laboratory
>> Music Department
>> National University of Ireland, Maynooth
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>
> your
>
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |