Re: [chuck-users] dynamic linking chuck howto?

2013-04-29 Thread Spencer Salazar
Hey Vilbjørg, Cool! You can probably accomplish this with chugins, a number of which are available in source form here: https://github.com/ccrma/chugins The chugin system is primarily designed to create new C++ unit generators, but it can be used to link dynamically with external C/C++

Re: [chuck-users] Very Basic Question

2013-06-26 Thread Spencer Salazar
Hey Rich, For the various Osc classes (SinOsc, TriOsc, etc.) phase controls how far along in one cycle the oscillator is. I.e., if you draw one full cycle of the waveform on a graph, phase is the x axis [0,1] and the oscillators output is the y axis [-1,1]. In ChucK the phase is periodically

Re: [chuck-users] Writing non-audio data to files

2013-07-09 Thread Spencer Salazar
Hey Rich, There are a few examples of how to write to a file directly here: http://chuck.stanford.edu/doc/examples/io/ specifically http://chuck.stanford.edu/doc/examples/io/write.ck Basically you create a FileIO object and open it for writing -- FileIO and chout are both subclasses of the IO

Re: [chuck-users] miniAudicle doesn't open files supplied as command line arguments

2013-09-26 Thread Spencer Salazar
Hi Atte, Thanks for reporting in. This looks pretty clearly like a bug, but it looks easy to fix. You're correct that miniAudicle should use the current directory of the calling command when opening files from the command line. Ill post again once an update is available. spencer On Thu, Sep

Re: [chuck-users] Linux build error for 1.3.2.0 (chimera)

2013-09-26 Thread Spencer Salazar
Ah yes, also let me know the result of this: $ qmake --version Thanks, spencer On Thu, Sep 26, 2013 at 2:49 PM, Spencer Salazar spen...@ccrma.stanford.edu wrote: Hi Pierre, Thanks for the report -- can you 'make clean', then 'make linux-alsa', and post the full output of running

Re: [chuck-users] Minor bug when saving an example with save as.

2013-10-27 Thread Spencer Salazar
: version 1.3.0 (gidora) Copyright (c) Spencer Salazar ChucK: version 1.3.2.0 (chimera) 64-bit Copyright (c) Ge Wang and Perry Cook http://chuck.cs.princeton.edu/ Bug report: Note: this is low priority and minor, more in the category of an annoyance. I opened an example then saved

Re: [chuck-users] chuck + PulseAudio (was: Problem with multiple audion sources)

2013-11-14 Thread Spencer Salazar
.). spencer On Thu, Nov 14, 2013 at 4:12 PM, Joel Matthys jwmatt...@yahoo.com wrote: Hmm... there's no src folder in the ChucK link below. Joel On 11/14/2013 06:01 PM, Spencer Salazar wrote: Hello ChucK linux users, We are excited to have a beta version of chuck that features PulseAudio

Re: [chuck-users] Raspberry pi and ChucK and performance

2014-01-30 Thread Spencer Salazar
I also recommend trying the experimental --adaptive:N flag (for N = 128, 256, 512, etc.) for use on embedded platforms. This enables block processing (with block size N), which can result in a dramatic performance increase in some cases. It will cause problems though if you are using feedback

Re: [chuck-users] Question about new OSC support classes - OscIn

2014-05-16 Thread Spencer Salazar
Thanks for the reports -- as these are new classes, there are definitely bound to be issues. I recall seeing a bug related to the string issue, but it looks like I didnt fix it for some reason. Ill take a look and report back. spencer On Mon, May 12, 2014 at 9:57 AM, Antanas Budriūnas

Re: [chuck-users] Filters and filter education

2014-05-22 Thread Spencer Salazar
Julius Smith's (free online) book is also a good resource here: https://ccrma.stanford.edu/~jos/filters/ Honestly it can take a few readthroughs (of different books even) for it all to sink in. Julius also some discussion on implementing a phaser:

Re: [chuck-users] Problem: chuck --silent --srateXXXXX not timing correctly

2014-06-13 Thread Spencer Salazar
Hi Ryan, --silent mode is mostly designed for offline rendering, so it basically runs as fast as possible. There isn't currently a way to have it run in real-time without also having audio, though that sounds like a nice feature. Im surprised that you are finding it difficult to get real-time

Re: [chuck-users] Installing on OSX 10.5.4

2014-08-05 Thread Spencer Salazar
Hi Tom, Welcome to Chuck! We currently do not provide executables for PowerPC architecture, and don't actively test/support it in the source releases either. Though it looks like this isn't clearly stated anywhere in the installer or website. If you have access to a newer Intel-based Mac

Re: [chuck-users] Scope bug?

2014-08-06 Thread Spencer Salazar
That looks like a bug alright. Thanks for letting us know! We will take a look into it. spencer On Wed, Aug 6, 2014 at 10:56 AM, Dealga McArdle teth...@gmail.com wrote: Ah, yes.. i see now class A { 1 = int foo; } class B extends A { fun void bar() { 0 =

Re: [chuck-users] ChucK code to connect MIDI controller to some UGen STK

2014-08-12 Thread Spencer Salazar
Hi Dan, 2.) It sounds like youre looking for source code for larger, real-world programs, but you should also check out http://chuck.stanford.edu/doc/examples/, which has numerous basic examples for what you are doing. 3.) Check out this page, which has a search tool for each of the

Re: [chuck-users] limit on number of OSC addresses you can listen to?

2014-08-25 Thread Spencer Salazar
Cook, Spencer Salazar Ge Wang, _Programming for Musicians and Digital Artists_. It seems to solve the problem: OscIn oin; OscMsg msg; 12001 = oin.port; oin.listenAll(); while (true) { oin = now; while ( oin.recv(msg) ) { got message:, msg.address

Re: [chuck-users] Chuck on windows7 64-bit - OTF and OSC not working

2014-09-11 Thread Spencer Salazar
Hello Rich, There is a DLL issue with the latest release of chuck on Windows with command line, which might be related to this. However, the issue I know about would typically cause chuck to not run at all on the command line, not even --loop. If you have a chance, please try the latest beta,

Re: [chuck-users] Static attributes and instantiation

2014-10-23 Thread Spencer Salazar
Hi Gonzalo, This is either a misfeature, bug, or exciting new programming paradigm, depending on your point of view :) To explain: public class Foo { 1 = static int bar; } static int bar; properly declares bar as a static variable. ChucK's pre-constructor concept executes all of the actual

Re: [chuck-users] chuck --probe crashes (SEGV)

2014-11-04 Thread Spencer Salazar
Hello, A release candidate for 1.3.5.0 is available here: https://ccrma.stanford.edu/~spencer/chuck/chuck-1.3.5.0-rc-1.pkg This fixes a wide range of issues/bugs, so if you have a chance to try it out and let us know if it fixes the problems you are seeing, that would be great! spencer On

Re: [chuck-users] chuck --probe crashes (SEGV)

2014-11-04 Thread Spencer Salazar
, Spencer Salazar spen...@ccrma.stanford.edu wrote: Hello, A release candidate for 1.3.5.0 is available here: https://ccrma.stanford.edu/~spencer/chuck/chuck-1.3.5.0-rc-1.pkg This fixes a wide range of issues/bugs, so if you have a chance to try it out and let us know if it fixes the problems

Re: [chuck-users] Problem building miniAudicle under EasyPeasy Linux

2015-02-18 Thread Spencer Salazar
-users -- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acoustics Stanford University spen...@ccrma.stanford.edu +1 831.277.4654 https://ccrma.stanford.edu/~spencer/ ___ chuck-users mailing list chuck-users

Re: [chuck-users] New Documentation - needs better heading structure for screen reader users

2015-03-06 Thread Spencer Salazar
*...* Thanx for all your work on this. -- Rich *From:* Spencer Salazar spen...@ccrma.stanford.edu *Sent:* Friday, March 06, 2015 3:48 AM *To:* ChucK Users Mailing List chuck-users@lists.cs.princeton.edu *Subject:* Re: [chuck-users] is shred running? (Atte) Hi Atte, On Thu, Mar 5, 2015 at 2:36

Re: [chuck-users] is shred running? (Atte)

2015-03-06 Thread Spencer Salazar
http://atte.dk http://a773.dk ___ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users -- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acoustics

Re: [chuck-users] Stereo example problem with chuck-1.3.5.1 (Julien Saint-Martin)

2015-05-13 Thread Spencer Salazar
-- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acoustics Stanford University spen...@ccrma.stanford.edu +1 831.277.4654 https://ccrma.stanford.edu/~spencer/ ___ chuck-users mailing list chuck-users@lists.cs.princeton.edu

Re: [chuck-users] Importing modules

2015-05-29 Thread Spencer Salazar
___ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users -- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acoustics Stanford University spen

Re: [chuck-users] question about Jack / Chuck interactions

2015-08-20 Thread Spencer Salazar
___ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users -- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acoustics Stanford University spen...@ccrma.stanford.edu +1 831.277.4654 https

Re: [chuck-users] Very odd NSExtension error

2015-10-13 Thread Spencer Salazar
xtensionItems, $extensionItem, > $extensionItem.attachments.@count == 1 AND > SUBQUERY($extensionItem.attachments, $attachment, (NOT ANY > $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf") AND > (NOT ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO > "public.image")).@count ==

Re: [chuck-users] build for OSX 10.11 (El Cap)

2015-10-14 Thread Spencer Salazar
> chuck-users@lists.cs.princeton.edu > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > > -- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acoustics Stanford University spen...@ccrma.stanford.edu +1 831.277.4654 https://ccrma.stanford.edu/~spenc

Re: [chuck-users] how to mickey-mouse a 'switch' statement into chuck?

2015-10-12 Thread Spencer Salazar
Yeah, it ain't pretty. >> >>michael >> >> ___ >> chuck-users mailing list >> chuck-users@lists.cs.princeton.edu >> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users >> >> > > ___

Re: [chuck-users] miniAudicle alternative

2015-09-18 Thread Spencer Salazar
ed up doing a lot of killall chuck from the command line." spencer On Thu, Sep 17, 2015 at 4:06 PM, Spencer Salazar <spen...@ccrma.stanford.edu > wrote: > Howdy, > > If its just the background, you can change that in miniAudicle under > Preferences->Editing. There isn't s

Re: [chuck-users] miniAudicle console monitor on OSX El Capitan

2016-05-20 Thread Spencer Salazar
cs.princeton.edu > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > > > -- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acoustics Stanford University spen...@ccrma.stanford.edu +1 831.277.4654 https://ccrma.stanford.edu/~spe

Re: [chuck-users] Problem with deleting item in array.

2016-08-21 Thread Spencer Salazar
t; Thanks for yours assistance. > > Phlox.s > > ___ > chuck-users mailing list > chuck-users@lists.cs.princeton.edu > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > > > -- Spencer Salazar Doctoral Candidate Cen

Re: [chuck-users] [Announce] MAL implementation

2016-08-21 Thread Spencer Salazar
uck-users mailing list > chuck-users@lists.cs.princeton.edu > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > > > -- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acoustics Stanford University spen...@ccrma.stanford.edu

Re: [chuck-users] anybody still use this thing?

2016-09-08 Thread Spencer Salazar
o through the string and parse down > every command, if I knew how to grab numbers and things between one command > and the next. For example, c8.c8 > > On 9/7/2016 7:44 PM, Spencer Salazar wrote: > > I dont think you can use regex to match a whole expression like that but > you c

Re: [chuck-users] Wavetable chugin

2016-08-29 Thread Spencer Salazar
_____ > chuck-users mailing list > chuck-users@lists.cs.princeton.edu > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > > -- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acoustics Stanford University

Re: [chuck-users] Cannot assign array of Oscs to UGen[]

2017-01-07 Thread Spencer Salazar
__ > chuck-users mailing list > chuck-users@lists.cs.princeton.edu > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > > -- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acousti

Re: [chuck-users] linux build failure, qt5 support?

2017-10-13 Thread Spencer Salazar
I am really hoping the answer is yes! > > Thanks, > -Colleen > > ___ > chuck-users mailing list > chuck-users@lists.cs.princeton.edu > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > > -- Spencer Salazar, PhD Special Faculty Music Technology: Interac

[chuck-users] Chuck Racks

2017-08-30 Thread Spencer Salazar
, Spencer -- Spencer Salazar, PhD Special Faculty Music Technology: Interaction, Intelligence, and Design California Institute of the Arts ssala...@calarts.edu | +1 831.277.4654 https://spencersalazar.com ___ chuck-users mailing list chuck-users

Re: [chuck-users] Chuck Racks

2017-08-30 Thread Spencer Salazar
; Way cool, Spencer! > > -- > Michael Clemow > Artist/Composer/Sound Designer > http://michaelclemow.com > > > On Wed, Aug 30, 2017 at 4:04 PM, Alan Brooker <alan.brookerh...@gmail.com> > wrote: > >> Awesome! Thank you >> >> >> On Wed

Re: [chuck-users] polyphony with MIDI

2017-12-11 Thread Spencer Salazar
urious what the typical > patterns for implementing polyphony with MIDI might be? > > Thanks in advance, > >michael > > > ___ > chuck-users mailing list > chuck-users@lists.cs.princeton.edu > https://lists.cs.princeton.ed

Re: [chuck-users] Chugin/Faust issue

2018-06-19 Thread Spencer Salazar
Yep, the faust2ck needs to have its chuck submodule updated to use the latest chuck headers, although it seems a bit messier than that since the structure of the headers changed. I will look in to it! Spencer -- Spencer Salazar, PhD spen...@spencersalazar.com | 831.277.4654 https

Re: [chuck-users] Chugins in general

2018-05-28 Thread Spencer Salazar
uck-users-ow...@lists.cs.princeton.edu > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of chuck-users digest..." > > > > > > Today's Topics: > > > > 1. Re: chugins will not load/compile usin

Re: [chuck-users] ChucK FLOSS - MIDI reference

2018-05-27 Thread Spencer Salazar
be > working now, at least avoiding the 'undefined type' error in miniAudicle. > > > <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail_term=icon> > Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=ema

Re: [chuck-users] static strings and the future

2018-01-25 Thread Spencer Salazar
gt;>>> a more secure future? I'm on linux and looked at Csound, Super Collider and >>>> PD, each has it's challenges in how I work (realtime generative and >>>> algorithmic MIDI), python seems to have realtime problems (garbage >>>> collection at random points). Any id

Re: [chuck-users] ChucK Floss manual

2018-02-23 Thread Spencer Salazar
ted in helping out? >>> >>> >>> cheers, >>> >>> Mario >>> >>> ___ >>> chuck-users mailing list >>> chuck-users@lists.cs.princeton.edu >>> https://lists.cs.princeton.edu/mailman/listi

Re: [chuck-users] code to run when "remove shread" command is sent

2018-03-27 Thread Spencer Salazar
ve the shread, the LEDs remain > on. so I'd like to turn them off when the shread is removed. > > > cheers, > > Mario > > ___ > chuck-users mailing list > chuck-users@lists.cs.princeton.edu > https://lists.cs.princeton.edu/mailma

Re: [chuck-users] miniAudicle (linux) -> compilation issues on Ubuntu 16.04 (qt issue?)

2018-09-24 Thread Spencer Salazar
if that works for you! Spencer -- Spencer Salazar, PhD spen...@spencersalazar.com | 831.277.4654 https://spencersalazar.com On Fri, Sep 21, 2018 at 1:13 AM, Pablo Tassi wrote: > Hi guys, > When I'm trying to compile miniAudible, I have the error message indicated > below. Any hints?

Re: [chuck-users] FaucK compilation/installation problem?

2019-01-27 Thread Spencer Salazar
Hey Marc, Can you try running with logging verbosity turned up? Log level at -v5 should do the trick: chuck -v5 examples/flute.ck And then post the results here? This will help indicate what the problem could be. Spencer On Sun, Jan 27, 2019 at 6:22 AM Marc Lavallée wrote: > Le 2019-01-27

Re: [chuck-users] FLOSS Manual update

2019-04-07 Thread Spencer Salazar
A few years ago I created ckdoc, intended as an easily update-able reference for chuck built-in libraries, chugins, etc. https://ccrma.stanford.edu/~spencer/ckdoc/ Source code is here: https://github.com/spencersalazar/ckdoc This included a project to attach documentation strings to every class,

Re: [chuck-users] ChucK Ubuntu package

2019-03-20 Thread Spencer Salazar
I've looked into this, the tools/process was massive rabbit hole I could never get to work. If you or anyone can get this up and running again in a way thats maintainable for future releases, that would be awesome. Spencer On Wed, Mar 20, 2019 at 3:40 AM Mario Buoninfante <

Re: [chuck-users] chuck serial arduino weirdness

2019-04-18 Thread Spencer Salazar
Hey Scott, Looks solid, but try checking if the ints[] array is null before the loop, or just put a null check in the loop condition. It shouldn’t normally be null but wouldn’t be surprised if it is occasionally. Spencer > On Apr 18, 2019, at 8:15 PM, Scott Smallwood wrote: > > Dear

Re: [chuck-users] trackpad problem

2019-08-20 Thread Spencer Salazar
Just confirmed that thinks are working as expected on my MacBook Pro 15in mid-2015 with mac OS 10.14.5. But perhaps something changed between .5 and .6. Have all 20 been upgraded / is it failing with all of them? Spencer On Tue, Aug 20, 2019 at 5:13 PM Brad Garton wrote: > I had this

Re: [chuck-users] Sequencing with Launchpad and ChucK | Talk

2019-12-04 Thread Spencer Salazar
Sounds cool! Say hi for me- met a few of the folks staffing the place (and gave an Auraglyph demo) when I happened upon it after the Audio Developer Conference this year. Spencer -- Spencer Salazar, PhD spen...@spencersalazar.com | 831.277.4654 https://spencersalazar.com On Tue, Dec 3, 2019

Re: [chuck-users] Mojave/Catalina mic access issues

2019-11-27 Thread Spencer Salazar
acy > Privacy > Microphone? If so, checking this box next its listing may work as a temporary fix while we pursue a permanent solution. Spencer -- Spencer Salazar, PhD spen...@spencersalazar.com | 831.277.4654 https://spencersalazar.com On Wed, Nov 27, 2019 at 12:01 PM David Loberg Co

Re: [chuck-users] Oscillosope UI

2020-04-15 Thread Spencer Salazar
Also, feel free to make a PR if you youre chugins are cross-platform and you want to share any of them in the main chugin repo! Spencer On Wed, Apr 15, 2020 at 10:00 AM Spencer Salazar wrote: > Hey Mario- > > Yep, Perry's got the right idea. The big cleanup in the ChucK 1.4 update &

Re: [chuck-users] Oscillosope UI

2020-04-15 Thread Spencer Salazar
Hey Mario- Yep, Perry's got the right idea. The big cleanup in the ChucK 1.4 update left out a component that had been built to support GUI chugins, but two alpha-status examples you can look at are MAUI.chug and chugl (ChucK GL). These are currently Mac only.

Re: [chuck-users] MidiFileIn class

2020-10-24 Thread Spencer Salazar
Hi David, Aside from documentation you can find here: https://ccrma.stanford.edu/~spencer/ckdoc/io.html#MidiFileIn there is an example of usage included with chuck: https://github.com/ccrma/chuck/blob/main/examples/midi/playmidi.ck In essence, MidiFileIn gives you an ordered list of timestamped

Re: [chuck-users] Machine.add() and me.yield()

2020-07-04 Thread Spencer Salazar
Hey Mike, Check out the "chunks" parameter of SndBuf: https://ccrma.stanford.edu/~spencer/ckdoc/ugen.html#SndBuf This was added a little later and was designed to avoid the huge hit of loading the entire file into memory at once by reading the file in fixed-sized chunks, on-demand. You can play

Re: [chuck-users] web integration (fao Jack Atherton)

2020-07-26 Thread Spencer Salazar
that this is not so >> far fetched, latency issues aside... >> >> I've run ChucK on a single raspberry pi 3 before, using the linux-jack or >> linux-alsa compilation option. I definitely have LOTS to learn about >> getting the most out this setup, so I'll be glad of any p

Re: [chuck-users] web integration

2020-07-20 Thread Spencer Salazar
Hey Micheal, As an alternative, if you intend for the sound to be coming from the Raspberry Pis and not a separate computer loading the webpages, you can run ChucK locally on the Raspberry Pi and communicate over OSC, though you may need to route OSC through Node as Im not certain that standard

Re: [chuck-users] Try out this VST instrument/effect chugin

2021-01-11 Thread Spencer Salazar
Hey David, amazing! Look forward to trying it out. Will probably drop some comments on the PR. Spencer On Mon, Jan 11, 2021 at 2:54 PM David Braun wrote: > I created a chugin for Windows that does VST effects and instruments all > in one. https://github.com/ccrma/chugins/pull/47 > > Sample

Re: [chuck-users] Does a Std.system call block concurrency?

2020-12-31 Thread Spencer Salazar
Correct, Std.system does block concurrency. Depending on what you're trying to do there are a few workarounds.. - make any Std.system calls at the beginning of your ChucK script, before audio has started processing - run the R scripts in the background using Std.system -- Std.system more or less

Re: [chuck-users] ChucK Guru Question

2022-04-20 Thread Spencer Salazar
Hey Dana, Nothing Im aware of. The way I would go about it would be to write a chugin that can call getrusage and compare successive calls to that against the real-time clock. Building a clock directly into ChucK's VM is also possible but a bit harder to maintain in the long run, unless it was

Re: [chuck-users] chugins

2022-08-23 Thread Spencer Salazar
Thanks Mike. I dont have an M1 machine yet but try adding ARCHS=arm64 to the make step: $ ARCHS=arm64 make $ sudo make install Thanks for the heads up on the pull requests, for some reason I dont get notifs on those. Ill review shortly. Spencer On Sun, Aug 21, 2022 at 8:19 PM Michael Heuer

Re: [chuck-users] midi sequencer in chuck

2023-04-25 Thread Spencer Salazar
Sounds cool -- storing absolute offsets of the MIDI events from some arbitrary start time would work better to implement seeking. Deltas can then be reconstructed from [current_event_time - previous_event_time]. You can iterate through the events once at the very beginning to convert deltas to