Re: [PD] readsf~ problem with 28-channel 256hz file

2012-08-20 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2012-08-07 16:45, Johanna Nowak wrote:
> * kristof lauwers  [2012-08-07
> 16:42]:
> 
>>> If you have enough ram, you could also load all soundfile data
>>> into 28 tables, and read from those using tabread4~ or even a
>>> message-based tabread followed by a line~.
>> 
>> i will give that a try. thanks for the suggestion!

that's probably the sanest way to deal with the problem.

> 
> Have you tried opening the 256Hz wav file(s) in another
> application, such as sox[1], and resampling it there, resulting in
> a 44.1kHz file?
> 

youwill get a very large soundfile. WAV can only hold up to 2GB of
samples, with the given specs of the data you will easily exceed that
size.
[readsf~] can read other data that do not have this problem (e.g.
stupid formats like nextstep's snd or even raw)

fgamsrd
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAx8JUACgkQkX2Xpv6ydvRgkwCcCCTqlhXBpCUgP9LTMtFHiSLo
2ZIAnRY+zROWpXkaXdlXBBOpd/2ODnyX
=NxXr
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] readsf~ problem with 28-channel 256hz file

2012-08-07 Thread Johanna Nowak
* kristof lauwers  [2012-08-07 16:42]:
> At 14:07 2012-08-07, i go bananas wrote:
> 
> >If you only want to playback the data, then the easiest way might
> >be just to change pd's sample rate to 256hz.
> >
> >If that doesn't work, maybe have a look at readsf~ help to see how
> >to manually set playback parameters
> 
> well, i want to use the EEG data as control data for an audio
> signal, so lowering the samplerate is no option..
> the help from readsf~ doesn't say anything about changing the
> samplerate.. (but shouldn't it just read the right samplerate from
> the file? it's a normal .wav file..)
> 
> At 15:17 2012-08-07, Johanna Nowak wrote:
> >
> > have a look at the help-file for the block~ object, which can do
> > up/downsampling in a subpatch.
> 
> i tried running it from a subpatch with a lower samplerate, but that
> didn't change anything..
> 
> > If you have enough ram, you could also load all soundfile data into 28
> > tables, and read from those using tabread4~ or even a message-based
> > tabread followed by a line~.
> 
> i will give that a try. thanks for the suggestion!

Have you tried opening the 256Hz wav file(s) in another application,
such as sox[1], and resampling it there, resulting in a 44.1kHz file?

just an idea

best, Jo
[1] http://sox.sourceforge.net/sox.html

> 
> greetings,
> 
> Kristof
> 
> 
> >On Tuesday, August 7, 2012, kristof lauwers wrote:
> >Hi,
> >
> >I'm trying to play back a rather uncommon file with readsf~. It's
> >3 hours of EEG data, on 28 channels, with a samplerate of only 256
> >hz. At first sight, readsf~  deals well with the 28 channels, but
> >it seems to play it back way too fast.. Is there a way to make rit
> >play back the file at the right speed?
> >I'm using Pd version 0.40.3-extended on windows xp..
> >
> >thanks!
> >
> >Kristof
> >
> >
> >
> >
> >
> >http://soundcloud.com/kristof-lauwers
> >http://kristoflauwers.domainepublic.net
> >
> >
> >___
> >Pd-list@iem.at mailing list
> >UNSUBSCRIBE and account-management -> 
> >http://lists.puredata.info/listinfo/pd-list

> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] readsf~ problem with 28-channel 256hz file

2012-08-07 Thread kristof lauwers

At 14:07 2012-08-07, i go bananas wrote:

If you only want to playback the data, then the easiest way might be 
just to change pd's sample rate to 256hz.


If that doesn't work, maybe have a look at readsf~ help to see how 
to manually set playback parameters


well, i want to use the EEG data as control data for an audio signal, 
so lowering the samplerate is no option..
the help from readsf~ doesn't say anything about changing the 
samplerate.. (but shouldn't it just read the right samplerate from 
the file? it's a normal .wav file..)


At 15:17 2012-08-07, Johanna Nowak wrote:
>
> have a look at the help-file for the block~ object, which can do
> up/downsampling in a subpatch.

i tried running it from a subpatch with a lower samplerate, but that 
didn't change anything..


> If you have enough ram, you could also load all soundfile data into 28
> tables, and read from those using tabread4~ or even a message-based
> tabread followed by a line~.

i will give that a try. thanks for the suggestion!

greetings,

Kristof



On Tuesday, August 7, 2012, kristof lauwers wrote:
Hi,

I'm trying to play back a rather uncommon file with readsf~. It's 3 
hours of EEG data, on 28 channels, with a samplerate of only 256 hz. 
At first sight, readsf~  deals well with the 28 channels, but it 
seems to play it back way too fast.. Is there a way to make rit play 
back the file at the right speed?

I'm using Pd version 0.40.3-extended on windows xp..

thanks!

Kristof





http://soundcloud.com/kristof-lauwers
http://kristoflauwers.domainepublic.net


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] readsf~ problem with 28-channel 256hz file

2012-08-07 Thread Johanna Nowak
* i go bananas  [2012-08-07 14:10]:
> If you only want to playback the data, then the easiest way might be just
> to change pd's sample rate to 256hz.

have a look at the help-file for the block~ object, which can do
up/downsampling in a subpatch.

If you have enough ram, you could also load all soundfile data into 28
tables, and read from those using tabread4~ or even a message-based
tabread followed by a line~.

best, 
Jo

> 
> If that doesn't work, maybe have a look at readsf~ help to see how to
> manually set playback parameters
> 
> On Tuesday, August 7, 2012, kristof lauwers wrote:
> 
> > Hi,
> >
> > I'm trying to play back a rather uncommon file with readsf~. It's 3 hours
> > of EEG data, on 28 channels, with a samplerate of only 256 hz. At first
> > sight, readsf~  deals well with the 28 channels, but it seems to play it
> > back way too fast.. Is there a way to make rit play back the file at the
> > right speed?
> > I'm using Pd version 0.40.3-extended on windows xp..
> >
> > thanks!
> >
> > Kristof
> >
> >
> >
> > __**__
> >
> > http://soundcloud.com/kristof-**lauwers
> > http://kristoflauwers.**domainepublic.net
> > __**__
> >
> > __**_
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> > listinfo/pd-list 
> >

> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] readsf~ problem with 28-channel 256hz file

2012-08-07 Thread i go bananas
If you only want to playback the data, then the easiest way might be just
to change pd's sample rate to 256hz.

If that doesn't work, maybe have a look at readsf~ help to see how to
manually set playback parameters

On Tuesday, August 7, 2012, kristof lauwers wrote:

> Hi,
>
> I'm trying to play back a rather uncommon file with readsf~. It's 3 hours
> of EEG data, on 28 channels, with a samplerate of only 256 hz. At first
> sight, readsf~  deals well with the 28 channels, but it seems to play it
> back way too fast.. Is there a way to make rit play back the file at the
> right speed?
> I'm using Pd version 0.40.3-extended on windows xp..
>
> thanks!
>
> Kristof
>
>
>
> __**__
>
> http://soundcloud.com/kristof-**lauwers
> http://kristoflauwers.**domainepublic.net
> __**__
>
> __**_
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list 
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] readsf~ problem with 28-channel 256hz file

2012-08-07 Thread kristof lauwers

Hi,

I'm trying to play back a rather uncommon file with readsf~. It's 3 
hours of EEG data, on 28 channels, with a samplerate of only 256 hz. 
At first sight, readsf~  deals well with the 28 channels, but it 
seems to play it back way too fast.. Is there a way to make rit play 
back the file at the right speed?

I'm using Pd version 0.40.3-extended on windows xp..

thanks!

Kristof





http://soundcloud.com/kristof-lauwers
http://kristoflauwers.domainepublic.net
 



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list