[PD] Portugal

2017-08-01 Thread gnd
Hi !!

Is there some pd people around Porto, Lisbon and the rest of Portugal ?

(Sorry for the holiday message ;)

gnd/

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


Re: [PD] Pd documents path proposal

2017-08-01 Thread Dan Wilcox
Not everyone may want this functionality... Disabling it means Pd won't nag you 
if the docs path is not set and new/open panels start in the home directory (as 
before), not the docs path.

The other stuff you are seeing are bugs from my rewrite earlier today, so easy 
fixes. Please post bugs only to the GitHub PR. 

> On Aug 2, 2017, at 2:15 AM, Alexandre Torres Porres  wrote:
> 
> I don't know what "disabling" the Pd Documents folder is supposed to do


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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


Re: [PD] Pd documents path proposal

2017-08-01 Thread Dan Wilcox
PLEASE

Post to the GitHub PR.

Also, the help browser issue is fixed in a different branch.

> On Aug 2, 2017, at 2:15 AM, Alexandre Torres Porres  wrote:
> 
> Second report:
> 
> - I don't know what "disabling" the Pd Documents folder is supposed to do, 
> but I just get an error
> 
> 
> 
> 
> 2017-08-01 21:12 GMT-03:00 Alexandre Torres Porres  >:
> Ok, first bug report:
> 
> - if I choose a different Externals install Directory other than the 
> "externals" subfolder (say "libs" for example) and hit ok, it still creates 
> an "externals" subdirectory and adds it to the search path, whereas "libs" is 
> not added! Though deken still asks me to download to "libs". As I see, it 
> shouldn't create "externals" nor add it to the path, and then add "libs" to 
> the path.
> 
> 2017-08-01 20:59 GMT-03:00 Alexandre Torres Porres  >:
> Cool, I still don't see the added folder in the help browser, but that's 
> because of another issue that's being solved in parallel, right?
> 
> 2017-08-01 20:49 GMT-03:00 Dan Wilcox  >:
> A macOS test build with the docspath (Pd Documents directory) is available, 
> look for Pd-0.48.0-test6-docspath.app.zip: 
> http://docs.danomatika.com/pdbuilds/ 
> 
>> On Jul 31, 2017, at 1:20 PM, Dan Wilcox > > wrote:
>> 
>> Here's the PR and relevant details: 
>> https://github.com/pure-data/pure-data/pull/152 
>> 
>> 
>>> On Jul 31, 2017, at 2:32 AM, Dan Wilcox >> > wrote:
>>> 
>>> Here is my *working* proposal for beginner-friendliness: the Pd Documents 
>>> directory. Also includes deken-workingness.
>>> 
>>> Thanks to Miller for the new "add-to-path" message.
>>> 
>>> Video demo: https://youtu.be/YWMnynyIeoc 
>>> 
>>> The documents path is an optional beginner-friendly location for patches 
>>> and externals and defaults to USERHOME/Documents/Pd. If the docs path is 
>>> not set when Pd is started, the user is prompted about creating it and it 
>>> can be changed or disabled in the Path preferences dialog. If the user hits 
>>> Cancel, the docs path functionality is disabled. A subdirectory for 
>>> externals is also created and is set as the deken install directory. Once 
>>> set, the docs path becomes the preferred initial directory for file dialogs 
>>> to help those new to filesystem hierarchy. 
>>> 
>>> Included in this work: deken can now optionally add external directories to 
>>> the user search paths via a popup after download.
>>> 
>>> *mic drop*
>>> 
>>> sleep
>> 
>> 
>> Dan Wilcox
>> @danomatika 
>> danomatika.com 
>> robotcowboy.com 
>> 
>> 
>> 
> 
> 
> Dan Wilcox
> @danomatika 
> danomatika.com 
> robotcowboy.com 
> 
> 
> 
> 
> ___
> Pd-list@lists.iem.at  mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list 
> 
> 
> 
> 
> 


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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


Re: [PD] Pd documents path proposal

2017-08-01 Thread Alexandre Torres Porres
Ok, first bug report:

- if I choose a different *Externals install Directory* other than the
"externals" subfolder (say "libs" for example) and hit ok, it still creates
an "externals" subdirectory and adds it to the search path, whereas "libs"
is not added! Though deken still asks me to download to "libs". As I see,
it shouldn't create "externals" nor add it to the path, and then add "libs"
to the path.

2017-08-01 20:59 GMT-03:00 Alexandre Torres Porres :

> Cool, I still don't see the added folder in the help browser, but that's
> because of another issue that's being solved in parallel, right?
>
> 2017-08-01 20:49 GMT-03:00 Dan Wilcox :
>
>> A macOS test build with the docspath (Pd Documents directory) is
>> available, look for Pd-0.48.0-test6-docspath.app.zip:
>> http://docs.danomatika.com/pdbuilds/
>>
>> On Jul 31, 2017, at 1:20 PM, Dan Wilcox  wrote:
>>
>> Here's the PR and relevant details: https://github.com/pu
>> re-data/pure-data/pull/152
>>
>> On Jul 31, 2017, at 2:32 AM, Dan Wilcox  wrote:
>>
>> Here is my *working* proposal for beginner-friendliness: the Pd Documents
>> directory. Also includes deken-workingness.
>>
>> Thanks to Miller for the new "add-to-path" message.
>>
>> Video demo: https://youtu.be/YWMnynyIeoc
>>
>> The documents path is an optional beginner-friendly location for patches
>> and externals and defaults to USERHOME/Documents/Pd. If the docs path is
>> not set when Pd is started, the user is prompted about creating it and it
>> can be changed or disabled in the Path preferences dialog. If the user hits
>> Cancel, the docs path functionality is disabled. A subdirectory for
>> externals is also created and is set as the deken install directory. Once
>> set, the docs path becomes the preferred initial directory for file dialogs
>> to help those new to filesystem hierarchy.
>>
>> Included in this work: deken can now optionally add external directories
>> to the user search paths via a popup after download.
>>
>> *mic drop*
>>
>> sleep
>>
>>
>> 
>> Dan Wilcox
>> @danomatika 
>> danomatika.com
>> robotcowboy.com
>>
>>
>>
>>
>> 
>> Dan Wilcox
>> @danomatika 
>> danomatika.com
>> robotcowboy.com
>>
>>
>>
>>
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
>> stinfo/pd-list
>>
>>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd documents path proposal

2017-08-01 Thread Alexandre Torres Porres
Cool, I still don't see the added folder in the help browser, but that's
because of another issue that's being solved in parallel, right?

2017-08-01 20:49 GMT-03:00 Dan Wilcox :

> A macOS test build with the docspath (Pd Documents directory) is
> available, look for Pd-0.48.0-test6-docspath.app.zip: http://docs.
> danomatika.com/pdbuilds/
>
> On Jul 31, 2017, at 1:20 PM, Dan Wilcox  wrote:
>
> Here's the PR and relevant details: https://github.com/
> pure-data/pure-data/pull/152
>
> On Jul 31, 2017, at 2:32 AM, Dan Wilcox  wrote:
>
> Here is my *working* proposal for beginner-friendliness: the Pd Documents
> directory. Also includes deken-workingness.
>
> Thanks to Miller for the new "add-to-path" message.
>
> Video demo: https://youtu.be/YWMnynyIeoc
>
> The documents path is an optional beginner-friendly location for patches
> and externals and defaults to USERHOME/Documents/Pd. If the docs path is
> not set when Pd is started, the user is prompted about creating it and it
> can be changed or disabled in the Path preferences dialog. If the user hits
> Cancel, the docs path functionality is disabled. A subdirectory for
> externals is also created and is set as the deken install directory. Once
> set, the docs path becomes the preferred initial directory for file dialogs
> to help those new to filesystem hierarchy.
>
> Included in this work: deken can now optionally add external directories
> to the user search paths via a popup after download.
>
> *mic drop*
>
> sleep
>
>
> 
> Dan Wilcox
> @danomatika 
> danomatika.com
> robotcowboy.com
>
>
>
>
> 
> Dan Wilcox
> @danomatika 
> danomatika.com
> robotcowboy.com
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd documents path proposal

2017-08-01 Thread Dan Wilcox
A macOS test build with the docspath (Pd Documents directory) is available, 
look for Pd-0.48.0-test6-docspath.app.zip: http://docs.danomatika.com/pdbuilds/ 


> On Jul 31, 2017, at 1:20 PM, Dan Wilcox  wrote:
> 
> Here's the PR and relevant details: 
> https://github.com/pure-data/pure-data/pull/152 
> 
> 
>> On Jul 31, 2017, at 2:32 AM, Dan Wilcox > > wrote:
>> 
>> Here is my *working* proposal for beginner-friendliness: the Pd Documents 
>> directory. Also includes deken-workingness.
>> 
>> Thanks to Miller for the new "add-to-path" message.
>> 
>> Video demo: https://youtu.be/YWMnynyIeoc 
>> 
>> The documents path is an optional beginner-friendly location for patches and 
>> externals and defaults to USERHOME/Documents/Pd. If the docs path is not set 
>> when Pd is started, the user is prompted about creating it and it can be 
>> changed or disabled in the Path preferences dialog. If the user hits Cancel, 
>> the docs path functionality is disabled. A subdirectory for externals is 
>> also created and is set as the deken install directory. Once set, the docs 
>> path becomes the preferred initial directory for file dialogs to help those 
>> new to filesystem hierarchy. 
>> 
>> Included in this work: deken can now optionally add external directories to 
>> the user search paths via a popup after download.
>> 
>> *mic drop*
>> 
>> sleep
> 
> 
> Dan Wilcox
> @danomatika 
> danomatika.com 
> robotcowboy.com 
> 
> 
> 


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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


Re: [PD] deken not working on macbook 4.1 with OSX 10.5.8

2017-08-01 Thread Dan Wilcox
> 
> what can i do?
> 
> rolf

Looks like a simple fix. You can do a simple test:

1. close Pd

2. Right click on the Pd .app & choose "Open package contents"

3. navigate to Contents/Resources/tcl

4. open pd_deken.tcl in a text editor

5. Find the line "for {set i 0} {True} {incr i} {" and change the "True" to 
"true"

6. save the file

7. run Pd


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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


[PD] deken not working on macbook 4.1 with OSX 10.5.8

2017-08-01 Thread rolfm

Macbook 4.1 Intel Core Duo, OSX 10.5.8
on this machine i cannot use Deken.

i compiled Pd-0.48-0test6.src.
starting pd gives the following error:

--
UNHANDLED ERROR: syntax error in expression "True": variable references 
require preceding $

("for" test expression)
while compiling
"for {set i 0} {True} {incr i} {
set tmpfile [file join ${path} dekentmp.${i}]
if {![file exists $tmpfile]} {
return $tmpfi..."
(compiling body of proc "::deken::get_tmpfilename", line 2)
invoked from within
"::deken::get_tmpfilename $p"
(procedure "::deken::get_writable_dir" line 5)
invoked from within
"::deken::get_writable_dir [list $::deken::installpath ] "
(procedure "::deken::find_installpath" line 5)
invoked from within
"::deken::find_installpath"
invoked from within
"if { [::deken::versioncheck 0.2.3] } {

namespace eval ::deken:: {
namespace export open_searchui
variable mytoplevelref
variable platform..."
("uplevel" body line 62)
invoked from within
"uplevel #0 $tclcode"
FAILED TO LOAD 
/Users/rolfmeesters/Desktop/pd-0.48-0test6/tcl/pd_deken.tcl

---

what can i do?

rolf

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


Re: [PD] Writing part of large table to file

2017-08-01 Thread sinewave via Pd-list
What I hear is not the part I wanted to save ie I need the part from the end of 
a table, getting the part from the beginning instead. And it is shorter. 
I can't find the pattern in that offset, so can't describe the bug precisely. 

Poslano s mojeg iPhonea

01.08.2017., u 13:24, Lucas Cordiviola  napisao:

> I'm on win8.1
> 
> Do you clear the array when loading files that are smaller than the one you 
> loaded previously?
> 
> Can you describe what is that you are hearing that makes you feel there's a 
> bug?
> Mensaje telepatico asistido por maquinas.
>> On 8/1/2017 8:13 AM, Hrvoje Radnic wrote:
>> Yes, the playback part [readsf~] is bad, but that was not an issue. I made a 
>> mistake with pasting the part from my patch. 
>> Regarding the soundfiler, I still have no clue what is wrong with my patch. 
>> Maybe the problem is OS specific? I can't test it on my Win machine right 
>> now. What's your OS? I am on ubuntu sudio. 
>> Cheers!
>> 
>>  
>> Hrvoje Radnic
>> http://soundcloud.com/sumovi-protiv-valova 
>> 00385(0)915225162
>> 
>> 
>> From: Lucas Cordiviola 
>> To: Hrvoje Radnic ; "pd-list@lists.iem.at" 
>>  
>> Sent: Tuesday, August 1, 2017 12:21 PM
>> Subject: Re: [PD] Writing part of large table to file
>> 
>> I've corrected the [readsf~] but the rest is OK.
>> Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M.
>> The only limitation that I know for integer numbers (on Pd's control level) 
>> is that you can't exceed the 16777216 number.
>> See attached.
>> Salutti,
>> Lucarda.
>> Mensaje telepatico asistido por maquinas.
>>> On 8/1/2017 6:10 AM, Hrvoje Radnic wrote:
>>> Sure, it is in the attachment.
>>> Thank you for your time!
>>>  
>>> Hrvoje Radnic
>>> http://soundcloud.com/sumovi-protiv-valova 
>>> 00385(0)915225162
>>> 
>>> 
>>> From: Lucas Cordiviola 
>>> To: "pd-list@lists.iem.at"  
>>> Sent: Tuesday, August 1, 2017 12:09 AM
>>> Subject: Re: [PD] Writing part of large table to file
>>> 
>>> Can you attach a patch that demonstrate the issue?
>>> Do not attach the sound-file, we fill your specified n of samples.
>>> Salutti,
>>> Lucarda.
>>> Mensaje telepatico asistido por maquinas.
 On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote:
 Ok, I got some success with soundfiler, but,  found out that I can write a 
 file only if the last sample of the file is smaller than 1 800 000 
 approximately (-nframes flag). Anyone had similar experience? Is it a bug?
 Thanks!
  
 Hrvoje Radnic
 http://soundcloud.com/sumovi-protiv-valova 
 00385(0)915225162
 
 
 From: Jack 
 To: pd-list@lists.iem.at 
 Sent: Monday, July 31, 2017 10:13 AM
 Subject: Re: [PD] Writing part of large table to file
 
 Hello,
 
 Did you see the help file about [soundfiler] to save a table in binary
 sound file ?
 It is easy to copy/paste a part of table with objects [array].
 ++
 
 Jack
 
 
 
 Le 30/07/2017 à 12:14, Hrvoje Radnic via Pd-list a écrit :
 > Dear List!
 > 
 > I would like to save a part of very large table into the audio file.
 > Let's say, I have a 10 million points sized table and want to save a
 > file to disk which contains the part of that table, ranging from 2M to
 > 3M point. I know how to do it by recording the audio in real time, but
 > would like to do it "instantly". 
 > 
 > Thank you for your suggestions!
 >  
 > Hrvoje Radnic
> 
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Writing part of large table to file

2017-08-01 Thread Lucas Cordiviola
I'm on win8.1

Do you clear the array when loading files that are smaller than the one you 
loaded previously?

Can you describe what is that you are hearing that makes you feel there's a bug?


Mensaje telepatico asistido por maquinas.

On 8/1/2017 8:13 AM, Hrvoje Radnic wrote:
Yes, the playback part [readsf~] is bad, but that was not an issue. I made a 
mistake with pasting the part from my patch.
Regarding the soundfiler, I still have no clue what is wrong with my patch. 
Maybe the problem is OS specific? I can't test it on my Win machine right now. 
What's your OS? I am on ubuntu sudio.
Cheers!


Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162



From: Lucas Cordiviola 
To: Hrvoje Radnic ; 
"pd-list@lists.iem.at" 

Sent: Tuesday, August 1, 2017 12:21 PM
Subject: Re: [PD] Writing part of large table to file

I've corrected the [readsf~] but the rest is OK.
Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M.
The only limitation that I know for integer numbers (on Pd's control level) is 
that you can't exceed the 16777216 number.
See attached.
Salutti,
Lucarda.

Mensaje telepatico asistido por maquinas.

On 8/1/2017 6:10 AM, Hrvoje Radnic wrote:
Sure, it is in the attachment.
Thank you for your time!

Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162



From: Lucas Cordiviola 
To: "pd-list@lists.iem.at" 

Sent: Tuesday, August 1, 2017 12:09 AM
Subject: Re: [PD] Writing part of large table to file

Can you attach a patch that demonstrate the issue?
Do not attach the sound-file, we fill your specified n of samples.
Salutti,
Lucarda.

Mensaje telepatico asistido por maquinas.

On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote:
Ok, I got some success with soundfiler, but,  found out that I can write a file 
only if the last sample of the file is smaller than 1 800 000 approximately 
(-nframes flag). Anyone had similar experience? Is it a bug?
Thanks!

Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162



From: Jack 
To: pd-list@lists.iem.at
Sent: Monday, July 31, 2017 10:13 AM
Subject: Re: [PD] Writing part of large table to file

Hello,

Did you see the help file about [soundfiler] to save a table in binary
sound file ?
It is easy to copy/paste a part of table with objects [array].
++

Jack



Le 30/07/2017 à 12:14, Hrvoje Radnic via Pd-list a écrit :
> Dear List!
>
> I would like to save a part of very large table into the audio file.
> Let's say, I have a 10 million points sized table and want to save a
> file to disk which contains the part of that table, ranging from 2M to
> 3M point. I know how to do it by recording the audio in real time, but
> would like to do it "instantly".
>
> Thank you for your suggestions!
>
> Hrvoje Radnic




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


Re: [PD] Writing part of large table to file

2017-08-01 Thread Hrvoje Radnic via Pd-list
Yes, the playback part [readsf~] is bad, but that was not an issue. I made a 
mistake with pasting the part from my patch. 
Regarding the soundfiler, I still have no clue what is wrong with my patch. 
Maybe the problem is OS specific? I can't test it on my Win machine right now. 
What's your OS? I am on ubuntu sudio. 
Cheers!

 Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova 
00385(0)915225162

  From: Lucas Cordiviola 
 To: Hrvoje Radnic ; "pd-list@lists.iem.at" 
 
 Sent: Tuesday, August 1, 2017 12:21 PM
 Subject: Re: [PD] Writing part of large table to file
   
I've corrected the [readsf~] but the rest is OK.Didn't have troubles with 
-nframes > 1.8M. Works Ok with 2.5M.The only limitation that I know for integer 
numbers (on Pd's control level) is that you can't exceed the 16777216 number.
See attached.Salutti,
Lucarda.
Mensaje telepatico asistido por maquinas.On 8/1/2017 6:10 AM, Hrvoje Radnic 
wrote:

Sure, it is in the attachment.Thank you for your time!
 Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162

From: Lucas Cordiviola 
To: "pd-list@lists.iem.at"  
Sent: Tuesday, August 1, 2017 12:09 AM
Subject: Re: [PD] Writing part of large table to file

Can you attach a patch that demonstrate the issue?Do not attach the sound-file, 
we fill your specified n of samples.Salutti,
Lucarda.
Mensaje telepatico asistido por maquinas.On 7/31/2017 6:31 AM, Hrvoje Radnic 
via Pd-list wrote:

Ok, I got some success with soundfiler, but,  found out that I can write a file 
only if the last sample of the file is smaller than 1 800 000 approximately 
(-nframes flag). Anyone had similar experience? Is it a bug?Thanks!
 Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162

From: Jack
To: pd-list@lists.iem.at 
Sent: Monday, July 31, 2017 10:13 AM
Subject: Re: [PD] Writing part of large table to file

Hello,

Did you see the help file about [soundfiler] to save a table in binary
sound file ?
It is easy to copy/paste a part of table with objects [array].
++

Jack



Le 30/07/2017 à 12:14, Hrvoje Radnic via Pd-list a écrit :
> Dear List!
> 
> I would like to save a part of very large table into the audio file.
> Let's say, I have a 10 million points sized table and want to save a
> file to disk which contains the part of that table, ranging from 2M to
> 3M point. I know how to do it by recording the audio in real time, but
> would like to do it "instantly". 
> 
> Thank you for your suggestions!
>  
> Hrvoje Radnic





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


Re: [PD] Writing part of large table to file

2017-08-01 Thread Lucas Cordiviola
I've corrected the [readsf~] but the rest is OK.

Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M.

The only limitation that I know for integer numbers (on Pd's control level) is 
that you can't exceed the 16777216 number.

See attached.

Salutti,
Lucarda.

Mensaje telepatico asistido por maquinas.

On 8/1/2017 6:10 AM, Hrvoje Radnic wrote:
Sure, it is in the attachment.
Thank you for your time!

Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162



From: Lucas Cordiviola 
To: "pd-list@lists.iem.at" 

Sent: Tuesday, August 1, 2017 12:09 AM
Subject: Re: [PD] Writing part of large table to file

Can you attach a patch that demonstrate the issue?
Do not attach the sound-file, we fill your specified n of samples.
Salutti,
Lucarda.

Mensaje telepatico asistido por maquinas.

On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote:
Ok, I got some success with soundfiler, but,  found out that I can write a file 
only if the last sample of the file is smaller than 1 800 000 approximately 
(-nframes flag). Anyone had similar experience? Is it a bug?
Thanks!

Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162



From: Jack 
To: pd-list@lists.iem.at
Sent: Monday, July 31, 2017 10:13 AM
Subject: Re: [PD] Writing part of large table to file

Hello,

Did you see the help file about [soundfiler] to save a table in binary
sound file ?
It is easy to copy/paste a part of table with objects [array].
++

Jack



Le 30/07/2017 à 12:14, Hrvoje Radnic via Pd-list a écrit :
> Dear List!
>
> I would like to save a part of very large table into the audio file.
> Let's say, I have a 10 million points sized table and want to save a
> file to disk which contains the part of that table, ranging from 2M to
> 3M point. I know how to do it by recording the audio in real time, but
> would like to do it "instantly".
>
> Thank you for your suggestions!
>
> Hrvoje Radnic

#N canvas 249 8 895 626 10;
#X obj 57 493 soundfiler;
#X floatatom 223 291 9 0 0 0 - - -, f 9;
#X floatatom 135 293 9 0 0 0 - - -, f 9;
#X obj 57 394 f;
#X obj 89 393 f;
#X msg 57 291 bang;
#X obj 57 447 pack f f s s;
#X obj 57 313 t b b b b;
#X obj 5 493 print;
#X obj 248 393 symbol \$0-srcsmp;
#X msg 57 470 write -wave -skip \$1 -nframes \$2 \$3 \$4;
#X obj 135 312 t f f;
#X obj 237 341 -;
#X obj 223 310 t b f;
#X obj 237 363 * -1;
#X obj 347 8 array define \$0-srcsmp 2.88e+006;
#X text 576 8 1 minute of mono audio;
#X text 292 290 end point (\$2);
#X text 134 272 start point (\$1);
#X msg 21 39 bang;
#X obj 21 61 openpanel;
#X obj 53 115 symbol \$0-srcsmp;
#X msg 21 175 read \$1 \$2;
#X obj 21 197 soundfiler;
#X obj 21 86 t s b;
#X obj 21 145 pack s s;
#X obj 130 393 symbol test.wav;
#X text 22 272 write file;
#X text 152 412 \$3;
#X text 369 396 \$4;
#X floatatom 297 356 9 0 0 0 - - -, f 9;
#X text 17 8 1) Load the audio file into the table;
#X text 18 234 2) adjust the start and end points and write the file
to disk;
#X text 22 520 3) hear the result;
#X obj 347 47 loadbang;
#X msg 347 69 \; pd dsp 1;
#X text 370 354 no of samples to save (\$2-\$1);
#X obj 18 541 cnv 15 100 250 empty empty empty 20 12 0 14 -258113 -66577
0;
#X obj 423 533 cnv 15 100 250 empty empty empty 20 12 0 14 -4034 -66577
0;
#X obj 25 717 readsf~;
#X obj 26 747 dac~;
#X msg 25 551 bang;
#X obj 25 573 openpanel;
#X obj 57 627 symbol \$0-srcsmp;
#X obj 25 598 t s b;
#X obj 25 657 pack s s;
#X msg 25 686 open \$1 \$2 \, start;
#X obj 430 704 readsf~;
#X obj 431 734 dac~;
#X msg 430 578 bang;
#X obj 430 600 openpanel;
#X msg 430 673 open \$1 \, 1;
#X text 276 633 correction!!! --->;
#X text 561 624 I find no troubles with -nframes;
#X text 560 643 longer than 1.8M. Tested with 2.5M;
#X connect 1 0 13 0;
#X connect 2 0 11 0;
#X connect 3 0 6 0;
#X connect 4 0 6 1;
#X connect 5 0 7 0;
#X connect 6 0 10 0;
#X connect 7 0 3 0;
#X connect 7 1 4 0;
#X connect 7 2 26 0;
#X connect 7 3 9 0;
#X connect 9 0 6 3;
#X connect 10 0 0 0;
#X connect 10 0 8 0;
#X connect 11 0 3 1;
#X connect 11 1 12 0;
#X connect 12 0 14 0;
#X connect 13 0 2 0;
#X connect 13 1 12 1;
#X connect 14 0 4 1;
#X connect 14 0 30 0;
#X connect 19 0 20 0;
#X connect 20 0 24 0;
#X connect 21 0 25 1;
#X connect 22 0 23 0;
#X connect 24 0 25 0;
#X connect 24 1 21 0;
#X connect 25 0 22 0;
#X connect 26 0 6 2;
#X connect 34 0 35 0;
#X connect 39 0 40 0;
#X connect 39 0 40 1;
#X connect 41 0 42 0;
#X connect 42 0 44 0;
#X connect 43 0 45 1;
#X connect 44 0 45 0;
#X connect 44 1 43 0;
#X connect 45 0 46 0;
#X connect 46 0 39 0;
#X connect 47 0 48 0;
#X connect 47 0 48 1;
#X connect 49 0 50 0;
#X connect 50 0 51 0;
#X connect 51 0 47 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and 

Re: [PD] Writing part of large table to file

2017-08-01 Thread Hrvoje Radnic via Pd-list
Sure, it is in the attachment.Thank you for your time!
 Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova 
00385(0)915225162

  From: Lucas Cordiviola 
 To: "pd-list@lists.iem.at"  
 Sent: Tuesday, August 1, 2017 12:09 AM
 Subject: Re: [PD] Writing part of large table to file
   
Can you attach a patch that demonstrate the issue?Do not attach the sound-file, 
we fill your specified n of samples.Salutti,
Lucarda.
Mensaje telepatico asistido por maquinas.On 7/31/2017 6:31 AM, Hrvoje Radnic 
via Pd-list wrote:

Ok, I got some success with soundfiler, but,  found out that I can write a file 
only if the last sample of the file is smaller than 1 800 000 approximately 
(-nframes flag). Anyone had similar experience? Is it a bug?Thanks!
 Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162

From: Jack 
To: pd-list@lists.iem.at 
Sent: Monday, July 31, 2017 10:13 AM
Subject: Re: [PD] Writing part of large table to file

Hello,

Did you see the help file about [soundfiler] to save a table in binary
sound file ?
It is easy to copy/paste a part of table with objects [array].
++

Jack



Le 30/07/2017 à 12:14, Hrvoje Radnic via Pd-list a écrit :
> Dear List!
> 
> I would like to save a part of very large table into the audio file.
> Let's say, I have a 10 million points sized table and want to save a
> file to disk which contains the part of that table, ranging from 2M to
> 3M point. I know how to do it by recording the audio in real time, but
> would like to do it "instantly". 
> 
> Thank you for your suggestions!
>  
> Hrvoje Radnic
> http://soundcloud.com/sumovi-protiv-valova
> 00385(0)915225162
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 


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



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


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


   #N canvas 979 236 895 790 10;
#X obj 57 493 soundfiler;
#X floatatom 223 291 9 0 0 0 - - -, f 9;
#X floatatom 135 293 9 0 0 0 - - -, f 9;
#X obj 57 394 f;
#X obj 89 393 f;
#X msg 57 291 bang;
#X obj 57 447 pack f f s s;
#X obj 57 313 t b b b b;
#X obj 5 493 print;
#X obj 248 393 symbol \$0-srcsmp;
#X msg 57 470 write -wave -skip \$1 -nframes \$2 \$3 \$4;
#X obj 135 312 t f f;
#X obj 237 341 -;
#X obj 223 310 t b f;
#X obj 237 363 * -1;
#X obj 347 8 array define \$0-srcsmp 2.88e+06;
#X text 576 8 1 minute of mono audio;
#X text 292 290 end point (\$2);
#X text 134 272 start point (\$1);
#X msg 21 39 bang;
#X obj 21 61 openpanel;
#X obj 53 115 symbol \$0-srcsmp;
#X msg 21 175 read \$1 \$2;
#X obj 21 197 soundfiler;
#X obj 21 86 t s b;
#X obj 21 145 pack s s;
#X obj 130 393 symbol test.wav;
#X text 22 272 write file;
#X text 152 412 \$3;
#X text 369 396 \$4;
#X obj 25 717 readsf~;
#X obj 26 747 dac~;
#X msg 25 551 bang;
#X obj 25 573 openpanel;
#X obj 57 627 symbol \$0-srcsmp;
#X obj 25 598 t s b;
#X obj 25 657 pack s s;
#X msg 25 686 open \$1 \$2 \, start;
#X floatatom 297 356 9 0 0 0 - - -, f 9;
#X text 17 8 1) Load the audio file into the table;
#X text 18 234 2) adjust the start and end points and write the file
to disk;
#X text 22 520 3) hear the result;
#X obj 347 47 loadbang;
#X msg 347 69 \; pd dsp 1;
#X text 370 354 no of samples to save (\$2-\$1);
#X connect 1 0 13 0;
#X connect 2 0 11 0;
#X connect 3 0 6 0;
#X connect 4 0 6 1;
#X connect 5 0 7 0;
#X connect 6 0 10 0;
#X connect 7 0 3 0;
#X connect 7 1 4 0;
#X connect 7 2 26 0;
#X connect 7 3 9 0;
#X connect 9 0 6 3;
#X connect 10 0 0 0;
#X connect 10 0 8 0;
#X connect 11 0 3 1;
#X connect 11 1 12 0;
#X connect 12 0 14 0;
#X connect 13 0 2 0;
#X connect 13 1 12 1;
#X connect 14 0 4 1;
#X connect 14 0 38 0;
#X connect 19 0 20 0;
#X connect 20 0 24 0;
#X connect 21 0 25 1;
#X connect 22 0 23 0;
#X connect 24 0 25 0;
#X connect 24 1 21 0;
#X connect 25 0 22 0;
#X connect 26 0 6 2;
#X connect 30 0 31 0;
#X connect 30 0 31 1;
#X connect 32 0 33 0;
#X connect 33 0 35 0;
#X connect 34 0 36 1;
#X connect 35 0 36 0;
#X connect 35 1 34 0;
#X connect 36 0 37 0;
#X connect 37 0 30 0;
#X connect 42 0 43 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list