Re: [PD] Help to load sound

2013-01-13 Thread IOhannes zmölnig

On 01/13/2013 07:36 PM, Jack wrote:


it seems the option -resize is no longer needed (here with Pd
0.43.2test1 on Ubuntu 12.04).


i guess this is a bug then.
if i don't want my table to be resized, Pd shouldn't resize it.

gfamsrd
IOhannes

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


Re: [PD] Help to load sound

2013-01-13 Thread Ed Kelly
Ah. Tings have moved on and I wasn't paying attention!
Great,
Ed
 
Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!
http://sharktracks.co.uk/



- Original Message -
> From: Jack 
> To: pd-list@iem.at
> Cc: 
> Sent: Sunday, 13 January 2013, 18:36
> Subject: Re: [PD] Help to load sound
> 
> Le 13/01/2013 19:16, IOhannes zmölnig a écrit :
>>  On 01/13/2013 06:42 PM, Ed Kelly wrote:
>>>  It is, by default 400. You can load larger files by changing the
>>>  message to soundfiler from:
>>> 
>>>  [read -resize myfile.wav sound(
>>> 
>>>  to
>>> 
>>>  [sound resize 800;
>>>  read myfile.wav sound(
>> 
>>  or use
>>  [read -resize -maxsize 800 myfile.wav sound(
>>  |
>>  [soundfiler]
>> 
>>  gfmysdr
>>  IOhannes
>> 
>>  ___
>>  Pd-list@iem.at mailing list
>>  UNSUBSCRIBE and account-management ->
>>  http://lists.puredata.info/listinfo/pd-list
> 
> it seems the option -resize is no longer needed (here with Pd
> 0.43.2test1 on Ubuntu 12.04).
> ++
> 
> Jack
> 
> 
> 
> ___
> 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] Help to load sound

2013-01-13 Thread Jack
Le 13/01/2013 19:16, IOhannes zmölnig a écrit :
> On 01/13/2013 06:42 PM, Ed Kelly wrote:
>> It is, by default 400. You can load larger files by changing the
>> message to soundfiler from:
>>
>> [read -resize myfile.wav sound(
>>
>> to
>>
>> [sound resize 800;
>> read myfile.wav sound(
>
> or use
> [read -resize -maxsize 800 myfile.wav sound(
> |
> [soundfiler]
>
> gfmysdr
> IOhannes
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list

it seems the option -resize is no longer needed (here with Pd
0.43.2test1 on Ubuntu 12.04).
++

Jack



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


Re: [PD] Help to load sound

2013-01-13 Thread IOhannes zmölnig

On 01/13/2013 06:42 PM, Ed Kelly wrote:

It is, by default 400. You can load larger files by changing the message to 
soundfiler from:

[read -resize myfile.wav sound(

to

[sound resize 800;
read myfile.wav sound(


or use
[read -resize -maxsize 800 myfile.wav sound(
|
[soundfiler]

gfmysdr
IOhannes

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


Re: [PD] Help to load sound

2013-01-13 Thread Jack
Le 13/01/2013 18:42, Ed Kelly a écrit :
> It is, by default 400. You can load larger files by changing the
> message to soundfiler from:
>
> [read -resize myfile.wav sound(
>
> to
>
> [sound resize 800;
> read myfile.wav sound(
>
> In short, you resize a table manually to some number of samples (here
> it's 800) before you load a soundfile into it.
> I believe there is an object called soundfileinfo~ or something that
> gives you the length of a soundfile...but I can't remember off the top
> of my head what it's called or where it is in pd-extended
>
> Alternatively, if you don't want to use the soundfile as though it
> were a table (i.e. if you just want to play the file) it's better to
> use [readsf~]
>
> Ed
>
> Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!
> http://sharktracks.co.uk/
>
> 
> *From:* Ingo 
> *To:* 'romain.darracq' ; 'Ingo'
> 
> *Cc:* pd-list@iem.at
> *Sent:* Sunday, 13 January 2013, 14:31
> *Subject:* Re: [PD] Help to load sound
>
> There is a size limit for the file. I'm not sure whether this is
> 400 or
> anything else. Sombody else here might know.
>
> Ingo
>
>
>
> > Thank for your answer, I will trying to modificate my own error
> but now
> > the error message say:
> >
> > error: soundfiler_read: truncated to 400 elements
> > ... you might be able to track this down from the Find menu.
> >
> > when I load sound with [soundfiler] and [tabread~ sound].
> >
> > I hope that my message is enough clear to permit you to
> understand what's
> > wrong
> >
> > Thanks to take the time to help me.
> >
> > Romain
>
>
> >> Message du 13/01/13 12:47
> >> De : "Ingo"
> >> A : "'romain.darracq'" , pd-list@iem.at 
> >> Copie à :
> >> Objet : AW: [PD] Help to load sound
> >>
> >> Try to use a name and path without spaces.
> >> Try the most simple path first like e.g. "C:\\Shake.mp3".
> >>
> >> Out of the objects that you named only [mp3play~] can play back
> MP3s.
> >>Make sure it is a "MP3 layer III" - otherwise it won't work.
> >> You could convert it to WAV for the others to be able to read it.
> >>
> >> Ingo
> >
> >
> >
> > Hello everybody,
> > I'm starting pd, and i have always the same matter when I want
> to load a
> > sound, pd say me: (error: dsp: C:/Documents and
> > Settings/Romain/Bureau/matrice perso/SON/musikkk/Remko Scha - (1982)
> Machine
> > Guitars/01 Shake.mp3: unknown or bad header format) and for all
> format
> > althrough i used [readsf~] or [mp3play~] or [soundfiler]
> objects
> > I have an other error's message :(error: endianness neither 'b'
> nor 'l'
> > ... you might be able to track this down from the Find menu.) ?
> > If someone can help me ??
> >
> > Thanks
> >
> > Romain
> >
> >
>
>
>
>
>
> ___
> 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

Hello,

To adapt the size of a table with [soundfiler] when you read a sound
file use the -maxsize option.
The value of maxsize should be greater than the size of the sound file.
for example :

[read -maxsize 8e+06 my_sound.wav my_target_table(
|
[soundfiler(

With this example, your table "my_target_table" will be resize at the
size of my_sound.wav (if the size of my_sound.wav is lower than 8e+06).
++

Jack


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


Re: [PD] Help to load sound

2013-01-13 Thread Ed Kelly
It is, by default 400. You can load larger files by changing the message to 
soundfiler from:

[read -resize myfile.wav sound(

to

[sound resize 800;
read myfile.wav sound(

In short, you resize a table manually to some number of samples (here it's 
800) before you load a soundfile into it.
I believe there is an object called soundfileinfo~ or something that gives you 
the length of a soundfile...but I can't remember off the top of my head what 
it's called or where it is in pd-extended

Alternatively, if you don't want to use the soundfile as though it were a table 
(i.e. if you just want to play the file) it's better to use [readsf~]

Ed

Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!
http://sharktracks.co.uk/



>
> From: Ingo 
>To: 'romain.darracq' ; 'Ingo'  
>Cc: pd-list@iem.at 
>Sent: Sunday, 13 January 2013, 14:31
>Subject: Re: [PD] Help to load sound
> 
>There is a size limit for the file. I'm not sure whether this is 400 or
>anything else. Sombody else here might know.
>
>Ingo
>
>
>
>> Thank for your answer, I will trying to modificate my own error but now
>> the error message say:
>> 
>> error: soundfiler_read: truncated to 400 elements
>> ... you might be able to track this down from the Find menu.
>> 
>> when I load sound with [soundfiler] and [tabread~ sound].
>> 
>> I hope that my message is enough clear to permit you to understand what's
>> wrong
>> 
>> Thanks to take the time to help me.
>> 
>> Romain
>
>
>>> Message du 13/01/13 12:47
>>> De : "Ingo" 
>>> A : "'romain.darracq'" , pd-list@iem.at
>>> Copie à : 
>>> Objet : AW: [PD] Help to load sound
>>>
>>> Try to use a name and path without spaces.
>>> Try the most simple path first like e.g. "C:\\Shake.mp3".
>>> 
>>> Out of the objects that you named only [mp3play~] can play back MP3s.
>>>Make sure it is a "MP3 layer III" - otherwise it won't work.
>>> You could convert it to WAV for the others to be able to read it.
>>> 
>>> Ingo
>> 
>> 
>> 
>> Hello everybody,
>> I'm starting pd, and i have always the same matter when I want to load a
>> sound, pd say me: (error: dsp: C:/Documents and
>> Settings/Romain/Bureau/matrice perso/SON/musikkk/Remko Scha - (1982)
>Machine
>> Guitars/01 Shake.mp3: unknown or bad header format) and for all format
>> althrough i used [readsf~] or [mp3play~] or [soundfiler] objects
>> I have an other error's message :(error: endianness neither 'b' nor 'l'
>> ... you might be able to track this down from the Find menu.) ?
>> If someone can help me ??
>> 
>> Thanks
>> 
>> Romain
>> 
>> 
>
>
>
>
>
>___
>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] Help to load sound

2013-01-13 Thread Ingo
There is a size limit for the file. I'm not sure whether this is 400 or
anything else. Sombody else here might know.

Ingo



> Thank for your answer, I will trying to modificate my own error but now
> the error message say:
> 
> error: soundfiler_read: truncated to 400 elements
> ... you might be able to track this down from the Find menu.
> 
> when I load sound with [soundfiler] and [tabread~ sound].
> 
> I hope that my message is enough clear to permit you to understand what's
> wrong
> 
> Thanks to take the time to help me.
> 
> Romain


>> Message du 13/01/13 12:47
>> De : "Ingo" 
>> A : "'romain.darracq'" , pd-list@iem.at
>> Copie à : 
>> Objet : AW: [PD] Help to load sound
>>
>> Try to use a name and path without spaces.
>> Try the most simple path first like e.g. "C:\\Shake.mp3".
>> 
>> Out of the objects that you named only [mp3play~] can play back MP3s.
>>Make sure it is a "MP3 layer III" - otherwise it won't work.
>> You could convert it to WAV for the others to be able to read it.
>> 
>> Ingo
> 
> 
> 
> Hello everybody,
> I'm starting pd, and i have always the same matter when I want to load a
> sound, pd say me: (error: dsp: C:/Documents and
> Settings/Romain/Bureau/matrice perso/SON/musikkk/Remko Scha - (1982)
Machine
> Guitars/01 Shake.mp3: unknown or bad header format) and for all format
> althrough i used [readsf~] or [mp3play~] or [soundfiler] objects
> I have an other error's message :(error: endianness neither 'b' nor 'l'
> ... you might be able to track this down from the Find menu.) ?
> If someone can help me ??
> 
> Thanks
> 
> Romain
> 
> 





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


Re: [PD] Automating startup

2013-01-13 Thread Pierre Massat
Hi,
Of course. Sorry I forgot...
http://en.flossmanuals.net/pure-data/getting-started/starting/

Please remember to use "Reply to all" when your first message was orginally
posted as a pd-list thread!

Cheers,

Pierre.

2013/1/12 Rick Bragg 

> Hi Pierre, do you have a link to it?
>
> Thanks!
> Rick
>
>
> > Hi Rick,
> >
> > You can start by reading this page in the FLOSS manual, especially the
> last
> > paragraphs.
> > Once you get how it works, it's no big deal start Pd from a command line
> > with all the settings you need.
> >
> > Cheers,
> >
> > Pierre.
> >
> > 2013/1/12 Rick Bragg 
> >
> >> Hi,
> >>
> >> I would like to set up my system to set up my patch automatically with
> >> jack and all
> >> the right connections when the system boots. I am using Ubuntu studio at
> >> the
> >> moment.
> >>
> >> I currently have it set so that qjackctl starts when I log in, and I set
> >> qjackctl
> >> to automatically start up jack server when it opens, and then to open my
> >> pd file
> >> after it starts.
> >>
> >> I have a few problems to overcome.
> >>
> >> First, every time pd starts, I need to go into the "Media" menu and
> change
> >> from
> >> "Default MIDI" to "Alsa MIDI"  Why do I have to change this every time?
> >>  Shouldn't
> >> this setting be saved?
> >>
> >> Second problem:
> >> After pd opens, I always need to go back to qjackctl, open up the the
> >> "connections"
> >> and change the MIDI connections.  Can't I save this as a patchbay
> setting
> >> somehow?
> >> I tried that, but it doesn't work because the patchbay settings need to
> >> load AFTER
> >> pd starts  otherwise the pd connections are not available.
> >>
> >> Are there any good documentation somewhere that discusses automating all
> >> this kind
> >> of stuff?
> >>
> >> Thanks!
> >> Rick
> >>
> >>
> >>
> >>
> >> ___
> >> 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] Help to load sound

2013-01-13 Thread Ingo
Try to use a name and path without spaces.
Try the most simple path first like e.g. "C:\\Shake.mp3".

Out of the objects that you named only [mp3play~] can play back MP3s. Make
sure it is a "MP3 layer III" - otherwise it won't work.
You could convert it to WAV for the others to be able to read it.

Ingo



Hello everybody,
I'm starting pd, and i have always the same matter when I want to load a
sound, pd say me: (error: dsp: C:/Documents and
Settings/Romain/Bureau/matrice perso/SON/musikkk/Remko Scha - (1982) Machine
Guitars/01 Shake.mp3: unknown or bad header format) and for all format
althrough i used [readsf~] or [mp3play~] or [soundfiler] objects
I have an other error's message :(error: endianness neither 'b' nor 'l'
... you might be able to track this down from the Find menu.) ?
If someone can help me ??

Thanks

Romain


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


[PD] Help to load sound

2013-01-13 Thread romain.darracq
 


Hello everybody,
I'm starting pd, and i have always the same matter when I want to load a sound, 
pd say me: (error: dsp: C:/Documents and Settings/Romain/Bureau/matrice 
perso/SON/musikkk/Remko Scha - (1982) Machine Guitars/01 Shake.mp3: unknown or 
bad header format) and for all format althrough i used [readsf~] or [mp3play~] 
or [soundfiler] objects
I have an other error's message :(error: endianness neither 'b' nor 'l'
... you might be able to track this down from the Find menu.) ?
If someone can help me ??

Thanks

Romain


Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Help to load sound

2013-01-13 Thread romain.darracq


 


Hello everybody,
I'm starting pd, and i have always the same matter when I want to load a sound, 
pd say me: (error: dsp: C:/Documents and Settings/Romain/Bureau/matrice 
perso/SON/musikkk/Remko Scha - (1982) Machine Guitars/01 Shake.mp3: unknown or 
bad header format) and for all format althrough i used [readsf~] or [mp3play~] 
or [soundfiler] objects
I have an other error's message :(error: endianness neither 'b' nor 'l'
... you might be able to track this down from the Find menu.) ?
If someone can help me ??

Thanks

Romain




Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list