electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
Search found 5776 matches
 Forum index » Search
Page 1 of 232 [5776 Posts]   Goto page: 1, 2, 3, ..., 230, 231, 232 Next
Author Message
  Topic: LiSa and SndBuf
Kassen

Replies: 7
Views: 7072

Post Posted: Sun May 23, 2010 8:26 am    Subject: LiSa and SndBuf
Forum:  DIY Hardware and Software » ChucK programming language
Have a look at this;

http://joerg.piringer.net/

There's some nice stuff there on computer-aided poetry.
  Topic: map values
Kassen

Replies: 8
Views: 5447

Post Posted: Tue May 18, 2010 12:53 am    Subject: map values
Forum:  DIY Hardware and Software » ChucK programming language
Happy to have been of help Smile
  Topic: Not receiving midi msg data
Kassen

Replies: 2
Views: 3066

Post Posted: Tue May 18, 2010 12:52 am    Subject: Not receiving midi msg data
Forum:  DIY Hardware and Software » ChucK programming language
Your example code doesn't chuck the midi device to now. Is that because you simplified it for posting, or did you forget this?
  Topic: map values
Kassen

Replies: 8
Views: 5447

Post Posted: Fri May 14, 2010 5:02 am    Subject: map values
Forum:  DIY Hardware and Software » ChucK programming language
so something like;

fun float map(int value, float low, float high)
{
return low + (value * ( (high - low) / 127.0 ));
}

where value would exp ...
  Topic: map values
Kassen

Replies: 8
Views: 5447

Post Posted: Thu May 13, 2010 5:31 pm    Subject: map values
Forum:  DIY Hardware and Software » ChucK programming language
Well, a array is a series of numbers (or other things). You can then pick one number by looking it up using a index. A array of 128 elements should be able to "map" (link) a incoming MIDi va ...
  Topic: map values
Kassen

Replies: 8
Views: 5447

Post Posted: Thu May 13, 2010 12:59 pm    Subject: map values
Forum:  DIY Hardware and Software » ChucK programming language
Wouldn't a array work?
  Topic: Code comments
Kassen

Replies: 4
Views: 4218

Post Posted: Sun May 09, 2010 8:42 am    Subject: Code comments
Forum:  DIY Hardware and Software » ChucK programming language
It was a bad analogy. What I meant was that you can't compare two methods and assume one will be carried out in the wrong way.
  Topic: Code comments
Kassen

Replies: 4
Views: 4218

Post Posted: Sun May 09, 2010 12:25 am    Subject: Re: Code comments
Subject description: How I do it
Forum:  DIY Hardware and Software » ChucK programming language

First off, comments introduce redundancy in the code. Redundancy in a computer program is generally a bad thing, and with comments (the original intentionbeing to aid the programmer) it can serve to ...
  Topic: Ubuntu Installation Adventure
Kassen

Replies: 11
Views: 14052

Post Posted: Sat May 08, 2010 6:43 pm    Subject: Re: Ubuntu Installation Adventure
Subject description: Help please
Forum:  DIY Hardware and Software » ChucK programming language


2. So I used the package manager to install a precompiled chuck binary and that runs, but there is no sound. chuck --probe shows nothing, no sound card - and of course there is one.


Most l ...
  Topic: Thunder
Kassen

Replies: 8
Views: 5341

Post Posted: Fri Apr 23, 2010 8:51 am    Subject: Thunder
Forum:  DIY Hardware and Software » ChucK programming language
Sounds like a really tricky thing.

Maybe download a few samples of real thunder and analyse what's going on in those?
  Topic: Specific ChucK programming question
Kassen

Replies: 5
Views: 4395

Post Posted: Tue Apr 20, 2010 4:48 pm    Subject: Specific ChucK programming question
Forum:  DIY Hardware and Software » ChucK programming language
Exactly, and the way that we use the device in may be affected by our needs at the moment. You can -for example- trade a higher sample-rate and thus sound quality for more CPU usage.

chuck --probe ...
  Topic: General ChucK language question
Kassen

Replies: 2
Views: 3254

Post Posted: Sun Apr 18, 2010 4:16 am    Subject: General ChucK language question
Forum:  DIY Hardware and Software » ChucK programming language
Indeed. Most things are in the reference but there are some omissions.

If something is too new to be in the reference then the VERSIONS file in the chuck folder will likely have a brief summary.
...
  Topic: Specific ChucK programming question
Kassen

Replies: 5
Views: 4395

Post Posted: Sun Apr 18, 2010 4:13 am    Subject: Specific ChucK programming question
Forum:  DIY Hardware and Software » ChucK programming language
Well, it seems that from within miniAudicle, you click on Edit, then Preferences, and you can change it right there. Although I still don't know about how to do that from the actual code...


That' ...
  Topic: LiSa and SndBuf
Kassen

Replies: 7
Views: 7072

Post Posted: Sun Apr 18, 2010 4:10 am    Subject: LiSa and SndBuf
Subject description: Elaboration
Forum:  DIY Hardware and Software » ChucK programming language
Kassen,

If you do the following errors will appear.
adc => LiSa testfile


Yes. The issue here is that "testfile" here refers to a array of UGens. This array is not itself a UGen a ...
  Topic: LiSa and SndBuf
Kassen

Replies: 7
Views: 7072

Post Posted: Sat Apr 17, 2010 3:27 am    Subject: LiSa and SndBuf
Forum:  DIY Hardware and Software » ChucK programming language
I'm sorry but I really don't understand the question. I'm absolutely certain you *can* have a array of type LiSa, like this;

LiSa foo[8];

I also don't understand what sort of buffer you want to ...
  Topic: SndBuff and Arrays
Kassen

Replies: 14
Views: 14361

Post Posted: Sat Apr 10, 2010 4:54 am    Subject: SndBuff and Arrays
Forum:  DIY Hardware and Software » ChucK programming language

Is it possible that i must write 1::samp => now; to wait one sample, and not only 1::samp; ?

Exactly. "samp" is just a value and you need to express exactly what you want ChucK to do ...
  Topic: How to start chuck?
Kassen

Replies: 5
Views: 4669

Post Posted: Tue Apr 06, 2010 5:05 pm    Subject: How to start chuck?
Forum:  DIY Hardware and Software » ChucK programming language
Lovely, and it didn't even take any effort!

It's quite a bit like java, with some semantic sugar and some new tricks. You should be right at home. Welcome on board!
  Topic: How to start chuck?
Kassen

Replies: 5
Views: 4669

Post Posted: Sun Apr 04, 2010 4:04 am    Subject: How to start chuck?
Forum:  DIY Hardware and Software » ChucK programming language
So all is clear on that front now?
  Topic: SndBuff and Arrays
Kassen

Replies: 14
Views: 14361

Post Posted: Sat Apr 03, 2010 10:48 am    Subject: SndBuff and Arrays
Forum:  DIY Hardware and Software » ChucK programming language
i think i just found the solution.

Gain g.last() should do the trick Smile

Bingo! All UGens have a .last(), in fact everything that Gain has is shared by all UGens, including adc and dac.

You're ...
  Topic: SndBuff and Arrays
Kassen

Replies: 14
Views: 14361

Post Posted: Fri Apr 02, 2010 6:37 am    Subject: SndBuff and Arrays
Forum:  DIY Hardware and Software » ChucK programming language
Hi, thanks for the quick answer. I wanted to use LiSa, but i am not allowed to use it. It's an exercise where we must do that with arrays Sad.

Perhaps you can help me solving this with arrays Very Happy ...
  Topic: Would ChucK be a good roommate?
Kassen

Replies: 7
Views: 6099

Post Posted: Tue Mar 30, 2010 4:56 am    Subject: Would ChucK be a good roommate?
Forum:  DIY Hardware and Software » ChucK programming language
I think the Mini is the most accessible for prototyping, the commandline version is better once the code is written and the overhead of graphics starts to matter.

I really don't see why ChucK, usin ...
  Topic: Setting global array lengths in classes after loading
Kassen

Replies: 2
Views: 3396

Post Posted: Thu Mar 25, 2010 7:36 am    Subject: Setting global array lengths in classes after loading
Forum:  DIY Hardware and Software » ChucK programming language
If you'd like to change the size of a array after the array has been instantiated then you'll need to use the .size() member function that all arrays have.

As it is the variable for setting the ini ...
  Topic: Step through array conditionally?
Kassen

Replies: 2
Views: 3439

Post Posted: Mon Mar 22, 2010 5:47 pm    Subject: Step through array conditionally?
Forum:  DIY Hardware and Software » ChucK programming language
can't verify the code now as my soundcard is busy with some internet radio, but I'd always advance time right above or below the line incrementing the count and do the modulo right after the increment ...
  Topic: Midi Clock
Kassen

Replies: 5
Views: 7138

Post Posted: Wed Mar 17, 2010 4:25 am    Subject: Midi Clock
Forum:  DIY Hardware and Software » ChucK programming language
The sad answer is that ChucK really only supports 3 byte messages. I've been able to use 2 byte messages (bank change, etc) send from ChucK by simply not setting the 3rd byte. You may be able to sneak ...
  Topic: Win32 ChucK notes
Kassen

Replies: 4
Views: 7098

Post Posted: Fri Mar 12, 2010 7:22 pm    Subject: Win32 ChucK notes
Forum:  DIY Hardware and Software » ChucK programming language
Good question; I don't know, but apparently there is a difference between the behaviour that you expected and what happens and I'd like to know where that comes from.

BTW,I started ChucKing by edit ...
 
Page 1 of 232 [5776 Posts]   Goto page: 1, 2, 3, ..., 230, 231, 232 Next
 Forum index » Search
Jump to:  


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use