[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] FileReader - go to line?
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: Re: [sc-users] FileReader - go to line?
- From: Dan Stowell <danstowell@xxxxxxxxx>
- Date: Wed, 17 Jun 2009 01:06:02 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=loI/nltXIPSQPABd3EmremLYdoOfZ/N8/daogrZ9fiA=; b=SlLSbmWHlyr8RuWPxG7nyMOmpolJmWkr5XopolKQkVA3PPDQsfhG0IswgI5mWmsj73 pY2E7AwKvpUaN/4+qJFufMC8Cb7ld7Bc/WGF6NtQiqZeedfkFK/v6zZtkvMN1/EHJxT+ DvcZTkLLAm2OmVFmmK9eeSfrFuavBX1s/8Brg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=RzvGm9BdXaw4jjTs44tMP1a0SqtYtPz311vC6HfdpoXVAlVAbCCdb2fcGagWTttGHF zLxofzLzm85G1cltlYyH1vv5B8xrgByMlCjZK20sTv+Orlmt13q7aQN6EnPm3+u4YVUF 0cIMCZBaKnAqJtHZ1LvAEEUz+7bVpYO6j5Mmc=
- In-reply-to: <200906161916.05739.nescivi@xxxxxxxxx>
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- References: <200906161916.05739.nescivi@xxxxxxxxx>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
FileReader:read has a "startRow" argument. If treating a FileReader as
a Stream you can use things like .nextN to jump over a load of
lines...
Dan
2009/6/17 nescivi <nescivi@xxxxxxxxx>:
> Hiho,
>
> has anyone done things with FileReaders, like skipping to certain lines in the
> file?
>
> This could be quite useful for controlling file playblack...
>
> sincerely,
> Marije
>
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-users/
> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>
--
http://www.mcld.co.uk
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/