Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - miyake

#101
Main Builds / Re: 600D Audio TEST release - 2.3 based
September 01, 2012, 04:55:07 PM
600D audio autoexec.bin *BETA* Updated
autoexec10.bin (need rename to autoexec.bin)
http://chirari.ddo.jp/pub/betauploader/600Daudio/
(Uploader changed. )
History
-audio remote shot en-bug solved
-DC& HPF2 filter bug solved. (Previously these filters are always on)
-delete unused global filter on/off
-beep/audio recording/playback working only without connected RCA monitor cable.
-This version is not support WAV record and Movie record together

hmm, when can I freeze codes..................
#102
Main Builds / Re: 600D Audio TEST release - 2.3 based
September 01, 2012, 04:13:13 PM
@Kromofone
I just checked bass sound issue.
It has no problem.

I using wave form generator to test bass sound.http://www.ne.jp/asahi/fa/efu/soft/wg/wg.html
And connect between PC speaker out and  600D's mic input using 3.5 pin cables.
Then test under entries. I can hear the base sound from monitor output from headphone.
-50Hz
-63Hz
-80Hz
-100Hz
-125Hz
-150Hz
-200Hz


Let me know why you thought that "bass sound is not hear on your headphone" ?

@1%
will test it.
But now , audio remote shot has no problem.
Anyway, will push current code soon.
#103
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 31, 2012, 04:32:45 AM
@jonnyschanny
We know boost is better S/N ratio for volume up. (^_^)b
And now Filter functions(DC/HPF2) has bug. wait for a moment to solve it.

@Kromofone
We had same experience on just start up the audio deveropment.
But now we have no chance to catch this bug, So I thought this bug is gone.
I will try to reproduce it.

BTW, I'm having a business trip now. So I will solve it when we going back to my home.
#104
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 30, 2012, 06:56:52 AM
It from 600D audio chip specification.
QuoteHigh Pass Filter 1(DC filter)
A first-order High Pass Filter that bandwidth is bellow 10Hz for the purpose to cut DC.

So you may turn off all filter, Then check it.
#105
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 30, 2012, 06:46:30 AM
@Kromofone

1: monitor level issue
I have  no problem on my SONY MDR-NC600D. Your AKG' impedance  is 55ohms. But mine is 40ohms. So you may use more low impedance headphone for monitoring. Because 600D's audio chip max is only 11db.

2: bass sound issue
What microphone are you using? Can you get correct input? and recorded sound is also record without bass sound?
Anyway, We are only on/off sound chip functions. So I didn't touch sound friquency in this time.May be we can't solve it.
#106
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 29, 2012, 12:14:13 AM
@scrax
Basically, it's a solved on newest source. But I will check on filter codes. It's need a more exception for checking a status for cfg_override_audio.
#107
Reverse Engineering / Re: How to play custom WAV data
August 28, 2012, 06:39:22 PM
600D recording is working current codes. But play is not working yet.  I will discover how to solve it on 600D.

Anyway, 600D audio forum user testing combination with Sound recording and video recording
http://www.magiclantern.fm/forum/index.php?topic=2032.msg9437#msg9437
It will crash camera, and need battery pull.
Do you know this? And another cameras don't have this issue?

#108
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 28, 2012, 06:33:07 PM
@Kromofone
Thankyou ! Anyway, your finger is really fast ;D

-1st&2nd SoundRecording with video recording .
Sound recording function is making by Alex. And it's just developping it. Now we can't find how to record without audio , but audio amp is enabled on same time. It's a reason of it.

-3rd It didn't override when we change Canon audio setting from manual to auto
  Now we didn't found how to know canon audio setting changes. we only to know volume now. It's TODO.

-4th audio is working on photomode
It's not a bug. correct thing. Because we need to sound func for "Audio remote shot" in photo mode. Now v9 has a bug which is we can't override audio settings when we using photo-mode. So now you changed from movie to photo. It's working. But Audio on/off or some setting change was not working in photo mode. Code is already solved .

-5th Sound recording with audio setting change.
hmm. Soundrecording is not using our functions. It's only use canon functions. So we need to find how to override it.

Final things are same as 4th bug, I already solved it.


Anyway, You are a lot of combination with Sound recording. Did you find  another problem without Sound recording?


#109
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 28, 2012, 04:04:31 PM
@B4rt
Thakyou for testing.
The USB monitor things. See Youtube on 1st post.
Some peoples already asking same thing. But I can't get smart answer for it.

-Volume issue.
You may volume up boost, first. Then volume up the analog gain. Maybe you can get low hiss-noise sound compare with cannon volumes. Try it.

-550D things
Current code is combined all cameras codes in same audio.c. So I think I want you to confirm on 550D is same function of previous 550D codes when we finish stabilization optimization.
#110
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 28, 2012, 04:31:41 AM
Oh,no
Audio remote shot is not working now....my fault.
Already solved on source code.
#111
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 28, 2012, 03:38:47 AM
@honnyschanny
My guess is
Please try bitrate 0.1 or 0.5(down the bitrate). Then If solving problems, you need more faster cards.
On camera CPU/memory/data bus has some resource limitations.
Actually, Override Audio need a little bit more resources. Then a little slowing down the total amount of recording processes.
But If you use faster card, the bit stream is a little bit faster writing to the card when before we enter heavy processes(overriding).
Then, buffer utilization become low.=> not stop recording.
However, I can't guarantee solving a problem when you buy faster card. It's a good reason for buying a newest faster card ;-)
1% is already found how to write over 4Gig(long time recording). So I recommend you to buy SDXC.
(and test this issue is reproduce or not (^_^;)

Anyway, previous versions are sometime stop recording on my situation. But v9 is a little cleanup override codes. So now I have no problem.And one more tips for you.  When boot up first time recording, It's a little more resource using. When 2nd time, Camera will use memory cache for recording processes. It means 2nd time is light weight for the processes . And not stop it, I believe.
#112
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 27, 2012, 05:02:29 AM
@scrax
-I think I will solve issue wav play after finishing 600D audio is more stable. It's not time to solve it. because it has a small posivility for some code will be change on our side.
-yes, beep.c has PowerAudioOutput(built-in function). So we need to use it.

@Kromofone
-Thanks, please go ahead to make your video.
-I'm tried it too. But it's a really small noises in low volume environment. I can't see purple graph
   http://chirari.ddo.jp/ml/?p=934
#113
Basically yes.
But I think, if so, we need to manage a lot of different source codes. So I think the best thing is theme selecting function in menu interface.
Currently, this func is for emergency. It's a really short time but it has a risk for broken autoexec.bin(rename file).

#114
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 26, 2012, 07:57:00 PM
@johndb
Did you try 0.9? I have no problem.
#115
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 26, 2012, 07:26:55 PM
600D audio autoexec.bin *BETA* Updated
http://chirari.ddo.jp/ml/600Daudio/autoexec9.bin (need rename to autoexec.bin)
History
-Solved two monitoring issues.
  *solved display blackout when plugged Headphone and HPmon ON and Override OFF.
  *solved strange volume issue when cfg_override off and monitor mode off.

Dear Testers:
How about your testing status? Is it a enough stability? I will freeze code at this version 0.9.
My known bugs are all solved.So  please testing this version. and please tell me "good" or report problems.
Thank you for your cooperation.
#116
I found libusb/src/windows.c

LIBUSB_WIN32_DLL_LARGE_TRANSFER_SUPPORT
entry.

So we don't need to limit transport file size on our userland applications.
So we don't use BULK_MAX_SIZE(500Byte).
#117
@SDX

I got hint from your comment.
Yey.Thankyou.

This is transfer file
$ ls -la autoexec.bin
-rwxr-xr-x 1 miyake None 299008 8月  25 18:49 autoexec.bin


299008byte - 7026byte = 291982byte (un-transferd 7026k)
291982byte / 500byte = 583 (500byte is USB_BULK_TRANSFER_SIZE)
583 * 12byte = 6996byte (12byte over head of transfer)


So I think
1: USB bulk header descrived it's size. We can get from "context->get_data_size (context->handle);"
      (This is actually 299008byte(miss taken: 299008+fn_len + fn) )
2: Our receiving code is uging it data size.
3: But windows?libusb? is sending 12 byte data when sending after each BULK packet.
Then
6k is remained to transfer  on our while routine. But Canon's ptp protocol implementation is not understanding additional 12 byte data. and It's will be finish the transfer. Because we already transferd 299008byte including additional 12byte data.
4: Then we got error from recv_ptp_data()

That's my guess.

I'm already read all of code which  sending all data on libptp and libusb. It's not added 12 byte.
And I confirmed transferd raw data  by hex on libptp side . But it's correct with original hex.
So Next, we need to find how to disable 12 byte data. The libusb is using windows native function to transport by USB.
I guess, another header option will disable 12 byte data.... It's just my guess.

Anyway, If we can disable 12 byte data, we can get success to transport it.

Also, current CHDK's ptp.c has no 12byte data handring.
So I think , PC side program need some trick to disable 12 bytedata.

Will find  BULK header option

MSG added
hmm, I have no unstable connection. It's really good and stable . I'm compiled cygwin libusb. and Win7 64 bit.
The libusb driver changing by downloadable libusb-win32-bin-1.2.6.0/bin/inf-wizerd.exe.

and size is correct value on my side.
size is = filename len(4byte) + actual filename + actual file size
confirmed.
#118
my repo has a customized  libptp.  So you can use ptpcam .
And it's a extended for win32 . But I think it can use on linux/Mac, maybe. Try it if you don't use win32.

Then,
$ pcpcam --chdk
<conn>  upload ./autoexec.bin B:/AE_PTP1.BIN


#119
QuoteI assume that fninfo_len is the length of some sort of header which is being skipped, right?
yes. The transferd byte stream has  4byte filename length and next variable length filename, then actual transfer file data.

#120
Quote from: 1% on August 23, 2012, 06:39:09 PM
Try to send file with a different name/ext? Or just after certain size it cuts off? The loader you made can then load the bin or whatever extension. I think its better to make it autoexec.ae vs AE_autoexec.bin, what do you think? Then function renames it properly.

I'm always use different file name to store transferd files. and cuts off size is different of each files(different size).So I think my code's loop has a bug , but I can't find it.

Filename has 8.3 limitation, and my code is already have function which is copy .bin and .cfg together.
So we can't use extention. and "AE_" prefix is easy to identify by human. also we can remained 5 character to use identify the file.
Now AE_XXXXX.BIN and AE_XXXXX.CFG will overwrite working autoexec.bin and magic.cfg file.
We can more consideration on prefix naming.
Therefor I'm using AE_ prefix for naming.
#121
General Chat / Re: Don't click me!
August 24, 2012, 04:13:46 AM
Quote from: 1% on August 23, 2012, 06:42:25 PM
It doesn't turn back :(


I found a lot of "don't click me" button on inside of clothes!!!!!!!!!!!!(lol
#122
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 24, 2012, 02:09:55 AM
@jonnyschanny
We developer already know sound recording issue on  current 600D audio BETA.
1% is solving himself and using 1% version autoexec.bin.

v8's sound recording  is also not working. we just develop it.
#123
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 23, 2012, 06:20:24 PM
@scrax

yes., beep.c is still yesterday version.
#124
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 23, 2012, 03:05:48 PM
1%
Current code has no entry for this func.
beep.c:(.text+0x278): undefined reference to `SetNextASIFADCBuffer'

and I guess You may add msleep() in beep.c line 231. like this


   PowerAudioOutput();
    audio_configure(1);
#ifdef CONFIG_600D
    msleep(500);
#endif
    SetAudioVolumeOut(COERCE(beep_volume, 1, 5));
    wav_ibuf = 0;



MSG added
Oh, you already added...
#125
Main Builds / Re: 600D Audio TEST release - 2.3 based
August 23, 2012, 12:06:36 PM
1%:
I will check it. and I just understand how to override beep from your code.
Will try it.